public void renderOption(OptionItem option, PrintWriter writer, boolean enabled) { new TagWriter(writer) .start("option") .attribute("id", option.getId()) .attribute("class", option.getStyleClass()) .attribute("value", option.getIndex()) .attribute("selected", option.isSelected()) .body(FormatUtils.stripTags(option.getLabel())) .end(); }