Esri Geoportal Server
1.0

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

java.lang.Object
  extended by com.esri.gpt.framework.jsf.components.TagSupport

public class TagSupport
extends Object

The Class TagSupport. Supports JSF Tags.


Constructor Summary
TagSupport()
           
 
Method Summary
 Object getValueBindingOrString(String value)
          Gets the value binding or string.
 void setActionBind(UIComponent component, String key, String value)
          Sets the action of a component.
 void setPropMethodBind(UIComponent component, String key, String value)
          Sets the properties.
 void setPropValueBind(UIComponent component, String key, String value)
          Sets the properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagSupport

public TagSupport()
Method Detail

setPropValueBind

public void setPropValueBind(UIComponent component,
                             String key,
                             String value)
Sets the properties. If value is valueReference then a Value Binding is generated.

Parameters:
component - the component
key - the key
value - the value (if null, no action taken)

setPropMethodBind

public void setPropMethodBind(UIComponent component,
                              String key,
                              String value)
Sets the properties. If value is method reference then a Method Binding is generated. If setting an action see setActionBind

Parameters:
component - the component
key - the key
value - the value (if null, no action taken)

setActionBind

public void setActionBind(UIComponent component,
                          String key,
                          String value)
Sets the action of a component. The value can be a reference or a return string.

Parameters:
component - the component
key - the key
value - the value

getValueBindingOrString

public Object getValueBindingOrString(String value)
Gets the value binding or string.

Parameters:
value - the value (accepts null or empty string)
Returns:
the value binding or string (null if value == null)

Esri Geoportal Server
1.0

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