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