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/HowTo/3.8/Refreshing a table page

< Scout‎ | HowTo‎ | 3.8
Revision as of 09:58, 6 March 2013 by Urs.beeli.sbb.ch (Talk | contribs) (New page)

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

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

This how-to describes how to refresh a table page

There are situations when a reload of table page data needs to be triggered when it is activated (e.g. the PersonTable when the user changes from the "root" person table to a company specific person table in the minicrm project).

Steps

  1. Select the page
  2. In the Scout Object Properties under Advanced Operations add the following method:
    execPageActivated()
    RefreshTablePage.png
  3. Click on the newly added method to show the source code. Call reloadPage()
@Override
protected void execPageActivated() throws ProcessingException {
  reloadPage();
}

Copyright © Eclipse Foundation, Inc. All Rights Reserved.