[
https://issues.apache.org/struts/browse/WW-2066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41695
]
Florent Ramière commented on WW-2066:
-------------------------------------
Hi Rene, here is why I need the ognl syntax :
<message>${getText("validator.requiredstring",
{getText("helpDemand.subject")})}</message>
However using ognl here is not something that is easily found in the
documentation.
I just wanted to raise this point so other user could use this feature.
Enjoy your day.
> Add ognl info in the validation message attribute
> -------------------------------------------------
>
> Key: WW-2066
> URL: https://issues.apache.org/struts/browse/WW-2066
> Project: Struts 2
> Issue Type: Improvement
> Components: Documentation
> Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7,
> 2.0.8, 2.0.9
> Reporter: Florent Ramière
> Priority: Minor
>
> Add info about the ognl usage in the validator message attribute
> Example:
> <field-validator type="requiredstring" short-circuit="true">
> <message>${getText("validator.requiredstring")}</message>
> </field-validator>
> See also: WW-2065
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.