| | Uiinfrastructure API Docs | |
| HTMLConstructHelpers.GetActionBarAnchor Method |
This function returns an Action Bar "button", which is an HTMLAnchor with images, text, and an onclick event attached. The first parameter specifies whether the button will have no (0), an Add (1), or a Create (2) image just to the left of the main image, typically the icon of the object being added or created.
Parameters
-
intAddOrCreate
- - 0 for none, 1 for Add, 2 for Create
-
myImage
- - The image to appear on the button
-
strImageAlt
- - The alt tag to be associated with the above image
-
strButtonText
- - The text to appear on the button
-
strOnClick
- - The on click function to be attached to the button
-
sp
- - The activity space from whence this function was invoked
Return Value
HTMLAnchor
See Also
HTMLConstructHelpers Class | com.plumtree.uiinfrastructure.statichelpers Namespace