com.tonbeller.wcf.form
Class FormComponentTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.tonbeller.wcf.component.ComponentTag
com.tonbeller.wcf.form.FormComponentTag
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag
- public class FormComponentTag
- extends ComponentTag
creates a FormComponent
- Author:
- av
- See Also:
- Serialized Form
Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FormComponentTag
public FormComponentTag()
createComponent
public Component createComponent(RequestContext context)
throws javax.servlet.jsp.JspException
- loads a form from an xml file and registeres it with the controller.
- Specified by:
createComponent
in class ComponentTag
- Returns:
- the object that will be placed into the session
- Throws:
javax.servlet.jsp.JspException
createFormComponent
protected FormComponent createFormComponent(RequestContext context,
java.lang.String id,
org.w3c.dom.Document doc,
java.lang.Object bean)
parseDocument
protected org.w3c.dom.Document parseDocument(RequestContext context,
java.lang.String xmlUri)
throws java.net.MalformedURLException,
java.util.MissingResourceException
- Throws:
java.net.MalformedURLException
java.util.MissingResourceException
getXmlUri
public java.lang.String getXmlUri()
setXmlUri
public void setXmlUri(java.lang.String xmlUri)
getModel
public java.lang.String getModel()
setModel
public void setModel(java.lang.String model)
setBookmarkable
public void setBookmarkable(boolean b)
setBundle
public void setBundle(java.lang.String bundle)
isFinishButton
public boolean isFinishButton()
setFinishButton
public void setFinishButton(boolean finishButton)
getBundle
public java.lang.String getBundle()