|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.rave.web.ui.util.VariableResolver.ThisDataSource
public static class VariableResolver.ThisDataSource
This class provides an implementation for the syntax $this{xyz} where xyz can be any of the following.
UIComponent
UIComponent
's client idUIComponent
's idLayoutElement
UIComponent
UIComponent
's client idLayoutElement
NamingContainer
ValueBinding
representing the
UIComponent
Field Summary | |
---|---|
static java.lang.String |
CLIENT_ID
Defines "clientId" in $this{clientId}. |
static java.lang.String |
COMPONENT
Defines "component" in $this{component}. |
static java.lang.String |
ID
Defines "id" in $this{id}. |
static java.lang.String |
LAYOUT_ELEMENT
Defines "layoutElement" in $this{layoutElement}. |
static java.lang.String |
NAMING_CONTAINER
Defines "namingContainer" in $this{namingContainer}. |
static java.lang.String |
PARENT
Defines "parent" in $this{parent}. |
static java.lang.String |
PARENT_CLIENT_ID
Defines "parentClientId" in $this{parentClientId}. |
static java.lang.String |
PARENT_ID
Defines "parentId" in $this{parentId}. |
static java.lang.String |
PARENT_LAYOUT_ELEMENT
Defines "parentLayoutElement" in $this{parentLayoutElement}. |
static java.lang.String |
VALUE_BINDING
Defines "valueBinding" in $this{valueBinding}. |
Constructor Summary | |
---|---|
VariableResolver.ThisDataSource()
|
Method Summary | |
---|---|
java.lang.Object |
getValue(javax.faces.context.FacesContext ctx,
LayoutElement desc,
javax.faces.component.UIComponent comp,
java.lang.String key)
See class JavaDoc. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COMPONENT
Defines "component" in $this{component}. Returns the UIComponent object.
public static final java.lang.String CLIENT_ID
Defines "clientId" in $this{clientId}. Returns the String representing the client id for the UIComponent.
public static final java.lang.String ID
Defines "id" in $this{id}. Returns the String representing the id for the UIComponent.
public static final java.lang.String LAYOUT_ELEMENT
Defines "layoutElement" in $this{layoutElement}. Returns the LayoutElement.
public static final java.lang.String PARENT
Defines "parent" in $this{parent}. Returns the parent UIComponent object.
public static final java.lang.String PARENT_ID
Defines "parentId" in $this{parentId}. Returns the parent UIComponent object's Id.
public static final java.lang.String PARENT_CLIENT_ID
Defines "parentClientId" in $this{parentClientId}. Returns the parent UIComponent object's client Id.
public static final java.lang.String PARENT_LAYOUT_ELEMENT
Defines "parentLayoutElement" in $this{parentLayoutElement}. Returns the parent LayoutElement.
public static final java.lang.String NAMING_CONTAINER
Defines "namingContainer" in $this{namingContainer}. Returns the nearest naming container object (i.e. the form).
public static final java.lang.String VALUE_BINDING
Defines "valueBinding" in $this{valueBinding}. Returns
a ValueBinding
to this UIComponent.
Constructor Detail |
---|
public VariableResolver.ThisDataSource()
Method Detail |
---|
public java.lang.Object getValue(javax.faces.context.FacesContext ctx, LayoutElement desc, javax.faces.component.UIComponent comp, java.lang.String key)
See class JavaDoc.
getValue
in interface VariableResolver.DataSource
ctx
- The FacesContext
desc
- The LayoutElement
comp
- The UIComponent
key
- The key used to obtain information from this
DataSource
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |