Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
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?
Tiles. Decorator. What is the right way?
Struts 2 Tiles: Using actions instead of JSP's
Tiles problem in rendering
Tiles 2.0 example
No result defined for action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013