@Override
  public Widget render(RadioGroupField renderable) {
    VerticalPanel group = new VerticalPanel();
    Map<String, Object> options = (Map<String, Object>) renderable.getOptions();
    for (Map.Entry<String, Object> entry : options.entrySet()) {
      group.add(this.buildButton(renderable, entry));
    }

    this.applyDecorators(renderable, group);

    return group;
  }
  protected Widget buildButton(RadioGroupField<?> renderable, final Map.Entry<String, ?> entry) {
    RadioButton button =
        new RadioButton(
            renderable.getName(),
            new SafeHtml() {
              @Override
              public String asString() {
                return entry.getKey();
              }
            });

    button.setText(entry.getValue() == null ? "" : String.valueOf(entry.getValue()));
    this.buildAttributes(button, renderable);
    return button;
  }