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

Alexey Trofimov updated WICKET-5760:
------------------------------------
    Description: 
Now AttributeAppender has two 

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


  was:
Now AttributeAppender has two 

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 wanna write something like this : 

new AttributeAppender("class", "cssClass", " ")



> Add constructor (String, String, String) to AttributeAppender
> -------------------------------------------------------------
>
>                 Key: WICKET-5760
>                 URL: https://issues.apache.org/jira/browse/WICKET-5760
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 7.0.0-M5, 6.19.0
>            Reporter: Alexey Trofimov
>            Priority: Minor
>
> Now AttributeAppender has two 
> 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