[ http://issues.apache.org/jira/browse/BEEHIVE-555?page=all ]
     
Eddie O'Neil resolved BEEHIVE-555:
----------------------------------

     Assign To: Nathan Jantz  (was: Eddie O'Neil)
    Resolution: Fixed

Fixed with SVN 164507.  

> data grid ${container.index} starts numbering at 1 instead of 0
> ---------------------------------------------------------------
>
>          Key: BEEHIVE-555
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-555
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1
>     Reporter: Eddie O'Neil
>     Assignee: Nathan Jantz
>      Fix For: V1

>
> In this repro, the data grid starts numbering its "index" property at "1" 
> instead of "0".  To be consistent with Java arrays and the repetaer, the data 
> items need to start numbering at "0".
> :::::
> <% pageContext.setAttribute("fiveStrings", new String[] {"zero", "one", 
> "two", "three", "four"}); %>
>     <netui-data:dataGrid dataSource="pageScope.fiveStrings" name="portfolio">
>         <netui-data:rows>
>             <netui-data:spanCell value="${container.index}"/>
>             <netui-data:spanCell value="${container.item}"/>
>         </netui-data:rows>
>     </netui-data:dataGrid>
> :::::

-- 
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
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to