[Wicket-user] Refreshing page contents

2006-03-30 Thread Anders Peterson

Hi,

I have a problem refreshing page contents.

This did work as intended before I updated the database model. The 
page's code has not been changed other than in one case I had to change 
what objects I loop through. The page functions exactly as before except 
for one thing: When submitting the form the read/display only components 
(Labels inside the Form) are not updated.


I've tried calling modelChanged() and setVisible(boolean) but it doesn't 
change anything (and I did not have to do this before). The get methods 
that produce the values are never accessed after the page is first built.


The application menu is a collection of BookmarkablePageLink:s. Even 
when I return to this page after visiting other pages those get methods 
are not called. I suspect this is the key to the solution - but I don't 
get it! Can you help?


/Anders
--
http://ojalgo.org/

Mathematics, Linear Algebra and Optimisation with Java



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Refreshing page contents

2006-03-30 Thread Juergen Donnerstag
Sounds like your browser is using its local cache. Try
meta http-equiv=Expires content=-1 /
meta http-equiv=Pragma content=no-cache /
meta http-equiv=Cache-Control content=no-cache /

Juergen

On 3/30/06, Anders Peterson [EMAIL PROTECTED] wrote:
 Hi,

 I have a problem refreshing page contents.

 This did work as intended before I updated the database model. The
 page's code has not been changed other than in one case I had to change
 what objects I loop through. The page functions exactly as before except
 for one thing: When submitting the form the read/display only components
 (Labels inside the Form) are not updated.

 I've tried calling modelChanged() and setVisible(boolean) but it doesn't
 change anything (and I did not have to do this before). The get methods
 that produce the values are never accessed after the page is first built.

 The application menu is a collection of BookmarkablePageLink:s. Even
 when I return to this page after visiting other pages those get methods
 are not called. I suspect this is the key to the solution - but I don't
 get it! Can you help?

 /Anders
 --
 http://ojalgo.org/

 Mathematics, Linear Algebra and Optimisation with Java



 ---
 This SF.Net email is sponsored by xPML, a groundbreaking scripting language
 that extends applications into web and mobile media. Attend the live webcast
 and join the prime developer group breaking into this new coding territory!
 http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
 ___
 Wicket-user mailing list
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user