Hi team,
I am running the primefaces labs demo on PF 3 M4 version and I have a question on this page:
ui/treeTableContextMenu.jsf
If I changed the outputText of the elements inside the dialog to inputText and then click the view button to bring up the dialog after opening a dialog previously with a different row selected, then it doesn't display the updated information. It still shows the row data from the first selection in the dialog.
Does anyone have any insight into this?
Thanks,
Tom
TreeTable selection and inputText
-
- Posts: 10
- Joined: 21 Sep 2011, 23:56
found the solution. If anyone is interested, define an ajax event to update the panel you need it to update.
inside the <p:treeTable>:
<p:ajax event="select" update=":form:myPanel />
inside the <p:treeTable>:
<p:ajax event="select" update=":form:myPanel />
-
- Information
-
Who is online
Users browsing this forum: No registered users and 68 guests