ERXPatcher.setClassForName(ERXWOFileUpload.class, "WOFileUpload");
    public void installPatches() {        EOModelGroup.setClassDelegate(this);        ERXPatcher.installPatches();        if(contextClassName().equals("WOContext"))            setContextClassName("er.extensions.ERXWOContext");        if(contextClassName().equals("WOServletContext")           || contextClassName().equals("com.webobjects.appserver.jspservlet.WOServletContext"))            setContextClassName("er.extensions.ERXWOServletContext");                ERXPatcher.setClassForName(ERXWOForm.class, "WOForm");        ERXPatcher.setClassForName(ERXAnyField.class, "WOAnyField");        ERXPatcher.setClassForName(ERXWORepetition.class, "WORepetition");                // use our localizing string class        // works around #3574558          if(ERXLocalizer.isLocalizationEnabled()) {            ERXPatcher.setClassForName(ERXWOString.class, "WOString");            ERXPatcher.setClassForName(ERXWOTextField.class, "WOTextField");        }                //ERXPatcher.setClassForName(ERXSubmitButton.class, "WOSubmitButton");        // Fix for 3190479 URI encoding should always be UTF8        // See http://www.w3.org/International/O-URL-code.html        // For WO 5.1.x users, please comment this statement to compile.        com.webobjects.appserver._private.WOURLEncoder.WO_URL_ENCODING = "UTF8";                // WO 5.1 specific patches        if (ERXProperties.webObjectsVersionAsDouble() < 5.2d) {            // ERXWOText contains a patch for WOText to not include the value             // attribute (#2948062). Fixed in WO 5.2            ERXPatcher.setClassForName(ERXWOText.class, "WOText");         }        // ERXWOFileUpload returns a better warning than throwing a ClassCastException.         // Fixed in WO 5.2        ERXPatcher.setClassForName(ERXWOFileUpload.class, "WOFileUpload");   }