Grails
  1. Grails
  2. GRAILS-3406 Top level task: Controller Improvements
  3. GRAILS-1243

Improve support for Controllers to be placed in sub-folders/packages.

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.3, 0.4
    • Fix Version/s: 2.2
    • Component/s: Controllers
    • Labels:
      None

      Description

      Add support for placing controllers in sub-folders/packages within the controllers folder so you can keep related controllers together, create more structured urls and make path based url security easier?

      For example:

      \grails-app\controllers\SiteController.groovy -> http://localhost:8080/sample/site
      \grails-app\controllers\admin\UserController.groovy -> http://localhost:8080/sample/admin/user
      \grails-app\controllers\admin\RoleController.groovy -> http://localhost:8080/sample/admin/role

      And views would obviously have to follow the package structure of their controller:

      \grails-app\views\admin\user\show.gsp

        Issue Links

          Activity

          Victor Volle created issue -
          Victor Volle made changes -
          Field Original Value New Value
          Link This issue is related to GRAILS-376 [ GRAILS-376 ]
          Victor Volle made changes -
          Link This issue relates to GRAILS-376 [ GRAILS-376 ]
          Graeme Rocher made changes -
          Fix Version/s 0.5.5-RC1 [ 13431 ]
          Fix Version/s 0.5.5-RC2 [ 13541 ]
          Graeme Rocher made changes -
          Fix Version/s 0.5.5 [ 13541 ]
          Fix Version/s 0.6 [ 12699 ]
          Graeme Rocher made changes -
          Fix Version/s 1.0-RC1 [ 13341 ]
          Fix Version/s 0.6 [ 12699 ]
          Graeme Rocher made changes -
          Fix Version/s 1.0-RC1 [ 13341 ]
          Fix Version/s 1.1 [ 13674 ]
          Graeme Rocher made changes -
          Parent GRAILS-3406 [ 73800 ]
          Issue Type Improvement [ 4 ] Sub-task [ 7 ]
          Graeme Rocher made changes -
          Fix Version/s 1.1-beta2 [ 14752 ]
          Fix Version/s 1.1-beta1 [ 13674 ]
          Graeme Rocher made changes -
          Priority Major [ 3 ] Minor [ 4 ]
          Graeme Rocher made changes -
          Fix Version/s 1.1-beta3 [ 14824 ]
          Fix Version/s 1.1-beta2 [ 14752 ]
          Graeme Rocher made changes -
          Fix Version/s 1.1-beta3 [ 14824 ]
          Fix Version/s 1.1-RC1 [ 14929 ]
          Graeme Rocher made changes -
          Fix Version/s 1.1-RC1 [ 14929 ]
          Fix Version/s 1.2 [ 14155 ]
          Graeme Rocher made changes -
          Fix Version/s 1.2-M1 [ 14155 ]
          Fix Version/s 1.2-M2 [ 15425 ]
          Graeme Rocher made changes -
          Fix Version/s 1.2-M3 [ 15547 ]
          Fix Version/s 1.2-M2 [ 15425 ]
          Graeme Rocher made changes -
          Fix Version/s 1.2-M3 [ 15547 ]
          Fix Version/s 1.2-RC1 [ 15774 ]
          Graeme Rocher made changes -
          Fix Version/s 1.2-M4 [ 15774 ]
          Fix Version/s 1.2-RC1 [ 15959 ]
          Graeme Rocher made changes -
          Fix Version/s 1.2-RC1 [ 15959 ]
          Fix Version/s 2.0 [ 15421 ]
          Graeme Rocher made changes -
          Assignee Graeme Rocher [ graemerocher ]
          Contegix Support made changes -
          Project Import Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ]
          Burt Beckwith made changes -
          Workflow jira [ 35590 ] Grails [ 40030 ]
          Burt Beckwith made changes -
          Workflow Grails [ 40030 ] Copy of Grails [ 47464 ]
          Burt Beckwith made changes -
          Workflow Copy of Grails [ 47464 ] Grails [ 54874 ]
          Burt Beckwith made changes -
          Workflow Grails [ 54874 ] Grails2 [ 62426 ]
          Burt Beckwith made changes -
          Workflow Grails2 [ 62426 ] jira [ 78803 ]
          Burt Beckwith made changes -
          Workflow jira [ 78803 ] Grails2 [ 86845 ]
          Peter Ledbrook made changes -
          Last Reviewed 01/Jan/10
          Peter Ledbrook made changes -
          Workflow Grails2 [ 86845 ] jira [ 95197 ]
          Peter Ledbrook made changes -
          Workflow jira [ 95197 ] Grails2 [ 95633 ]
          Graeme Rocher made changes -
          Fix Version/s 2.2 [ 13093 ]
          Fix Version/s 3.0 [ 11042 ]
          Jeff Scott Brown made changes -
          Link This issue relates to GRAILS-9300 [ GRAILS-9300 ]
          Graeme Rocher made changes -
          Fix Version/s 2.3 [ 13311 ]
          Fix Version/s 2.2-RC1 [ 13093 ]
          Graeme Rocher made changes -
          Assignee Jeff Brown [ brownj ]
          Jeff Scott Brown made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Fix Version/s 2.2 [ 13408 ]
          Fix Version/s 2.3 [ 13311 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Jeff Scott Brown
              Reporter:
              Victor Volle
            • Votes:
              70 Vote for this issue
              Watchers:
              67 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Last Reviewed:

                Development