This tag determines the number of items that are rendered by a <netui-data:repeater> tag.
<netui-data:pad
[maxRepeat="integer_or_expression_maxRepeat"]
[minRepeat="integer_or_expression_minRepeat"]
[padText="string_padText"] />
This tag determines the number of items that are rendered by a <netui-data:repeater> tag. The <netui-data:pad> tag has the ability to turn an irregular data set in the <netui-data:repeater> tag into a regular data set through the use of the three attributes:
maxRepeat- truncates the rendering of the data setminRepeat- forces the <netui-data:repeater> to render a minimum number of elementspadText - default text to render if the data set does not have the minimum number of elements
If the padText attribute
is unset, the body of the <netui-data:pad> tag is used as the default text.
<netui-data:repeater dataSource="{pageFlow.myList}">
<netui-data:pad maxRepeat="3"/>
<netui-data:repeaterItem>
<netui:label value="{container.item}" />
</netui-data:repeaterItem>
</netui-data:repeater>
[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui_databinding/pad/