Thanks for trying to help,
I haven't solved the problem yet, but I think I know what it is - and it
has nothing to do with Wicket.
Since I did change the database model I introduced cover methods similar
to this:
getMarketWeight() {
return ModelUtils.getMarketWeight(this.getUser(), this);
}
... so that I wouldn't have to alter my Wicket pages. Unfortunately I
ended up with different instances of business objects (representing the
same database "row") in different parts of the same page, and...
The exact details are too complicated too explain here, and they have
nothing to do with Wicket.
/Anders
Juergen Donnerstag wrote:
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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
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=k&kid0944&bid$1720&dat1642
--
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=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user