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/08/14 23:30:54 UTC

[jira] Commented: (TAPESTRY-417) validators: binding prefix should have way to reference a

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

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

Since there's been no discussion about the format, I'm going to go ahead with the leading dollar sign approach.

> validators: binding prefix should have way to reference a <bean>
> ----------------------------------------------------------------
>
>          Key: TAPESTRY-417
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-417
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>     Assignee: Howard M. Lewis Ship
>     Priority: Minor

>
> It would be nice if there was a way to reference a named <bean> as part of a validators: string.  That way, you can mix the "declarative" style of validators: with more complex initializations inside a <bean> element.
> How about:
> validators:$required,minLength=5
> The '$' prefix indicates a reference to a <bean> named "required".  
> Other ideas:
> validators:{required},minLength=5
> validators:bean:required,minLength=5
> validators:bean=required,minLength=5

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