struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "apachep2" <apach...@hotmail.com>
Subject [OT]RE: Is it possible to change the base tile on the fly
Date Wed, 12 Mar 2003 15:35:29 GMT
I have been seeing those "can I change sth on the fly" posts
recently.More specific, changing tile, changing action forward etc.

I am against this idea. Changing on-the-fly lacks the "flexibility" of
using an external xml file to configure the web app. Shall we go back to
Servlet and put "if-else" between out.printlns - you will always be able
to change on the fly?

Just my personal opinion.

-----Original Message-----
From: Raible, Matt [mailto:Matt_Raible@cable.comcast.com] 
Sent: March 12, 2003 10:26 AM
To: 'Struts Users Mailing List'
Subject: Is it possible to change the base tile on the fly

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