You might be thinking of an onsubmit javascript that returns false.
<form onsubmit="return confirm('Are you sure you want to submit this
form?')">...</form>
You could add the onsubmit attribute dynamically, and it could
presumably call wicket with some sort of ajax behavior (still haven't
gone there).
--
Sam Barnum
360 Works
http://www.360works.com
415.865.0952
On Jan 10, 2008, at 7:14 PM, Haritha Juturu wrote:
Hi Everyone,
I have a Form object in my wicket page. After the onSubmit() method
is called the webpage is refreshed.
Is there anyway i can stop the webpage reload after the onSubmit()
method is executed.
Thanks
Haritha
______________________________________________________________________
______________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://
mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ