/** * do the button Action * @param x - x coordinate * @param y - y coordinate */ protected void doButtonAction(int x,int y) throws IOException, SAXException { getForm().doFormSubmit( this ,x,y); }
/** * do the button Action * @param x - x coordinate * @param y - y coordinate */ protected void doButtonAction(int x,int y) throws IOException, SAXException { getForm().doFormSubmit( this ,x,y); }
/** * do the button Action * @param x - x coordinate * @param y - y coordinate */ protected void doButtonAction(int x,int y) throws IOException, SAXException { getForm().doFormSubmit( this ,x,y); }
/** * Submits this form using the web client from which it was originally obtained. * Will usually return the result of that submission; however, if the submit button's 'onclick' * or the form's 'onsubmit' event is triggered and * inhibits the submission, will return the updated contents of the frame containing this form. * @since 1.6 **/ public WebResponse submit( SubmitButton button, int x, int y ) throws IOException, SAXException { WebResponse result=null; if (button==null || button.doOnClickSequence(x, y)) { result= doFormSubmit( button, x, y ); } else { result=getCurrentFrameContents(); } return result; }
/** * Submits this form using the web client from which it was originally obtained. * Will usually return the result of that submission; however, if the submit button's 'onclick' * or the form's 'onsubmit' event is triggered and * inhibits the submission, will return the updated contents of the frame containing this form. * @since 1.6 **/ public WebResponse submit( SubmitButton button, int x, int y ) throws IOException, SAXException { WebResponse result=null; if (button==null || button.doOnClickSequence(x, y)) { result= doFormSubmit( button, x, y ); } else { result=getCurrentFrameContents(); } return result; }