Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Eelco Hillenius
Ah, sorry for having overlooked that. Well, I'm surprised you're having this problem then. Then in must be that an old model is used. Could you try use your debugger to find out more? Eelco On 6/5/07, Harald Gruber <[EMAIL PROTECTED]> wrote: > Eelco Hillenius schrieb: > > It's probably a good id

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
Eelco Hillenius schrieb: > It's probably a good idea to set defaultFormProcessing to false on the > cancel button in case you didn't (which I expect as values seem to get > updated?). > > Also, can you try calling clearInput on form and see if that does the > trick for you? button

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Eelco Hillenius
It's probably a good idea to set defaultFormProcessing to false on the cancel button in case you didn't (which I expect as values seem to get updated?). Also, can you try calling clearInput on form and see if that does the trick for you? Eelco On 6/5/07, Harald Gruber <[EMAIL PROTECTED]> wrote:

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
ok, i got a workaround..if i replace my addresspanel in my onEditAction() method with a new one, it works. though it would be interesting, why the fieldvalues didnt get updated on modelobject change. -harald - This SF.net

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
Martijn Dashorst schrieb: > Are there any validation errors? no -harald - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just d

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Martijn Dashorst
Are there any validation errors? Martijn On 6/5/07, Harald Gruber <[EMAIL PROTECTED]> wrote: > > hi, > > i traced a bit by adding > > protected void onComponentTag(final ComponentTag tag) { > System.out.println("ADRESSPANEL " + getModel()); > > this.visitCh

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
hi, i traced a bit by adding protected void onComponentTag(final ComponentTag tag) { System.out.println("ADRESSPANEL " + getModel()); this.visitChildren(new IVisitor() { public Object component(Component component)

[Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
hi all, i got some sort of crud page consisting of a listview and a detailview for my objects. depending on a stateflag either the listview is shown or the detailview. the detailview contains an addresspanel (textfields for my properties, which use propertymodels to get the fieldvalues). i