Gary,

that looks nice!

Haven't looked at Clay yet, only Faclets...

.Matthias
 
> 
>  Clay would work very well to spice up the client view.  As 
> for the XML configuration:
> 
> <component jsfid="commonsValidator" 
> componentType="org.apache.shale.ValidatorScript"/>
> 
> <component jsfid="firstNameRegExp" extends="commonsValidator" >
>   <attributes>
>     <set name="arg" value="#{msg.firstName}"/>
>     <set name="server" value="true">
>     <set name="client" value="true">
>     <set name="type" value="mask">
>     <set name="mask" value="#{regex.firstName}">
>   </attributes>
> </component>
> 
> And, the JSP:
> 
> <clay:clay id="regexValidator" jsfid="firstNameRegExp"/>
> Gary
> > 
> > david 
> > > 
> > > Craig 
> > > 
> > > 
> --------------------------------------------------------------------- 
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > > For additional commands, e-mail: [EMAIL PROTECTED] 
> > > 
> > > 
> > 
> > 
> > 
> --------------------------------------------------------------------- 
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED] 
> > 
> 

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

Reply via email to