Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference > Pageset Functions >
LoadFile
Usage
Use the LoadFile function to load a display page file into a specified frame. Use this call instead of standard JavaScript calls such as location.href= and location.replace.
Syntax
ISS.LoadFile(frameName,fileName[,path])
Examples
The following sample code uses LoadFile to load the file dogs.htm (which resides in the pg directory) into the current frame.
<A HREF="#" onClick="ISS.LoadFile(window,'dogs.htm');
return false;">Click here to see dogs</A>The following sample code loads the file dogs.htm (which resides in the ui directory) into the current frame:
<A HREF="#" onClick="ISS.LoadFile(window,'dogs.htm',
ISS.GetUIPath());return false;">Click here to see dogs</A>The following sample code loads the file dogs.htm (which resides in the ui directory) into a particular frame called descArea:
<A HREF="#" onClick="ISS.LoadFile(ISS.GetPagesetDisplayArea()+'.descArea','d ogs.htm',ISS.GetUIPath());return false;">Click here to see dogs</ A>
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Designer API Reference Published: 18 April 2003 |