code: private WFieldSet getButtonControls(final WValidationErrors errors) {
  		// Options Layout
  		WFieldSet fieldSet = new WFieldSet("Button configuration");
  		WFieldLayout layout = new WFieldLayout();
  		layout.setLabelWidth(30);
  
  		layout.addField("Text", tfButtonLabel);
  		layout.addField("AccessKey", tfAccesskey);
  		layout.addField("Render as link", cbRenderAsLink);
  		layout.addField("Disabled", cbDisabled);
  		layout.addField("setImage ('/image/pencil.png')", cbSetImage);
  		layout.addField("Image Position", ddImagePosition);
  
  		// Apply Button
  		WButton apply = new WButton("Apply");
  		apply.setAction(new ValidatingAction(errors, fieldSet) {
  			@Override
  			public void executeOnValid(final ActionEvent event) {
  				applySettings();
  			}
  		});
  
  		fieldSet.add(layout);
  		fieldSet.add(apply);
  		return fieldSet;
  	}
docs: build the button controls field set.
  
  @param errors the error pane from the page.
  @return a field set for the controls.