|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.xsp.complex.ValueBindingObjectImpl com.ibm.xsp.resource.AbstractResource com.ibm.xsp.resource.DojoModuleResource
public class DojoModuleResource
Corresponds to the xp:dojoModule
tag which is used to output dojo modules that are needed
at runtime
Field Summary | |
---|---|
static DojoModuleResource |
DOJO_PARSER
A dojo module resource for the module "dojo.parser" |
static java.lang.String |
RENDERER_TYPE
|
static DojoModuleResource |
XSP_CLIENT_DOJO_UI
A dojo module resource for the module "ibm.xsp.widget.layout.xspClientUI" |
Fields inherited from class com.ibm.xsp.resource.AbstractResource |
---|
FAMILY |
Constructor Summary | |
---|---|
DojoModuleResource()
Default Constructor |
|
DojoModuleResource(java.lang.String name)
Default Constructor |
Method Summary | |
---|---|
java.lang.String |
getCondition()
Client side JavaScript expression that defines the condition for including this module. |
java.lang.String |
getName()
Returns the dojo module you want to load |
void |
restoreState(javax.faces.context.FacesContext context,
java.lang.Object state)
|
java.lang.Object |
saveState(javax.faces.context.FacesContext context)
|
void |
setCondition(java.lang.String condition)
Sets the module condition which can be javascript expression for example it can be dojo.isIE |
void |
setName(java.lang.String name)
The dojo module name to set. |
void |
setValueBinding(java.lang.String name,
javax.faces.el.ValueBinding binding)
Set the ValueBinding instance to used to calculate the value for the specified property. |
java.lang.String |
toString()
|
Methods inherited from class com.ibm.xsp.resource.AbstractResource |
---|
encodeObject, getFamily, getRendererType, getServerResourceContents, getUniqueId, isRendered, loadContents, setRendered, setRendererType |
Methods inherited from class com.ibm.xsp.complex.ValueBindingObjectImpl |
---|
getComponent, getFacesContext, getValueBinding, isTransient, setComponent, setTransient |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.ibm.xsp.complex.EncodableObject |
---|
encodeObject |
Field Detail |
---|
public static final java.lang.String RENDERER_TYPE
public static final DojoModuleResource DOJO_PARSER
public static final DojoModuleResource XSP_CLIENT_DOJO_UI
Constructor Detail |
---|
public DojoModuleResource()
public DojoModuleResource(java.lang.String name)
name
- of the module resourceMethod Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- public java.lang.String getCondition()
public void setCondition(java.lang.String condition)
condition
- public void setValueBinding(java.lang.String name, javax.faces.el.ValueBinding binding)
ValueBindingObject
setValueBinding
in interface ValueBindingObject
setValueBinding
in class ValueBindingObjectImpl
name
- Name of the propertybinding
- The ValueBinding to set, or null to remove an existing ValueBindingpublic java.lang.Object saveState(javax.faces.context.FacesContext context)
saveState
in interface javax.faces.component.StateHolder
saveState
in class AbstractResource
public void restoreState(javax.faces.context.FacesContext context, java.lang.Object state)
restoreState
in interface javax.faces.component.StateHolder
restoreState
in class AbstractResource
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |