struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <>
Subject Re: Is it possible to change the base tile on the fly
Date Wed, 12 Mar 2003 17:27:15 GMT

  It is possible to change a definition attribute like the path on the 
fly, but this will not change all the child definitions has you expect.
  This is because in the actual implementation all definitions have 
their own copy of the attributes. There is no lookup to the parent value.


Raible, Matt wrote:

>I have the following base tile definition that all my other definitions
>	<definition name="baseLayout" path="/layouts/baseLayout.jsp">
>		<put name="title.key"/>
>		<put name="heading.key"/>
>		<put name="header" value="/common/header.jsp"/>
>		<put name="footer" value="/common/footer.jsp"/>
>      </definition>
>Is it possible to change the "path" attribute of this definition on-the-fly
>- perhaps based on a value received in an Action?  If so, how?
>To unsubscribe, e-mail:
>For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message