device .print("\">\n");
device.print("\">");
    protected void writePrefix(Device device, SComponent component) throws IOException {        device                .print("<div id=\"")                .print(component.getName())                .print("\" class=\"")                .print(component.getStyle());        if (component instanceof LowLevelEventListener) {            LowLevelEventListener lowLevelEventListener = (LowLevelEventListener) component;            device.print("\" event=\"")                    .print(lowLevelEventListener.getEncodedLowLevelEventId());        }        Utils.printCSSInlinePreferredSize(device, component.getPreferredSize());        String toolTip = component.getToolTipText();        if (toolTip != null)            device.print("\" onmouseover=\"return makeTrue(domTT_activate(this, event, 'content', '")                    .print(toolTip)                    .print("', 'predefined', 'default'));");        InputMap inputMap = component.getInputMap();        if (inputMap != null && !(inputMap instanceof VersionedInputMap)) {            log.debug("inputMap = " + inputMap);            inputMap = new VersionedInputMap(inputMap);            component.setInputMap(inputMap);        }        if (inputMap != null) {            VersionedInputMap versionedInputMap = (VersionedInputMap) inputMap;            Integer inputMapVersion = (Integer) component.getClientProperty("inputMapVersion");            if (inputMapVersion == null || versionedInputMap.getVersion() != inputMapVersion.intValue()) {                log.debug("inputMapVersion = " + inputMapVersion);                InputMapScriptListener.install(component);                component.putClientProperty("inputMapVersion", new Integer(versionedInputMap.getVersion()));            }        }        SPopupMenu menu = component.getComponentPopupMenu();        if (menu != null) {            String componentId = menu.getName();            String popupId = componentId + "_pop";            String hookId = component.getName();            device.print("\" onclick=\"Menu.prototype.toggle(null,'");            org.wings.plaf.Utils.write(device, hookId);            device.print("','");            org.wings.plaf.Utils.write(device, popupId);            device.print("')");        }        device                .print("\">\n");        // Special handling: Render title of STitledBorder        if (component.getBorder() instanceof STitledBorder) {            STitledBorder titledBorder = (STitledBorder) component.getBorder();            device.print("<div class=\"legend\" style=\"");            titledBorder.getTitleAttributes().write(device);            device.print("\">");            device.print(titledBorder.getTitle());            device.print("</div>");        }        component.fireRenderEvent(SComponent.START_RENDERING);    }