de.ls10.jsf.components.models
Class TagCloudLinkInternal
java.lang.Object
de.ls10.jsf.components.models.TagCloudLink
de.ls10.jsf.components.models.TagCloudLinkInternal
- All Implemented Interfaces:
- java.lang.Comparable<TagCloudLink>
public class TagCloudLinkInternal
- extends TagCloudLink
This class models an internal JSF link.
Internal means, that this link should only navigate between two JSF
pages of the same web application. Therefor an JSF navigation outcome
(action string) must be specified and optionally JSF ActionListeners could
be registered.
This link type is normally rendered as an HtmlCommandLink component by the
HTML renderer.
- Author:
- Philip Gerlach ,
Oliver Horst
Constructor Summary |
TagCloudLinkInternal()
Standard constructor, which intializes the inner list of ActionListeners
for this link. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TagCloudLinkInternal
public TagCloudLinkInternal()
- Standard constructor, which intializes the inner list of ActionListeners
for this link.
setAction
public void setAction(java.lang.String action)
- Parameters:
action
- Specify the JSF action expression here as you would do it in the
action
parameter of an
<h:commandLink/>
tag. This String is than
internally converted to an MethodExpression
and
passed towards an normal UICommand component.- See Also:
MethodExpression
getAction
public java.lang.String getAction()
addActionListener
public void addActionListener(javax.faces.event.ActionListener listener)
removeActionListener
public void removeActionListener(javax.faces.event.ActionListener listener)
getActionListeners
public java.util.List<javax.faces.event.ActionListener> getActionListeners()
Copyright © 2007 University of Dortmund (FB4 / LS10). All Rights Reserved.