You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2014/11/17 17:02:34 UTC

[jira] [Resolved] (WICKET-5760) Add constructor (String, Serializable, String) to AttributeAppender

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

Martin Grigorov resolved WICKET-5760.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.19.0
                   7.0.0-M5
         Assignee: Martin Grigorov

> Add constructor (String, Serializable, String) to AttributeAppender
> -------------------------------------------------------------------
>
>                 Key: WICKET-5760
>                 URL: https://issues.apache.org/jira/browse/WICKET-5760
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.18.0
>            Reporter: Alexey Trofimov
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 7.0.0-M5, 6.19.0
>
>
> Now AttributeAppender has two constructors
> AttributeAppender(String attribute, Serializable value)
> AttributeAppender(String attribute, IModel<?> appendModel, String separator)
> but if I have fixed value for attribute i must write (for example attribute "class"):
> new AttributeAppender("class", "cssClass").setSeparator(" ");  
> or 
> new AttributeAppender("class", Model.of("cssClass"), " ");
> And I want to write something like this : 
> new AttributeAppender("class", "cssClass", " ")



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)