If you use a Tiles controller, there is no reason you couldn't do that from
Java.  Just not inside the tiles.xml configuration file. See the tiles
controller mentioned in http://struts.apache.org/userGuide/dev_tiles.html.
Another good reference is Tiles Advanced Features by Cedric Dumoulin (bottom
of the tiles userguide, direct url:
http://www.lifl.fr/~dumoulin/tiles/tilesAdvancedFeatures.pdf

Regards,
David

-----Original Message-----
From: PC Leung [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 19, 2004 9:56 PM
To: Struts Users Mailing List
Subject: form tiles link from database?


  <definition name="erp.menu.home" path="/layout/menu.jsp" >
  <put name="title" value="Tiles" />
  <putList name="items" >
    <item value="xxxxx"            link="/yyyyy.jsp">
    <item value="ERP Home"     link="/index.jsp" />
                                               ^^^^^^^^^^^^^^^^^^^^
Could the link be read from database?

  </putList>
  </definition>

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