All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sitemesh.grails.plugins.sitemesh3.UrlMappings.groovy Maven / Gradle / Ivy

Go to download

SiteMesh is a web-page layout and decoration framework and web- application integration framework to aid in creating sites consisting of many pages for which a consistent look/feel, navigation and layout scheme is required.

The newest version!
package org.sitemesh.grails.plugins.sitemesh3

class UrlMappings {
    static mappings = {
        "/$controller/$action?/$id?(.$format)?"{}
        "/"(view:"/index")
        "/index(.$format)?"(view:"/index")
        "500"(view:'/error')
// The following works when the exception originates from a view, but not from a controller.
//        "500"(controller: 'demo', action:'error500')
        "404"(view:'/notFound')
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy