FileDocCategorySizeDatePackage
Hidden.javaAPI DocExample2295Mon Jul 23 13:26:36 BST 2007org.apache.struts2.components

Hidden

public class Hidden extends UIBean
Renders an HTML input element of type hidden, populated by the specified property from the ValueStack.

Examples


<-- example one -->
<s:hidden name="foo" />
<-- example two -->
<s:hidden name="foo" value="bar" />

Example One Resulting HTML (if foo evaluates to bar):
<input type="hidden" name="foo" value="bar" />
Example Two Resulting HTML (if getBar method of the action returns 'bar')
<input type="hidden" name="foo" value="bar" />

Fields Summary
public static final String
TEMPLATE
Constructors Summary
public Hidden(com.opensymphony.xwork2.util.ValueStack stack, HttpServletRequest request, HttpServletResponse response)


           
        super(stack, request, response);
    
Methods Summary
protected java.lang.StringgetDefaultTemplate()

        return TEMPLATE;