[ 
http://issues.apache.org/jira/browse/MYFACES-318?page=comments#action_12315402 
] 

Martin Marinschek commented on MYFACES-318:
-------------------------------------------

Have you confirmed this as a problem with MyFaces and not with the Tiles 
implementation?

regards,

Martin

> Tiles couldn't support nesting directly.
> ----------------------------------------
>
>          Key: MYFACES-318
>          URL: http://issues.apache.org/jira/browse/MYFACES-318
>      Project: MyFaces
>         Type: Improvement
>     Versions: 1.0.9 beta
>     Reporter: Jason Hoo

>
> If I use nesting directly like this:
>    <definition name="template.tiles" path="template.jsp"/>
>    <definition name="template_x.tiles" extends="template.tiles">
>       <put name="body" value="template_x.jsp">
>    </definition>
>    <definition name="task_a.tiles" extends="template_x.tiles">
>       <put name="content" value="task_a.jsp">
>    </definition>
> it will display blank in 1.0.9Beta M9, it will error with "can find attribute 
> 'content'" in lastest code in SVN.
> But write in this way, application display with no error:
>    <definition name="template.tiles" path="template.jsp"/>
>    <definition name="template_x.tiles" path="template_x.jsp"/>
>    <definition name="task_a.content" extends="template_x.tiles">
>       <put name="content" value="task_a.jsp">
>    </definition>
>    <definition name="task_a.tiles" extends="template.tiles">
>       <put name="body" value="template_x.jsp">
>    </definition>
> The projects is very large, and nesting 2-4 level,so the maintenance of 
> tiles.xml is very difficult. We can improve it?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to