The TabLauncher behavior in qbo.TabLauncher.cs is a Mootools behavior that enables launching new 'tabs' for an existing tab. Examples include:
To implement, add the behavior to an element containing links that should launch a new tab. For example, a table containing workflows may contain: <tbody data-behavior="Selectable TabLauncher" data-tablauncher-options="{{'bind': {{ 'class': 'qbo3.DecisionStepObject', 'method': 'Search', 'data': {{'OrderBy': 'DecisionStepID'}} }} }}" ...> Then, for each element that should cause a new tab to open: <a href="..." data-tab=" {{'title': '{Decision}','id':'steps{DecisionID}', 'data': {{'DecisionID': '{DecisionID}', 'OrderBy': 'DecisionStepID'}} }}"> When an element containing a data-tab attribute is clicked, the TabLauncher behavior will:
See /Decision.ashx for an example of the TabLauncher in action. |
Quandis Business Objects 3 > QBO 3 Blog >