You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Parson (JIRA)" <ji...@apache.org> on 2008/12/06 09:33:44 UTC

[jira] Updated: (WICKET-1969) Add IRepeatableBehavior for DataViews, ListViews etc.

     [ https://issues.apache.org/jira/browse/WICKET-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Parson updated WICKET-1969:
---------------------------------

    Priority: Minor  (was: Major)

> 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
>            Priority: Minor
>
> 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.