Package grails.web

Examples of grails.web.CamelCaseUrlConverter


        }
        if(applicationContext != null && applicationContext.containsBean(UrlConverter.BEAN_NAME)) {
            urlConverter = applicationContext.getBean(UrlConverter.BEAN_NAME, UrlConverter.class);
        }
        else {
            urlConverter = new CamelCaseUrlConverter();
        }
    }
View Full Code Here


    private static UrlConverter locateUrlConverter(final GrailsWebRequest webRequest) {
        UrlConverter urlConverter = null;
        try {
            urlConverter = webRequest.getAttributes().getApplicationContext().getBean("grailsUrlConverter", UrlConverter.class);
        } catch (NoSuchBeanDefinitionException e) {
            urlConverter = new CamelCaseUrlConverter();
        }
        return urlConverter;
    }
View Full Code Here

TOP

Related Classes of grails.web.CamelCaseUrlConverter

Copyright © 2018 www.massapicom. 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.