DocBook|Search
Class Reference
%CSP.Util.MenuItem
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%CSP] >  [Util] >  [MenuItem]
Private  Storage  

serial class %CSP.Util.MenuItem extends %SerialObject, %XML.Adaptor

This class is used internally by Caché. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Defines an item within a Menu for a CSP Menu page.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 1


Summary

Properties
Caption Condition HREF Help Resource
Type

Methods
%%OIDGet %AddToSaveSet %AddToSyncSet %ClassIsLatestVersion
%ClassName %ConstructClone %Delete %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %GetSwizzleObject %IsA %IsModified
%New %NormalizeObject %ObjectModified %OnBeforeAddToSync
%OnDetermineClass %Open %OpenId %OriginalNamespace
%PackageName %RemoveFromSaveSet %ResolveConcurrencyConflict %SerializeObject
%SetModified %SyncObjectIn %SyncTransport %ValidateObject
GenerateCode LogicalToOdbc OdbcToLogical XMLDTD
XMLExport XMLExportToStream XMLExportToString XMLNew
XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property Caption as %String(MAXLEN=100,XMLNAME="caption",XMLPROJECTION="attribute");
Value to display for menu item
• property Condition as %String(MAXLEN=255,XMLNAME="condition",XMLPROJECTION="attribute");
(Optional) A COS expression that must evaluate true in order to use this link
• property HREF as %String(MAXLEN=100,XMLNAME="link",XMLPROJECTION="attribute");
URL to go to when menu item is chosen
• property Help as %String(MAXLEN=400,XMLNAME="help",XMLPROJECTION="attribute");
Help to display for menu item
• property Resource as %String(MAXLEN=100,XMLNAME="resource",XMLPROJECTION="attribute");
(Optional) Resource required in order to use this link
• property Type as %String(VALUELIST=",link,popup",XMLNAME="type",XMLPROJECTION="attribute");
What type of action to perform:
link: link to another page (default).
popup: launch a popup window.

Methods

• method GenerateCode() as %String
Utility method to generate code for this object