I'm having issues with inheritance using tiles. I have a main page layout containing 4 tiles:
header
footer
menu
body
This works fine, the problem comes when I try to insert tiles in the
jsp that is the body portion of my page. I have 3 reusable tiles:
listusers.jsp
listroles.jsp
listgroups.jsp
I insert the listroles.jsp and the listgroups.jsp tiles in my profile.jsp page. The profile.jsp is the body tile of the main.layout tile. When I attempt to do this I get the following error.
When I debug
struts, I notice that when
is called, the current context contains null attributes. Given this I feel that it is a scope issue, since the profile.jsp is within a given layout. However, I don't know how to fix this, can anyone give me a hand? Below is my tiles.xml file, and my mainlayout.jsp, and profile.jsp. Thanks!
tiles.xml
mainLayout.jsp
profile.jsp