File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Application Frameworks
Use previous value for attribute in Apache Tiles
Joined: May 14, 2013
May 18, 2014 13:33:01
I have this default configuration
<tiles:insertAttribute name="info" ignore="true" /> <tiles:insertAttribute name="body" defaultValue="/WEB-INF/views/body.jsp"/>
Usually I replace the value for my "body" attribute, but now I want to replace "info" with a new page so I do
<definition extends="default" name="newinfo"> <put-attribute name="info" value="/WEB-INF/views/newInfo.jsp" /> </definition>
but I want to keep the value of the body attribute as it was before this redirect. How should I do this ?
I agree. Here's the link:
subject: Use previous value for attribute in Apache Tiles
Tiles put-list-attribute inheritance
Struts 2 Tiles
using css file in jsp along with tiles
Struts Tiles Error
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015