2

I know there is a attribute called "update", I can use it like this, update="another component's id", but this doesn't work when they are in different <h:form> tags.

For example, the code like this,

<ui:composition> <ui:define name=""> <div> <h:form> <p:panel header=""> <h:panelGrid id="display"> </h:panelGrid> </p:panel> </h:form> <h:form> <p:dialog id="dialog"> <p:dataTable onRowSelectUpdate="aa.bb.display"></p:dataTable> </p:dialog> </h:form> </div> </ui:define> </ui:composition> 

I mean, how can I write in the site of "aa.bb.display", it will re-render the panelGrid of "display" ?

1 Answer 1

4

You should give an id to the <h:form>. It is important, since you HAVE TO reference like formId:display

My question on this: Absolute reRendering using RichFaces, check my answer. I tested this also in PrimeFaces.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.