Tapestry 5
  1. Tapestry 5
  2. TAP5-226

Add annotation @SessionAttribute to map a field to a specific session attribute

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      It would be great, for integration with existing T3/T4 or non-Tapestry apps, to have an easy way to map a field of a component to a specific session key. I.e.

      @SessionAttribute("user")
      private User user;

        Activity

        Hide
        Igor Drobiazko added a comment -

        I implemented this issue as an example for my book. I'll commit the changes at the first opportunity.

        Show
        Igor Drobiazko added a comment - I implemented this issue as an example for my book. I'll commit the changes at the first opportunity.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development