submitData("");
submitData(getFormData()); else if (type.equals("reset")) resetForm();
  public void actionPerformed(ActionEvent ev)  {    Element el = getElement();    Object tag = el.getAttributes().getAttribute(StyleConstants.NameAttribute);    if (tag.equals(HTML.Tag.INPUT))      {        AttributeSet atts = el.getAttributes();        String type = (String) atts.getAttribute(HTML.Attribute.TYPE);        if (type.equals("submit"))          submitData(""); // FIXME: How to fetch the actual form data?      }    // FIXME: Implement the remaining actions.  }