i have an editor component that displays the selected family (from a tree ) description
so after editing it the user click on save button in there i want to use this
<f:setPropertyActionListener target="#
{projectTestManagementMB.selectedNodeDescription}"
value="projectTestManagementMB.selectedFamily.description" />
to pass the new value of the description to this variable selectedNodeDescription . but when i check it i found it containing the old value of projectTestManagementMB.selectedFamily.description
and not the new one .
Here's the code :
<p:editor id="familyDescriptionEditor" value="#
{projectTestManagementMB.selectedFamily.description}" width="600"/>
<p:commandButton id="submitButton" value="Save" icon="ui-icon-disk"
actionListener="#{projectTestManagementMB.saveDescription}">
<f:setPropertyActionListener target="#
{projectTestManagementMB.selectedNodeDescription}"
value="projectTestManagementMB.selectedFamily.description" />
</p:commandButton>