jsf - SelectOneRadio with Ajax event does not trigger -
there site developed. want use <h:selectoneradio>
<f:ajax>
change content of form in page. searched many sites not find. when radio button selected form redisplayed. how can ? codes :
<h:selectoneradio value="#{guest.rdselected}"> <f:selectitems value="#{guest.uyruk}" /> <p:ajax render="lbltcpasaport txtname txtsurname" event="click" listener="#{guest.changetcpasaportfields}" /> </h:selectoneradio> <h:outputtext id="lbltcpasaport" value="#{guest.nameoflbltcpasaport}" /> <h:inputtext id="tcno" value="#{guest.tcno}"> <f:ajax event="blur" render="lblerrormessage txtname txtsurname" listener="#{guest.getnamesurname}" /> </h:inputtext> ad <h:inputtext id="txtname" value="#{guest.name}" disabled="#{guest.isnamesurnamedisabled}"> <f:validator validatorid="validatenamesurname" /> </h:inputtext> soyad <h:inputtext id="txtsurname" value="#{guest.surname}" disabled="#{guest.isnamesurnamedisabled}"> <f:validator validatorid="validatenamesurname" /> </h:inputtext>
Comments
Post a Comment