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 subsequent requests. On Thu, Jun 21, 2012 at 5:15 PM, Howard Lewis Ship <hls...@gmail.com> wrote: > 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 > -- *Regards,* *Muhammad Gelbana Java Developer*