Thanks for the reply Andy,
I found the problem... it was with a service that maintains its own
cache that I read and write to, but the cache was not being refreshed.
Much appreciated,
Peter
andyhot wrote:
Peter Stavrinides wrote:
Hi everyone
I have developed an editable table similar to an excel spreadsheet.
I use Tapestry 4.1 and a little Javascript to get it to work. when
you edit a cell it affects corresponding cells etc just like a
spreadsheet. My problem arises when I enable caching on tomcat, it no
longer seems to refresh the table and the figures in corresponding
cells do not get updated when I edit a cell, whereas in development
with caching disabled it works perfectly... I don't even know where
to start with this one, so any ideas about what could be going on
would be appreciated.
Well, it could be that you're incorrectly using lots of instance
fields in your component class.
In dev mode (caching disabled) they're always cleared, while in
prod mode (caching enable) where component instances are reused you
have to either clear them yourself,
or allow tapestry to manage them (by using abstract getters and
setters instead)
Thanks
Peter
--
Peter Stavrinides
Albourne Partners (Cyprus) Ltd
Tel: +357 22 750652
If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email.html for important additional terms relating to this e-mail.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]