Attributes |
Name | Required | Request-time | Type | Description |
alt | false | true | java.lang.String | A value for the alt attribute of the embedded img tag. |
ariaRole | false | true | java.lang.String | 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 | A CSS class for styling the component. |
data | false | true | java.util.Map | Miscellaneous data to be stored 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 | An 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 | An ID for the component instance. |
image | false | true | java.lang.String | An image for the 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 | An icon to display on mouse over of the component. 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 | Whether to display the message attribute's value as the icon's label. |
lang | false | true | java.lang.String | A language to associate with the icon, to assist search engines and web browsers in finding and rendering the icon appropriately. |
linkCssClass | false | true | java.lang.String | A CSS class for styling the icon's URL. |
localizeMessage | false | true | boolean | Whether to translate the icon's message into the user's language. |
message | false | true | java.lang.String | Text to be displayed for the icon on mouse over. |
method | false | true | java.lang.String | An HTTP request method. Possible values are get and post . |
onClick | false | true | java.lang.String | A function to be called on a user clicking the icon. |
src | false | true | java.lang.String | The location of an image file to use in the icon. |
srcHover | false | true | java.lang.String | The location of an 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 | A target window in which to open the URL. The default value is self . Possible values are blank , self , parent , top , and a unique frame's name. |
toolTip | false | true | boolean | Whether to use a tooltip. The default value is true . |
url | false | true | java.lang.String | A URL to navigate to when the icon is clicked. |
useDialog | false | true | boolean | Whether to open the URL in a dialog window. The default value is false . |