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

(screenshot and corrections)
(Properties)
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ScoutPage|cat=Concepts}}
+
{{ScoutPage|cat=Client}}
  
 
Search Form is special kind of {{ScoutLink|Concepts|Form|form}} where the user will enter some values to formulate a query to load the content of a {{ScoutLink|Concepts|TablePage|table page}}.
 
Search Form is special kind of {{ScoutLink|Concepts|Form|form}} where the user will enter some values to formulate a query to load the content of a {{ScoutLink|Concepts|TablePage|table page}}.
Line 24: Line 24:
 
* {{ScoutProp|AskIfNeedSave}} is '''true'''
 
* {{ScoutProp|AskIfNeedSave}} is '''true'''
  
 +
With {{ScoutProp|DisplayViewId}} you can change where the SearchForm is displayed:
 +
 +
<gallery>
 +
Image:TablePage_SearchForm_South_RAP.png|South (on bottom - default)
 +
Image:TablePage_SearchForm_North_RAP.png|North (on top)
 +
Image:TablePage_SearchForm_East_RAP.png|East (on the right)
 +
</gallery>
  
 
== Events ==
 
== Events ==

Revision as of 06:49, 24 May 2012

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

Search Form is special kind of The Scout documentation has been moved to https://eclipsescout.github.io/. where the user will enter some values to formulate a query to load the content of a The Scout documentation has been moved to https://eclipsescout.github.io/..

Description

Note.png
TODO
Add a description

TODO:

Screenshot

Scout TablePage SearchForm.png


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:

With The Scout documentation has been moved to https://eclipsescout.github.io/. you can change where the SearchForm is displayed:

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 The Scout documentation has been moved to https://eclipsescout.github.io/. 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