if you are going to start talking accessibility then that link should be an anchor period, not a button. buttons are bad if you do not need a form-submit :)
-igor On 10/7/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]