| |
|
| java.lang.Object javax.servlet.jsp.tagext.TagSupport org.strecks.web.tag.FieldLabelTag
FieldLabelTag | public class FieldLabelTag extends TagSupport (Code) | | Tags which shows which fields are in error. Allows error styles to be added to the field label in
the event of an error in form submission. Also allows for localized field labels.
author: Phil Zoio |
errorPrefix | protected String errorPrefix(Code) | | The message resource key for errors prefix.
|
errorSuffix | protected String errorSuffix(Code) | | The message resource key for errors suffix.
|
labelKey | protected String labelKey(Code) | | The label for the field
|
property | protected String property(Code) | | The name of the property for which error messages should be returned
|
required | protected boolean required(Code) | | Whether the field is requiredSuffix
|
requiredPrefix | protected String requiredPrefix(Code) | | The label for the field
|
requiredSuffix | protected String requiredSuffix(Code) | | The label for the field
|
doStartTag | public int doStartTag() throws JspException(Code) | | Render the specified error messages if there are any.
exception: JspException - if a JSP exception has occurred |
isRequired | public boolean isRequired()(Code) | | |
release | public void release()(Code) | | Release any acquired resources.
|
setErrorPrefix | public void setErrorPrefix(String prefix)(Code) | | |
setErrorSuffix | public void setErrorSuffix(String suffix)(Code) | | |
setRequired | public void setRequired(boolean mandatory)(Code) | | |
setRequiredPrefix | public void setRequiredPrefix(String requiredPrefix)(Code) | | |
setRequiredSuffix | public void setRequiredSuffix(String required)(Code) | | |
|
|
|