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 [email protected] -----Original Message----- From: Howard Lewis Ship [mailto:[email protected]] 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 < [email protected]> 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**** > > *[email protected]* > > [image: cid:[email protected]]**** > > ** ** > -- 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: [email protected] For additional commands, e-mail: [email protected]
