The client determines if a new tab is opened based on the page to tab to section association. In addition, existing opens tabs and values of the parameters passed to a tab are taken into consideration.
Two instances of the same tab can be opened, where each instance is identified by the page parameters that have been provided. For example, James Smith and Linda Smith are uniquely identified by their concern role ID. The concern role ID is defined as a page parameter for the Person tab.
When a link to James Smith is selected, a new tab is opened showing the details for James Smith. A subsequent link to Linda Smith is selected and a new instance of the same tab configuration is opened, displaying Linda Smiths details.
When a link is selected, the Cúram client application automatically determines what tab, and section, it is associated with. It then compares this information, along with the page parameters to determine what action to take.
The rules for opening tabs are detailed in Page Parameters.
Where not all required page parameters are provided, the behavior of those tabs within the application is not guaranteed. Any extra parameters provided will be ignored and not passed to the tab.
Page to Tab Association | Page Parameter Values | Action |
---|---|---|
Page maps to current tab | Match | Page opens in current tab |
Page maps to current tab | Differ | Page opens in new instance of tab |
Page maps to existing open tab | Differ | Page opens in a new instance of existing tab |
Page maps to existing open tab | Match | Page opens in existing tab |
Page maps to new, unopened tab | N/A | Page opens in new tab |