ajax - Primefaces inside dynamic jsf fragment not working -


i have dynamically rendered jsf fragment has date element on selection supposed perform logic in request scoped bean never fires.

when take element out of fragment works fine.

<p:calendar id="dob_calendar"     value="#{registrationdetailshandler.dateofbirth}"     showbuttonpanel="true" navigator="true" yearrange="c-80:c+1"     required="true"      requiredmessage="date of birth required"     immediate="true">     <p:ajax event="dateselect" update="kid_panel"         listener="#{registrationdetailshandler.calculateage()}"         process="@this,firstname" /> </p:calendar> 

try use class name instead of id, , use jquery selector

eg

<h:panelgroup styleclass="kid_panel"> 

and in dynamic block

update="@(.kid_panel)" or process="@(.kid_panel)"


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -