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.StringSets the value of the alt attribute for the embedded img tag.
ariaRolefalsetruejava.lang.StringSets 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.
cssClassfalsetruejava.lang.StringSets a CSS class for styling this component.
datafalsetruejava.util.MapStores miscellaneous data via a map. This data is not shared with the browser. The map holds key value pairs of type <String, Object>.
iconCssClassfalsetruejava.lang.StringSets 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/.
idfalsetruejava.lang.StringIdentifies the component instance.
imagefalsetruejava.lang.StringSets 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.
imageHoverfalsetruejava.lang.StringSets 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.
labelfalsetruebooleanSets whether to display the message attribute's value as the icon's label.
langfalsetruejava.lang.StringSets the language of the icon, to assist search engines and web browsers in finding and rendering the icon appropriately.
linkCssClassfalsetruejava.lang.StringSets a CSS class for styling the icon's URL.
localizeMessagefalsetruebooleanSets whether to translate the icon's message into the user's language.
messagefalsetruejava.lang.StringSets text to be displayed for the icon on mouse over.
methodfalsetruejava.lang.StringSets an HTTP request method. Possible values are get and post.
onClickfalsetruejava.lang.StringSets a function to be called on a user clicking the icon.
srcfalsetruejava.lang.StringSets the location of the image file to use in the icon.
srcHoverfalsetruejava.lang.StringSets 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.
targetfalsetruejava.lang.StringSets 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.
toolTipfalsetruebooleanSets whether to use a tooltip. The default value is true.
urlfalsetruejava.lang.StringSets the URL navigated to when the icon is clicked.
useDialogfalsetruebooleanSets whether 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.