Tapestry 5
  1. Tapestry 5
  2. TAP5-1306

Additional method for Link: addParameterValue(String,Object) that uses ContextPathEncoder to encode object value to a string

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.2
    • Fix Version/s: 5.2.2
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      This would make adding parameters to a link more consistent with setting the values in the page activation context ... you give the "raw" values and Tapestry figures out how to encode it into the URL.

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #214 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/214/)

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #214 (See https://hudson.apache.org/hudson/job/tapestry-5.2-freestyle/214/ )
        Hide
        Howard M. Lewis Ship added a comment -

        Link addParameterValue(String name, Object value)

        Return the Link for a fluent API. Different method name to distinguish form the existing method (that takes a String value and returns void).

        Show
        Howard M. Lewis Ship added a comment - Link addParameterValue(String name, Object value) Return the Link for a fluent API. Different method name to distinguish form the existing method (that takes a String value and returns void).

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development