01: /*
02: * @author <a href="mailto:novotny@gridsphere.org">Jason Novotny</a>
03: * @version $Id: HiddenFieldBean.java 6385 2007-10-25 14:02:26Z wehrens $
04: */
05: package org.gridsphere.provider.portletui.beans;
06:
07: /**
08: * A <code>HiddenFieldBean</code> represents a hidden field element
09: */
10: public class HiddenFieldBean extends TextFieldBean {
11:
12: /**
13: * Constructs a default hidden field bean
14: */
15: public HiddenFieldBean() {
16: this .vbName = TagBean.HIDDENFIELD_NAME;
17: }
18:
19: /**
20: * Constructs a hidden field bean with the supplied bean identifier
21: *
22: * @param beanId the bean identifier
23: */
24: public HiddenFieldBean(String beanId) {
25: super (TagBean.HIDDENFIELD_NAME, beanId);
26: }
27:
28: public String toStartString() {
29: this .inputtype = "hidden";
30: return super.toStartString();
31: }
32:
33: }
|