Tapestry
  1. Tapestry
  2. TAPESTRY-1448

Ability to set the default @Persist property persistence strategy

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.2
    • Fix Version/s: 4.1.3
    • Component/s: Annotations
    • Labels:
      None
    • Environment:
      Tapestry 4.1.2 snapshot from 5-8, WinXP, Firefox 2

      Description

      It would be nice if there were a way to set the default property persistence strategy where @Persist is used to something other than "session". Currently, the only way we have been able to do this is to override Persist.java with our own copy since the default is hard-coded onto the annotation:

      public @interface Persist
      {
      String value() default "widen";
      }

      Some sort of configuration point in hivemodule.xml or the .application file would be much better than this approach.

        Activity

          People

          • Assignee:
            Ben Dotte
            Reporter:
            Ben Dotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development