struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cedric Dumoulin <cedric.dumou...@lifl.fr>
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.

     Cedric

Raible, Matt wrote:

>I have the following base tile definition that all my other definitions
>extend:
>
>	<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?
>
>Thanks,
>
>Matt
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>  
>


---------------------------------------------------------------------
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