how to submit a form when change the combo...
I'm using ADF FAces and I have a page with this structure:
[code]
<af:form>
<af:panelPage>
<af:subform id="subform">
<af:showOneTab id="_detail"> The items inside here are
dynamicalls
<af:showDetailItem>
<af:selectOneChoice id="combo"
onChange="this.form.submit();"> //combo
<f:selectItems ....... >
</af:selectOneChoice>
<af:table id='table"/> //table to be
changed when combo change
<af:showDetailItem/>
//others showDetailItems
<af:showDetailItem/>
<af:showDetailItem/>
<af:showDetailItem/>
<af:showDetailItem/>
</af:showOneTab>
</af:subform>
<af:subForm>
</af:panelPage>
</af:form>
[/code]
When change the selected item component with the id "combo", an
actionListener setted at behind code would be called.
But when the combo is changed, the page is refreshed, but the action
is not called. But if I click in other showDetailItem
the actionListener is called.
I think the problem is with 'onChange="this.form.submit();' code, but
it was working before.....
The question is
How to submit to call the actionLisetner of combo??????