DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=36124>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36124 Summary: Attributes in ComponentContext set via Controller not availiabe in JSP Product: Struts Version: 1.2.7 Platform: All OS/Version: other Status: NEW Severity: normal Priority: P1 Component: Tiles framework AssignedTo: dev@struts.apache.org ReportedBy: [EMAIL PROTECTED] ComponentContext attributes set with a CustomController Class are not availiable with <tiles:insert> tag when nested jsp's are used. Example: Tiles definition is : <tiles-definitions> <definition name="template" path="/WEB-INF/jsp/shared/template.jsp"> <put name="headline" value="/WEB-INF/jsp/shared/de/headline.jsp" type="page" /> <put name="footer" value="/WEB-INF/jsp/shared/de/footer.jsp" type="page" /> </definition> <definition name="booking-temp" extends="template"> <put name="menu" value="/WEB-INF/jsp/shared/bookingmenu.jsp" type="page" /> </definition> <definition name="bookingPage" controllerClass="de.quipus.flint.webapp.booking.BookingTilesController" extends="booking-temp"> <put name="content" value="/WEB-INF/jsp/booking/bookingdata.jsp" type="page" /> <put name="help" value="booking.html" /> <put name="userHelp" value="/WEB-INF/jsp/shared/emptyHelp.jsp" type="page" /> <put name="title" value="DISPOFLEET- Buchungsseite" type="string" /> </definition> The ControllerClasses execute method sets the value of userHelp to an new JSP path. when executing the bookingdata.jsp (which contains the <tiles:insert name="userHelp" /> tag) the following error occurs: ServletException in '/WEB-INF/jsp/booking/bookingdata.jsp': Error - Tag Insert : No value found for attribute 'userHelp'. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]