Mike Kienenberger wrote:
Your suggestion of calling this.form.submit() may not work. There's
other "hidden" javascript that needs to be executed before form is
submitted.
Ok, I understand.
Thanks for this information, I'll rework the sample.
Thoug, I dont like it to make asumptions about how ids are rendered
Thus, this might be a perfect thing for an additional tag, isnt it?
<t:jsaction event="onchange" for="select-box-id"
action="#{command.action}" />
This will install a "onchange" javascript on the compontent referenced
by "for" and (if "onchanged") do some magic to get the command fired.
What do you think?
Ciao,
Mario