/** * Specifies the click position for the submit button. When a user clioks on an image button, not only the name * and value of the button, but also the position of the mouse at the time of the click is submitted with the form. * This method allows the caller to override the position selected when this request was created. * * @exception IllegalRequestParameterException thrown if the request was not created from a form with an image button. **/ public void setImageButtonClickPosition( int x, int y ) throws IllegalRequestParameterException { if (_button == null) throw new IllegalButtonPositionException(); _parameterHolder.selectImageButtonPosition( _button, x, y ); }
/** * Specifies the click position for the submit button. When a user clioks on an image button, not only the name * and value of the button, but also the position of the mouse at the time of the click is submitted with the form. * This method allows the caller to override the position selected when this request was created. * * @exception IllegalRequestParameterException thrown if the request was not created from a form with an image button. **/ public void setImageButtonClickPosition( int x, int y ) throws IllegalRequestParameterException { if (_button == null) throw new IllegalButtonPositionException(); _parameterHolder.selectImageButtonPosition( _button, x, y ); }
/** * Specifies the click position for the submit button. When a user clioks on an image button, not only the name * and value of the button, but also the position of the mouse at the time of the click is submitted with the form. * This method allows the caller to override the position selected when this request was created. * * @exception IllegalRequestParameterException thrown if the request was not created from a form with an image button. **/ public void setImageButtonClickPosition( int x, int y ) throws IllegalRequestParameterException { if (_button == null) throw new IllegalButtonPositionException(); _parameterHolder.selectImageButtonPosition( _button, x, y ); }
/** * Constructs a web request from a form. * @param sourceForm - the WebForm to startFrom * @param parameterHolder - the parameter holder * @param button - the submit button * @param x - x position * @param y - y position **/ protected WebRequest( WebForm sourceForm, ParameterHolder parameterHolder, SubmitButton button, int x, int y ) { this( sourceForm, parameterHolder ); // [ 1443333 ] Allow unnamed Image input elements to submit x,y values if (button != null && button.isValidImageButton() ) { _button = button; _parameterHolder.selectImageButtonPosition( _button, x, y ); } }
/** * Constructs a web request from a form. * @param sourceForm - the WebForm to startFrom * @param parameterHolder - the parameter holder * @param button - the submit button * @param x - x position * @param y - y position **/ protected WebRequest( WebForm sourceForm, ParameterHolder parameterHolder, SubmitButton button, int x, int y ) { this( sourceForm, parameterHolder ); // [ 1443333 ] Allow unnamed Image input elements to submit x,y values if (button != null && button.isValidImageButton() ) { _button = button; _parameterHolder.selectImageButtonPosition( _button, x, y ); } }
/** * Constructs a web request from a form. * @param sourceForm - the WebForm to startFrom * @param parameterHolder - the parameter holder * @param button - the submit button * @param x - x position * @param y - y position **/ protected WebRequest( WebForm sourceForm, ParameterHolder parameterHolder, SubmitButton button, int x, int y ) { this( sourceForm, parameterHolder ); // [ 1443333 ] Allow unnamed Image input elements to submit x,y values if (button != null && button.isValidImageButton() ) { _button = button; _parameterHolder.selectImageButtonPosition( _button, x, y ); } }