You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "lucy Luo (JIRA)" <ji...@apache.org> on 2006/05/11 01:31:33 UTC
[jira] Created: (SHALE-176) The Token component doesn't allow to
override the message like the validator
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
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
[jira] Assigned: (SHALE-176) The Token component doesn't allow to
override the message like the validator
Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-176?page=all ]
Gary VanMatre reassigned SHALE-176:
-----------------------------------
Assign To: Gary VanMatre
> 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
>
> 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
[jira] Commented: (SHALE-176) The Token component doesn't allow to
override the message like the validator
Posted by "Veit Guna (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-176?page=comments#action_37340 ]
Veit Guna commented on SHALE-176:
---------------------------------
Yes, I got the same problem. And it should be also possible to add a _detail message to it like jsf standard:
token.invalid_detail=
> 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
>
> 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
[jira] Commented: (SHALE-176) The Token component doesn't allow to
override the message like the validator
Posted by "Veit Guna (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-176?page=comments#action_37340 ]
Veit Guna commented on SHALE-176:
---------------------------------
Yes, I got the same problem. And it should be also possible to add a _detail message to it like jsf standard:
token.invalid_detail=
> 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
>
> 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
[jira] Assigned: (SHALE-176) The Token component doesn't allow to
override the message like the validator
Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/struts/browse/SHALE-176?page=all ]
Gary VanMatre reassigned SHALE-176:
-----------------------------------
Assign To: Gary VanMatre
> 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
>
> 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
[jira] Resolved: (SHALE-176) The Token component doesn't allow to
override the message like the validator
Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (SHALE-176) The Token component doesn't allow to
override the message like the validator
Posted by "Gary VanMatre (JIRA)" <ji...@apache.org>.
[ 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