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

Erich Schreiner updated WICKET-2610:
------------------------------------

    Attachment: OddEvenListItem.java.patch

I suggest to use an extended version of OddEvenListItem. Its default behaviour 
is as currently, but it offers an overloaded constructor that allows to switch 
it to "append" mode.
This could be used in your own code or in conjunction with an extended 
IMarkupSettings that could provide a global "append css" flag.

> OddEvenListItem should append css attribute instead of replacing/adding it
> --------------------------------------------------------------------------
>
>                 Key: WICKET-2610
>                 URL: https://issues.apache.org/jira/browse/WICKET-2610
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.4.4
>            Reporter: Martin Simons
>            Priority: Minor
>             Fix For: 1.5-M1
>
>         Attachments: OddEvenListItem.java.patch
>
>
> Title says it all: Right now OddEvenListItem simply adds the class attribute 
> without checking whether another one already exists, essentially overwriting 
> any style definition the designer might have added. Instead, the odd/even 
> classes should be appended as in AttributeAppender behavior.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to