Primefaces 4.0 Tree selection update in backing bean does not work
问题 I am having a primefaces Tree in a dialog. When I make selections in the Tree and click Add button, it adds all selections to a "p:selectManyMenu" in another panel. Code for the Dialog and Tree: <h:form id="categoriesDialogForm"> <p:dialog id="categoriesDialog" header="Add a Category" widgetVar="categoriesDialogVar" closeOnEscape="true" height="500" resizable="false" > <p:panelGrid> <p:row> <p:column> <p:tree id="categoriesTree" value="#{searchController.categoriesTree}" var="node"