Skip to main content
Jump to: navigation, search

Difference between revisions of "Scout/Concepts/FormData"

(struturation of the article, some idea on the content)
(FormData anotation: Remove reference to CREATE EXTERNAL (depreciated))
Line 29: Line 29:
 
* {{ScoutJavadoc|FormData|A}} FormData annotation  
 
* {{ScoutJavadoc|FormData|A}} FormData annotation  
 
** Is needed on the form Class
 
** Is needed on the form Class
** "CREATE EXTERNAL" parameter is needed on fiels (a GroupBoxField for example) defined in an external Class that contains other fields.
+
<!-- old: ** "CREATE EXTERNAL" parameter is needed on fiels (a GroupBoxField for example) defined in an external Class that contains other fields. -->
  
 
== Structure of a FormData ==
 
== Structure of a FormData ==

Revision as of 03:34, 8 March 2011


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitterG+
Bugzilla
Bugzilla


FormData is the standard data transfert object for forms between the client Plug-In and the server.

  • extends: C obj.pngAbstractFormData

Description

Note.png
TODO
Add a description

Contains a transfert object for each field and each variable of a form.

Usage

  • Used as parameter of the prepareCreate(..), create(..), load(..), store(..) functions in the process service.
  • Importation in Form: Load and Store events of FormHandler:
    • exportFormData()
    • service call (depending of the action exectuted with the ProcessService)
    • importFormData()

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

  • A obj.pngFormData FormData annotation
    • Is needed on the form Class

Structure of a FormData

Note.png
TODO
Describe the structure of a FormData. Help to understand what the SDK does


See Also

Copyright © Eclipse Foundation, Inc. All Rights Reserved.