[ 
http://issues.apache.org/jira/browse/BEEHIVE-420?page=comments#action_60465 ]
     
Eddie O'Neil commented on BEEHIVE-420:
--------------------------------------

This is a great bug.  The problem is that the TagSupport base class (pre JSP 
2.0) doesn't support SimpleTags, and in order to support handling getParent 
correctly when simple tags and classic tags interact, the 
SimpleTagSupport.findAncestorWithClass(...) method needs to be called.

Fix coming shortly.

> A repeater nested in a grid fails when accessing data from the grid container
> -----------------------------------------------------------------------------
>
>          Key: BEEHIVE-420
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-420
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: John Rohrlich
>     Assignee: Eddie O'Neil

>
> You can nest a repeater inside of a grid but referencing the outer container 
> fails. Here is the code showing the use of a repeater nested in a repeater 
> (works) and a repeater nested in a grid (doesn�t work � JSP Exception).
> <netui:body>
>     <netui-data:repeater dataSource="pageFlow.records">
>         <netui-data:repeaterItem>
>             <netui-data:repeater dataSource="container.item.temperatures">
>                 <netui-data:repeaterItem>
>                      <netui:label 
> value="${container.container.item.highTemperature}" />
>                 </netui-data:repeaterItem>
>             </netui-data:repeater>
>         </netui-data:repeaterItem>
>     </netui-data:repeater>
>                       
>     <netui-data:dataGrid dataSource="pageFlow.records" name="temperatures">
>         <netui-data:rows>
>              <netui-data:repeater dataSource="container.item.temperatures">
>                   <netui-data:repeaterItem>
> <netui:label value="${container.container.item.highTemperature}" />
>                                               </netui-data:repeaterItem>
>                                       </netui-data:repeater>
>                               </netui-data:rows>
>                       </netui-data:dataGrid>          
>                                                       
>               </netui:body>

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to