You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Michel D. (JIRA)" <ta...@jakarta.apache.org> on 2005/10/09 19:37:47 UTC

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

Add getters for validators properties.
--------------------------------------

         Key: TAPESTRY-697
         URL: http://issues.apache.org/jira/browse/TAPESTRY-697
     Project: Tapestry
        Type: Improvement
  Components: Framework  
    Versions: 4.0    
 Environment: ANy
    Reporter: Michel D.


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.
-
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


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

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ http://issues.apache.org/jira/browse/TAPESTRY-697?page=all ]

Jesse Kuhnert updated TAPESTRY-697:
-----------------------------------

    Fix Version/s: 4.1.2

> Add getters for validators properties.
> --------------------------------------
>
>                 Key: TAPESTRY-697
>                 URL: http://issues.apache.org/jira/browse/TAPESTRY-697
>             Project: Tapestry
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: 4.0
>         Environment: ANy
>            Reporter: Michel D.
>             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.
-
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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org


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

Posted by "Michel D. (JIRA)" <ta...@jakarta.apache.org>.
    [ http://issues.apache.org/jira/browse/TAPESTRY-697?page=comments#action_12331670 ] 

Michel D. commented on TAPESTRY-697:
------------------------------------

Priority should be rather trivial... Oh well, can't find way to edit issue after creating.

> Add getters for validators properties.
> --------------------------------------
>
>          Key: TAPESTRY-697
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-697
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>  Environment: ANy
>     Reporter: Michel D.

>
> 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.
-
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


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

Posted by "Jesse Kuhnert (JIRA)" <ta...@jakarta.apache.org>.
     [ 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