org.wings.plaf.Utils.optAttribute(device, "tabindex", component.getFocusTraversalIndex());
Utils.optAttribute(device, "tabindex", component.getFocusTraversalIndex());
    public void writeContent(final Device device,                             final SComponent _c)            throws IOException {        final SFileChooser component = (SFileChooser) _c;        int columns = component.getColumns();        /*        * for some wierd reason, the 'maxlength' column contains the        * maximum content length .. see RFC1867.        * .. anyway, all browsers seem to ignore it or worse, render the        * file upload unusable (konqueror 2.2.2).        */        //int maxContent = component.getSession().getMaxContentLength()*1024;        // maxLength = maxContent removed, since it does not work.        device.print("<input type=\"file\"");        Utils.printCSSInlinePreferredSize(device, component.getPreferredSize());        org.wings.plaf.Utils.optAttribute(device, "size", columns);        org.wings.plaf.Utils.optAttribute(device, "accept", component.getFileNameFilter());        if (component.isEnabled()) {            device.print(" name=\"");            org.wings.plaf.Utils.write(device, Utils.event(component));            device.print("\"");            device.print(" id=\"");            org.wings.plaf.Utils.write(device, component.getName());            device.print("\"");        }        else            device.print(" readonly=\"true\"");        if (component.isFocusOwner())            org.wings.plaf.Utils.optAttribute(device, "focus", component.getName());        org.wings.plaf.Utils.optAttribute(device, "tabindex", component.getFocusTraversalIndex());        Utils.writeEvents(device, component);        device.print("/>");    }