groovy
  1. groovy
  2. GROOVY-3477

Add setVariables method to GroovyServlet for easy extending of binded vars in custom classes

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.2, 1.7-beta-1
    • Component/s: Groovlet / GSP
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      TemplateServlet already contains a setVariables method which can be used by custom classes extending TemplateServlet.
      Using this method the bindings can be extended very easily.

      To bad the GroovyServlet does not has this feature.

      The attached paths solves this.

      • method setVariables added
      • in service() after creating the binding, a call to setVariables is added

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Guillaume Laforge
            Reporter:
            Marcel Overdijk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: