I can't say for sure without seeing your code, but this probably has something to do with how layout tags are evaluated. Things might not be executing in the order you think they should.
A layout-render tag executes its layout-component tags in the order in which they appear, buffering the results in memory. Then it finds and executes the JSP containing the layout-definition tag (via the name attribute on the layout-render tag). The layout-definition tag just inserts the contents of the correct buffer into the page wherever it encounters its own layout-component tag. Thus, at the time the layout-definition tag actually executes, the layout-component tags within the layout-render tag have already executed. Anything within the layout-definition tag itself can not affect the execution of the layout-component tags within it. It sounds like maybe you have set a session attribute in the layout-definition expecting it to be there when the layout-component tags execute. Unfortunately, it just won't work that way. -Ben On Thu, May 6, 2010 at 7:19 PM, Karl Kirch <karlkrch.stri...@gmail.com>wrote: > I ran into a wierd issue with some session handling stuff today. I > have a fairly complex layout with many layout components. I set an > attribute in my session and that works just fine in the initial jsp > page but once it makes it back to the main layout and then into > another layout render component, my attribute in my session has been > removed. I fixed this by setting the session attribute on my jsp page > tag to be false. Is this what I'm supposed to do? Or am I doing > something wrong? > > Sent from my iPhone > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users >
------------------------------------------------------------------------------
_______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users