How do you use the Tree Builder to get the selected tree node value?
I have added an example WPF-6.1 model to show basic usage of the Tree Builder.
The example is incomplete and actually does not work since I do not understand
how to get the selected value of the tree item that was last navigated to
(I have read all the Builder on-line help).
The model is supposed to allow navigation in the tree and then after pressing
the "Test" button the selected node value should show in the output of the "getVform1()"
method. But it shows "null".
Any help on this model would be appreciated.
I am happy to update the model (given suggestions) and expand it futher to add event notifications, etc.
I'm just stuck for now and could use a bit of assistance.
The model is build to run on the local WASCE app server and you (ideally) see the "selected" tree node
value in System.out.println's in the "getVform1()" method in the server.log file.
The Portal Adapter is there (to run on WPS 6.1) but is disabled.
Note: The TreeExample2.zip package includes the sample fixed as described in one of the comments. The working model is called ExampleTree2.model. - Jonathan