Hi Ken,
i was using the @InvokeListener component + onChange to do this

put this on outside your form
<span jwcid="@InvokeListener" listener="listener:updateData"/>

then on the @PropertySelection, do like this
<span jwcid="@PropertySelection"
       model="ognl:@[EMAIL PROTECTED]"
       value="ognl:foo"
      onchange="javascript:this.form.events.refresh();"/>

it is working fine for me.
:)

2007/10/9, Igor Drobiazko <[EMAIL PROTECTED]>:
>
> Try this.form.submit();
>
> On 10/9/07, Ken nashua <[EMAIL PROTECTED]> wrote:
> >
> >
> > Folks,
> >
> > Is there a way to get a PropertySelection component to automatically
> > submit on selection event (I think it's onChange).
> >
> > My javascript has no effect...
> > onChange="javascript:document.GalleryForm.submit()">
> >
> > Best regards
> > Ken in nashua
> > _________________________________________________________________
> > Help yourself to FREE treats served up daily at the Messenger Café. Stop
> > by today.
> >
> >
> http://www.cafemessenger.com/info/info_sweetstuff2.html?ocid=TXT_TAGLM_OctWLtagline
>



-- 
Atenciosamente,
Marcelo Lotif

Reply via email to