Add IRepeatableBehavior for DataViews, ListViews etc.
------------------------------------------------------
Key: WICKET-1969
URL: https://issues.apache.org/jira/browse/WICKET-1969
Project: Wicket
Issue Type: Wish
Components: wicket
Reporter: Peter Parson
Having an IRepeatableBehavior for repeatable views (allowing hooking into
populateItem) would be quite useful. There are quite common tasks one could
stuff into those behaviors, e.g.
* apply CSS class names to list item element dependent on index (e.g. first,
last, odd, even)
* output separators for all but the last item
* show/hide elements depending on index, e.g. to clear CSS float after 5 items
or display table header row every 20th line
Things like that are implemented frequently. Sublassing every repeatable once
for this purpose would be an option, however I think this would be better as
behavior, even more since there are several types of repeatable components.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.