Pages can be loaded from within an action using the task 'loadPage'. Inside of the 'loadPage' task, a menu item is expected to be defined.
The contents of the 'loadPage' task should look familiar from the menu element we created earlier.
Items of interest:
- In the element 'link':
- the attribute 'window' is set to '_self', indicating we want to open the link in this window
- the attribute 'target' is set to 'adminTaskDetail' and 'adminStatusDetail' which are the two lower panels we defined earlier in the menu item
- The string '?TASKID?' represents a parameter marker. This string will be replaced with the value contained in a parameter of the name TASKID, and if no parameter is found, the parameter marker will remain unchanged.
Keep in mind when you are writing links that if the target does not exist in the targeted window, the window will be reset to contain only the panel of the target name.
Steps to complete:
- Make the changes to your document as indicated on the right
- Check your work, then reload the panel containing the Task Scheduler or open it again from your menu item