Hi,
I'm wondering why the small change (see comments)
to my RV causes it to not refresh automatically.
A browser refresh shows the changes.
The Form submit does not call the page constructor, but a browser
refresh does.
mm:)
Thanks, but I don't know what that implies.
Should I put the RV in the form?
Should I use some Ajax so I can target.addComponent(RV) ?
And most of all, why did my other variation work?
It seems that the RV was being refreshed then.
-troy
On Fri, Sep 11, 2009 at 2:47 AM, Michael Mosmann
Hi,
Thanks, but I don't know what that implies.
If you post a form, then wicket will get the current page from session
and call the onSubmit() for the form component. Everything else is
allready there.. the RV etc.
If you reload a page, wicket will build the page again.. your old page
is gone.
mich...@mosmann.de wrote:
So for instance if a model is not detached correctly, wicket
will use old data (don't know if the problem is in this area).
It was a load/detach problem.
I was also using the the LDM in a custom validator.
Apparently that loaded the LDM before my save commit.
A
I have a RefreshingView followed by (not in) a Form.
On form submit, an object is added to the db list
associated with the RefreshingView.
I'm wondering why the small change (see comments)
to my RV causes it to not refresh automatically.
A browser refresh shows the changes.
Thanks,
-troy