-
1. Nested component not fireing the event
ilya_shaikovsky Apr 8, 2011 5:44 AM (in response to jobmathew)1) addition of a4j:param will not add any ajax to combobox. need a4j:support.
2) do not nest supports to commands. them already ajax'ified. just define attributes from support at buttons.
-
2. Nested component not fireing the event
jobmathew Apr 8, 2011 6:08 PM (in response to ilya_shaikovsky)I have updated the code like below, but still am not getting call to any funcation in backend or getting the value setted in the backing bean.
No event is getting fired
<rich:column width="10px">
<rich:comboBox var="tes" value="#{expense.role}" enableManualInput="false" defaultLabel="Role" suggestionValues="#{bean.flags}" >
<a4j:support value="#{tes}" event="onselect" assignTo="#{expense.role}" action="#{bean.saveRole}" />
</rich:comboBox>
</rich:column>
<rich:column style="text-align:right" breakBefore="true" rendered="#{(row+1) eq bean.steps.size()}" colspan="3">
<a4j:commandButton value="Conclude" action="#{bean.saveStepResult()}" reRender="table"/>
<a4j:commandButton value="Cancel" action="#{bean.cancel()}" reRender="table" />
</rich:column>
-
3. Nested component not fireing the event
jobmathew Apr 11, 2011 4:25 AM (in response to jobmathew)I kept my bean in keepalive state.
so now from combo box the event is firing, but still for the button there is no event generated and not getting the control on the backend
-
4. Nested component not fireing the event
nbelaevski Apr 12, 2011 9:04 AM (in response to jobmathew)Please post complete page code.
-
5. Nested component not fireing the event
jobmathew Apr 14, 2011 10:24 AM (in response to nbelaevski)Thank you so much i have fixed the issue by keeping the first table which holds the nested table into a <a4j:form>