Hermond, thanks for the answer.
This looks not so difficult.

Bernhard

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 9. Februar 2007 14:03
> An: [email protected]
> Betreff: RE: Clay Using Taglibs (e.g validation)
> 
> 
> Hi
> 
> You need to configure these as Clay components. Have a look 
> at some of the Clay sample apps, specifically the 
> clay-config.xml files. To integrate other libs, there must be 
> a mapped clay-config file for them, or you need to run the 
> Tld2ClayCfg tool on the tld files for these 3rd party libs. 
> There is a sample app in the sandbox which demonstrates this.
> 
> A sample Clay component definition with validation (using 
> commons validator) from the shale-clay-usecases:
> 
>       <component jsfid="email" extends="inputText" id="email">
>               <attributes>
>                       <set name="value" 
> value="[EMAIL PROTECTED]" />
>                       <set name="size" value="30" />
>                       <set name="maxlength" value="50" />
>                       <set name="required" value="false" />
>               </attributes>
>               <validator jsfid="commonsValidator">
>                       <attributes>
>                               <set name="type" value="email" />
>                               <set name="client" value="true" />
>                               <set name="server" value="true" />
>                               <set name="arg" 
> value="#{messages['rolodex.email']}" />
>                       </attributes>
>               </validator>
>       </component>
> 
> Hermod
> 
> -----Original Message-----
> From: Bernhard Slominski [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 09, 2007 8:58 AM
> To: [email protected]
> Subject: Clay Using Taglibs (e.g validation)
> 
> 
> Hi,
> 
> I want to use the Clay HTML views together with the Shale validation.
> How do I integrate the taglib directive
> <%@ taglib uri="http://shale.apache.org/core"; prefix="val" %>
> into my HTML view?
> How can I integrate other 3rd Party taglibs?
> 
> Bernhard
> 
> 
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * * * * * *
> 
> This email with attachments is solely for the use of the individual or
> entity to whom it is addressed. Please also be aware that the 
> DnB NOR Group
> cannot accept any payment orders or other legally binding 
> correspondence with
> customers as a part of an email. 
> 
> This email message has been virus checked by the anti virus 
> programs used
> in the DnB NOR Group.
> 
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * * * * * *
> 

Reply via email to