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?
I agree. Here's the link:
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: Can a Tile refer to an action?
Tiles problem in rendering
Tiles 2.0 example
Struts 2 Tiles: Using actions instead of JSP's
Tiles. Decorator. What is the right way?
No result defined for action
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013