Attributes |
Name | Required | Request-time | Type | Description |
alt | false | true | java.lang.String | Sets the value of the alt attribute for the embedded img tag. |
ariaRole | false | true | java.lang.String | Sets a role for assistive technologies to interpret for HTML elements that have been used for something other than their intended purpose. For example, the <p> tag could be used for something other than a paragraph. |
cssClass | false | true | java.lang.String | Sets a CSS class for styling this component. |
data | false | true | java.util.Map | Stores miscellaneous data via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object> . |
iconCssClass | false | true | java.lang.String | Sets the icon from a Bootstrap icon CSS Class. Note that any image for the image attribute takes precedence. Icon CSS classes to specify for this attribute can be found at http://marcoceppi.github.io/bootstrap-glyphicons/. |
id | false | true | java.lang.String | Identifies the component instance. |
image | false | true | java.lang.String | Sets the icon's image using an image icon from the current theme. The value can be the filename prefix of any image file in the theme's common image folder. This image takes precedence over any icon value set via the iconCssClass attribute. |
imageHover | false | true | java.lang.String | Sets the icon to display on mouse over of the icon. The icon image comes from the current theme. The value can be the filename prefix of any image file in the theme's common image folder. |
label | false | true | boolean | Sets whether to display the message attribute's value as the icon's label. |
lang | false | true | java.lang.String | Sets the language of the icon, to assist search engines and web browsers in finding and rendering the icon appropriately. |
linkCssClass | false | true | java.lang.String | Sets a CSS class for styling the icon's URL. |
localizeMessage | false | true | boolean | Sets whether to translate the icon's message into the user's language. |
message | false | true | java.lang.String | Sets text to be displayed for the icon on mouse over. |
method | false | true | java.lang.String | Sets an HTTP request method. Possible values are get and post . |
onClick | false | true | java.lang.String | Sets a function to be called on a user clicking the icon. |
src | false | true | java.lang.String | Sets the location of the image file to use in the icon. |
srcHover | false | true | java.lang.String | Sets the location of the image file to use on mouse over of the icon. This value takes precedence over the imageHover attribute. This image takes precedence over icons set with the imageHover attribute. |
target | false | true | java.lang.String | Sets the target window in which the URL is opened. The default value is self . Possible values are blank , self , parent , top , and a unique frame's name. |
toolTip | false | true | boolean | Sets whether to use a tooltip. The default value is true . |
url | false | true | java.lang.String | Sets the URL navigated to when the icon is clicked. |
useDialog | false | true | boolean | Sets whether to open the URL in a dialog window. The default value is false . |