device.write(__cellrenderer_n);
device.print("<!--cellrenderer==null, use toString-->");
    protected void writeFormComboBox(Device device, SComboBox component) throws IOException {        device.write(__select_size_1);        org.wings.plaf.Utils.optAttribute(device, "name", Utils.event(component));        org.wings.plaf.Utils.optAttribute(device, "tabindex", component.getFocusTraversalIndex());        org.wings.plaf.Utils.optAttribute(device, "focus", component.getName());        Utils.innerPreferredSize(device, component.getPreferredSize());        if (!component.isEnabled()) {            device.write(__disabled_1);        }        component.removeScriptListener(submitListener);        if (component.getActionListeners().length > 0) {            component.addScriptListener(submitListener);        }        Utils.writeEvents(device, component);        device.write(__);        javax.swing.ComboBoxModel model = component.getModel();        int size = model.getSize();        int selected = component.getSelectedIndex();        SListCellRenderer renderer = component.getRenderer();        for (int i = 0; i < size; i++) {            SComponent cellRenderer = null;            if (renderer != null) {                cellRenderer = renderer.getListCellRendererComponent(component, model.getElementAt(i), false, i);            } else {                device.write(__renderer_null);            }            device.write(__option);            org.wings.plaf.Utils.optAttribute(device, "value", component.getSelectionParameter(i));            if (selected == i) {                device.write(__selected_selec);            }            if (cellRenderer != null) {                if (cellRenderer.getToolTipText() != null) {                    device.write(__title);                    org.wings.plaf.Utils.write(device, cellRenderer.getToolTipText());                    device.write(___1);                }                org.wings.io.StringBufferDevice stringBufferDevice = getStringBufferDevice();                org.wings.plaf.xhtml.Utils.writeAttributes(stringBufferDevice, cellRenderer);                String styleString = stringBufferDevice.toString();                if (styleString != null && styleString.length() > 0) {                    device.write(__style);                    org.wings.plaf.Utils.write(device, styleString);                    device.write(___1);                }            }            device.write(__);            if (cellRenderer != null) {                // Hack: remove all tags, because in form selections, looks ugly.                org.wings.io.StringBufferDevice string = getStringBufferDevice();                cellRenderer.write(string);                char[] chars = string.toString().toCharArray();                int pos = 0;                for (int c = 0; c < chars.length; c++) {                    switch (chars[c]) {                        case '<':                            device.print(chars, pos, c - pos);                            break;                        case '>':                            pos = c + 1;                    }                }                device.print(chars, pos, chars.length - pos);            } else {                device.write(__cellrenderer_n);                device.print(model.getElementAt(i).toString());            }            device.write(__option_1);        }        device.write(__select);        // util method        device.write(__input_type_hid);        org.wings.plaf.Utils.optAttribute(device, "name", Utils.event(component));        org.wings.plaf.Utils.optAttribute(device, "value", -1);        device.write(___2);    }