protected void imageSubmit(String imageData){
  StringBuilder dataBuffer=new StringBuilder();
  Element elem=getElement();
  HTMLDocument hdoc=(HTMLDocument)elem.getDocument();
  getFormData(dataBuffer);
  if (dataBuffer.length() > 0) {
    dataBuffer.append('&');
  }
  dataBuffer.append(imageData);
  submitData(dataBuffer.toString());
  return;
}

protected void imageSubmit ( String imageData ) { StringBuilder dataBuffer = new StringBuilder ( ) ; Element elem = getElement ( ) ; HTMLDocument hdoc = ( HTMLDocument ) elem . getDocument ( ) ; getFormData ( dataBuffer ) ; if ( dataBuffer . length ( ) > 0 ) { dataBuffer . append ( '&' ) ; } dataBuffer . append ( imageData ) ; submitData ( dataBuffer . toString ( ) ) ; return ; }
this method is called to submit a form in response to a click on an image - - an & lt ; input & gt ; form element of type " image " .
