You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexey Trofimov (JIRA)" <ji...@apache.org> on 2014/11/13 14:05:33 UTC

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

Alexey Trofimov created WICKET-5760:
---------------------------------------

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

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




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