You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ta...@jakarta.apache.org> on 2005/11/12 01:44:04 UTC

[jira] Commented: (TAPESTRY-698) Validation messages are too hard wired to the built-in set of translators and validators

    [ http://issues.apache.org/jira/browse/TAPESTRY-698?page=comments#action_12357464 ] 

Howard M. Lewis Ship commented on TAPESTRY-698:
-----------------------------------------------

My thoughts here are to create new configuraiton points where default validation messages (within a locale) can be provided.

> Validation messages are too hard wired to the built-in set of translators and validators
> ----------------------------------------------------------------------------------------
>
>          Key: TAPESTRY-698
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-698
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship

>
> Because validation messages are defined in terms of a properties file, there isn't an avenue for introducing new, localized, messages (that can then be overridden).
> Ideally, there should be a configuration point that allows new messages to be defined; the ValidationMessages interface should be aware of these messages and search them. Assuming the configuration was searched before ValidStrings.properties, this would also provide an easy way to override a default validation message throughout the application.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org