7 17 RDML PAGE

LANSA Web Functions

7.17 <RDML PAGE>

Syntax:

<RDML PAGE="<page>">

 

Description:

This tag instructs LANSA to include another page (identified by <page>) from the LANSA Web Repository.

 

 

This tag is useful when you need to create a process specific default page, but you still want to include the original default page itself.

For example, you may want to include an additional JavaScript function for the PSLSYS process, but still use all the other JavaScript functions shipped in DEFAULT_SCRIPT. When you create the PSLSYS_SCRIPT page, the DEFAULT_SCRIPT page is no longer used. To overcome this problem, you use the RDML PAGE tag. Your PSLSYS_SCRIPT page might appear as follows:

<script type="text/javascript" language="javascript">

//<![CDATA[

function handleTest()

{

  .... your new function

}

//]]>

</script>

<RDML PAGE="DEFAULT_SCRIPT">