A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Can a Tile refer to an action?
Joined: Apr 11, 2008
Jun 05, 2008 03:27:00
Hi! I'm using Struts2 and Tiles2 in hope of bringing some better stucture to my app. I got tiles refering to JSPs working, but I need some of the tiles to incorporate actions. Is this possible? e.i.
<definition name="overview" template="/LifeLayout.jsp"> <put-attribute name="pageTitle" value="Wellcome" /> <put-attribute name="header" value="/MasterHead.jsp" /> <put-attribute name="mainNav" value="activities.[B]action[/B]" /> <put-attribute name="footer" value="/Footer.jsp" /> </definition>
I keep geeting FileNotFound exceptions, so I guess it's not able to recognise actions and only expect files?
subject: Can a Tile refer to an action?
No result defined for action
Struts 2 Tiles: Using actions instead of JSP's
Tiles. Decorator. What is the right way?
Tiles 2.0 example
Tiles problem in rendering
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015