I have a case represented by user starting a dialog to create a "certain node" and that dialog has two choices only inside it one for create which implies an update of properties that entered by the user and other for cancel/close.
The complete scenario is represented here :
Listener for starting dialog (action Listener) that will create a anode without any properties for prepare it to the create process. Why Listener because i use the same dialog to serve multiple type of nodes and i need the listener to supply a node of a certain type without properties that the user will use it later.
Create will update properties of a node, that created in the listener.
- Cancel/Close will removed the temporal referenced node that created previously in the listener.
Now, i'm ensure that once the user leave the dialog from the close button the temporal node is removed but what about leaving the dialog by clicking on another actions in the page such as logout, company home or others.
Your replies are highly appreciated. Thanks