GetNetuiTagName Class

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

public class GetNetuiTagName

    extends AbstractBaseTag

Returns the value of the tagId attribute. This tag allows you to track the value of the tagId attribute, the value of which will be re-written if the web application is part of a Portal application. This tag is especially useful when you need to pass the tagId value to an HTML tag. In the following example, the tagId value is passed from the tag <netui:radioButtonOption> to the HTML tag <label>.

    <netui:radioButtonOption tagId="radio1" value="value1"/>
     <label for="<netui:getNetuiTagName tagId="radio1"/>">Display Text 1</label>

If the tagId attribute in the tag is re-written, the <label> can access the re-written value through the tag <netui:getNetuiTagName>.

Related Topics

Using JavaScript in Page Flow and Portal Applications


Hierarchy
Object
  TagSupport
    BodyTagSupport
      AbstractBaseTag
        GetNetuiTagName
All Implemented Interfaces

BodyTag, IterationTag, Serializable, Tag

Field Summary

   
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

GetNetuiTagName()

 

Method Summary

public int
doStartTag()
public String
getTagId()
public String
getTagName()
Return the name of the Tag.
protected void
localRelease()
Release any acquired resources.
public void
setTagId(String tagId)
Return the value of this tagId attribute.
 
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
 

Constructor Detail

GetNetuiTagName

public GetNetuiTagName()
 

Method Detail

doStartTag() Method

public int doStartTag()
throws JspException
Overrides
BodyTagSupport.doStartTag()

Exceptions

JspException

getTagId() Method

public String getTagId()

getTagName() Method

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

Overrides
AbstractBaseTag.getTagName()

localRelease() Method

protected void localRelease()
Release any acquired resources.

Overrides
AbstractBaseTag.localRelease()

setTagId(String) Method

public void setTagId(String tagId)
Return the value of this tagId attribute.