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


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