Tag icon

Creates a customizable icon that can leverage Bootstrap CSS icon classes.

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

cssClassfalsetruejava.lang.StringSets a class to give to the container of the icon, to provide an implementation for the icon. Note that the preferred method of setting the icon's image is via the image attribute.
datafalsetruejava.util.MapTakes a set of data and passes it as HTML data attributes. For example, the HashMap<"class-name", foo> would render as the attribute data-class-name = foo;.
idfalsetruejava.lang.StringIdentifies the component instance.
imagefalsetruejava.lang.StringSets the image to display for the icon. Values are taken from the suffix of the Bootstrap icon CSS classes. For example, to display the edit icon you would reference the icon-edit CSS class by setting the value edit. If an icon image is referenced for cssClass and image, both icons are shown in the component.
labelfalsetruejava.lang.StringSets the text to display alongside the icon.
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.
urlfalsetruejava.lang.StringSets the URL navigated to when the icon is clicked.

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.