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

< Scout‎ | HowTo‎ | 4.0
(Created page with "{{ScoutPage|cat=HowTo 4.0}} 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 activa...")
 
 
Line 1: Line 1:
{{ScoutPage|cat=HowTo 4.0}}
+
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  =
+
 
+
#Select the page
+
#In the Scout Object Properties under Advanced Operations add the following method:<br>'''execPageActivated()'''<br>[[Image:RefreshTablePage.png]]<br>
+
#Click on the newly added method to show the source code. Call '''reloadPage()'''
+
<pre>@Override
+
protected void execPageActivated() throws ProcessingException {
+
  reloadPage();
+
}
+
</pre>
+

Latest revision as of 07:36, 18 March 2024

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

Back to the top