@@ -0,0 +1,1285 @@
+package org.jboss.as.console.client.widgets.forms;%0A%0Aimport com.google.gwt.user.client.ui.PasswordTextBox;%0Aimport com.google.gwt.user.client.ui.Widget;%0A%0A/**%0A * @author Heiko Braun%0A * @date 2/21/11%0A */%0Apublic class PasswordBoxItem extends FormItem%3CString%3E %7B%0A%0A    private PasswordTextBox textBox;%0A    private InputElementWrapper wrapper;%0A%0A    public PasswordBoxItem(String name, String title) %7B%0A        super(name, title);%0A%0A        textBox = new PasswordTextBox();%0A        textBox.setName(name);%0A        textBox.setTitle(title);%0A%0A        wrapper = new InputElementWrapper(textBox, this);%0A    %7D%0A%0A    @Override%0A    public Widget asWidget() %7B%0A        return wrapper;%0A    %7D%0A%0A    @Override%0A    public String getValue() %7B%0A        return textBox.getValue();%0A    %7D%0A%0A    @Override%0A    public void setValue(String value) %7B%0A        textBox.setValue(value);%0A    %7D%0A%0A    @Override%0A    public void setEnabled(boolean b) %7B%0A        textBox.setEnabled(b);%0A    %7D%0A%0A    @Override%0A    public void setErroneous(boolean b) %7B%0A        super.setErroneous(b);%0A        wrapper.setErroneous(b);%0A%0A    %7D%0A%0A    @Override%0A    public boolean validate(String value) %7B%0A        if(isRequired() && value.equals(%22%22))%0A        %7B%0A            return false;%0A        %7D%0A        else%0A        %7B%0A            return true;%0A        %7D%0A    %7D%0A%7D%0A

Add PasswordtextBox form item