Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1285

Allow GET method in form component

    XMLWordPrintableJSON

Details

    • Wish
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 5.3.7, 5.4
    • None
    • tapestry-core
    • None

    Description

      The Tapestry form component is currently only supporting the "POST" method.

      The POST method is usually associated with changing the "model" on the server side, e.g. in REST applications, POST indicates that a resource is modified, if I am not mistaken.

      The lack of GET support makes it necessary to use POST also for simple queries, such as a search field, where the model is not modified.

      This is a) semantically irritating, since for example a search query will not modify state and
      b) requires extra "work", for example a redirect-after-post, where it should not be necessary.

      Since Tapestry aspires to make the simple things easy, the difficult things possible, I think it should provide first-class support for the GET method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lutzh Lutz Hühnken
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: