org.apache.myfaces.tobago.taglib.component
Class CommandTag
java.lang.Object
javax.faces.webapp.UIComponentTag
org.apache.myfaces.tobago.taglib.component.TobagoTag
org.apache.myfaces.tobago.taglib.component.CommandTag
- All Implemented Interfaces:
- JspTag, Tag, CommandTagDeclaration, TobagoTagDeclaration, HasAction, HasActionListener, HasLink, HasOnclick
- Direct Known Subclasses:
- ButtonTag, LinkTag, MenuCommandTag, SelectBooleanCommandTag, SelectOneCommandTag, ToolBarCommandTag
public abstract class CommandTag
- extends TobagoTag
- implements CommandTagDeclaration
Methods inherited from class org.apache.myfaces.tobago.taglib.component.TobagoTag |
doStartTag, getDisabled, getHeight, getHidden, getInline, getLabel, getReadonly, getRendererType, getTitle, getWidth, setHeight, setHidden, setInline, setLabel, setReadonly, setTitle, setWidth |
Methods inherited from class javax.faces.webapp.UIComponentTag |
doEndTag, encodeBegin, encodeChildren, encodeEnd, findComponent, getComponentInstance, getCreated, getDoEndValue, getDoStartValue, getFacesContext, getFacetName, getId, getParent, getParentUIComponentTag, isSuppressed, isValueReference, setBinding, setId, setPageContext, setParent, setRendered, setupResponseWriter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandTag
public CommandTag()
getComponentType
public String getComponentType()
- Specified by:
getComponentType
in class UIComponentTag
setProperties
protected void setProperties(UIComponent component)
- Overrides:
setProperties
in class TobagoTag
release
public void release()
- Specified by:
release
in interface Tag
- Overrides:
release
in class TobagoTag
getAction
public String getAction()
setAction
public void setAction(String action)
- Description copied from interface:
HasAction
- Action to invoke when clicked.
This must be a MethodBinding or a String representing the application action to invoke when
this component is activated by the user.
The MethodBinding 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.
The String is directly passed to the Navigationhandler.
- Specified by:
setAction
in interface HasAction
setOnclick
public void setOnclick(String onclick)
- Description copied from interface:
HasOnclick
- Script to be invoked when clicked
- Specified by:
setOnclick
in interface HasOnclick
setLink
public void setLink(String link)
- Specified by:
setLink
in interface HasLink
getActionListener
public String getActionListener()
setActionListener
public void setActionListener(String actionListener)
- Description copied from interface:
HasActionListener
- 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.
- Specified by:
setActionListener
in interface HasActionListener
getType
public String getType()
setType
public void setType(String type)
getImmediate
public String getImmediate()
setImmediate
public void setImmediate(String immediate)
setDisabled
public void setDisabled(String disabled)
- Overrides:
setDisabled
in class TobagoTag
Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.