RewriteURL Class

com.bea.wlw.netui.tags.html
RewriteURL Class

public class RewriteURL

    extends AbstractBaseTag

Allow a name, typically either an id or name attribute, to participate in URL rewritting. Some containers such as WebLogic Portal rewrite names so they are unique. This tag will cause the name to be made available from getNetuiTagName( tagId, tag ) JavaScript which is output from the <netui:html> tag.

Attribute Descriptions
AttributeRequiredRuntime Expression Evaluation Data Bindable
URLNoNoNo
The value of the URL that will be rewritten.

Related Topics

<netui:rewrite...> Tag Samples
RewriteName


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        RewriteURL
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag

Field Summary

protected String
url
String
   
Fields from  com.bea.wlw.netui.tags.AbstractBaseTag
ATTR_GENERAL, ATTR_GENERAL_EXPRESSION, ATTR_JAVASCRIPT, ATTR_STYLE, CLASS, ID, JAVASCRIPT_STATUS, NAME, NETUI_UNIQUE_CNT, ONCLICK, ONDBLCLICK, ONKEYDOWN, ONKEYPRESS, ONKEYUP, ONMOUSEDOWN, ONMOUSEMOVE, ONMOUSEOUT, ONMOUSEOVER, ONMOUSEUP, STYLE, TABINDEX
 
Fields from  javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields from  javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 

Constructor Summary

RewriteURL()

 

Method Summary

public int
doStartTag()
Add the URL parameter to the Parameter's parent.
public String
getTagName()
Return the name of the Tag.
public String
getURL()
Gets the name of that should be rewritten.
protected void
localRelease()
Release any acquired resources.
public void
setURL(String url)
Sets the name to be rewritten.
 
Methods from  com.bea.wlw.netui.tags.AbstractBaseTag
addTagIdMapping, evaluateAttributeToString, filter, filter, getJavaScriptUtils, getNearestForm, getScriptReporter, getUserLocale, registerTagError, release, renderAttribute, rewriteName, write
 
Methods from  javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent
 
Methods from  javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface javax.servlet.jsp.tagext.BodyTag
doInitBody, setBodyContent
 
Methods from interface javax.servlet.jsp.tagext.IterationTag
doAfterBody
 
Methods from interface javax.servlet.jsp.tagext.Tag
doEndTag, doStartTag, getParent, release, setPageContext, setParent
 

Field Detail

url

protected String url

 

Constructor Detail

RewriteURL

public RewriteURL()
 

Method Detail

doStartTag() Method

public int doStartTag()
throws JspException
Add the URL parameter to the Parameter's parent.

Overrides
BodyTagSupport.doStartTag()

Exceptions

JspException
if a JSP exception has occurred

getTagName() Method

public String getTagName()
Return the name of the Tag.

Overrides
AbstractBaseTag.getTagName()

getURL() Method

public String getURL()
Gets the name of that should be rewritten.

Returns

the parameter name.

localRelease() Method

protected void localRelease()
Release any acquired resources.

Overrides
AbstractBaseTag.localRelease()

setURL(String) Method

public void setURL(String url)
Sets the name to be rewritten.

Parameters

url
- the parameter name.