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:01:34 UTC
[jira] [Updated] (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 updated WICKET-5760:
------------------------------------
Summary: Add constructor (String, Serializable, String) to AttributeAppender (was: Add constructor (String, String, String) to AttributeAppender)
> 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
> Priority: Minor
>
> 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)