You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org> on 2007/03/04 20:11:50 UTC

[jira] Resolved: (TAPESTRY-697) Add getters for validators properties.

     [ https://issues.apache.org/jira/browse/TAPESTRY-697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jesse Kuhnert resolved TAPESTRY-697.
------------------------------------

    Resolution: Fixed
      Assignee: Jesse Kuhnert

Sounds good to me.

> Add getters for validators properties.
> --------------------------------------
>
>                 Key: TAPESTRY-697
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-697
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>         Environment: ANy
>            Reporter: Michel D.
>         Assigned To: Jesse Kuhnert
>             Fix For: 4.1.2
>
>
> Currently validators have only setters. Eg. org.apache.tapestry.form.validator.Max validator has setMax() method, but no getMax().  My current task is implement ValidationDelegate with generic error validation messages. For example, if some field has too less characters proper message would be "Field value should be at least {0} chars long" where  {0} should be replaced by min property of attached Min validator. But since there is no Min.getMin() method, I'm busted ;-).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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