Thank you Erik, > You should use Buttons instead of links. Button (or AjaxFallbackButton) > does submit the form.
Why, should I submit using links? we've just done it using a nested form and attaching a AjaxSubmitLink to it. > The only thing you need to do is disable > validation on the button (call button.setDefaultFormProcessing(false)), > otherwise the onSubmit of the button is not called when some field in > the form does not validate. You can optionally call form.validate() in > the onSubmit of the button so that validation messages do not disappear. Problem is I can't call form.validate() or more importantly form.updateFormComponentModels from the link's onSubmit method because those methods are private. What's the preferred way to retain user input without validating it a doing other form processing magic? > OT: personally, in forms I prefer RefreshingView instead of ListView why's > that? how does it compare to ListView (with list.setReuseItems(true) and list.removeAll in onSubmit)? I haven't found much on it besides a few sentences in http://cwiki.apache.org/WICKET/tables-and-grids.html -- Wojtek Biela --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
