Scout/HowTo/3.8/Refreshing a table page

From Eclipsepedia

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

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Scout
Wiki Home
Website
DownloadGit
Community
ForumsBlogTwitter
Bugzilla
Bugzilla


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();
}