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:[EMAIL PROTECTED] 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to