Please open a JIRA issue.

Sven

On 12/17/2013 09:39 PM, Guillaume Smet wrote:
Hi,

Currently, EnumChoiceRenderer escapes the value via the postprocess method.

It seems to be redundant with the fact that DropDownChoice already
escapes the value by default (in AbstractChoice).

Typically, in a default setup, if you use EnumChoiceRenderer and
DropDownChoice together, your value is escaped twice which leads to a
double escaped value.

Should I open a JIRA so that we remove the escaping of EnumChoiceRenderer?

References:
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/form/EnumChoiceRenderer.java#L111
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/form/AbstractChoice.java#L402

Thanks for your feedback.


Reply via email to