</BUG>
String selected)
{
Object objectValue = renderer.getDisplayValue(choice);
<BUG>Class objectClass = objectValue == null?null:objectValue.getClass();

final String displayValue = getConverter(objectClass).convertToString(

objectValue, getLocale());
buffer.append("\n<option ");</BUG>
if (isSelected(choice, index, selected))

appendOptionHtml(buffer, choice, index, selected);
}
buffer.append("\n");
replaceComponentTagBody(markupStream, openTag, buffer);
}
protected void appendOptionHtml(AppendingStringBuffer buffer, E choice, int index,
String selected)
{
Object objectValue = renderer.getDisplayValue(choice);
Class objectClass = objectValue == null ? null : objectValue.getClass();
final String displayValue = getConverter(objectClass).convertToString(objectValue,
getLocale());
buffer.append("\n<option ");
if (isSelected(choice, index, selected))
