Yes I thought about the same, just wanted to confirm if I assign the object to null does it discarded from the Persist state?
Regards, Mahendra Athneria Ext-+91 22 6733 3729 Mob-+91 9833 121 309 mahendra.athne...@atos.net -----Original Message----- From: Howard Lewis Ship [mailto:hls...@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 any way through which I can discard the Object from > PersistantConstant? **** > > ** ** > > I got > ComponentResources.*discardPersistentFieldChanges<http://tapestry.apache.org/tapestry5.0/apidocs/org/apache/tapestry5/ComponentResources.html#discardPersistentFieldChanges()> > *() method which discard all persistent field changes for the page > containing the component. **** > > ** ** > > But I want to discard only selected fields.**** > > ** ** > > Is it Possible?**** > > ** ** > > *Regards,* > > *Mahendra Athneria* > > [image: cid:221044411@01072011-28AB]** > > Ext-+91 22 6733 3729**** > > Mob-+91 9833 121 309**** > > *mahendra.athne...@atos.net* > > [image: cid:image001.gif@01CA57B6.7335F1E0]**** > > ** ** > -- Howard M. Lewis Ship Creator of Apache Tapestry The source for Tapestry training, mentoring and support. Contact me to learn how I can get you up and productive in Tapestry fast! (971) 678-5210 http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org