Navigating without user interaction
(Adding message template to the top of the page)
(Replacing message template with parser tag)
 
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
Sometimes, for example, after a user has logged in, you want to automatically navigate to another page.
Sometimes, for example, after a user has logged in, you want to automatically navigate to another page.



Latest revision as of 08:05, 17 June 2024

Sometimes, for example, after a user has logged in, you want to automatically navigate to another page.

Do this:

  1. Place a Period action on the form.
  2. Set a navigating action on it.
  3. Set the disabled expression to something like "disabled when not logged in".
  4. Set the interval to something other than -1 (disabled) for example 10 (ms).

Note! If you create a ViewModel that requires a root object, be sure to send it or your action will NOT RUN. The Index page is called without a root object. For this reason, use SysSingleton.oclSingleton instead.

Example of an Index (web) page that automatically navigates to a user dashboard upon login.

Automatic navigation on Index page.png
This page was edited 96 days ago on 06/17/2024. What links here