Skip to content

GRAILS-2273: Main Layout by Convention #1159

Closed

Description

@graemerocher

Original Reporter: mjgallag
Environment: Not Specified
Version: 1.0-RC4
Migrated From: http://jira.grails.org/browse/GRAILS-2273

I think it would be nice to be able to select a main (master) layout for a grails application by convention rather then having to include in all of the app’s gsps. Seems to make the most sense to make main.gsp that convention.

Siegfried Puchbauer:
A config option would be ideal IMO….
grails.views.default.layout = ‘main’

http://www.nabble.com/Main-Layout-by-Convention—-Suggested-Feature-td15077285.html

Activity

  1. graemerocher commented on Dec 4, 2008

    @graemerocher
    ContributorAuthor

    robertfischer said:
    Isn’t this a duplicate of GRAILS-1640?

  2. self-assigned this
    on May 27, 2015
  3. added a commit that references this issue on Aug 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions