You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Sven Meier (JIRA)" <ji...@apache.org> on 2012/08/28 21:57:08 UTC
[jira] [Resolved] (WICKET-4734) Button value is double escaped
[ https://issues.apache.org/jira/browse/WICKET-4734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sven Meier resolved WICKET-4734.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.5.9
6.0.1
Aligned with TextField: since model value is written into attribute, call #setEscapeModelValue(false) and let ComponentTag do the escaping.
> Button value is double escaped
> ------------------------------
>
> Key: WICKET-4734
> URL: https://issues.apache.org/jira/browse/WICKET-4734
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.7
> Reporter: Pieter Vandepitte
> Assignee: Sven Meier
> Fix For: 6.0.1, 1.5.9
>
> Attachments: double-escaping.tar.gz, WICKET-4734.patch
>
>
> When the model property of a Button contains html entities (e.g. single quotes), these characters are double escaped: in Button.onComponentTag (getDefaultModelObjectAsString) and in ComponentTag.writeOutput
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira