OnclickNewWindow

From Plex-XML

Jump to: navigation, search

The onClickNewWindow template generates all the code you need to call a Plex-XML function and to display the response in a new window.

In addition it prepares a XML-Http request if you like to open an AJAX-Window and it prepares the opening function FindBrowse to refresh when the window is closed.

Contents

Properties

<formName>

Name of the web request that should be executed.

<formName>MyWebRequest</formName>

<realWin>

With realWin you can force a function to open in a new browser window or in an AJAX-Window. If you omit this property the user parameter or the system parameter RealWin is used.

  • true or false
<realWin>false</realWin>

<width>

Width of the new window in px.

<width>1300</width>

<height>

Height of the new window in px.

<height>1000</height>

Example

<xsl:call-template name="onClickNewWindow">
  <xsl:with-param name="param">
    <formName>SetTagD</formName>
    <param value="{$varPar1}">Parm1</param>
    <param value="{$varPar2}">Parm2</param>
    <action>P</action>
    <realWin>false</realWin>
    <height>1000</height>
    <width>1300</width>
  </xsl:with-param>
</xsl:call-template>
Personal tools