Checking it out now. One thing: the property is now called binding. I think it could have a better name. I find binding confusing as the binding is allways done for reading, and it doesn't make clear that the thing you want to turn on or off is actually whether the form model(s) are updated or not.
What about updateForm or applyInput or something? Eelco On 9/9/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > Does anyone have a second to check this out? I would just like to know > if it's something that's going to be applied so I can either continue > to use it, or find some other way to do what I need. Thanks! > > On 9/7/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > > I just submitted the patch. I was able to make > > setDefaultFormProcessing(boolean) a virtual field that just sets > > isBinding(boolean) and isValidating(boolean) at the same time. One > > problem I ran into though, was that the javadoc didn't actually > > reflect how the processing actually occured. The comments suggested > > that the form's onSubmit() was always called after the button, but > > that's not the case. I went ahead and duplicated what actually happens > > rather then what was commented and modified the comment. So, long > > story short, the processing should be exactly the same and the API > > didn't change, but now you can exactly specify if binding or > > validation happens. > > > > On 9/6/05, Ralf Ebert <[EMAIL PROTECTED]> wrote: > > > Hi, > > > > > > not sure about this. I would like to have a enum like thing with > > > NOTHING, VALIDATION_ONLY and VALIDATION_AND_UPDATE. I also like the > > > way in which it is done right now, so I get validation and model > > > updating automatically and if I don't want that, I have to call the > > > methods myself. > > > I also think a (convenient) way is needed to submit a form and losing > > > no form data without validation and without model updating. This is > > > needed for example if there is a file upload button within a form. > > > You need to submit the form for uploading the file but that doesn't > > > mean you want to update the model as well in every case. > > > > > > Regards, > > > Ralf > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > > Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Wicket-develop mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Wicket-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/wicket-develop > ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
