OnclickRefresh

From Plex-XML

Jump to: navigation, search

The onClickRefresh template generates all the code you need to call a Plex-XML function, "forget" the response and reload the current view

since the response is not displayed your request can have a "dummy" xslt for the response:

<reaction type="DEFAULT" target="DISPLAY" mime="text/xml" usedefaultstyle="false" name="/WEB-INF/resources/@common_html@/Nothing.xslt"/>

Properties

<formName>

Name of the web request that should be executed.

<formName>MyWebRequest</formName>

Example

<xsl:call-template name="onClickRefresh">
  <xsl:with-param name="param">
    <formName>FormDeExcl</formName>
    <param value="{$parFunction}">frmFunction</param>
    <param value="{$parFormat}">frmFormat</param>
    <param value="{$parVariable}">frmVariable</param>
    <param value="{$parFieldID}">FieldID</param>
    <param value="ShowF">webFieldID</param>
    <param value="E">webValue</param>
    <action>U</action>
  </xsl:with-param>
</xsl:call-template>
Personal tools