114115116117118119120121122123124
select.setValueEncoder(new StringValueEncoder()); select.setValue("barney"); MarkupWriter writer = new MarkupWriterImpl(new XMLMarkupModel()); writer.element("select"); select.options(writer); writer.end();
139140141142143144145146147148149
166167168169170171172173174175176
select.setValueEncoder(new StringValueEncoder()); select.setValue("Fred"); MarkupWriter writer = new MarkupWriterImpl(new XMLMarkupModel()); writer.element("select"); select.options(writer); writer.end();
190191192193194195196197198199200
216217218219220221222223224225226