Package er.extensions.appserver

Examples of er.extensions.appserver.ERXBrowser.majorVersion()


        // fix for IE < 9 that deactivates the standard submit routine of the form and
        // triggers the onClick handler of this submit element instead if the return key
        // is pressed within a textfield, radiobutton, checkbox or select
        ERXBrowser browser = ERXBrowserFactory.factory().browserMatchingRequest(context.request());
        if (browser.isIE() && browser.majorVersion().compareTo(Integer.valueOf(9)) < 0) {
            if (!hasBinding("formName")) {
                formName = ERXWOForm.formName(context, "");
            }
            AjaxUtils.appendScriptHeader(response);
            response.appendContentString("\nEvent.observe(document." + formName + ", 'keypress', function(e){");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.