tcrossland opened a new issue, #14249:
URL: https://github.com/apache/grails-core/issues/14249

   Currently the `<f:with>` tag can be nested but only within a single 
`pageScope`. It would be useful to allow nesting to work within templates.
   
   For example:
   
   **/author/show.gsp**
   
   ``` gsp
   <f:with bean="authorInstance">
     <f:display property="books"/>
     <f:display property="name"/>
   </f:with>
   ```
   
   **/_fields/author/books/_displayWidget.gsp**
   
   ``` gsp
   <ul>
     <g:each in="${value}" var="book">
       <f:with bean="${book}">
         <li><f:display property="title"/></li>
       </f:with>
     </g:each>
   </li>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to