https://issues.apache.org/jira/browse/TAP5-374
On Thu, 2008-11-20 at 09:15 +0000, Joel Halbert wrote: > I'm going to raise this as a bug in JIRA, unless anyone thinks it > shouldn't be. > > On Wed, 2008-11-19 at 16:07 +0000, Joel Halbert wrote: > > Hi, > > > > I am seeing unexpected behaviour when using persistent fields and the > > page lifecycle method, pageAttached(), (T 5.0.15). > > > > I have a persistent field, > > > > @Persist > > private Map myMap; > > > > I also have a page lifecycle method, > > > > void pageAttached() { > > if (myMap == null){ > > myMap = new HashMap(); > > } > > } > > > > > > I expect that when the page first loads and myMap is null then myMap > > will be initialised to an empty map, thereafter I expect anything I put > > into the map to persist across requests. > > > > What I actually see is that, if the above pageAttached method is present > > then any data that I put into myMap does not persist across requests > > (the map is always empty). > > > > I was not expecting this at all. > > > > By design or bug? > > > > Rgs, > > Joel > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > -- SU3 Analytics Ltd The Print House 18 Ashwin Street E8 3DL London Tel: +44 (0) 20 3051 8637 Fax: +44 (0) 20 8196 2215 Mob: +44 (0) 79 7431 0685 www.su3analytics.com SU3 Analytics Ltd is a company registered in England and Wales under company number 06639473 at registered address 61b Oxford Gardens, London W10 5UJ, United Kingdom. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]