code: protected Button newSubmitButton(final String id, final Form<?> form)
  	{
  		final Button button = new AjaxFallbackButton(id, form)
  		{
  			/**
  			 * The serialVersionUID
  			 */
  			private static final long serialVersionUID = 1L;
  
  			/**
  			 * {@inheritDoc}
  			 */
  			@Override
  			protected void onError(final AjaxRequestTarget target, final Form<?> form)
  			{
  				BeanEditorPanel.this.onSubmit(target, form);
  			}
  
  			/**
  			 * {@inheritDoc}
  			 */
  			@Override
  			protected void onSubmit(final AjaxRequestTarget target, final Form<?> form)
  			{
  				BeanEditorPanel.this.onSubmit(target, form);
  			}
  		};
  		return button;
  	}
docs: Factory method for creating the Button. This method is invoked in the constructor from the
  derived classes and can be overridden so users can provide their own version of a Button.
  
  @param id
  the id
  @param form
  the form
  @return the Button