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/Form Handler"

(Events)
Line 3: Line 3:
 
Form Handler specify how a {{ScoutLink|Concepts|Form|form}} should be started.
 
Form Handler specify how a {{ScoutLink|Concepts|Form|form}} should be started.
  
* implements: {{ScoutJavadoc|<TODO:NameOfTheInterface>|I}}
+
* implements: {{ScoutJavadoc|IFormHandler|I}}
* extends: {{ScoutJavadoc|<TODO:NameOfTheAbstractClass>|C}}
+
* extends: {{ScoutJavadoc|AbstractFormHandler|C}}
  
 
== Description ==
 
== Description ==
Line 20: Line 20:
  
 
== See Also ==
 
== See Also ==
 +
* {{ScoutLink|Concepts|Client_Plug-In|Client Plug-In}}
 
* {{ScoutLink|Concepts|Form|Form}}
 
* {{ScoutLink|Concepts|Form|Form}}

Revision as of 15:17, 2 November 2011

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

Form Handler specify how a The Scout documentation has been moved to https://eclipsescout.github.io/. should be started.

Description

Note.png
TODO
Add a description


Events

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

  • The Scout documentation has been moved to https://eclipsescout.github.io/.: Load the data into the form, typically calling a The Scout documentation has been moved to https://eclipsescout.github.io/. (with prepareCreate(), load()...) to get the The Scout documentation has been moved to https://eclipsescout.github.io/. and using the the importFormData(FormData) function on the Form.
  • The Scout documentation has been moved to https://eclipsescout.github.io/.: This event occurs right after load. This event is suitable if you want select some rows in a TableField or touch the form (to force the store mechanism).
  • The Scout documentation has been moved to https://eclipsescout.github.io/.: During the validation of a form this is the first method being called. At this point it is possible to block the validation process by returning false.
  • The Scout documentation has been moved to https://eclipsescout.github.io/.: During the validation of a form, if the The Scout documentation has been moved to https://eclipsescout.github.io/. events (on the Form and on the FormHandler) return true, and every Field do not have any error status, this event occurs. It provides another possibility to block the validation process, knowing that every field contains a valid input (all mandatory fields are set for example). This point is suitable to compute some logic using the field inputs and considering the form as one entity.
  • The Scout documentation has been moved to https://eclipsescout.github.io/.: Store the form content, typically calling a The Scout documentation has been moved to https://eclipsescout.github.io/. (with create(), store()...).

See Also

Copyright © Eclipse Foundation, Inc. All Rights Reserved.