You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Ingram Chen (JIRA)" <ji...@apache.org> on 2007/03/08 03:49:24 UTC
[jira] Created: (WICKET-369) Add an escape option in
to turn off string escape
Add an escape option in <wicket:message> to turn off string escape
------------------------------------------------------------------
Key: WICKET-369
URL: https://issues.apache.org/jira/browse/WICKET-369
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.3, 2.0
Reporter: Ingram Chen
a typical use case is:
<wicket:message key="copyright">[Copyright here]</wicket:message>
copyright=Copyright © 2005
a suggestion is adding escape="" attribute like:
<wicket:message key="foo" escape="false">
to turn off default string escape
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-369) Add an escape option in
to turn off string escape
Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492559 ]
Juergen Donnerstag commented on WICKET-369:
-------------------------------------------
Is the reason that you don't want © in your properties file? What is your reason why you don't like it?
You know that *.properties files basically are ASCII only and thus even if we would introduce the attribute you suggested, it won't work for all chars. It might be more appropriate for xml property files though which are currently not yet supported with 1.3.
I understand what you try to do, but I don't yet see the benefit of it.
> Add an escape option in <wicket:message> to turn off string escape
> ------------------------------------------------------------------
>
> Key: WICKET-369
> URL: https://issues.apache.org/jira/browse/WICKET-369
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3, 2.0
> Reporter: Ingram Chen
>
> a typical use case is:
> <wicket:message key="copyright">[Copyright here]</wicket:message>
> copyright=Copyright © 2005
> a suggestion is adding escape="" attribute like:
>
> <wicket:message key="foo" escape="false">
> to turn off default string escape
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (WICKET-369) Add an escape option in
to turn off string escape
Posted by "Juergen Donnerstag (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag closed WICKET-369.
-------------------------------------
Resolution: Fixed
> Add an escape option in <wicket:message> to turn off string escape
> ------------------------------------------------------------------
>
> Key: WICKET-369
> URL: https://issues.apache.org/jira/browse/WICKET-369
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3, 2.0
> Reporter: Ingram Chen
>
> a typical use case is:
> <wicket:message key="copyright">[Copyright here]</wicket:message>
> copyright=Copyright © 2005
> a suggestion is adding escape="" attribute like:
>
> <wicket:message key="foo" escape="false">
> to turn off default string escape
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-369) Add an escape option in
to turn off string escape
Posted by "Ingram Chen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12492560 ]
Ingram Chen commented on WICKET-369:
------------------------------------
I'm sorry that my bad english make confusing.
What I want to do is like:
http://www.nabble.com/forum/ViewPost.jtp?post=8453423&framed=y
It seems that this had been solved by making non-escape as default in 1.3. (I do not confirm by myself yet because of no chance to upgrade) And I agreed that the use case of escape="true" is quite rare, too.
I think this issue can be closed.
> Add an escape option in <wicket:message> to turn off string escape
> ------------------------------------------------------------------
>
> Key: WICKET-369
> URL: https://issues.apache.org/jira/browse/WICKET-369
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.3, 2.0
> Reporter: Ingram Chen
>
> a typical use case is:
> <wicket:message key="copyright">[Copyright here]</wicket:message>
> copyright=Copyright © 2005
> a suggestion is adding escape="" attribute like:
>
> <wicket:message key="foo" escape="false">
> to turn off default string escape
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.