TabDialog
From Plex-XML
The tabDialog template is used to define a Tab-Dialog in Plex-XML.
Contents |
Properties
<tabDialogExt>
Attributes
- starttabpos: Optional; Default is 0; Tab that is opened on initial load
<tabTab>
Each request that is loaded in a tab should get the tab style as parameter.
<param value="tab">style</param>
Attributes
- text: Text in the Tab.
- initialload: true/false indicates that the tab should be loaded immediate after rendering.
- image: Link to a image file for the Tab e.g. "security/user.gif"
Example
Tab-Dialog with two tabs.
<xsl:template name="tabDialog">
<tabDialogExt starttabpos="1">
<tabTab text="{$t_User}" initialload="true" image="security/user.gif">
<xsl:call-template name="onClickTab">
<xsl:with-param name="param">
<formName>FooFun</formName>
<param value="{$User}">User</param>
<param value="tab">style</param>
<action>P</action>
</xsl:with-param>
</xsl:call-template>
</tabTab>
<tabTab text="{$t_Parameter}" image="security/shop.gif">
<xsl:call-template name="onClickTab">
<xsl:with-param name="param">
<formName>UserFB</formName>
<param value="User">webFindName</param>
<param value="=">webFindOper</param>
<param value="{$User}">webFindValue</param>
<param value="tab">style</param>
</xsl:with-param>
</xsl:call-template>
</tabTab>
</tabDialogExt>
</xsl:template>
