[ 
http://www.stripesframework.org/jira/browse/STS-871?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-871.
----------------------------

    Resolution: Fixed

> Layout renders wrong component definition
> -----------------------------------------
>
>                 Key: STS-871
>                 URL: http://www.stripesframework.org/jira/browse/STS-871
>             Project: Stripes
>          Issue Type: Bug
>          Components: Tag Library
>    Affects Versions: Release 1.5.6
>            Reporter: Ben Gunter
>            Assignee: Ben Gunter
>             Fix For: Release 1.5.7
>
>
> When a page has a definition tag that encompasses multiple render tags, each 
> of which contains a component tag having the same name, the first component 
> definition is used for both renders. For example, the following should show 
> "Block #1 content" then "Block #2 content." Instead, it shows "Block #1 
> content" twice.
> {code:title=index.jsp}
> <s:layout-render name="definition.jsp" />
> {code}
> {code:title=definition.jsp}
> <s:layout-definition>
>   <h1>Block #1</h1>
>   <s:layout-render name="component.jsp">
>     <s:layout-component name="content">Block #1 content</s:layout-component>
>   </s:layout-render>
>   <h1>Block #2</h1>
>   <s:layout-render name="component.jsp">
>     <s:layout-component name="content">Block #2 content</s:layout-component>
>   </s:layout-render>
> </s:layout-definition>
> {code}
> {code:title=component.jsp}
> <s:layout-definition>
>   <s:layout-component name="content" />
> </s:layout-definition>
> {code}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to