This content has been marked as final.
Show 1 reply
-
1. Re: refresh modalPanel onchange
panky_p Nov 6, 2007 7:01 AM (in response to panky_p)No clues???
I am trying like this<h:selectOneMenu id="list" onchange="this.form.submit();" value="#{myBean.SelectType}"> <f:selectItem itemValue="Ford"/> <f:selectItem itemValue="Audi" /> <f:selectItem itemValue="Bmw" /> <f:selectItem itemValue="Ferari"/> </h:selectOneMenu> <h:panelGrid rendered="#{myBean.selectType == 'Ford'}"> <h:outputLabel><strong>My Car</strong></h:outputLabel> </h:panelGrid> <h:panelGrid rendered="#{myBean.selectType == 'Audi'}"> <h:outputLabel><strong>My NewCar</strong></h:outputLabel> </h:panelGrid> <h:panelGrid rendered="#{myBean.selectType == 'BMW'}"> <h:outputLabel><strong>My Brand New Car</strong></h:outputLabel> </h:panelGrid>
when I select from list modalPanel get submitted that is because ofonchange="this.form.submit();"
is there any other way???