DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17502>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17502 tiles:insert in jsp called from DefinitionDispatcherAction not working Summary: tiles:insert in jsp called from DefinitionDispatcherAction not working Product: Struts Version: 1.1 RC1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Tiles framework AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Scenario: [struts.cfg] (...) <action path="/show" type="org.apache.struts.tiles.actions.DefinitionDispatcherAction" parameter="definition"> <forward name="success" path="/ok.html"/> <forward name="error" path="/err.html"/> </action> <action path="/showHorarios" type="com.dsigno.deltaplus.jsp.ShowHorariosAction"> <forward name="success" path="/WEB-INF/includes/horarios.jsp"/> </action> (...) [tiles-defs] (...) <definition name=".empleado" extends=".dpLayout"> <put name="title" value="Empleado"/> <put name="body" value="/empleado/index.jsp"/> </definition> <definition name=".horarios" path="/showHorarios.do"> </definition> (...) [/empleado/index.jsp] (...) <td> <tiles:insert definition=".horarios"/> </td> (...) Requesting "/show.do=.empleado", gives you the /empleado/index.jsp page, but instead of having the .horarios definition inserted, /empleado/index.jsp gets inserted recursivelly. I mean, yo see /empleado/index.jsp inserted in /empleado/index.jsp inserted in /empleado/index.jsp and so on, in the place that the success page of showHorarios should be. I tried something similar using ForwardAction, hardcoding the definition as and action parameter, and it works fine, obviously loosing the flexibilty I wanted. Seems to be a DefinitionDispatcherAction bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]