Al Maw wrote:
Stanczak Group wrote:
I don't want the cancel button to submit the form, is this the best
method? I'm not sure I see how to do this. Is there examples?
@Override
protected void delegateSubmit(IFormSubmittingComponent
component) {
}
Also have a look at Button#setDefaultFormProcessing(false);
Regards,
Al
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Button.setDefaultFormProcessing does submit the form (in the HTTP sense)
but the form's model is not updated. I think this is a better solution
because it doesn't require javascript (a Link on a <input> element
generates onclick), and thus more accessible.
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230000
F +31 20 4223500
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]