2008/10/6 dcosio <[EMAIL PROTECTED]>:
> The main layout jsp code is below.. I did a test to view the values of this
> code snippet below
> the "<tiles:insertAttribute name="pageContent">" is equal to
> "/WEB-INF/layouts/content_layout.jsp " what happens is the "
> <tiles:putAttribute name="pageContent"  ><tiles:getAsString
> name="contentPane"   ignore="true"/></tiles:putAttribute>" sets the
> pageContent in the "content_layout.jsp" from the ".tile.layout.content".

Perfect interpretation, but the problem is that the
<tiles:getAsString> tag is inside a <tiles:insertAttribute>
When you use a <tiles:insertAttribute> you "open a new empty context",
where you put new attributes through the use of <tiles:putAttribute>.
So, when you use:
<tiles:getAsString name="contentPane"   ignore="true"/>
in fact you are putting nothing. If you did not use the ignore="true"
attribute, it would have failed.

HTH
Antonio

Reply via email to