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. 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). If you reload the page, everything is thrown away and build from scratch. So if your LDM is not bound to any component, detach() is never called.. the old stuff is used. So please send more code.. > Should I put the RV in the form? no.. > Should I use some Ajax so I can target.addComponent(RV) ? no.. because if it does not work without ajax, it will not work with it.. > And most of all, why did my other variation work? > It seems that the RV was being refreshed then. wich wicket version do you use? mm:) > -troy > > On Fri, Sep 11, 2009 at 2:47 AM, Michael Mosmann <[email protected]> wrote: > > 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:) > > > > > > > > --------------------------------------------------------------------- > > 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] > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
