/*
 * @(#)HiddenField.java
 *
 * Copyright 2000-2002 by Oracle Corporation,
 * 500 Oracle Parkway, Redwood Shores, California, 94065, U.S.A.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of Oracle Corporation.
 */

package oracle.jdeveloper.html;

import oracle.jbo.Row;

/**
 *
 *	Represents a hidden form field renderer.
 *
 * @author  Juan Oropeza
 * @version PUBLIC
 *
 **/
public class HiddenField extends TextField
{
   public HiddenField()
   {
   }

   public String renderToString(Row row)
   {
      setValueFromRow(row);

      HTMLInputElement input = new HTMLInputElement();
     
      input.setType("HIDDEN");
      input.setHtmlAttributes(htmlAttributes);
      
      return input.getAsString();
   }
}

 