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/06/11 23:35:42 UTC

[jira] Closed: (TAPESTRY-321) lightweight initialization

     [ http://issues.apache.org/jira/browse/TAPESTRY-321?page=all ]
     
Howard M. Lewis Ship closed TAPESTRY-321:
-----------------------------------------

    Resolution: Fixed

> <bean> lightweight initialization
> ---------------------------------
>
>          Key: TAPESTRY-321
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-321
>      Project: Tapestry
>         Type: Improvement
>   Components: Framework
>     Versions: 4.0
>     Reporter: Howard M. Lewis Ship
>     Assignee: Howard M. Lewis Ship
>      Fix For: 4.0

>
> It would be nice if the <bean> element supported light-weight initialization (this is a HiveMind term meaning mixing the class name with a comma-seperated list of properties and values to set).  I'd like to be able to say:
> <bean name="validator" class="org.apache.tapestry.valid.StringValidator,required,minimumLength=5"/>
> rather than:
> <bean name="validator" class="org.apache.tapestry.valid.StringValidator">
>   <set name="required" value="true"/>
>   <set name="minimumLength" value="5"/>
> </bean>
>   

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