Rerender specific areas using ajax f:ajax in ui:repeat

below is an example how to rerender specific areas using ajax f:ajax in ui:repeat:

  

In this example we just want to rerender specific elements.So,

render=":myform:myid :myform:myaddress" - these are the areas where we want to rerender after callback. Two areas will be re-rendered are elements with id=myid and id=myaddress , using a space as separator.

We need to append parent id :myform in the render attribute of f:ajax, else f:ajax will give warning render area cannot be found.

0 comments:

Post a Comment