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

Scout/Concepts/SearchForm

< Scout‎ | Concepts
Revision as of 13:20, 18 March 2011 by Dev.jmini.fr (Talk | contribs) (New page: {{ScoutPage|cat=Concepts}} A SearchForm is a special kind of {{ScoutLink|Concepts|Form|form}} that enables the user to enter some parameters to reduce the number of entities displayed in ...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

A SearchForm is a special kind of The Scout documentation has been moved to https://eclipsescout.github.io/. that enables the user to enter some parameters to reduce the number of entities displayed in a The Scout documentation has been moved to https://eclipsescout.github.io/..

Description

Note.png
TODO
Add a description

TODO:

Screenshot

Note.png
TODO
Add a screenshot: Example of a Search form. TablePage of an application


SDK

Note.png
TODO
Where in the SDK (with screenshot)...


Properties

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

All properties of The Scout documentation has been moved to https://eclipsescout.github.io/. are available. SearchForm does just change some of the default parameters:

Events

Defined with The Scout documentation has been moved to https://eclipsescout.github.io/. methods. All events are defined in the The Scout documentation has been moved to https://eclipsescout.github.io/. class.

execResetSearchFilter(..)

The Form is responsible to produce the SearchFilter that is used in the The Scout documentation has been moved to https://eclipsescout.github.io/. in the The Scout documentation has been moved to https://eclipsescout.github.io/. event.

This is an example of how the The Scout documentation has been moved to https://eclipsescout.github.io/. event can be implemented:

  @Override
  protected void execResetSearchFilter(SearchFilter searchFilter) throws ProcessingException{
    super.execResetSearchFilter(searchFilter);
    PersonSearchFormData formData = new PersonSearchFormData();
    exportFormData(formData);
    searchFilter.setFormData(formData);
  }

Remarks

startSearch()

All SearchForm needs to implement a startSearch() function. In most of the case, the SearchForm contains a The Scout documentation has been moved to https://eclipsescout.github.io/. named SearchHandler. The function starts the Form with this handler:

  public void startSearch()throws ProcessingException {
    startInternal(new SearchHandler());
  }


See Also

Back to the top