Re: Non-Submit Button Not Getting Called from Form

2011-07-30 Thread Christian Huber
Hi! Try setting the cancel button's type to submit instead of button, then the onSubmit method should be called. Though you might have to disable default form processing for the cancel button, depending on your form. HTH, Chris -- The Sanity Resort http://sanityresort.blogspot.com/ Am

Re: Non-Submit Button Not Getting Called from Form

2011-07-30 Thread eugenebalt
I can't make it Submit, I already have another Submit button. This is button #2. I need to override its click behavior, and for some reason I'm not catching it. -- View this message in context:

Re: Non-Submit Button Not Getting Called from Form

2011-07-30 Thread Christian Huber
If you check the link sent by hariharansrc https://cwiki.apache.org/WICKET/multiple-submit-buttons.html you see an example with two submit buttons. The difference to your example, as far as i can see, is that your second button has not the submit type. To my understanding a button that is not

can we do standalone projects in wicket

2011-07-30 Thread hariharansrc
I actually don't understand what standalone project clearly. Can i use wicket for standalone projects. I am asking this because wicket is the first framework i have first learned. If not which framework i can learn similar like wicket. -- View this message in context:

Re: wicket 1.5 xml/doctype/html header: xhtml vs html5

2011-07-30 Thread Martijn Dashorst
You can use xhtml5 together with wicket if you like strict markup, or just plain html5. There are some (afaik undefined) rules about closing p and div tags, but other than that, (x)html5 should work. Martijn On Wed, Jul 27, 2011 at 7:04 AM, Donohoe Digital d...@donohoe.info wrote: From

Re: can we do standalone projects in wicket

2011-07-30 Thread Christian Huber
What do you mean by standalone? Do you mean a framework for desktop applications? If so, then Swing or Eclipse RCP might be what you are looking for. -- The Sanity Resort http://sanityresort.blogspot.com/ Am 30.07.2011 16:46, schrieb hariharansrc: I actually don't understand what standalone

Re: Non-Submit Button Not Getting Called from Form

2011-07-30 Thread eugenebalt
Hi Christian, yes I see what you're saying. I can have 2 submit buttons with separate onSubmit()'s. But I found an easier solution: to make the Cancel button an AjaxFallbackLink with an onClick(). That seems to work for me and I don't have to redo my main Form onSubmit. An AjaxFallbackLink can be

Re: wicket 1.5 xml/doctype/html header: xhtml vs html5

2011-07-30 Thread robert.mcguinness
For Wicket *1.5* I've been using: lt;!DOCTYPE htmlgt; lt;html xmlns:wicket=http://wicket.apache.orggt; -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/wicket-1-5-xml-doctype-html-header-xhtml-vs-html5-tp3698608p3706667.html Sent from the Users forum mailing list

Wicket modal window example not working in IE8 on wicket-library.com

2011-07-30 Thread Chris Colman
Does anyone else have a problem in IE8 with this page. The links do not open up a modal window for me but under FF both links work fine. http://www.wicket-library.com/wicket-examples/ajax/modal-window I do have Javascript enabled :) on IE8 !

Re: Wicket modal window example not working in IE8 on wicket-library.com

2011-07-30 Thread Dan Retzlaff
I just tested 8.0.7601.17514 and it worked. Maybe you have a local IE plugin that's interfering? On Sat, Jul 30, 2011 at 6:31 PM, Chris Colman chr...@stepaheadsoftware.comwrote: Does anyone else have a problem in IE8 with this page. The links do not open up a modal window for me but under FF