This content has been marked as final.
Show 4 replies
-
1. Re: rich:suggestionBox seems to disable a4j:commandButtons o
ilya_shaikovsky Jul 20, 2009 4:30 AM (in response to kevcpu411)in such cases show code snippets.
Probably you using EL in disable attribute of button. And using request scoped object in this EL. But it should be session scoped or kept alive with corresponding tab. -
2. Re: rich:suggestionBox seems to disable a4j:commandButtons o
kevcpu411 Jul 20, 2009 9:25 AM (in response to kevcpu411)<h:inputText id="txtCompany" value="#{customer.company}" styleClass="FormFieldTP2"></h:inputText> <rich:suggestionbox id="customerSuggest" height="200" width="200" fetchValue="#{customerInfo.customerName}" suggestionAction="#{customerAction.customerAutoComplete}" for="txtCompany" var="customerInfo" frequency="1" ajaxSingle="true"> <a4j:support id="customerSuggestEvent" event="onselect" action="#{customerAction.populateCustomerFields(customerInfo)}" reRender="pnlCustomerInformation" ajaxSingle="true"> </a4j:support> <rich:column> <h:outputText id="lblCompanyName" value="#{customerInfo.customerName}"/> </rich:column> </rich:suggestionbox>
.
.
.
.<a4j:commandButton id="btnSave" value=" Save " action="#{customerAction.saveCustomer}" styleClass="button" reRender="tabPnlUserMessages,pnlBasicInformation"> </a4j:commandButton>
-
3. Re: rich:suggestionBox seems to disable a4j:commandButtons o
kevcpu411 Jul 20, 2009 4:01 PM (in response to kevcpu411)This problem only occurs after the action fires when the user selects an item from the suggestionBox list. Any help would be greatly appreciated.
-
4. Re: rich:suggestionBox seems to disable a4j:commandButtons o
ilya_shaikovsky Jul 21, 2009 5:45 AM (in response to kevcpu411)b.t.w. add rich:messages to the page.