beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil (JIRA)" <...@beehive.apache.org>
Subject [jira] Updated: (BEEHIVE-481) support repeater padding when ignoreNulls is set, the pad exists, and the data structure is full of nulls
Date Fri, 10 Feb 2006 02:13:01 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-481?page=all ]

Eddie O'Neil updated BEEHIVE-481:
---------------------------------

    Assign To:     (was: Eddie O'Neil)

> support repeater padding when ignoreNulls is set, the pad exists, and the data structure
is full of nulls
> ---------------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-481
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-481
>      Project: Beehive
>         Type: Improvement
>   Components: NetUI
>     Versions: v1m1
>     Reporter: Eddie O'Neil
>     Priority: Minor

>
> Repro:
> render this repeater with a non-null array that is full of nulls.  This should render
the padding 10 times but instead renders nothing.  
> This is really an edge case for using the repeater, but it's not outrageous that this
situation could come up.
> ::::: repro.jsp
> <%
>         String[] array = new String[10];
> pageContext.setAttribute("array", array);
> %>
>         <b>ignoreNulls=true, padContext (min=10)</b><br/>
>         <netui-data:repeater dataSource="pageScope.array" ignoreNulls="true">
>             <netui-data:repeaterHeader>
>                 <table class="tablebody" border="1">
>                 <tr><td>Start Table</td></tr>
>             </netui-data:repeaterHeader>
>             <netui-data:repeaterItem>
>                 <tr>
>                     <td><netui:span value="${container.item}" defaultValue="&nbsp;"></netui:span></td>
>                 </tr>
>             </netui-data:repeaterItem>
>             <netui-data:repeaterFooter>
>                 <tr><td>End Table</td></tr>
>                 </table>
>             </netui-data:repeaterFooter>
>             <netui-data:pad minRepeat="10">
>                 <tr><td><netui:span value="Pad text: ${container.index}"/></td></tr>
>             </netui-data:pad>
>         </netui-data:repeater>
> :::::

-- 
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


Mime
View raw message