[
https://issues.apache.org/jira/browse/TAPESTRY-1448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Dotte resolved TAPESTRY-1448.
---------------------------------
Resolution: Fixed
Added a new org.apache.tapestry.default-property-persistence-strategy
application property that defaults to "session", but can be overridden in the
.application file. Also updated the site documentation.
> Ability to set the default @Persist property persistence strategy
> -----------------------------------------------------------------
>
> Key: TAPESTRY-1448
> URL: https://issues.apache.org/jira/browse/TAPESTRY-1448
> Project: Tapestry
> Issue Type: Improvement
> Components: Annotations
> Affects Versions: 4.1.2
> Environment: Tapestry 4.1.2 snapshot from 5-8, WinXP, Firefox 2
> Reporter: Ben Dotte
> Assignee: Ben Dotte
> Priority: Minor
> Fix For: 4.1.3
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]