Jim,

Temporarily add a FeedbackPanel to make sure you are successfully getting
through validation. 
There's much too much irrelevant code there (to demonstrate such a problem),
but I did notice, for instance, that you're using a RequiredTextField which
means that the form must have a value for that field, otherwise the form
processing lifecyle will be cut short - one of the consequences of failing
validation is that onSubmit() will not get called, onError() will.

Regards - Cemal
http://www.jWeekend.co.uk http://jWeekend.co.uk 



Jim Pinkham wrote:
> 
> I can't figure out why my form's onSubmit isn't firing when I click my
> submit button.
> 
> Can anyone see what I've done wrong?
> 
> Here's the HTML:  http://pastebin.com/m5b1440a0
> 
> Here's Java code: http://pastebin.com/m4a217d31
> 
> At line#114, onSubmit is not being called.  I've tried lots of different
> things - I've tried adding a wicket:id to make it a Link, it gets
> execution
> flow, but without the model having been updated yet, which isn't really
> what
> I want.   Similarly, I can make it a Button, but that also doesn't get the
> onSubmit.
> 
> Any tips for me?  I feel like I'm missing something really simple...
> 
> Thanks,
> -- Jim
> 
> (To see the larger app this is a part of, goto:
> http://firstuucolumbus.org/auction)
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Why-don%27t-I-get-onSubmit%28%29-for-my-form--tp20446473p20447007.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to