JSF panelGroup not getting rendered after ajax call -


i'm using jsf , have form contains panelgroup , panelgroup contains 2 commandlinks , datatable. datatable contains commandlinks too. commandlinks call method of javabean via ajax.

and problem. if click on commandlinks link_edit or link_cancel panelgroup getting rerenderd. if click on commadlink inside datatable link_delete panelgroup not getting rerendered. know i'm doing wrong?

here relevant section of file:

    <h:panelgroup         id="panel_destinations">             <h:commandlink                  id="link_edit"                 value="edit"                  styleclass="link"                 rendered="#{not editroute.ineditdestinationmode}">                  <f:ajax                     listener="#{editroute.editdestinations()}"                      render="panel_destinations"                     immediate="true"/>              </h:commandlink>             <h:commandlink                  id="link_cancel"                 value="abbrechen"                 styleclass="link"                 rendered="#{editroute.ineditdestinationmode}">                 <f:ajax                     listener="#{editroute.canceleditdestinations()}"                                     immediate="true"                     render="panel_destinations"/>              </h:commandlink>                             <h:datatable              value="#{editroute.route.destinations}"              var="destination"             styleclass="dest_table"             headerclass="route_table_header"             rowclasses="route_table_row_odd,route_table_row_even"             rendered="#{editroute.hasdestinations()}"             id="table_destinations">                          <h:column>                           <h:commandlink                      styleclass="route_table_link"                     value="delete"                     id="link_delete"                     rendered="#{editroute.ineditdestinationmode}" >                     <f:ajax                         listener="#{editroute.deletedestination(destination)}"                         render="panel_destinations"/>                    </h:commandlink>                                 </h:column>         </h:datatable>     </h:panelgroup> 


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -