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 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 = new ExtendedButton("submitCancel", new > ResourceModel("Action.Cancel")) { > private static final long serialVersionUID = 1L; > > @Override > public void onSubmit() { > state = STATE_LIST; > detailsForm.clearInput(); > onCancelAction(); > } > > }; > button.setDefaultFormProcessing(false); > buttonBar.add(button); > > > got both of it already :-( > > ------------------------------------------------------------------------- > 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 data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- 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 data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user