|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.formview.struts.plugin.FormViewPlugIn
public class FormViewPlugIn
Description : Created on 19 janv. 2006
Field Summary | |
---|---|
protected FormViewResources |
resources
The set of Form instances that have been created and initialized, keyed by the struts form name. |
Constructor Summary | |
---|---|
FormViewPlugIn()
|
Method Summary | |
---|---|
void |
destroy()
|
protected void |
destroyResources()
Destroy FormViewResources . |
java.lang.String |
getDisplayerConfig()
Gets a comma delimitted list of DisplayerConfig resources. |
java.lang.String |
getFormViewConfig()
Gets a comma delimitted list of FormView resources. |
java.lang.String |
getValidatorConfig()
Gets a comma delimitted list of Validator resources. |
void |
init(org.apache.struts.action.ActionServlet servlet,
org.apache.struts.config.ModuleConfig config)
|
protected void |
initFormViewResources()
Initialize the form view resources for this module. |
void |
mergeWithDisplayerConfig()
|
protected void |
mergeWithValidator()
Initialize the validator resources for this module. |
void |
setDisplayerConfig(java.lang.String displayerConfig)
Sets a comma delimitted list of DisplayerConfig resources. |
void |
setFormViewConfig(java.lang.String formViewConfig)
Sets a comma delimitted list of FormView resources. |
void |
setValidatorConfig(java.lang.String validatorConfig)
Sets a comma delimitted list of Validator resources. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected FormViewResources resources
Constructor Detail |
---|
public FormViewPlugIn()
Method Detail |
---|
public java.lang.String getFormViewConfig()
public void setFormViewConfig(java.lang.String formViewConfig)
formViewConfig
- delimited list of FormView resource path namespublic java.lang.String getValidatorConfig()
public void setValidatorConfig(java.lang.String validatorConfig)
validatorConfig
- delimited list of Validator resource path namespublic java.lang.String getDisplayerConfig()
public void setDisplayerConfig(java.lang.String displayerConfig)
displayerConfig
- delimited list of DisplayerConfig resource path namespublic void init(org.apache.struts.action.ActionServlet servlet, org.apache.struts.config.ModuleConfig config) throws javax.servlet.ServletException
init
in interface org.apache.struts.action.PlugIn
javax.servlet.ServletException
public void destroy()
destroy
in interface org.apache.struts.action.PlugIn
protected void initFormViewResources() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
- if an input/output error is encountered
javax.servlet.ServletException
- if we cannot initialize these resourcesprotected void mergeWithValidator() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
- if an input/output error is encountered
javax.servlet.ServletException
- if we cannot initialize these resourcespublic void mergeWithDisplayerConfig() throws java.io.IOException, javax.servlet.ServletException
java.io.IOException
javax.servlet.ServletException
protected void destroyResources()
FormViewResources
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |