You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Leonardo Quijano Vincenzi <le...@dtqsoftware.com> on 2005/09/22 00:10:46 UTC

How do I skip validation on PropertySelecion auto-submit?

Ok I have a PropertySelection on a form like this:

          <select jwcid="obj@PropertySelection"
                    displayName="Obj:"
                      validators="validators:required"
                      submitOnChange="true" value="ognl:objValue"
                      model="ognl:..." />

How do I skip validation on this and other "submitOnChange" events?
I have clientValidation enabled, too...

-- 
Ing. Leonardo Quijano Vincenzi
Director Técnico
DTQ Software



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: How do I skip validation on PropertySelecion auto-submit?

Posted by Leonardo Quijano Vincenzi <le...@dtqsoftware.com>.
Leonardo Quijano Vincenzi escribió:

> Ok I have a PropertySelection on a form like this:
>
>          <select jwcid="obj@PropertySelection"
>                    displayName="Obj:"
>                      validators="validators:required"
>                      submitOnChange="true" value="ognl:objValue"
>                      model="ognl:..." />
>
> How do I skip validation on this and other "submitOnChange" events?
> I have clientValidation enabled, too...
>
Is this capability implemented?

-- 
Ing. Leonardo Quijano Vincenzi
Director Técnico
DTQ Software



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: How do I skip validation on PropertySelecion auto-submit?

Posted by Kent Tong <ke...@cpttm.org.mo>.
Leonardo Quijano Vincenzi <leonardo <at> dtqsoftware.com> writes:

> 
> Ok I have a PropertySelection on a form like this:
> 
>           <select jwcid="obj <at> PropertySelection"
>                     displayName="Obj:"
>                       validators="validators:required"
>                       submitOnChange="true" value="ognl:objValue"
>                       model="ognl:..." />
> 
> How do I skip validation on this and other "submitOnChange" events?
> I have clientValidation enabled, too...
> 

You should use javascript to call this.form.events.refresh() and
binding a listener to the "refresh" parameter of your Form component.

--
Author of a book for learning Tapestry (http://www.agileskills2.org/EWDT)


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org