hi andrew,

this depends on how you pass the values to the Input fields. if you use private 
class members, these are not reset while the page is put back to the page-pool. 
instead you should use abstract-getter and setter methods.

kind regards
peter

-----Ursprüngliche Nachricht-----
Von: Andrew M. [mailto:[EMAIL PROTECTED] 
Gesendet: Donnerstag, 15. März 2007 09:55
An: users@tapestry.apache.org
Betreff: How to clear tapestry components cache at the beginning of new session?


Hi all!
I use the "@Input" component to display user name, when user is logged in. 
The problem is that when user logs out(ends session) and then logs in using
another account, the "@Input" component displays old user name. 
(as a matter of fact,  whole page shows old content, not only that @input)

If he presses "refresh button" (F5 in most browsers), "@input" shows new
user name.

It is ok, if browser's caching is off. But I don't wanna depend on browser's
options.
It is ok, when "JAVA_OPTS=-Dorg.apache.tapestry.disable-caching=true" , but
it is a bad way, cause of perfomance decreasing.

How to resolve this problem? Thank you.



-- 
View this message in context: 
http://www.nabble.com/How-to-clear-tapestry-components-cache-at-the-beginning-of-new-session--tf3407046.html#a9490558
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to