// This renders the select controls alongwith javascript onchange handler.
UIXRenderingContext rCtx = getRenderingContext(context, component);
String compId = component.getClientId(context);
URLEncoder encoder = rCtx.getURLEncoder();
ResponseWriter out = context.getResponseWriter();
// draw table to contain the select UI control
out.startElement("table", component);
out.writeAttribute("id", compId + _RADIO_TABLE_SUFFIEX_ID_CONST, null);
out.writeAttribute("border", "0", null);
out.writeAttribute("cellspacing", "0", null);
out.writeAttribute("cellpadding", "0", null);
if (!XhtmlLafRenderer.isInaccessibleMode(rCtx))
{
out.writeAttribute("summary", "", null);
}
out.startElement("tr", component);
String label = (String)component.getAttributes().get("label");
out.startElement("td", component);
out.writeAttribute("align", "left", null);
out.writeAttribute("nowrap", Boolean.TRUE, null);
out.startElement("span", component);
XhtmlLafRenderer.
renderStyleClassAttribute(rCtx,
SkinSelectors.AF_LABEL_TEXT_STYLE_CLASS);
out.writeText(encoder.encodeParameter(label), null);
out.endElement("span");
out.endElement("td");
// Render filler / separator between label and select control