Yeah ! thanks you !

It works very well with :

<html jwcid="@Shell" title="test">
<body jwcid="@Body">

On Thu, Feb 14, 2008 at 3:27 PM, Andreas Andreou <[EMAIL PROTECTED]> wrote:

> Do you get any javascript errors? Are you using the @Body component in
> your page?
>
> On Thu, Feb 14, 2008 at 3:45 PM, KLessou <[EMAIL PROTECTED]> wrote:
> > I tryed this but without result anyway :-( :
> >
> >  *html :*
> >  <form jwcid="[EMAIL PROTECTED]" class="container"
> clientValidationEnabled="true"
> >  >
> >     <h3><span jwcid="@Insert" value="message:new.task">Task
> >  Entry</span></h3>
> >     <label jwcid="@FieldLabel"
> >  field="component:descriptionField">Description</label>
> >     <div class="field required"><input jwcid="descriptionField" /></div>
> >     <input jwcid="@Submit" value="message:button.add"
> class="submitButton"
> >            action="listener:addTask"
> >            async="true" updateComponents="taskForm" />
> >  </form>
> >
> >  *java :*
> >     @Component(bindings = { "value=description",
> >             "displayName=message:task.description",
> >             "validators=validators:required,maxLength=20"})
> >     public abstract TextField getDescriptionField();
> >
> >     public abstract String getDescription();
> >
> >     public abstract ResponseBuilder getBuilder();
> >
> >     @InjectComponent("testDialog")
> >     public abstract Dialog getTestDialog();
> >
> >     /**
> >      * Invoked by form to add a new task.
> >      */
> >     public void addTask()
> >     {
> >
> >
> >
> >  On Wed, Feb 13, 2008 at 11:05 PM, KLessou <[EMAIL PROTECTED]> wrote:
> >
> >  > Hi,
> >  >
> >  > I would like to use a Client side Validation, but I don't understand
> why
> >  > this simple example does not work :
> >  >
> >  > <form jwcid="[EMAIL PROTECTED]" clientValidationEnabled="true">
> >  >           <input jwcid="[EMAIL PROTECTED]" value=""
> >  > validators="validators:required"/>
> >  >           <input jwcid="@Submit" />
> >  >     </form>
> >  >
> >  > Thx in advance for you help.
> >  > --
> >  > ~~~~~
> >  > | klessou |
> >  > ~~~~~
> >
> >
> >
> >
> >  --
> >  ~~~~~
> >  | klessou |
> >  ~~~~~
> >
>
>
>
> --
> Andreas Andreou - [EMAIL PROTECTED] - http://blog.andyhot.gr
> Tapestry / Tacos developer
> Open Source / JEE Consulting
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
~~~~~
| klessou |
~~~~~

Reply via email to