xdoclet.modules.apache.struts
public class StrutsFormTagsHandler extends EjbTagsHandler
Version: $Revision: 1.13 $
UNKNOWN: Oct 19, 2001 namespace = "StrutsForm"
Method Summary | |
---|---|
void | forAllFormFields(String template)
Evaluates body for all fields included in form generation
|
static String | getStrutsFormClassFor(XClass clazz)
Gets the StrutsFormClassFor attribute of the StrutsFormTagsHandler class.
|
static String | getStrutsFormClassName(XClass clazz)
Gets the StrutsFormClassName attribute of the StrutsFormTagsHandler class
|
protected static String | getStrutsFormClassPattern()
Gets the StrutsFormClassPattern attribute of the StrutsFormTagsHandler class
|
static boolean | hasFormDefinition(XClass clazz)
Return true if at least one struts:form tag is defined.
|
void | ifUseMethodInForm(String template)
Evaluates the body if the method belongs in a given form.
|
String | strutsFormClass()
Return the class name for the current class.
|
String | strutsFormName() |
protected boolean | useMethodInForm(XMethod method)
Check that method has struts:form-field tag with valid name, or is pk field (and pk fields are included) or
include-all="true".
|
Parameters: template The body of the block tag
Throws: XDocletException Description of Exception
UNKNOWN: type = "block"
Parameters: clazz Describe what the parameter does
Returns: The StrutsFormClassFor value
Throws: XDocletException Describe the exception
Parameters: clazz Describe what the parameter does
Returns: The StrutsFormClassName value
Throws: XDocletException Describe the exception
Returns: The StrutsFormClassPattern value
Parameters: clazz Class to check
Returns: whether class has struts:form tag defined
Throws: XDocletException Description of Exception
Parameters: template The body of the block tag
Throws: XDocletException
UNKNOWN: type = "block"
Returns: Description of the Returned Value
Throws: XDocletException Description of Exception
UNKNOWN: type = "content"
Returns: Description of the Returned Value
Throws: XDocletException Description of Exception
UNKNOWN: type = "content"
Parameters: method Description of Parameter
Returns: Description of the Returned Value
Throws: XDocletException Description of Exception