please look on <set> and <binding>, they just do the same(or very similar)
thing,
why not use the same keywork <set>?


<bean name="passwordValidator" class="org.apache.tapestry.valid.StringValidator"> <set name="minLength" value="6"/> <set name="maxLength" value="12"/> </bean>

<component id="password" type="TextField">
    <binding name="value" value="ognl:user.password"/>
    <binding name="label" value="Password"/>
</component>


if all use <set>, we can write this:

<component id="password" type="TextField">
    <SET name="value" value="ognl:user.password"/>
    <SET name="label" value="Password"/>
</component>


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to