Yes, but validation and updating is not tied together. You can still call the validation function by itself and it wont update the model. I think having two functions is too complex of a tradeoff for a usecase that no one can come up with. Sometimes you have to go with simple vs flexible. Just my two cents. -Igor
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:wicket-develop- > [EMAIL PROTECTED] On Behalf Of Eelco Hillenius > Sent: Friday, September 09, 2005 12:36 PM > To: [email protected] > Subject: Re: [Wicket-develop] More button talk. > > Probably not, but there have been people that expressed they would > like to have the option. I can't think of a really usefull case > myself. Though validating without updating is usefull. > > Eelco > > > On 9/9/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > Does it make sense to have update on and validation off? What about type > > conversion errors? > > > > -Igor > > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:wicket- > develop- > > > [EMAIL PROTECTED] On Behalf Of Eelco Hillenius > > > Sent: Friday, September 09, 2005 12:10 PM > > > To: [email protected] > > > Subject: Re: [Wicket-develop] More button talk. > > > > > > What about triggerFormUpdate and triggerFormValidate ? > > > > > > Eelco > > > > > > On 9/9/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > > > > I'm not attached to that term. It's just another case of using what > > > > other frameworks use, I guess. But you're right, we are only talking > > > > about binding in one direction, so it may be wise to change it. I > like > > > > "updateForm". > > > > > > > > On 9/9/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > > > > 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 > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > 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 > > > > > ------------------------------------------------------- > 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
