If you look into the resulting html source rendered from your page, you
will notice a dojo.event.connect javascript call for the form submit
event (originated at
struts2-core/src/main/resource/template/simple/form-close.ftl).
You can use this kind of event model yourself for the onclick events of
the buttons you want to monitor.
See http://dojotoolkit.org for more information.

petchia schrieb:
> I need to be able to detect when an item is added (or removed) from the right
> side of an optionstransferselect component. Basically if an item on the left
> side is added to the right side, I want to be able to run some JavaScript
> code to update another part of the page. I tried using the "doubleOnchange"
> attribute to assign a piece of JavaScript code, but that only gets called
> when you actually click on an item in the list on the right. I want the
> Javascript to be called when items are added or removed.
> 
> Any ideas?
> 
> -Bill

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

Reply via email to