code: private void addFieldToLayout(final WComponent input, final String labelText,
  			final String labelHint) {
  		WField field = layout.addField(labelText, input);
  
  		if (labelHint != null) {
  			field.getLabel().setHint(labelHint);
  		}
  	}
docs: Adds a field to the example's layout.
  
  @param input the input field to add.
  @param labelText the label text for the field.
  @param labelHint the optional label hint for the field.