Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Scout/Concepts/FormData"

m
(Structure of a FormData)
Line 37: Line 37:
 
* For each form-variable an <tt>AbstractPropertyData<T></tt>
 
* For each form-variable an <tt>AbstractPropertyData<T></tt>
  
The inner-class structure from the composite field (like groupboxes) get lost.
+
The inner-class structure from the composite field (like groupboxes) get lost, unless Group-Box templates are used.
 +
 
 +
The value fields properties (<tt>getConfiguredMandatory()</tt>, <tt>getConfiguredMaxValue()</tt>, <tt>getConfiguredMaxLength()</tt>...) are mapped to <tt>ValidationRules</tt> conatained in the formData. Those rules are used to redo the basic UI client-side validations on the server.
  
 
== See Also ==
 
== See Also ==

Revision as of 17:23, 12 September 2014

The Scout documentation has been moved to https://eclipsescout.github.io/.

FormData is the standard data transfer object for The Scout documentation has been moved to https://eclipsescout.github.io/. between the The Scout documentation has been moved to https://eclipsescout.github.io/. and the The Scout documentation has been moved to https://eclipsescout.github.io/..

Description

Note.png
TODO
Add a description

Contains a transfer object for each The Scout documentation has been moved to https://eclipsescout.github.io/. and each The Scout documentation has been moved to https://eclipsescout.github.io/. of a The Scout documentation has been moved to https://eclipsescout.github.io/..

Usage

  • Used as parameter of the prepareCreate(..), create(..), load(..), store(..) functions in the The Scout documentation has been moved to https://eclipsescout.github.io/..

Access

Note.png
TODO
Add a description and example of how to access to a value, how to know if a value was set


Generation

SDK Support

Note.png
TODO
Add a screenshot


FormData anotation

Structure of a FormData

The FormData depends from the The Scout documentation has been moved to https://eclipsescout.github.io/. it contains the data. The SDK generate:

The inner-class structure from the composite field (like groupboxes) get lost, unless Group-Box templates are used.

The value fields properties (getConfiguredMandatory(), getConfiguredMaxValue(), getConfiguredMaxLength()...) are mapped to ValidationRules conatained in the formData. Those rules are used to redo the basic UI client-side validations on the server.

See Also

Back to the top