This content has been marked as final.
Show 2 replies
-
1. Re: selectOneMenu doesn't work after upgrading a4j version f
atblue Aug 23, 2007 8:17 AM (in response to atblue)I have tired again to interact the selectOneMenu with <h:outputText>, then it works:
<a4j:outputPanel id="insurance_panel"> <h:outputText>#{companyName}</h:outputText><br/> <h:outputText>#{companyID}</h:outputText><br/> <h:outputText>#{insuredID}</h:outputText><br/> </a4j:outputPanel>
I also tried to wrap the <t:inputTest> within <a4j:outputPanel>, still doesn't work. -
2. Re: selectOneMenu doesn't work after upgrading a4j version f
atblue Aug 23, 2007 9:04 AM (in response to atblue)Problem is solved after reading the following:
http://jboss.org/index.html?module=bb&op=viewtopic&t=115007
woks now :)<a4j:region selfRendered="true"> <h:selectOneMenu id="companies_menu" value="#{companyName}"> <f:selectItem itemValue="" itemLabel="" /> <f:selectItems value="#{companyNameList}" /> <a4j:support event="onchange" ajaxSingle="true" action="#{emergencyDataBean.setInsuranceCompany}" reRender="#companyname, companyid, insuranceid" /> </h:selectOneMenu> </a4j:region> <t:inputText id="companyname" value="#{companyName}" /> <t:inputText id="companyid" value="#{companyID}" /> <t:inputText id="insuranceid" value="#{insuredID}" />