I'm not sure what you are saying here. But if it is what I'm thinking
then you have misunderstood the meaning of .setDefaultFormProcessing.
If your component is in a form, the 'defaultFormProcessing' will try to
write any changes in the form to the model, and then call the onSubmit
of the form, and finally the onSubmit of the button.
If set to false it will skip all the form handling and call the onSubmit
of the button directly.
http://wicket.apache.org/docs/wicket-1.3.2/wicket/apidocs/org/apache/wicket/markup/html/form/Button.html#setDefaultFormProcessing(boolean)
So if you are doing anything in the buttons 'onSubmit' that you don't
want in certain cases, then calling setDefaultFormProcessing(false)
won't have any affect.
Thijs
Kirk Israel wrote:
the left/right moves ARE being done in the buttons onSubmit, I was
hoping calling .setDefaultFormProcessing(false); when adding the
button to the page would have prevented that?
On Fri, May 23, 2008 at 4:50 AM, Thomas Mäder <[EMAIL PROTECTED]> wrote:
Do the move left/move right controls do a submit? If so you might also be
resubmitting the (old) check box value.
Thomas
We have a list view that iterates over manufacturers, and each
manufacturer has a "pallet control" of devices
(two list boxes w/ move selection to right list, move selection to
left list buttons between) along with a "all for manufacturer"
checkbox
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]