data transfer from TreeField to the server module [message #1807262] |
Mon, 27 May 2019 02:58  |
Eclipse User |
|
|
|
Hi,
In my application, on the form I used TreeField similarly, as it was in the example at https://scout.bsi-software.com/widgets/?dl=widget-treefield.
The content of this field comes from my class, extending AbstractCodeType.
This field is checkable.
I would like to submit data from this field to the server side service.
For this purpose, I am using an automatically generated transfer object containing the AbstractTreeFieldData type field.
My question:
How to read the elements selected by the user in the TreeField using this transfer object?
On the server side, I am able to read the tree structure using the AbstractTreeFieldData.getRoots () method, but I do not see the method to check which node was selected and its identifier/name. In addition, for all nodes of the TreeNodeData.getTexts () method and TreeNodeData.getValues () does not return anything.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04686 seconds