AjaxPageLoad

From Plex-XML
Jump to: navigation, search

The ajaxPageLoad template generates an Javascript AJAX-Pageload request.

Contents

Parameter

<xsl:param name="target">aacontent_content</xsl:param>
Target id of the response. Default is 'aacontent_content'.

Properties

<ajaxPageLoad>

Attributes
style : Style of your request. Default is 'ajax'.
target : Target DIV
url : <xsl:value-of select='$vURL'/>
pars :
bcname : "> BreadCrumb Name
bctype : "> BreadCrumb Type 5=TeamSheet
bcresponse : BreadCrumb PresentationType

<request>

Request that should be executed.

<parm>

Request parameters that should be appended to the URL. All parameters will be encoded.

Element
Parameter name.
Attributes
value : Value that should be passed.

Example

Example of an request with three parameters that will be loaded in an inner-Div.

<idiv>
 <ajaxPageLoad  style="ajax">
   <request>FooRequest</request>
   <param value="ACTMID">webFindName</param>
   <param value="=">webFindOper</param>
   <param value="{$vActID}">webFindValue</param>
 </ajaxPageLoad>
</idiv>

Example with call-template. The template takes also care of the secured-fields hashcode.

<inner_request>
 <idiv>
  <xsl:call-template name="ajaxPageLoad">
   <xsl:with-param name="param">
    <request>FooRequest</request>
    <param value="ajax">style</param>
    ...
    <param value="FooValue">FooName</param>
   </xsl:with-param>
  </xsl:call-template>
 </idiv>
</inner_request>
Personal tools