Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1474 [GSoC] add out-of-the-box protection against cross-site request forgery (CSRF)
  3. TAP5-1592

Refactor AjaxFormLoop, RemoveRowLink and AddRowLink to make mixin useful for these components

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Trivial
    • Resolution: Incomplete
    • 5.3
    • None
    • tapestry-core

    Description

      The AjaxFormLoop component stores the links in the intitializer call map. In order to modify them in a mixin in the afterRender phase, a public getter for the JavaScriptSupport interface and the JavaScriptSupportImpl class is required.

      I need this feature for the cross-site request forgery protection, where I use a mixin to add a token to the rendered event links.

      Attachments

        1. ajaxFormLoopProtection.diff
          22 kB
          Markus Jung

        Activity

          People

            Unassigned Unassigned
            mjung Markus Jung
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: