You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Musachy Barroso (JIRA)" <ji...@apache.org> on 2007/05/22 19:47:43 UTC
[jira] Assigned: (WW-1852) Support alternate label separator in
xhtml form tags
[ https://issues.apache.org/struts/browse/WW-1852?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Musachy Barroso reassigned WW-1852:
-----------------------------------
Assignee: Musachy Barroso
> Support alternate label separator in xhtml form tags
> ----------------------------------------------------
>
> Key: WW-1852
> URL: https://issues.apache.org/struts/browse/WW-1852
> Project: Struts 2
> Issue Type: Improvement
> Components: Views
> Affects Versions: 2.0.6, 2.0.7
> Environment: Freemarker
> Reporter: Jasper Rosenberg
> Assigned To: Musachy Barroso
> Priority: Minor
> Fix For: 2.1.0
>
>
> In file template/xhtml/controlheader-core.ftl:
> Replace the single occurence of : with ${parameters.labelSeparator!":"}
> This will allow a user that doesn't want to use the colon as their label separator to specify an alternative, or even none at all. I ran into a couple cases where this was needed including:
> 1. A label that was an equation: "4 + 15 ="
> 2. A label that was a question: "Required?"
> For example:
> <@s.textfield label="7 + 23 =" name="answer" labelSeparator=""/>
> <@s.checkbox name="isRequired" label="Required?" labelSeparator=""/>
> Or perhaps a user might even prefer to have their label separators be hyphens rather than colons.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.