DirectExt Plugin
  1. DirectExt Plugin
  2. GPDIRECTEXT-3

Enable setting actions' formHandler attribute

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
      Any

      Description

      According to ExtDirect's specification for DirectSubmit, the server-side must mark the submit handler as a 'formHandler'.
      It would be good to have this configuration option Action's closures maybe with a static declaration or by the use of annotations.
      It tried to do this myself but i know nothing about plugins and where to add this feature.

        Activity

        Hide
        Nicolás Dijkstra added a comment -

        I finally found the way to implement the changes i needed so that action's methods can be marked as form handlers by providing a static property formHandlers with the names of those closures that handle forms submitions and thus adding that attribute to the Direct Provider configuration.

        How can i contribute to DirectExt PLUGIN development with this modifications i made? Should i upload the modified files somewhere? It's my first contribution to Grails community (and hope there are more to come!)

        Show
        Nicolás Dijkstra added a comment - I finally found the way to implement the changes i needed so that action's methods can be marked as form handlers by providing a static property formHandlers with the names of those closures that handle forms submitions and thus adding that attribute to the Direct Provider configuration. How can i contribute to DirectExt PLUGIN development with this modifications i made? Should i upload the modified files somewhere? It's my first contribution to Grails community (and hope there are more to come!)

          People

          • Assignee:
            Damien Ferrand
            Reporter:
            Nicolás Dijkstra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: