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
--
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]