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

Reply via email to