super.text(elem);
writingContent = false;
}
protected void selectContent(final AttributeSet attr) throws IOException {
FormSelectModel model =
(FormSelectModel)attr.getAttribute(StyleConstants.ModelAttribute);
incrIndent();
for (int i = 0; i < model.getOptionCount(); i++) {
if (model.getOption(i) instanceof FormOptionGroup) {
startOptionGroup(model.getOption(i));
} else {
writeOption(model.getOption(i));
}
}
endOptionGroup();
decrIndent();
}