# com.bea.wlw.netui.tags.html
Hidden Class

public class Hidden
extends `DataSourceTag`
implements `IAttributeConsumer`

Generates a hidden tag with a given value.

Attribute Descriptions
Attribute | Required | Runtime Expression Evaluation | Data Bindable
--- | --- | --- | ---
dataInput | No | No | Read Only
The dataInput attribute overrides the dataSource for the input of the value. It allows a hidden field to read it's value from one place and return the value to a new destination. The dataInput attribute must be a data binding expression enclosed in curly braces, for example, {pageFlow.hiddenValue}
dataSource | Yes | No | Read / Write
The name of a form bean property or an expression that resolves to a bean property.
tagId | No | No | No |
The ID of this button used by the enclosing html tag to get the tag's real ID attribute for JavaScript and focus purposes. The real ID attribute id is generated based upon this name.

Hierarchy
  `Object`
  `TagSupport`
  `BodyTagSupport`
  `AbstractBaseTag`
  `DataSourceTag`
  `Hidden`

All Implemented Interfaces
  `BodyTag`, `IAttributeConsumer`, `IterationTag`, `Serializable`, `Tag`

## Field Summary

`public static final `String`` | `TYPE` String
`public static final `String`` | `VALUE` 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

Hidden()

## Method Summary

`public int` | `doAfterBody`()
`public int` | `doEndTag`() Generate the hidden input tag.
`public int` | `doStartTag`()
`public `String`` | `getDataInput`() The value of the dataInput attribute.
`public `String`` | `getTabindex`() Gets the tabIndex of the rendered html tag.
`public `String`` | `getTagId`() Return the ID of the hidden.
`public `String`` | `getTagName`() Return the name of the Tag.
`protected void` | `localRelease`() Release any acquired resources.
`public void` | `setAttribute`(`String` name, `String` value) Set an attribute value.
`public void` | `setDataInput`(`String` dataInput) Set the data input.
`public void` | `setTabindex`(`String` tabindex) Sets the tabIndex of the rendered html tag.
`public void` | `setTagId`(`String` tagId) Set the ID of the hidden.

Methods from `com.bea.wlw.netui.tags.`DataSourceTag``
``getDataSource`, `setDataSource``

Methods from `com.bea.wlw.netui.tags.`AbstractBaseTag``
``addTagIdMapping`, `evaluateAttributeToString`, `filter`, `filter`, `getJavaScriptUtils`, `getNearestForm`, `getScriptReporter`, `getUserLocale`, `localRelease`, `registerTagError`, `release`, `renderAttribute`, `rewriteName`, `write``

Methods from `javax.servlet.jsp.tagext.`BodyTagSupport``
`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 `com.bea.wlw.netui.tags.`IAttributeConsumer``
``setAttribute``

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

### TYPE

    public static final String TYPE

### VALUE

    public static final String VALUE

## Constructor Detail

### Hidden

    public Hidden()

## Method Detail

### doAfterBody() Method

    public int doAfterBody()
         throws JspException

Overrides
  `BodyTagSupport.doAfterBody()`

#### Exceptions

``JspException``
  if a JSP exception has occurred

### doEndTag() Method

    public int doEndTag()
         throws JspException

Generate the hidden input tag.

Overrides
  `BodyTagSupport.doEndTag()`

#### Exceptions

``JspException``
  if a JSP exception has occurred

### doStartTag() Method

    public int doStartTag()
         throws JspException

Overrides
  `BodyTagSupport.doStartTag()`

#### Exceptions

``JspException``
  if a JSP exception has occurred

### getDataInput() Method

    public String getDataInput()

The value of the dataInput attribute.

#### Returns

the current value of the data input attribute.

### getTabindex() Method

    public String getTabindex()

Gets the tabIndex of the rendered html tag.

#### Returns

the tabindex.

### getTagId() Method

    public String getTagId()

Return the ID of the hidden.

#### Returns

the ID.

### getTagName() Method

    public String getTagName()

Return the name of the Tag.

Overrides
  `AbstractBaseTag.getTagName()`

### localRelease() Method

    protected void localRelease()

Release any acquired resources.

Overrides
  `DataSourceTag.localRelease()`

### setAttribute(String, String) Method

    public void setAttribute(String name,
                             String value)
         throws JspException

Set an attribute value. The `name` represents the name of the attribute. The `value` represents the value and may contain a netui expression. This method may result in errors being generated. This requires that the tag buffer its body and write attributes in the end tag. For the hidden tag it is not legal to set the `id`, `name`, `type`, or `value` attributes with this method.

#### Parameters

name
  The name of the attribute. This value may not be null or the empty string.

value
  The value of the attribute. This may contain a netui expression.

#### Exceptions

``JspException``
  A JspException may be thrown if there is an error setting the attribute.

### setDataInput(String) Method

    public void setDataInput(String dataInput)

Set the data input. This value will override the `dataSource` and provide the input value on the select box.

#### Parameters

dataInput
  the value of the input to the page. This value may contain an expression.

### setTabindex(String) Method

    public void setTabindex(String tabindex)

Sets the tabIndex of the rendered html tag.

#### Parameters

tabindex
  - the tab index.

### setTagId(String) Method

    public void setTagId(String tagId)

Set the ID of the hidden.

#### Parameters

tagId
  - the ID.

``