Esri Geoportal Server
1.0

com.esri.gpt.framework.jsf.components
Class UITableCommandLink

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UICommand
              extended by javax.faces.component.html.HtmlCommandLink
                  extended by com.esri.gpt.framework.jsf.components.UITableCommandLink
All Implemented Interfaces:
EventListener, ActionSource, ActionSource2, javax.faces.component.behavior.ClientBehaviorHolder, PartialStateHolder, StateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder

public class UITableCommandLink
extends HtmlCommandLink

The Class UITableCommandLink. Work around Component should be used instead of CommandLink in a dataTable component. THis is so that the generated links can be linked to an action or actionListener.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.faces.component.html.HtmlCommandLink
HtmlCommandLink.PropertyKeys
 
Field Summary
static String COMPONENT_FAMILY
          The JSF Component family.
static String COMPONENT_TYPE
          The JSF Component type.
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
UITableCommandLink()
           
 
Method Summary
 void encodeBegin(FacesContext context)
           
 void encodeEnd(FacesContext context)
           
 Map getAttributes()
          Gets the attributemap of this Component
 HtmlCommandLink getIndexedCommandLink(FacesContext context)
          Gets the indexed command link.
 
Methods inherited from class javax.faces.component.html.HtmlCommandLink
getAccesskey, getCharset, getCoords, getDefaultEventName, getDir, getEventNames, getHreflang, getLang, getOnblur, getOnclick, getOndblclick, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRel, getRev, getShape, getStyle, getStyleClass, getTabindex, getTarget, getTitle, getType, isDisabled, setAccesskey, setCharset, setCoords, setDir, setDisabled, setHreflang, setLang, setOnblur, setOnclick, setOndblclick, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRel, setRev, setShape, setStyle, setStyleClass, setTabindex, setTarget, setTitle, setType
 
Methods inherited from class javax.faces.component.UICommand
addActionListener, broadcast, getAction, getActionExpression, getActionListener, getActionListeners, getFamily, getValue, isImmediate, queueEvent, removeActionListener, setAction, setActionExpression, setActionListener, setImmediate, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, clearInitialState, decode, encodeChildren, findComponent, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 

Field Detail

COMPONENT_TYPE

public static final String COMPONENT_TYPE
The JSF Component type.

See Also:
Constant Field Values

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
The JSF Component family.

See Also:
Constant Field Values
Constructor Detail

UITableCommandLink

public UITableCommandLink()
Method Detail

encodeBegin

public void encodeBegin(FacesContext context)
                 throws IOException
Overrides:
encodeBegin in class UIComponentBase
Throws:
IOException

encodeEnd

public void encodeEnd(FacesContext context)
               throws IOException
Overrides:
encodeEnd in class UIComponentBase
Throws:
IOException

getAttributes

public Map getAttributes()
Gets the attributemap of this Component

Overrides:
getAttributes in class UIComponentBase
Returns:
map of the attributes for this component

getIndexedCommandLink

public HtmlCommandLink getIndexedCommandLink(FacesContext context)
Gets the indexed command link. Properties are transfered from this to the new HtmlCommandLink.

Parameters:
context - the context
Returns:
the indexed command link

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.