com.raritantechnologies.quickstart.taglibrary.forms
Class InitFromControl
java.lang.Object
com.raritantechnologies.quickstart.taglibrary.forms.InitFromControl
- All Implemented Interfaces:
- IConfigurable
- public class InitFromControl
- extends java.lang.Object
- implements IConfigurable
Provides dynamic or context-based control of form input or control refreshing.
XML Configuration Template:
<InitFromControl requestParam="formType" defaultValue="lastQuery" >
<Request value="reset" initFrom="searchSource" />
<Request value="null" initFrom="searchSource" />
<Request value="search" initFrom="request" />
</InitFromControl>
|
Method Summary |
java.lang.String |
initFrom(RaritanPageContext pageContext)
Determine the source that should be used to initialize the control or input. |
void |
initialize(org.w3c.dom.Element elem)
Initializes the object from an XML tag or element. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitFromControl
public InitFromControl()
InitFromControl
public InitFromControl(org.w3c.dom.Element elem)
initFrom
public java.lang.String initFrom(RaritanPageContext pageContext)
- Determine the source that should be used to initialize the control or input.
initialize
public void initialize(org.w3c.dom.Element elem)
- Description copied from interface:
IConfigurable
- Initializes the object from an XML tag or element.
This method is called by the Framework as part of the application initializtion.
see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory.
Configurable objects that are owned or contained by other configurable objects will be initialized
in by the parent object.
- Specified by:
initialize in interface IConfigurable