code: protected AjaxButton newNoButton(final String id)
  	{
  		final AjaxButton ajaxButton = new AjaxButton(id)
  		{
  			/**
  			 * The serialVersionUID.
  			 */
  			private static final long serialVersionUID = 1L;
  
  			@Override
  			protected void onError(final AjaxRequestTarget target, final Form<?> form)
  			{
  				onNo(target, form, true);
  			}
  
  			@Override
  			protected void onSubmit(final AjaxRequestTarget target, final Form<?> form)
  			{
  				onNo(target, form, false);
  			}
  		};
  		final IModel<String> noLabelModel = ResourceModelFactory.newResourceModel(
  			ResourceBundleKey.builder().key("global.no.label").defaultValue("No").build(), this);
  		ajaxButton.add(newLabel("noLabel", noLabelModel));
  		return ajaxButton;
  	}
docs: Factory method for creating a new no {@link AjaxButton}. This method is invoked in the
  constructor from the derived classes and can be overridden so users can provide their own
  version of a no {@link AjaxButton}.
  
  @param id
  the id
  @return the new {@link AjaxButton}