A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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?
I agree. Here's the link:
subject: Can a Tile refer to an action?
Tiles 2.0 example
Tiles. Decorator. What is the right way?
Struts 2 Tiles: Using actions instead of JSP's
Tiles problem in rendering
No result defined for action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014