You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Daryl Olander (JIRA)" <be...@incubator.apache.org> on 2005/04/01 23:29:16 UTC
[jira] Assigned: (BEEHIVE-481) repeater broken when ignoreNulls is true, a pad is used, and the data structure is full of nulls
[ http://issues.apache.org/jira/browse/BEEHIVE-481?page=history ]
Daryl Olander reassigned BEEHIVE-481:
-------------------------------------
Assign To: Eddie O'Neil
> repeater broken when ignoreNulls is true, a pad is used, and the data structure is full of nulls
> ------------------------------------------------------------------------------------------------
>
> Key: BEEHIVE-481
> URL: http://issues.apache.org/jira/browse/BEEHIVE-481
> Project: Beehive
> Type: Bug
> Components: NetUI
> Versions: TBD
> Reporter: Eddie O'Neil
> Assignee: 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=" "></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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira