com.infragistics.faces.shared.taglib.html
Class LinkTag

java.lang.Object
  extended byjavax.faces.webapp.UIComponentTag
      extended bycom.infragistics.faces.shared.taglib.html.LinkTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public class LinkTag
extends javax.faces.webapp.UIComponentTag

JSP Tags For The link Component. This component can act as a regular link (outputLink) or a link that submit to the server-side (commandLink), depending upon the url property. Note that the target property works in both mode.

Use

To use the component in a JSP page, declare the taglib:
 <%@ taglib prefix="ig" uri="http://www.infragistics.com/faces/netadvantage" %>
 
and instantiate:
 <ig:link />
 

Attributes

Name Type Default Description
action MethodBinding "" MethodBinding representing the application action to invoke when this component is activated by the user. The expression must evaluate to a public method that takes no parameters, and returns a String (the logical outcome) which is passed to the NavigationHandler for this application
actionListener MethodBinding "" MethodBinding representing an action listener method that will be notified when this component is activated by the user. The expression must evaluate to a public method that takes an ActionEvent parameter, with a return type of void
converter Converter "" Converter instance registered with this component.
disabled boolean "false" flag indicating whether the component is disabled or no
hoverIconUrl String "" url of the image to display whenever the mouse cursor moves over the compoennt
hoverStyleClass String "" name of the css class applied to the component when the mouse cursor is over it
iconPosition HPosition "HPosition.LEFT" Alignment of the icon : left || right
iconUrl String "" url of the image to display
immediate boolean "" flag indicating that, if this component is activated by the user, notifications should be delivered to interested listeners and actions immediately (that is, during Apply Request Values phase) rather than waiting until Invoke Application phase
shortcut String "" shortcut key (1 character) that is used to give the focus to the component.
style String "" default style applied to the component
styleClass String "" name of the css class applied to the component
target String "" specified the target window or frame
tooltip String "" specified the text of the tooltip
url String "" url to navigate to. if this property is specified the component act as a regular html link. Please note that action listener are ignored in that case
value Object "" The current value of this component


Field Summary
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
LinkTag()
          Constructor
 
Method Summary
 java.lang.String getComponentType()
           
 java.lang.String getRendererType()
           
 void release()
           
 void setAction(java.lang.String newValue)
           
 void setActionListener(java.lang.String newValue)
           
 void setConverter(java.lang.String newValue)
           
 void setDisabled(java.lang.String newValue)
           
 void setHoverIconUrl(java.lang.String newValue)
           
 void setHoverStyleClass(java.lang.String newValue)
           
 void setIconPosition(java.lang.String newValue)
           
 void setIconUrl(java.lang.String newValue)
           
 void setImmediate(java.lang.String newValue)
           
 void setShortcut(java.lang.String newValue)
           
 void setStyle(java.lang.String newValue)
           
 void setStyleClass(java.lang.String newValue)
           
 void setTarget(java.lang.String newValue)
           
 void setTooltip(java.lang.String newValue)
           
 void setUrl(java.lang.String newValue)
           
 void setValue(java.lang.String newValue)
           
 
Methods inherited from class javax.faces.webapp.UIComponentTag
doEndTag, doStartTag, getComponentInstance, getCreated, getParent, getParentUIComponentTag, isValueReference, setBinding, setId, setPageContext, setParent, setRendered
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkTag

public LinkTag()

Constructor

Method Detail

getComponentType

public java.lang.String getComponentType()

getRendererType

public java.lang.String getRendererType()

release

public void release()

setAction

public void setAction(java.lang.String newValue)

setActionListener

public void setActionListener(java.lang.String newValue)

setConverter

public void setConverter(java.lang.String newValue)

setDisabled

public void setDisabled(java.lang.String newValue)

setHoverIconUrl

public void setHoverIconUrl(java.lang.String newValue)

setHoverStyleClass

public void setHoverStyleClass(java.lang.String newValue)

setIconPosition

public void setIconPosition(java.lang.String newValue)

setIconUrl

public void setIconUrl(java.lang.String newValue)

setImmediate

public void setImmediate(java.lang.String newValue)

setShortcut

public void setShortcut(java.lang.String newValue)

setStyle

public void setStyle(java.lang.String newValue)

setStyleClass

public void setStyleClass(java.lang.String newValue)

setTarget

public void setTarget(java.lang.String newValue)

setTooltip

public void setTooltip(java.lang.String newValue)

setUrl

public void setUrl(java.lang.String newValue)

setValue

public void setValue(java.lang.String newValue)