You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wayne Kidd <wa...@rdlogic.com> on 2004/02/06 20:43:48 UTC
Query String for tiles
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