Ok. I looked further in the thread.
I am not sure what goes wrong, but I think you should call
setdefaultformprocessing(false) on the uncheckall AjaxSubmitLink.
Otherwise the onSubmit of that button is only called when validation
succeeded. If that doesn't work, just create a quickstart
And, I also tried changing the AjaxButton to AjaxSubmitLink in the java code
and with the same input type.../ (as in for a submit button) in the HTML
page.
I am still having the same issue.
All I am confused is, what happens such that the onSubmit method in the
AjaxButton is never called once I
Jade,
There was a bug regarding this in one of the 1.4 rc's. I think it was
rc2. Could upgrade to a newer 1.4 version and try again?
Regards,
Erik.
Jade wrote:
Guys,
I am still struggling with the same :-( please advise.
Tia,
J
On Wed, Jun 10, 2009 at 8:27 AM, Jade jada...@gmail.com
Hi Erik,
I am using version 1.3.4. And I guess migration it to version 1.4 would be
bit tough.
Anyways, that would have to be done if there is no other way around it.
Btw, any work around to over come this? Please suggest. Thanks all for your
time in educating me.
Regards,
Jade
On Thu, Jun
Ah, no that bug is not present in the 1.3 range. But upgrading to a
later 1.3 version would perhaps help as well.
See the migration guide on the wiki on how tough an 1.3 - 1.4 upgrade
will be for you. To give some perspective: I migrated a large project
within a few hours.
Regards,
Erik.
Oh yes will try to do that for sure Erik if my team and manager agrees for
it :-)
Otherwise, did you(guys) find any thing wrong in my code? or anything thats
fishy?? I am a beginner to wickets, so its obvious I must have made some
mistake :-s
On Thu, Jun 11, 2009 at 12:58 AM, Erik van Oosten
Hi all,
I am having a issue with AjaxLink and thought would get help from you.
I have a modal window which has a form with two ajax links, few check boxes
and a AjaxButton.The check boxes are bound inside a list view.
Now, out of the two ajax links - one ajax link is for checking all the
Hi all,
I am having a issue with AjaxLink and thought would get help from you.
I have a modal window which has a form with two ajax links, few check boxes
and a AjaxButton.The check boxes are bound inside a list view.
Now, out of the two ajax links - one ajax link is for checking all the
ajaxlink does not submit the form so no validation will happen and it
doesnt have an onsubmit method. you are mixing up ajaxlink,
ajaxsubmitlink, and ajaxbutton.
-igor
On Tue, Jun 9, 2009 at 2:30 AM, Jadejada...@gmail.com wrote:
Hi all,
I am having a issue with AjaxLink and thought would get
Hi Igor,
Yes, I did understand that after a deeper look. But for my use case, which
would a better one to use?
I cannot use a normal link as it would reload the screen and the
modalwindow would vanish.
Please advise. Thanks for your time.
Thanks,
J
On Tue, Jun 9, 2009 at 4:34 PM, Igor
if you need to submit the form use ajaxsubmitlink, if you dont then
use the normal ajaxlink.
-igor
On Tue, Jun 9, 2009 at 7:39 AM, Jadejada...@gmail.com wrote:
Hi Igor,
Yes, I did understand that after a deeper look. But for my use case, which
would a better one to use?
I cannot use a
Well - I did try using the AjaxSubmitLink, the validation happens during the
link click and displays the error message..but even after the error message
is shown, when I click the AjaxButton in the form, the form submit happens
:-(
Do I have to setDefaultFormProcessing(false) or something else I
onsubmit() is only called if validation passes or you called
setdefaultformprocessing(true) on the button/submitlink.
-igor
On Tue, Jun 9, 2009 at 7:52 AM, Jadejada...@gmail.com wrote:
Well - I did try using the AjaxSubmitLink, the validation happens during the
link click and displays the
Nope, I am not doing a setDefaultFormProcessing(true) for the button.
I am just doing the following onSubmit of the AjaxButton -
setRedirect(true);
setResponsePage(getApplication().getHomePage());
Thanks for your time Igor.
On Tue, Jun 9, 2009 at 4:56 PM, Igor Vaynberg
woops, i meant setdefaultformprocessing(FALSE)
-igor
On Tue, Jun 9, 2009 at 7:56 AM, Igor Vaynbergigor.vaynb...@gmail.com wrote:
onsubmit() is only called if validation passes or you called
setdefaultformprocessing(true) on the button/submitlink.
-igor
On Tue, Jun 9, 2009 at 7:52 AM,
Oh...Anyways as of now, I am not setting the setDefaultProcessing on the
AjaxButton...
Thanks again!
On Tue, Jun 9, 2009 at 5:06 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
woops, i meant setdefaultformprocessing(FALSE)
-igor
On Tue, Jun 9, 2009 at 7:56 AM, Igor
Here are the code snippets for a better understanding,
//The form
Form form = new Form(form){
/**
*
*/
private static final long serialVersionUID = 1L;
protected void validate(){
super.validate();
17 matches
Mail list logo