Creating a large-menu page

Large Menu Page

You can create a large-menu page for Delegated Administration Console, like the one shown in the this graphic, by using a combination of XML and Active Server Pages (ASP) code.

The following example from ManageUser.xml shows the XML code used to display a large-menu page:



<menu largeImgSrc="">
		<item oID="1" oType="1" cRolePri="0" cText="Rename User" cDesc="Change the name of this user. &ltBR&gt; &lt;B&gt;&lt;/B&gt;"  cHref="javascript:renameUser()" cImgSrc="" cBitSettings="00000100" />
		<item oID="1" oType="1" cRolePri="0" cText="Move User" cDesc="Move this user to a different part of the organization. &lt;BR&gt; &lt;B&gt;&lt;/B&gt;" cHref="javascript:moveUser()" cImgSrc="" cBitSettings="00000100" />
		<item oID="1" oType="1" cRolePri="0" cText="Delete User" cDesc="Delete this User. &lt;BR&gt; &lt;B&gt;&lt;/B&gt;" cHref="javascript:deleteUser()" cImgSrc="" cBitSettings="00000100" />
</menu>


The following code from ManageUser.asp shows the ASP code used to display a large-menu page:

' The Function WAT_MULTITAB_DYNAMIC_EXTERNAL_FUNCTION is called when the 
' WAT MultiTab Dynamic Builder finds a tab that has a pageType set to 1. 
Function WAT_MULTITAB_DYNAMIC_EXTERNAL_FUNCTION(intTAB) 
Select Case intTAB 
		Case 8 WAT_MultiTab_ShowOtherOptions 
End Select 
End Function

Function WAT_MultiTab_ShowOtherOptions() 
Dim strTemplateLocation 
Dim strQPath
' load the config file that was hidden in the form. It contains a snapshot of the config. 
strTemplateLocation = Application("WAT_APP_Physical_Location")