struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wayne Kidd <wa...@rdlogic.com>
Subject Query String for tiles
Date Fri, 06 Feb 2004 19:43:48 GMT
Is it possible to attach a query string to a tiles forward.

my struts-config.xml has an entry like

<action path="/login" name="login" 
type="com.rdlogic.struts.control.LoginAction" >
<forward name="startapp" path="tiles.self.effort"></forward>
<forward name="userForInput" path="tiles.self.effort"></forward>
<forward name="showlogin" path="tiles.login"></forward>
</action>

My Tiles-defs.xml has an entry like

<definition name="tiles.self.effort" extends="tiles.full.layout">
<put name="head.title" value="/pages/title.jspf"/>
<put name="body" value="/pages/time_inputeffort_body_nested.jspf"></put>
</definition>


I want the net result of forward "startapp" to have a query string like

"?remember=test001"

I want the remember to be dynamically settable (during the execution of 
the LoginAction code I want to pick whether it is "test001" or "test002"


Anybody know a way.

Wayne



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message