[ http://issues.apache.org/struts/browse/SHALE-176?page=all ]
     
Gary VanMatre resolved SHALE-176:
---------------------------------

    Fix Version: 1.0.3
     Resolution: Fixed

The token component now allows overriding the validation summary and detail 
message. 
The messages are evaluated in the following order: 

1) The messageDetail and messageSummary property on the Token component is the 
first order of override.

2) The next level of override is a custom resource bundled registered in the 
faces-config.xml using the message key of token.summary.invalid or 
token.detail.invalid.

    <application>
       <messageSummary-bundle>org.acme.resources.Bundle</messageSummary-bundle>
    </application>

3) The default will be taken from org.apache.shale.resources.Bundle packaged in 
the core shale java archive.

> The Token component doesn't allow to override the message like the validator
> ----------------------------------------------------------------------------
>
>          Key: SHALE-176
>          URL: http://issues.apache.org/struts/browse/SHALE-176
>      Project: Shale
>         Type: Improvement

>   Components: Core
>     Versions: 1.0.1
>  Environment: all
>     Reporter: lucy Luo
>     Assignee: Gary VanMatre
>      Fix For: 1.0.3

>
> The Token component doesn't allow to override the message like the validator 
> that  has a couple message overrides, The first is a message property and the 
> second looks for bundles registered in the faces-config.
> Seems like the Token component should work this way too.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to