Open Patterns Dialog Layout
Tag imagebutton


Custom tag to generate all HTML code necessary to display image button control, that is button with image and text, displayed int the dialog row.

Example:
<dialog:imagebutton id="print" disabled="true" cssclass="clsImagePrintTextButton" title="Print selected data" onclick="printAllItems();" accesskey="P">Print</dialog:imagebutton>


Tag Information
Tag Classorg.opensubsystems.patterns.dialoglayout.www.ImageButtonControlTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
idfalsetruejava.lang.StringId of the button to construct. This id is not tied to dialog row or other elements in the dialog but your JavaScript can use it to refer to the button. For fake button this id is also use to generate the id of the internal image element with postfix img.
typefalsetruejava.lang.StringType of the button control, e.g. "button", "reset", "submit".
cssclassfalsetruejava.lang.StringCSS class for the image button generated by this tag. This class or combination of classes should contain background image that will be displayed within the button created by this tag. Common classes are defined in control.css style sheet.
fakecssclassfalsetruejava.lang.StringCss class or combination of classes for this fake image button. This class will be assigned to the hyperlink that represents the fake button and that will be source of the events whenever user clicks on it.
titlefalsetruejava.lang.StringTooltip that will be displayed for particular button control when user hovers with mouse over it.
accesskeyfalsetruejava.lang.StringAccess key that will be used in button text for to indicate mnemonics to invoke action associated with this button when user presses ALT+[accesskey].
onclickfalsetruejava.lang.StringJavaScript code to execute when the button is clicked.
disabledfalsetruejava.lang.StringFlag specifying if the button control is initially disabled therefore preventing user to invoke the action associated with it. Default is false.
fakefalsetruejava.lang.StringFlag which will tells us if to create a fake button using a DIV tag or a real button using a button tag. Default is false.
focusfalsetruejava.lang.StringDoes this control have focus when it is displayed on the page or not. Only one control on a page or tab can be marked as focus at a time. If multiple controls are marked this way, then the first one on the page or tab will get the focus. If this control have focus when it is displayed on the page this value should be true or 1.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.