|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSimpleTagSupport
AbstractSimpleTag
BindingUpdateErrors
public class BindingUpdateErrors
Renders the set of error messages found during processPopulate when the values to be updated cannot be resolved. These errors are treated as warnings. By default, this tag is only on in Iterative Dev mode and the warning are not displayed in production mode. The tag is intended for development use.
<netui:bindingUpdateErrors />
In this next sample, only binding errors for the expression {actionForm.firstName}
will be displayed on the page and the command window.
<netui:bindingUpdateErrors expression="{actionForm.firstName}"/>
Constructor Summary | |
---|---|
BindingUpdateErrors()
|
Method Summary | |
---|---|
void |
doTag()
Render the specified error messages if there are any. |
String |
getTagName()
Return the name of the Tag. |
void |
setAlwaysReport(boolean alwaysReport)
Set the value which will override the default behavior of not showing errors in production mode. |
void |
setExpression(String expression)
Sets the expression to match for binding errors. |
Methods inherited from class AbstractSimpleTag |
---|
getBufferBody, getHtmlTag, getIdForTagId, getInlineError, getPageContext, getScriptReporter, getUserLocale, hasErrors, registerTagError, registerTagError, reportErrors, rewriteName, setNonEmptyValueAttribute, setRequiredValueAttribute, write |
Methods inherited from class SimpleTagSupport |
---|
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BindingUpdateErrors()
Method Detail |
---|
public String getTagName()
getTagName
in interface INetuiTag
getTagName
in class AbstractSimpleTag
public void setExpression(String expression) throws JspException
expression
- The expression to match against.
JspException
public void setAlwaysReport(boolean alwaysReport)
alwaysReport
- a boolean that if true
will cause
the errors to always be displayed. The default is false
public void doTag() throws JspException
doTag
in interface SimpleTag
doTag
in class SimpleTagSupport
JspException
- if a JSP exception has occurred
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |