code: private void addAjaxExample() {
  		add(new WHeading(HeadingLevel.H2, "Confirm as ajax trigger"));
  		final String before = "Before";
  		final String after = "After";
  		final WText ajaxContent = new WText("Before");
  		final WPanel target = new WPanel(WPanel.Type.BOX);
  
  		add(target);
  		target.add(ajaxContent);
  
  		WButton confirmWithAjax = new WButton("Replace");
  		confirmWithAjax.setMessage("Are you sure?");
  		confirmWithAjax.setAction(new Action() {
  			@Override
  			public void execute(final ActionEvent event) {
  				ajaxContent.setText(before.equals(ajaxContent.getText()) ? after : before);
  			}
  		});
  		add(confirmWithAjax);
  		add(new WAjaxControl(confirmWithAjax, target));
  	}
docs: This is used to reproduce a WComponents bug condition to make sure we do not re-create it once it is fixed.
  See https://github.com/BorderTech/wcomponents/issues/1266.