Re: discard persistent field

2012-06-22 Thread Thiago H de Paula Figueiredo
On Fri, 22 Jun 2012 02:12:57 -0300, Athneria, Mahendra wrote: Yes I thought about the same, just wanted to confirm if I assign the object to null does it discarded from the Persist state? Yes. That's what Howard said. -- Thiago H. de Paula Figueiredo -

RE: discard persistent field

2012-06-21 Thread Athneria, Mahendra
...@gmail.com] Sent: Thursday, June 21, 2012 8:45 PM To: Tapestry users Subject: Re: discard persistent field Have you tried assigning them the value null? On Thu, Jun 21, 2012 at 5:59 AM, Athneria, Mahendra < mahendra.athne...@atos.net> wrote: > Hi, > > ** ** > > Is there an

Re: discard persistent field

2012-06-21 Thread Muhammad Gelbana
http://tapestry.apache.org/persistent-page-data.html The method discardPersistentFieldChanges() of ComponentResources will > discard all persistent fields for the page, regardless of which strategy is > used to store the property. This will not affect the page in memory, but > takes effect for sub

Re: discard persistent field

2012-06-21 Thread Howard Lewis Ship
Have you tried assigning them the value null? On Thu, Jun 21, 2012 at 5:59 AM, Athneria, Mahendra < mahendra.athne...@atos.net> wrote: > Hi, > > ** ** > > Is there any way through which I can discard the Object from > PersistantConstant? > > ** ** > > I got > ComponentResources.*discar

discard persistent field

2012-06-21 Thread Athneria, Mahendra
Hi, Is there any way through which I can discard the Object from PersistantConstant? I got ComponentResources.discardPersistentFieldChanges() method which discard all per

Re: Discard persistent field changes for one strategy only?

2009-01-20 Thread Kalle Korhonen
> >> >> hi kalle, >> >> >> >> i've tried to solve this with another indirection :). >> >> >> >> i encapsulate all conversation specific data in a ConversationContext >> >> object. >> >> if i want to invalidat

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Kalle Korhonen
t;> i'm going to send you a zip with my experimental project > >> to your gmail address. maybe it helps. > >> > >> g, > >> kris > >> > >> > >> > >> > >> Kalle Korhonen > >> 19.01.2009 06:36 > >> Bit

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Ville Virtanen
ConversationContext >> object. >> if i want to invalidate a conversation i just remove this context. >> >> i'm going to send you a zip with my experimental project >> to your gmail address. maybe it helps. >> >> g, >> kris >> >> >>

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Kalle Korhonen
g to send you a zip with my experimental project > to your gmail address. maybe it helps. > > g, > kris > > > > > Kalle Korhonen > 19.01.2009 06:36 > Bitte antworten an > "Tapestry users" > > > An > Tapestry users > Kopie > > T

Re: Discard persistent field changes for one strategy only?

2009-01-19 Thread Kristian Marinkovic
il address. maybe it helps. g, kris Kalle Korhonen 19.01.2009 06:36 Bitte antworten an "Tapestry users" An Tapestry users Kopie Thema Discard persistent field changes for one strategy only? I would like to discard all changes for one strategy only. PersistentFieldManager alwa

Discard persistent field changes for one strategy only?

2009-01-18 Thread Kalle Korhonen
I would like to discard all changes for one strategy only. PersistentFieldManager always iterates over all strategies when calling discardChanges() and I don't see any (easy) way to decorate the PersistentFieldManager to allow it to discard selectively for some strategies only. Would it be possible