liferay-ui
Tag icon


Creates a fully configurable icon that provides access to current Liferay theme icons.


Tag Information
Tag Classcom.liferay.taglib.ui.IconTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
altfalsetruejava.lang.StringA value for the alt attribute of the embedded img tag.
ariaRolefalsetruejava.lang.StringA 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.
cssClassfalsetruejava.lang.StringA CSS class for styling the component.
datafalsetruejava.util.MapMiscellaneous 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>.
iconfalsetruejava.lang.StringNo Description
iconCssClassfalsetruejava.lang.StringAn 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/.
idfalsetruejava.lang.StringAn ID for the component instance.
imagefalsetruejava.lang.StringAn 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.
imageHoverfalsetruejava.lang.StringAn 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.
labelfalsetruebooleanWhether to display the message attribute's value as the icon's label.
langfalsetruejava.lang.StringA language to associate with the icon, to assist search engines and web browsers in finding and rendering the icon appropriately.
linkCssClassfalsetruejava.lang.StringA CSS class for styling the icon's URL.
localizeMessagefalsetruebooleanWhether to translate the icon's message into the user's language.
markupViewfalsetruejava.lang.StringNo Description
messagefalsetruejava.lang.StringText to be displayed for the icon on mouse over.
methodfalsetruejava.lang.StringAn HTTP request method. Possible values are get and post.
onClickfalsetruejava.lang.StringA function to be called on a user clicking the icon.
srcfalsetruejava.lang.StringThe location of an image file to use in the icon.
srcHoverfalsetruejava.lang.StringThe 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.
targetfalsetruejava.lang.StringA 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.
toolTipfalsetruebooleanWhether to use a tooltip. The default value is true.
urlfalsetruejava.lang.StringA URL to navigate to when the icon is clicked.
useDialogfalsetruebooleanWhether to open the URL in a dialog window. The default value is false.

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.