| java.lang.Object javax.servlet.jsp.tagext.SimpleTagSupport org.apache.beehive.netui.tags.AbstractSimpleTag
All known Subclasses: org.apache.beehive.netui.tags.html.BindingUpdateErrors, org.apache.beehive.netui.tags.html.Attribute, org.apache.beehive.netui.tags.tree.TreeContent, org.apache.beehive.netui.tags.tree.TreeLabel, org.apache.beehive.netui.tags.tree.Tree, org.apache.beehive.netui.tags.databinding.datagrid.GetDataGridState, org.apache.beehive.netui.tags.javascript.ScriptBlock, org.apache.beehive.netui.tags.tree.TreeItem, org.apache.beehive.netui.tags.html.Behavior, org.apache.beehive.netui.tags.html.ErrorBaseTag, org.apache.beehive.netui.tags.tree.TreeHtmlAttribute, org.apache.beehive.netui.tags.html.Content, org.apache.beehive.netui.tags.databinding.datagrid.AbstractDataGridHtmlTag, org.apache.beehive.netui.tags.databinding.datagrid.ConfigurePager, org.apache.beehive.netui.tags.html.Exceptions, org.apache.beehive.netui.tags.tree.TreePropertyOverride, org.apache.beehive.netui.tags.html.FormatTag, org.apache.beehive.netui.tags.html.Base, org.apache.beehive.netui.tags.databinding.pageinput.DeclarePageInput,
getIdForTagId | final protected String getIdForTagId(String tagId)(Code) | | This method will generate a real id based upon the passed in tagId. The generated
id will be constucted by searching upward for all the script containers that have a
scope id set. These will form a fully qualified id.
Parameters: tagId - The base tagId set on a tag an id value formed by considering all of the scope id's found in the tag hierarchy. |
getPageContext | protected PageContext getPageContext()(Code) | | This method will attempt to cast the JspContext into a PageContext. If this fails,
it will log an exception.
PageContext |
getScriptReporter | protected IScriptReporter getScriptReporter()(Code) | | Return the closest ScriptReporter in the parental chain. Searching starts
at this node an moves upward through the parental chain.
a ScriptReporter or null if there is not one found. |
getTagName | abstract public String getTagName()(Code) | | Return the name of the tag. Used by error reporting to get the name of the tag.
the name of the tag. |
getUserLocale | protected Locale getUserLocale()(Code) | | This method will return the user local of the request.
the Locale object to use when rendering this tag |
hasErrors | protected boolean hasErrors()(Code) | | This method will return true if there have been any errors registered on this
tag. Otherwise it returns false
true if errors have been reported on this tag. |
registerTagError | public void registerTagError(String message, Throwable e) throws JspException(Code) | | This will report an error from a tag. The error will
contain a message. If error reporting is turned off,
the message will be returned and the caller should throw
a JspException to report the error.
Parameters: message - - the message to register with the error throws: javax.servlet.jsp.JspException - - if in-page error reporting is turned off this method will alwaysthrow a JspException. |
rewriteName | final protected String rewriteName(String name)(Code) | | This method will rewrite the name (id) by passing it to the
URL Rewritter and getting back a value.
Parameters: name - the name that will be rewritten a name that has been rewritten by the URLRewriterService. |
setNonEmptyValueAttribute | final protected String setNonEmptyValueAttribute(String attrValue)(Code) | | Filter out the empty string value and return either the value or null. When the value of
attrValue is equal to the empty string this will return null, otherwise it will
return the value of attrValue .
Parameters: attrValue - This is the value we will check for the empty string. either the value of attrValue or null |
setRequiredValueAttribute | final protected String setRequiredValueAttribute(String attrValue, String attrName) throws JspException(Code) | | Report an error if the value of attrValue is equal to the empty string, otherwise return
that value. If attrValue is equal to the empty string, an error is registered and
null is returned.
Parameters: attrValue - The value to be checked for the empty string Parameters: attrName - The name of the attribute either the attrValue if it is not the empty string or null throws: JspException - A JspException will be thrown if inline error reporting is turned off. |
write | final protected void write(String string) throws JspException(Code) | | This mehod will write the passed string to the response.
Parameters: string - to be written to the response. |
|
|