[ 
https://issues.apache.org/jira/browse/WICKET-5760?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14214762#comment-14214762
 ] 

ASF subversion and git services commented on WICKET-5760:
---------------------------------------------------------

Commit 988f0fa57195ed60fcf1ac00d1023ca024647ca5 in wicket's branch 
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=988f0fa ]

WICKET-5760 Add constructor (String, Serializable, String) to AttributeAppender

(cherry picked from commit 73a384435a9a0d6568e04909a4f3a86aa54d2125)


> 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)

Reply via email to