Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1448

Ability to set the default @Persist property persistence strategy

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1.2
    • 4.1.3
    • Annotations
    • None
    • 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.

      Attachments

        Activity

          People

            dotteben Ben Dotte
            dotteben Ben Dotte
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: