PostFieldException
From Plex-XML
Could be used to insert any kind of code after a field.
It could be used for insert/update fields as well as for grid rows.
Example
<xsl:template name="postFieldException">
<xsl:choose>
<!-- A link is generated after the field ATOFAC.
The click event of that link is observed by a [[generateLookup]]. -->
<xsl:when test="@name='ATOFAC'">
<a href="#" id="get_ATOFAC" style="margin-left:5px;">nachlesen</a>
<generateLookup>
<event name="click" element="get_ATOFAC"/>
<requestname>ActTypSFXML</requestname>
<fill from="ATOfAT" to="TypeOfType"/><!-- TypeOfType -->
<fill from="ATOFAC" to="TypeOf"/><!-- Type -->
<return from="ActSub" to="ActSub"/> <!-- Subject -->
<return from="AcBody" to="AcBody"/> <!-- Body -->
</generateLookup>
</xsl:when>
<!-- A JScript is executet after ADesEn and the field value is set to 'KTR'. -->
<!-- (There other ways to set the value. E.g. the Format or the PlexDictionary Function) -->
<xsl:when test="@name='ADesEn'">
<script language="javascript" type="text/javascript">
$('v<xsl:value-of select="generate-id()"/>').value = 'KTR';
</script>
</xsl:when>
<!-- A button with text is generated after the field. -->
<xsl:when test="@name='FooFoo'">
<button type="largebutton" text="{$t_ShowLC}" alt="{$t_ShowLC}" image="update.gif" >
<xsl:call-template name="onClickNewWindow">
<xsl:with-param name="param">
<formName>INTD600AE</formName>
<param value="{$vFooFoo}">IN Identcode</param>
<action>P</action>
</xsl:with-param>
</xsl:call-template>
</button>
</xsl:when>
</xsl:choose>
</xsl:template>

