Just a note that
this.form.events.refresh() has been deprecated for more than a year now
and actually has been removed in 4.1.4

Correct (as http://tapestry.apache.org/tapestry4.1/javascript/form.html states ) is
onchange="tapestry.form.refresh(this.form)"


Marcelo Lotif wrote:
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





--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / JEE Consulting


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

Reply via email to