ResponseWriter out = context.getResponseWriter();
renderInputField(out, text, getTextId(component, context), component);
// render hidden input field containing the user's choice
HtmlInputHidden hiddenChoice = new HtmlInputHidden();
hiddenChoice.setId(getChoiceId(component, context));
hiddenChoice.setValue(value);
hiddenChoice.getAttributes().put(JSFAttr.FORCE_ID_ATTR, Boolean.TRUE);
/** @todo use new encode recursive helper method once available */
hiddenChoice.encodeBegin(context);
hiddenChoice.encodeEnd(context);
encodeSuggestions(context, out, choices,
getSuggestionsId(component, context), component);
encodeStyles(component, context);
encodeJavascript(component, context);