OnClick-Handler

From Plex-XML

Jump to: navigation, search

onClick-Handler are special action-templates that could be executed in the onclick, onClickNewWindow, onClickRefresh templates.

Contents

Common Properties

Handler

url

Opens an URL in a new browser window.

Notice: There is also a request if you like to open a URL in a iFrame:

...request=OpenExternalLink&url=http://www.allabout.de

Example

<xsl:call-template name="onClickNewWindow">
 <xsl:with-param name="param">
  <url>
   <xsl:value-of select="$URLFoo"/>
  </url>
  <width>1300</width>
  <height>1000</height>
 </xsl:with-param>
</xsl:call-template>

javascript

Copies the javascript 1:1 before any other onclick action. You are able to put any other onclick element behind the javascript element.

Example

<toolbar>
 <button text="{$t_Foo}" alt="{$t_Foo}" image="foo.gif" id="fooButton">
  <onclick>
   <javascript>
    alert('Hi dude! This window will close soon...');
   </javascript>
   <close/>
  </onclick>
 </button>
</toolbar>

noaction

Example


close

Example


selectRow

Example


checkboxaction

Example


ajaxPageLoad

Example


submit

Example


report

Example


otherwise

Example







						
			
Personal tools