/*
 * @author <a href="mailto:novotny@aei.mpg.de">Jason Novotny</a>
 * @version $Id$
 */
package org.gridlab.gridsphere.provider.portletui.beans;

import javax.servlet.http.HttpServletRequest;
import javax.portlet.PortletRequest;

/**
 * A <code>HiddenFieldBean</code> represents a hidden field element
 */
public class HiddenFieldBean extends TextFieldBean {

    public static final String NAME = "hf";

    /**
     * Constructs a default hidden field bean
     */
    public HiddenFieldBean() {
        super(NAME);
    }

    /**
     * Constructs a hidden field bean with the supplied bean identifier
     *
     * @param beanId the bean identifier
     */
    public HiddenFieldBean(String beanId) {
        super(NAME);
        this.beanId = beanId;
    }

    public String toStartString() {
        this.inputtype = "hidden";
        return super.toStartString();
    }

}

@@ -496,35 +496,42 @@
 ) %7B%0A        
-super(
+this.vbName = 
 NAME
-)
 ;%0A    %7D%0A%0A   
@@ -729,39 +729,17 @@
 NAME
-);%0A        this.beanId =
+,
  beanId
+)
 ;%0A  

sam fix as password bean