Hello,

I have a problem with a form that shall have two submit buttons. One finally 
submits the form with all plausibility checks, etc... the other just opens up a 
search form, to lookup some data for inclusion in the form. This submit shall 
NOT do all the checks on e.g. .setRequired(true), etc..., but it DOES HAVE to 
update my CompoundPropertyModel values, to deal with the user's (partially) 
entered values so far.

I cannot get this together: setDefaultFormProcessing(false) will not update my 
models, setDefaultFormProcessing(true) will finally submit my form, also 
calling the form's onSubmit, which is not what I want. 

I am using an anonymous form class with the default onSubmit(), and an 
additionally attached Button, which has its own onSubmit().

Do you understand what I mean, and can anybody point me to the right direction? 
It seems to me like a very basic, fundamental thing to do, two form buttons, 
that deal - independently from each other - with the entered data, but it seems 
to be tricky nevertheless...

Thanks,
Benjamin



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to