Re: AjaxSubmitLink not working

2017-02-15 Thread Richard W. Adams
This may not be the issue, but it's good practice to always include an onError method in the anonymous class. Once you add that, put a break point there & see what turns up. From: Entropy To: users@wicket.apache.org Date: 02/15/2017 11:55 AM Subject:AjaxSubmitLink no

Re: AjaxSubmitLink not working

2017-02-15 Thread Entropy
Okay, I just did. Control does not get there either. BTW, if onError is something we should always override, perhaps it should be abstract? Still mystified -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-not-working-tp4677120p4677122.html Sent

Re: AjaxSubmitLink not working

2017-02-15 Thread Martin Grigorov
On Wed, Feb 15, 2017 at 6:51 PM, Entropy wrote: > I have a header links section in my header that must build in a dynamic > way. > > AjaxSubmitLink link = new AjaxSubmitLink(linkName, > formToSubmit) { > @Override >

AjaxSubmitLink not working

2017-02-15 Thread Entropy
I have a header links section in my header that must build in a dynamic way. AjaxSubmitLink link = new AjaxSubmitLink(linkName, formToSubmit) { @Override public void onSubmit(AjaxRequestTarget target, Form form

Re: AjaxSubmitLink + setResponsePage = feedback message problem on new page

2016-05-19 Thread Sebastien
jaxLink then you don't submit any data. You may try > AjaxSubmitLink instead. > > Please give more information about "but setResponsePage is not working". > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, May

Re: AjaxSubmitLink + setResponsePage = feedback message problem on new page

2016-05-19 Thread Martin Grigorov
Hi, If you use AjaxLink then you don't submit any data. You may try AjaxSubmitLink instead. Please give more information about "but setResponsePage is not working". Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Thu, May 19, 2016 at 10:11 AM

Re: AjaxSubmitLink + setResponsePage = feedback message problem on new page

2016-05-19 Thread Sarang
I use SubmitLink, setResponsePage works fine but I am not getting feedback message when there is some error. Can you please suggest how can I solve this ? Thanks, Sarang -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-setResponsePage-feedback-message

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-14 Thread andrea del bene
t;submit" to "button". Why not just use #setPreventDefault(true)? Because if JavaScript is disabled, the browser will still submit the form, without triggering the callback on the AjaxSubmitLink. Regards Sven Am 13.04.2015 um 18:01 schrieb andrea del bene: The case pointed out

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-13 Thread Martin Grigorov
#setPreventDefault(true)? Because if JavaScript is > disabled, the browser will still submit the form, without triggering the > callback on the AjaxSubmitLink. > > Regards > Sven > > > Am 13.04.2015 um 18:01 schrieb andrea del bene: > >> The case pointed out by

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-13 Thread Sven Meier
Well, then we should change the type attribute as well, i.e. from "submit" to "button". Why not just use #setPreventDefault(true)? Because if JavaScript is disabled, the browser will still submit the form, without triggering the callback on the AjaxSubmitLink. Regards

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-13 Thread Don Ferguson
2015 9:43 PM, "Don Ferguson" wrote: > >> Dear Wicket Boffins, >> >> I have a Wicket 6 app that I’ve recently migrated to Wicket 7. In the >> app there is a form whose AjaxSubmitLink hides the form as part of the >> submit. In Wicket7, this cau

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-13 Thread andrea del bene
The case pointed out by Don is slightly different as the AjaxSubmitLink is attached to a tag. Adding 'attributes.setPreventDefault(true);' in updateAttributes actually solves his problem. On 13/04/2015 14:32, Sven Meier wrote: Hi Andrea, since WICKET-5597 AjaxSubmitLink already c

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-13 Thread Sven Meier
Hi Andrea, since WICKET-5597 AjaxSubmitLink already changes the button to prevent default submitting of the form: tag.put("type", "button"); Have fun Sven Am 13.04.2015 um 14:19 schrieb Andrea Del Bene: Due to WICKET-5197 I think we should add to 'attribut

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-13 Thread Andrea Del Bene
Due to WICKET-5197 I think we should add to 'attributes.setPreventDefault(true);' to AjaxSubmitLink Hi, Please create a quickstart app and attach it to a ticket at JIRA. Thanks! On Apr 12, 2015 9:43 PM, "Don Ferguson" wrote: Dear Wicket Boffins, I have a Wicket 6 ap

Re: Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-12 Thread Martin Grigorov
Hi, Please create a quickstart app and attach it to a ticket at JIRA. Thanks! On Apr 12, 2015 9:43 PM, "Don Ferguson" wrote: > Dear Wicket Boffins, > > I have a Wicket 6 app that I’ve recently migrated to Wicket 7. In the > app there is a form whose AjaxSubmitLink hid

Wicket 7: Problem hiding form from AjaxSubmitLink

2015-04-12 Thread Don Ferguson
Dear Wicket Boffins, I have a Wicket 6 app that I’ve recently migrated to Wicket 7. In the app there is a form whose AjaxSubmitLink hides the form as part of the submit. In Wicket7, this causes a ListenerInvocationNotAllowedException to be thrown, since the component that submitted the form

Re: Multipart form doesn't work with AjaxSubmitLink (1.5.8 - 6.17 upgrade)

2014-10-30 Thread Martin Grigorov
ou changed a lot of things..:) > Migrating to 7.x should be much easier! There are no big refactorings and the migration guide <https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+7.0> is very detailed. > > regards > > Tomas. > > > >

Re: Multipart form doesn't work with AjaxSubmitLink (1.5.8 - 6.17 upgrade)

2014-10-30 Thread tomask79
ou changed a lot of things..:) regards Tomas. } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multipart-form-doesn-t-work-with-AjaxSubmitLink-1-5-8-6-17-upgrade-tp4668161p4668164.html Sent from the Users forum mailing

Re: Multipart form doesn't work with AjaxSubmitLink (1.5.8 - 6.17 upgrade)

2014-10-30 Thread tomask79
Okay Martin, thanks for quick reply. I will try to simulate it as you said and let you know. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Multipart-form-doesn-t-work-with-AjaxSubmitLink-1-5-8-6-17-upgrade-tp4668161p4668163.html Sent from the Users forum mailing

Re: Multipart form doesn't work with AjaxSubmitLink (1.5.8 - 6.17 upgrade)

2014-10-30 Thread Martin Grigorov
e some upload fields. Method onSubmit of AjaxSubmitLinks never gets > called...:-(...I see NO ERRORS in the javascript console...Anyway AjaxLinks > in the same place are working fineBack to problem: > > *HTML of AjaxSubmitLink* > > > > *Java* > > > > *Link in

Multipart form doesn't work with AjaxSubmitLink (1.5.8 - 6.17 upgrade)

2014-10-30 Thread tomask79
pt console...Anyway AjaxLinks in the same place are working fineBack to problem: *HTML of AjaxSubmitLink* *Java* *Link inside DOM:* *Registered event in the new Wicket 6.0 style:* Wicket.Ajax.ajax({"f":"form10e","mp":true,"u":"./application-for

Re: AjaxSubmitLink not working when fileUpload in Form

2014-09-30 Thread cojy
is a fileUpload. That's still a bit weird. But anyway, problem solved, so thanks again ! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-not-working-when-fileUpload-in-Form-tp4667740p4667766.html Sent from the Users forum mailing list archive at Nabbl

Re: AjaxSubmitLink not working when fileUpload in Form

2014-09-28 Thread Martin Grigorov
, 2014 at 10:25 AM, cojy wrote: > Hi, > When I am having a fileUpload in a form, the wicket ajax debug throw the > following error: > > "An error occurred while executing Ajax request:TypeError: object is not a > function" > > and my ajaxsubmitlink actions onSubmit

AjaxSubmitLink not working when fileUpload in Form

2014-09-28 Thread cojy
Hi, When I am having a fileUpload in a form, the wicket ajax debug throw the following error: "An error occurred while executing Ajax request:TypeError: object is not a function" and my ajaxsubmitlink actions onSubmit() or onError() are not called (so nothing happens). I am not su

Re: Testing Form with AjaxSubmitLink

2014-03-13 Thread Martin Grigorov
of > > > org.apache.wicket.util.tester.BaseWicketTester#clickLink(java.lang.String, > > boolean) > > > > Martin Grigorov > > Wicket Training and Consulting > > > > > > On Thu, Mar 13, 2014 at 8:06 PM, Nick Pratt wrote: > > > > > How

Re: Testing Form with AjaxSubmitLink

2014-03-13 Thread Gabriel Landon
As Martin said you can use : tester.clickLink("form:submit", true); You can also use : tester.executeAjaxEvent("form:submit", "onclick"); Regards, Gabriel. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Testing-Form-with-AjaxSubmitLi

Re: Testing Form with AjaxSubmitLink

2014-03-13 Thread Nick Pratt
tTester#clickLink(java.lang.String, > boolean) > > Martin Grigorov > Wicket Training and Consulting > > > On Thu, Mar 13, 2014 at 8:06 PM, Nick Pratt wrote: > > > How do you submit a form via WicketTester and an AjaxSubmitLink? > > > > > > *HomePage.java:*

Re: Testing Form with AjaxSubmitLink

2014-03-13 Thread Martin Grigorov
Hi, See the javadoc of org.apache.wicket.util.tester.BaseWicketTester#clickLink(java.lang.String, boolean) Martin Grigorov Wicket Training and Consulting On Thu, Mar 13, 2014 at 8:06 PM, Nick Pratt wrote: > How do you submit a form via WicketTester and an AjaxSubmitLink? > > > *H

Testing Form with AjaxSubmitLink

2014-03-13 Thread Nick Pratt
How do you submit a form via WicketTester and an AjaxSubmitLink? *HomePage.java:* public class HomePage extends WebPage { private static final long serialVersionUID = 1L; private String email; public HomePage( final PageParameters parameters ) { super( parameters ); Form form = new Form

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-10 Thread Sheane
Did you have any luck with the migration? Im currently facing the same issue, none of my Ajax components seems to be working. Should we do any configuration changes? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Timo Schmidt
On Fri 07.02.2014 08:05, Heshani wrote: > > I fixed the registerPreCallHandler is not a function > error. But im still facing the issue where the AjaxSubmitLink > gets rendered with, href="javascript:;" That's OK. Since Wicket 6 this is done b

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Heshani
I fixed the registerPreCallHandler is not a function error. But im still facing the issue where the AjaxSubmitLink gets rendered with, href="javascript:;" -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-t

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Martin Grigorov
wrote: > It does have the below javascript error, > Wicket.Ajax.registerPreCallHandler is not a function > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664296.html >

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Heshani
It does have the below javascript error, Wicket.Ajax.registerPreCallHandler is not a function -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLink-does-not-respond-after-migrating-to-wicket-6-tp4664294p4664296.html Sent from the Users forum mailing

Re: The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Martin Grigorov
Hi, Check for JavaScript errors/logs. Martin Grigorov Wicket Training and Consulting On Fri, Feb 7, 2014 at 12:15 PM, Heshani wrote: > I migrated the application from wicket 1.4 to 6.13.0. After the migration > the > AjaxSubmitLink gets rendered with, href="javascript:;"

The AjaxSubmitLink does not respond after migrating to wicket 6

2014-02-07 Thread Heshani
I migrated the application from wicket 1.4 to 6.13.0. After the migration the AjaxSubmitLink gets rendered with, href="javascript:;". Anyone knows the reason for this issue? Thank you! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/The-AjaxSubmitLin

Re: Possible asynchronous ajax operations with form ajaxsubmitlink

2013-09-14 Thread Martin Grigorov
t;> Is that mechanism handled in Java side/server side? What classes? >> >> -Original Message- >> From: Sven Meier [mailto:s...@meiers.net] >> Sent: Thursday, September 12, 2013 9:29 AM >> To: users@wicket.apache.org >> Subject: Re: Possible asynchronous aj

RE: Possible asynchronous ajax operations with form ajaxsubmitlink

2013-09-13 Thread Brown, Berlin [PRI-1PP]
asses? -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: Thursday, September 12, 2013 9:29 AM To: users@wicket.apache.org Subject: Re: Possible asynchronous ajax operations with form ajaxsubmitlink No, because all access to Wicket pages is serialized (on the server). Sven On

Re: Possible asynchronous ajax operations with form ajaxsubmitlink

2013-09-13 Thread Sven Meier
form ajaxsubmitlink No, because all access to Wicket pages is serialized (on the server). Sven On 09/12/2013 03:20 PM, Brown, Berlin [PRI-1PP] wrote: Is it possible for wicket to execute operations asynchronously in terms of handling ajax calls. For example, if I have an ajax submit

Re: Possible asynchronous ajax operations with form ajaxsubmitlink

2013-09-12 Thread Sven Meier
No, because all access to Wicket pages is serialized (on the server). Sven On 09/12/2013 03:20 PM, Brown, Berlin [PRI-1PP] wrote: Is it possible for wicket to execute operations asynchronously in terms of handling ajax calls. For example, if I have an ajax submit link. AjaxSubmitLin

Possible asynchronous ajax operations with form ajaxsubmitlink

2013-09-12 Thread Brown, Berlin [PRI-1PP]
Is it possible for wicket to execute operations asynchronously in terms of handling ajax calls. For example, if I have an ajax submit link. AjaxSubmitLink1 { OnSubmit() { runLongRunningOperation(); // Imagine this operation runs 10 seconds } } AjaxSubmitLink2 { OnS

Re: AjaxSubmitLink and AjaxRequestTarget.appendJavaScript

2013-08-30 Thread Martin Grigorov
> > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-and-AjaxRequestTarget-appendJavaScript-tp4661101.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

AjaxSubmitLink and AjaxRequestTarget.appendJavaScript

2013-08-27 Thread podmak
;myJS"); } Is appendJavaScript working only in AjaxLink or? thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-and-AjaxRequestTarget-appendJavaScript-tp4661101.html Sent from the Users forum mailing list archive at

Re: AjaxSubmitLink Errors

2013-06-24 Thread Martin Grigorov
Hi, The AjaxSubmitLink just submits the data. Its #onError() is called when any of the submitted *form components* has an error. On Fri, Jun 21, 2013 at 7:39 PM, Richard W. Adams wrote: > When AjaxSubmitLink.onError() is called, how does one determine what the > error was? C

AjaxSubmitLink Errors

2013-06-21 Thread Richard W. Adams
When AjaxSubmitLink.onError() is called, how does one determine what the error was? Calling getFeedbackMessage() (tried on both the link & on the form) is returning null, & I can't see any other way to determine what the error was... ** This email and any attachments may contain information t

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Petr Zajac
Hi, after fighting with registration AjaxCallListener to AjaxSubmitLink it works fine now. :-) Thanks Petr Dne 23.5.2013 13:13, Martin Grigorov napsal(a): Hi, Just re-read your previous message. I see now: $submitBtn.click(function(e) {... So you have two listeners on 'click' eve

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Martin Grigorov
primary : "ui-icon-clock" >>> }); >>> $submitBtn.button("refresh"); >>> $submitBtn.button("disable"); >>> // $form.find('input[type="text"]').add($form.find('i

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Petr Zajac
}); Petr Dne 22.5.2013 22:18, Martin Grigorov napsal(a): Hi, On Wed, May 22, 2013 at 11:07 PM, Petr Zajac wrote: Hi, when I tried to upgrade to to Wicket 6.8.0 I found probably serious issue. We have Form with two text fields ('username' and 'password'). We

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-23 Thread Martin Grigorov
*, true); > }); > > > Petr > > Dne 22.5.2013 22:18, Martin Grigorov napsal(a): > >> Hi, >> >> >> On Wed, May 22, 2013 at 11:07 PM, Petr Zajac >> wrote: >> >> Hi, >>> when I tried to upgrade to to Wicket 6.8.0 I found probably serious

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-22 Thread Petr Zajac
3 at 11:07 PM, Petr Zajac wrote: Hi, when I tried to upgrade to to Wicket 6.8.0 I found probably serious issue. We have Form with two text fields ('username' and 'password'). We set CompoundPropertyModel and bound properties to two textfields. The submit button uses Ajax

Re: Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-22 Thread Martin Grigorov
textfields. The > submit button uses AjaxSubmitLink. When I click to submit button the the > form shows feedback that 'username' and 'password' fields cannot be empty. > It works fine in 6.6.0 and 6.7.0 versions. > > Form implementation: > > f

Issue in 6.8.0 - Form with CompoundPropertyModel and AjaxSubmitLink

2013-05-22 Thread Petr Zajac
Hi, when I tried to upgrade to to Wicket 6.8.0 I found probably serious issue. We have Form with two text fields ('username' and 'password'). We set CompoundPropertyModel and bound properties to two textfields. The submit button uses AjaxSubmitLink. When I click to submit

Re: setResponsePage in AjaxSubmitLink causing AjaxError

2013-04-17 Thread Sven Meier
Hi Jeremy, redirects via ajax work fine here. See wicket-examples' LinksPage.java for an example. Sven On 04/16/2013 11:30 PM, Jeremy Levy wrote: I'm using Wicket 6.6.0, in an AjaxSubmitLink when I do a setResponsepage(myclass.class) or (throw new RedirectResponse) i get the follo

Re: setResponsePage in AjaxSubmitLink causing AjaxError

2013-04-16 Thread Jeremy Levy
I figured it out- further up in the code I was calling: new PageReference(new PageProvider(MyPage.class).getInstance().getPageId()) which was causing the problem. Jeremy On Tue, Apr 16, 2013 at 5:30 PM, Jeremy Levy wrote: > I'm using Wicket 6.6.0, in an AjaxSubmitLink whe

setResponsePage in AjaxSubmitLink causing AjaxError

2013-04-16 Thread Jeremy Levy
I'm using Wicket 6.6.0, in an AjaxSubmitLink when I do a setResponsepage(myclass.class) or (throw new RedirectResponse) i get the following error in the wicket ajax debug console: *ERROR: * Wicket.Ajax.Call.failure: Error while parsing response: Error: Invalid XML: The error console

Re: Wicket 1.4.x - AjaxSubmitLink doesn't work

2013-03-14 Thread Martin Grigorov
Hi, On Thu, Mar 14, 2013 at 3:56 PM, anotherUser < juan.dellagn...@theiaconsulting.com> wrote: > Hi this my first post here, let's see my problem: > Welcome ! > i am adding a AjaxSubmitLink in a Listview like this: > > AjaxSubmitLink lnkAgregar = new AjaxSub

Wicket 1.4.x - AjaxSubmitLink doesn't work

2013-03-14 Thread anotherUser
Hi this my first post here, let's see my problem: i am adding a AjaxSubmitLink in a Listview like this: AjaxSubmitLink lnkAgregar = new AjaxSubmitLink("lnkDetalle", form) { @Override protected void onSubmit(AjaxRequestTarget

Re: AjaxSubmitLink + setResponsePage = feedback message problem on new page

2012-11-26 Thread sadiq81
Thx for this post, it also helped me :) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-setResponsePage-feedback-message-problem-on-new-page-tp1843719p4654214.html Sent from the Users forum mailing list archive at Nabble.com

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
thanks Martin - I'll try the veil and report later -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453493.html Sent from the Users forum mailing list archive at Nabbl

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
> http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453452.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-u

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
I already tried removing the "reset" code - didn't work. By veil you mean something like the jquery plugin blockUi? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453452.html Sent from the User

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
in onSubmit of the AjaxSubmitLink i do: > > getSession.untouch(firstPage); > getSession.clear(); > setResponsePaeg(new myNextPage()); > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p445339

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
in onSubmit of the AjaxSubmitLink i do: getSession.untouch(firstPage); getSession.clear(); setResponsePaeg(new myNextPage()); -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453399.html Sent from the Users

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
; > } > > public CharSequence decorateOnSuccessScript(CharSequence script) { >  return reset + script; > } > public CharSequence decorateOnFailureScript(CharSequence script) { >  return reset + script; > } > } > > -- > View this message in context: > http://ap

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
rSequence decorateOnSuccessScript(CharSequence script) { return reset + script; } public CharSequence decorateOnFailureScript(CharSequence script) { return reset + script; } } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread Martin Grigorov
On Wed, Mar 7, 2012 at 2:41 PM, rebecca wrote: > hi again > > Can you help me with this? I'm really stuck with this problem... Show us your AjaxCallDecorator. > > thanks > Rebecca > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble

Re: double click on AjaxSubmitLink and page expired

2012-03-07 Thread rebecca
hi again Can you help me with this? I'm really stuck with this problem... thanks Rebecca -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4453153.html Sent from the Users forum mailing list archi

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread rebecca
worked for me and i saw other similar posts in this forum, where other wicket users used the same hack. I'll be glad to use a better solution. thanks Rebecca -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p44

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread Martin Grigorov
e: > >> sorry - i forgot - I'm using wicket 1.4.18 >> >> -- >> View this message in context: >> http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp444

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread Josh Kamau
-- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4449457.html > Sent from the Users forum mailing list archive at Nabble.com. > > -

Re: double click on AjaxSubmitLink and page expired

2012-03-06 Thread rebecca
sorry - i forgot - I'm using wicket 1.4.18 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/double-click-on-AjaxSubmitLink-and-page-expired-tp4449450p4449457.html Sent from the Users forum mailing list archive at Nabbl

double click on AjaxSubmitLink and page expired

2012-03-06 Thread rebecca
Hello all, I have a page with a form and an AjaxSubmitLink on it. In the onSubmit() I do some business logic and redirect the user to the next page using setResponsePage(nextPage). Just before redirecting to the next page I do: getSession.untouch(firstPage); getSession.clear(); I do this in

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Richard W. Adams
01/23/2012 05:53 PM Subject:AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited Hello , sorry for my english ! I m facing a probleme with AjaxSubmitLink on a form compoenent I want to add a simple attribute modifier with a

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
I got it, Thanks for your help -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4323328.html Sent from the Users forum mailing list archive at Nabble.com

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Martin Grigorov
jaxLink ? By simply adding it in my > constructor? > > > Thanks again > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-tp4322492p4323255.html >

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
Hi martin, oops I thought the AjaxCallDecorator was a markup component, sorry So how can I implement it in my AjaxLink ? By simply adding it in my constructor? Thanks again -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread Martin Grigorov
if this is the markup id you need. > > Thanks again > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited-t

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-24 Thread chimaira
Thanks Igor, But , how can I assign the markup Id ? There is no constructor with a super(id) method ! Thanks again -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-Simple-attribute-modifier-confirm-javascript-popup-never-calld-form-not-submited

Re: AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-23 Thread Igor Vaynberg
27;", "\'") + "')) return false;\n" + script; } } On Mon, Jan 23, 2012 at 3:53 PM, chimaira wrote: > Hello , sorry for my english ! > > > I m facing a probleme with AjaxSubmitLink on a form compoenent > > I want to add a simple attri

AjaxSubmitLink : Simple attribute modifier (confirm javascript popup) never calld , form not submited

2012-01-23 Thread chimaira
Hello , sorry for my english ! I m facing a probleme with AjaxSubmitLink on a form compoenent I want to add a simple attribute modifier with a on click and a confirm javascript popup, to get to user confirmation befor submiting. That works fine with a simple wicket button , but I want to

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-19 Thread Martin Grigorov
your code you have without >>>>>> returning anything. Since 'if (undefined)' is 'false' the call stops >>>>>> there. >>>>>> >>>>>> On Fri, Sep 16, 2011 at 3:25 PM, Wayne W >>>>>> wrote: >>

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-18 Thread Wayne W
>>> >>>>>> >>>>>> On Fri, Sep 16, 2011 at 5:04 PM, Martin Grigorov >>>>>> wrote: >>>>>>> It should return true or false. >>>>>>> False if there is some reason to not submit the fo

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Igor Vaynberg
igorov >>>>> wrote: >>>>>> It should return true or false. >>>>>> False if there is some reason to not submit the form, for example >>>>>> client side validation failed. >>>>>> True if everything

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Igor Vaynberg
Sep 16, 2011 at 5:04 PM, Martin Grigorov >>>> wrote: >>>>> It should return true or false. >>>>> False if there is some reason to not submit the form, for example >>>>> client side validation failed. >>>>> True if everythi

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
Sep 16, 2011 at 5:04 PM, Martin Grigorov >>>> wrote: >>>>> It should return true or false. >>>>> False if there is some reason to not submit the form, for example >>>>> client side validation failed. >>>>> True if everythi

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
g is OK and the submit can proceed. >>>> >>>> On Fri, Sep 16, 2011 at 6:21 AM, Wayne W >>>> wrote: >>>>> Hi, >>>>> >>>>> I'm trying to upgrade from 1.4.8 to 1.4.18 and I'm finding that >>>>>

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Igor Vaynberg
rm, for example >>> client side validation failed. >>> True if everything is OK and the submit can proceed. >>> >>> On Fri, Sep 16, 2011 at 6:21 AM, Wayne W >>> wrote: >>>> Hi, >>>> >>>> I'm trying to upgrade

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
: >>> Hi, >>> >>> I'm trying to upgrade from 1.4.8 to 1.4.18 and I'm finding that >>> AjaxSubmitLink is not working  (at least with one form). >>> >>> The form doesn't get submitted - the problem in wicket-ajax.js is (~line >

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Wayne W
can proceed. > > On Fri, Sep 16, 2011 at 6:21 AM, Wayne W wrote: >> Hi, >> >> I'm trying to upgrade from 1.4.8 to 1.4.18 and I'm finding that >> AjaxSubmitLink is not working  (at least with one form). >> >> The form doesn't get submitted - the p

Re: AjaxSubmitLink 1.4.18 issue/not working

2011-09-16 Thread Martin Grigorov
1.4.18 and I'm finding that > AjaxSubmitLink is not working  (at least with one form). > > The form doesn't get submitted - the problem in wicket-ajax.js is (~line > 1120): > > // Submits a form using ajax. >        // This method serializes a form and sends it as

AjaxSubmitLink 1.4.18 issue/not working

2011-09-15 Thread Wayne W
Hi, I'm trying to upgrade from 1.4.8 to 1.4.18 and I'm finding that AjaxSubmitLink is not working (at least with one form). The form doesn't get submitted - the problem in wicket-ajax.js is (~line 1120): // Submits a form using ajax. // This method serializes a form

Re: AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-05 Thread Tier
Thanks, it's help me with my problem. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxSubmitLink-in-ModalWindow-throws-Submit-Button-is-not-visible-exception-tp3570446p3576210.html Sent from the Users forum mailing list archive at Nabbl

AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-03 Thread Tier
Hello, I have ModalWindow with form inside html: wicket:panel> ... java: add(okButton = new AjaxSubmitLink("closeOK", this) { @Override p

Re: AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-03 Thread Andrea Del Bene
with id=componentToHide.getMarkupId()>" + "';" + script ; } } Hello, I have ModalWindow with form inside html: wicket:panel> ... java: add(okButton =

Re: AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-03 Thread Martin Grigorov
gt; > wicket:panel> >         >           ... >         >         >         >         > > > java: > > add(okButton = new AjaxSubmitLink("closeOK", this) >                { >                        @Override >          

AjaxSubmitLink in ModalWindow throws Submit Button is not visible exception

2011-06-03 Thread Tier
Hello, I have ModalWindow with form inside html: wicket:panel> ... java: add(okButton = new AjaxSubmitLink("closeOK", this) { @Override p

Re: AjaxSubmitLink problem

2010-10-27 Thread Pedro Santos
use the formCoponent.getRawInput() On Wed, Oct 27, 2010 at 12:24 PM, Anna Simbirtsev wrote: > Hi, > > I am using AjaxSubmitLink and I have setDefaultFormProcessing(false) > to avoid form validation. The only problem is that none of the form > values get submitted. If I need to g

AjaxSubmitLink problem

2010-10-27 Thread Anna Simbirtsev
Hi, I am using AjaxSubmitLink and I have setDefaultFormProcessing(false) to avoid form validation. The only problem is that none of the form values get submitted. If I need to get the value of one of the fields, how do I do that? Thanks, Anna

statelessform and ajaxsubmitlink in the same page

2010-07-25 Thread Gustavo Henrique
Hi! I have a page with 1 statelessform and another form that use ajaxsubmitlink. I overrides the isStateless method to return false to avoid ajaxsubmitlink fail but when the normal form is submited wicket throws exception with text: "... deserializing proxy...". Is possible have a sta

Re: How to put a loading cursor in ajaxsubmitlink?

2010-07-24 Thread Fausto Argeni Bencosme Doñe
rtin.maku...@koodaripalvelut.com> wrote: > http://www.wicket-library.com/wicket-examples/ajax/links.0 > > 2010/7/24 Gustavo Henrique : > > Hi! > > How to put a loading cursor in ajaxsubmitlink? > > > > thanks! > > > >

  1   2   3   >