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.
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.
method GenerateCode()
as %String
Utility method to generate code for this object