GridtoolbarAddSearchfields
From Plex-XML
Provides you with a "jump in template" if you need to put additional elements in the search part of a toolbar.
Elements
parameter
Example
Gridtoolbar with additional search-combobox in toolbar:
<xsl:template name="gridtoolbarAddSearchfields">
<!-- ComboBox mit Vorbelegten Suchen anzeigen -->
<xsl:for-each select="/responses/response/PleXMLIntern/XMLOutput/tab/group/row/returnvalue[@implname='wrkB2FBSearches']">
<button type="otherTemplate" alt="{@label}">
<field hid="{@name}">
<xsl:copy-of select="@label | @shape | @name"/>
<xsl:value-of select="@value"/>
<!-- Kopieren der Auswahlwerte einer Combobox -->
<xsl:for-each select="selectvalue">
<selectvalue>
<xsl:copy-of select="@name | @value | @selected"/>
</selectvalue>
</xsl:for-each>
<generateAction><!-- Erzeugt lediglich den Event-Observe -->
<event name="change" element="{@name}" /><!-- Change-Event auf dem Feld -->
<fill from="wrkB2FBSearches" to="RestrictTo_wrkB2FBSearches" /><!-- fuellen eines anderen Feldes -->
<form name="{$vForm}" submit="true" /><!-- Formularname z.Zt. ein MUSS -->
</generateAction>
</field>
<!-- Attribute kopieren -->
<xsl:copy-of select="attribute"/>
</button>
</xsl:for-each>
</xsl:template>
