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

Couple of things...First, can you include the JSPException?  Helps to see the 
stack trace.  Second, what is the purpose of having:

  <dataGrid>
    <rows>
      <repeater>
        <label>
      </repeater>
    </rows>
  </dataGrid>

The grid renders table cells, and the <repeater> containing a <label> doesn't 
really do that.  If <label> is replaced with <spanCell> is that what you're 
having trouble with?

> 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