org.wings.plaf.Utils.write(device, popupId);
Utils.write(device, popupId);
    protected void writeItem(final Device device, SMenuItem menu)            throws IOException {        boolean hasParent = menu.getParentMenu() != null;        String parentId = hasParent ? "'" + menu.getParentMenu().getName() + "_pop'" : "null";        String componentId = menu.getName();        String popupId = componentId + "_pop";        String hookId = componentId + "_hook";        // parent, hook, menu        if (menu.isEnabled() && !hasParent) {            device.print("<span onClick=\"Menu.prototype.toggle(");            org.wings.plaf.Utils.write(device, parentId);            device.print(",'");            org.wings.plaf.Utils.write(device, hookId);            device.print("','");            org.wings.plaf.Utils.write(device, popupId);            device.print("')\" id=\"");            org.wings.plaf.Utils.write(device, componentId);            device.print("\">");        }        writeItemContent(device, menu);        if (menu.isEnabled() && !hasParent) {            device.print("</span>");        }    }