ajax - SelectOneMenu set to null when updating p:panelGrid -



ajax - SelectOneMenu set to null when updating p:panelGrid -

i having problem, firing ajax event in selectonemenu this: first 1 not fire event

<p:selectonemenu id="idselectone" value="#{mb.myentity.myvalue}" converter="myconverter1"> ..... </p:selectonemenu> <p:selectonemenu id="idselecttwo" converter="myconverter2"> <p:ajax event="change" process="@this" partialsubmit="true" listener="#{mb.changeoption}" update="creatpanel" > </p:ajax> </p:selectonemenu>

the problem when ajax event updates panel, first selectonemenu sets tu null, can't utilize @form because validates fields , never need show field based on selection of sec selectonemenu, there way avoid problem happend?

this backing bean:

public void changeoption(ajaxbehaviorevent event){ ..... }

i solved updating element needed , not finish panel, thanks

ajax jsf primefaces

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -