public class ListboxSelect implements ComponentRenderer {
public void render(Component comp, Writer out) throws IOException {
final SmartWriter wh = new SmartWriter(out);
final Listbox self = (Listbox)comp;
final String uuid = self.getUuid();
<BUG>wh.write("<select id=\"").write(uuid).write("\" z.type=\"zul.sel.Lisel\"").write(self.getOuterAttrs()).write(self.getInnerAttrs()).writeln(">");
for (Iterator it = self.getItems().iterator(); it.hasNext();) {</BUG>
final Listitem item = (Listitem)it.next();
<BUG>wh.write("<option id=\"").write(item.getUuid()).write("\"").write(item.getOuterAttrs()).write(item.getInnerAttrs()).writeln(">");
new Out(item.getLabel()).setMaxlength(self.getMaxlength()).render(out);
wh.write("</option>");
</BUG>
}

public class ListboxSelect implements ComponentRenderer {
public void render(Component comp, Writer out) throws IOException {
final SmartWriter wh = new SmartWriter(out);
final Listbox self = (Listbox)comp;
final String uuid = self.getUuid();
wh.write("<select id=\"").write(uuid).write("\" z.type=\"zul.sel.Lisel\"")
.write(self.getOuterAttrs()).write(self.getInnerAttrs()).writeln(">");
for (Iterator it = self.getItems().iterator(); it.hasNext();) {
final Listitem item = (Listitem)it.next();
wh.write("<option id=\"").write(item.getUuid()).write("\"")
.write(item.getOuterAttrs()).write(item.getInnerAttrs()).write(">");
new Out(item.getLabel()).setMaxlength(self.getMaxlength()).render(out);
wh.writeln("</option>");
}
