DocBook|Search
Class Reference
%ZEN.Component.link
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [BASEXML] >  [%ZEN] >  [Component] >  [link]
Private  Storage  

class %ZEN.Component.link extends component

link component.
This component places a link (HTML anchor element) within a ZEN page.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
7 3


Summary

Properties
%condition %import %includeFiles %page
%resource align aux caption
composite containerStyle disabled dragEnabled
dropEnabled enclosingClass enclosingStyle error
height hidden hint hintClass
hintStyle href id index
label labelClass labelDisabledClass labelStyle
name onafterdrag onbeforedrag onclick
ondrag ondrop onhide onrefresh
onshow onupdate parent showLabel
slice style target title
tuple valign visible width
window

Methods
%%OIDGet %AddToSaveSet %Attr %BindExport
%ClassIsLatestVersion %ClassName %ConstructClone %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %DrawComponentHTML %DrawHTML
%DrawJSStrings %EnclosingDivId %Eval %Extends
%ForceClientRender %GetEventHandlers %GetParameter %GetXMLName
%IsA %IsModified %MakeId %New
%NormalizeObject %ObjectModified %OnAddToPageAfter %OnAddToPageBefore
%OnDrawEnclosingDiv %OnDrawObjectProperties %OnObjectSynch %OnZENDeserialize
%OriginalNamespace %PackageName %QuoteValue %QuoteValueL10N
%RemoveFromSaveSet %Self %SerializeObject %SetModified
%ValidateObject XMLDTD XMLExport XMLExportToStream
XMLExportToString XMLNew XMLSchema XMLSchemaNamespace
XMLSchemaType dragFinishHandler dragHandler dragNotifyHandler
dragStartHandler dropHandler dropStartHandler exposeComponent
findElement fireOnUpdateEvent getEnclosingDiv getHidden
getHintElement getLabelElement getProperty getSettings
getType invokeSuper isOfType makeId
onClickHandler onCreate onDelete onDisplayHandler
onEndModalHandler onPopupAction onRefreshContents onSerialize
onStartModalHandler onloadHandler onunloadHandler onupdateHandler
refreshContents render renderContents renderSVG
setHidden setOverlayMode setProperty startProgressBar
stopProgressBar


Properties

• property caption as %ZEN.Datatype.caption(ZENEXPRESSION=1);
Text to display for the link.
This value is interpreted as text, not HTML.
• property disabled as %ZEN.Datatype.boolean [ InitialExpression = 0 ];
If true, this link is disabled.
A disabled link is redisplayed without an anchor tag to ensure that it is truly disabled.
• property href as %ZEN.Datatype.uri(ZENEXPRESSION=1);
HREF (URL) to use for the link.
• property onclick as %ZEN.Datatype.eventHandler;
onclick event handler: This event is fired when the mouse is clicked on the link.
• property style as %ZEN.Datatype.style;
Optional CSS style expression to apply to this link.
• property target as %ZEN.Datatype.string;
The HTML target value applied to the link.
This controls where the new document will be displayed when the user clicks on a link. Typically this is the name of a frame.
HTML also defines for special values for target:
  • "_blank" - open the link in a new window.
  • "_parent" - open the link in our parent window.
  • "_self" - open the link in current window.
  • "_top" - open the link in topmost window.
• property title as %ZEN.Datatype.caption(ZENEXPRESSION=1);
Optional title (tooltip) to display for the link.

Methods

• method %DrawHTML()
Static HTML display method: draw the BODY of this component as HTML.
Subclasses implement this in order to render the static HTML contents of a component.
• method onClickHandler() [ Language = javascript ]
Internal method: Handle user click on the link element.
• method setProperty(property, value, value2) [ Language = javascript ]
Set the value of a named property.