Grails
  1. Grails
  2. GRAILS-7374

Add Action and Controller Attribute to applyLayout Tag Library

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.7
    • Fix Version/s: 2.1-RC1
    • Component/s: TagLib
    • Labels:
      None
    • Patch Submitted:
      Yes

      Description

      The attached patch adds the ability for a user of the applyLayout tag library to supply an action and controller to retrieve content from for use with SiteMesh. This eliminates the need to generate a URL for an action and controller (instead, the patch uses g:include). This change is really beneficial in a multi-plugin Grails application where one plugin needs to apply a layout via SiteMesh to content generated by an action and controller in another plugin.

        Activity

        Hide
        Graeme Rocher added a comment -

        thanks for the patch

        Show
        Graeme Rocher added a comment - thanks for the patch

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Jonathan Pearlin
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Last Reviewed:

              Development