writer.writeAttribute(HtmlAttributes.TYPE, "radio", false);
writer.writeClassAttribute();
if (item.getValue().equals(value)) {
writer.writeAttribute(HtmlAttributes.CHECKED, "checked", false);
}
writer.writeNameAttribute(clientId);
writer.writeIdAttribute(id);
String formattedValue = RenderUtil.getFormattedValue(facesContext, selectOne, item.getValue());
writer.writeAttribute(HtmlAttributes.VALUE, formattedValue, true);
writer.writeAttribute(HtmlAttributes.DISABLED, item.isDisabled());