Re: How to put a loading cursor in ajaxsubmitlink?

2010-07-24 Thread Martin Makundi
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! > - To unsubscribe, e-mail: users-unsubscr...@wicket

How to put a loading cursor in ajaxsubmitlink?

2010-07-24 Thread Gustavo Henrique
Hi! How to put a loading cursor in ajaxsubmitlink? thanks!

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2010-05-19 Thread Alec Swan
old tread because I ran into this issue again. > Last time I changed my code to use a regular link to submit the form, but > this time the form is on a modal window and has to be submitted with > AjaxSubmitLink. > > My current findings are identical to the ones describes in my previous

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2010-05-19 Thread Alec Swan
I'd like to resurrect this old tread because I ran into this issue again. Last time I changed my code to use a regular link to submit the form, but this time the form is on a modal window and has to be submitted with AjaxSubmitLink. My current findings are identical to the ones describes

Re: AjaxSubmitLink javadocs

2010-04-16 Thread Jeremy Thomerson
emy Thomerson > > > This appears to be an issue in the documentation of the AjaxSubmitLink. > I > > just checked and the documentation is still the same in 1.4. I will try > to > > verify this and fix it tomorrow. In the meantime, it would be helpful if > > you opened

Re: AjaxSubmitLink javadocs

2010-04-16 Thread Xavier López
ssing something. I'm just glad to contribute improving this great framework, even though it's on a lesser thing like this. Cheers, Xavier 2010/4/16 Jeremy Thomerson > This appears to be an issue in the documentation of the AjaxSubmitLink. I > just checked and the documentation is

Re: AjaxSubmitLink javadocs

2010-04-15 Thread Jeremy Thomerson
This appears to be an issue in the documentation of the AjaxSubmitLink. I just checked and the documentation is still the same in 1.4. I will try to verify this and fix it tomorrow. In the meantime, it would be helpful if you opened a JIRA issue to keep track of this (post the link back to this

AjaxSubmitLink javadocs

2010-04-15 Thread Xavier López
Hi, I'm a liitle confused about AjaxSubmitLink's JavaDoc, and the code inside it... I'm using Wicket 1.3.6: If/when javascript is turned off in the browser, or it doesn't support > javascript, then the > browser will not respond to the onclick event, using the href directly. > Wicket will then us

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-03-27 Thread Anantha Kumaran
il/InvokeClientSideFormSubmitHandlerDecorator.java > > > > This AjaxCallDecorator will invoke the form's onsubmit handler prior > > to invoking the ajax call. > > > > So you can: > > > > add(new AjaxSubmitLink("blah&

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-03-26 Thread Igor Vaynberg
ajax call. > > So you can: > > add(new AjaxSubmitLink("blah") { >       �...@override >        protected IAjaxCallDecorator getAjaxCallDecorator() { >            return new InvokeClientSideFormSubmitHandlerDecorator(MyForm.this); >        } > }); > > And have any ajax

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-03-26 Thread Richard Nichols
/visural/wicket/util/InvokeClientSideFormSubmitHandlerDecorator.java This AjaxCallDecorator will invoke the form's onsubmit handler prior to invoking the ajax call. So you can: add(new AjaxSubmitLink("blah") { @Override protected IAjaxCallDecorator getAj

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-03-26 Thread Anantha Kumaran
= function() { // do your stuff return wicketOnClick(); }; Is this expected behavior I wonder, or a bug? > > SubmitLink will call the 's onsubmit='???' handler, > AjaxSubmitLink does not. > > AFAIK AjaxSubmitLink doesn't fire the submit

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-03-24 Thread Richard Nichols
Hi Anantha, Did you get a resolution to this issue? I have the same problem. Is this expected behavior I wonder, or a bug? SubmitLink will call the 's onsubmit='???' handler, AjaxSubmitLink does not. On 4 January 2010 23:05, Anantha Kumaran wrote: > hi pieter > >

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2010-02-25 Thread jortiz
and an explicit id (other than id="id") is required, at least in Wicket 1.3.5. FakeBoy wrote: > > Hi, I GOT IT > I found the problem. The Problem was in the TextField with wicket id "id". > When you want to safetly use ajax submit components (AjaxButton, > A

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

2010-01-27 Thread Wayne Pope
>>> On Wed, Jan 27, 2010 at 10:15 AM, Wayne Pope >>> wrote: >>> > Hello all, >>> > >>> > Ok I cannot figure this one out. >>> > I have a  Page that contains a Form with a AjaxSubmitLink: >>> > >>> >

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

2010-01-27 Thread Igor Vaynberg
k messages across requests then use >> getsession().info(...) >> >> -igor >> >> On Wed, Jan 27, 2010 at 10:15 AM, Wayne Pope >> wrote: >> > Hello all, >> > >> > Ok I cannot figure this one out. >> >

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

2010-01-27 Thread Riyad Kalla
t; wrote: > > Hello all, > > > > Ok I cannot figure this one out. > > I have a Page that contains a Form with a AjaxSubmitLink: > > > > AjaxSubmitLink submitLink= new AjaxSubmitLink("submitLink") { > >@Overrid

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

2010-01-27 Thread Igor Vaynberg
at 10:15 AM, Wayne Pope wrote: > Hello all, > > Ok I cannot figure this one out. > I have a  Page that contains a Form with a AjaxSubmitLink: > > AjaxSubmitLink submitLink= new AjaxSubmitLink("submitLink") { >                       �...@override >            

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

2010-01-27 Thread Josh Kamau
Pope < waynemailingli...@googlemail.com> wrote: > Hello all, > > Ok I cannot figure this one out. > I have a Page that contains a Form with a AjaxSubmitLink: > > AjaxSubmitLink submitLink= new AjaxSubmitLink("submitLink") { >@Overri

AjaxSubmitLink + setResponsePage = feedback message problem on new page

2010-01-27 Thread Wayne Pope
Hello all, Ok I cannot figure this one out. I have a Page that contains a Form with a AjaxSubmitLink: AjaxSubmitLink submitLink= new AjaxSubmitLink("submitLink") { @Override protected void onSubmit(AjaxRequestTarget target,

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-01-04 Thread Anantha Kumaran
hi pieter my problem is that the AjaxSubmitLink is not behaving like the SubmitLink which calls the onsubmit before submitting the form.currently i am using the mousedown(can't use onclick) of the AjaxSubmitLink to do the validation stuffs but it breaks when the user submit the form by pre

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-01-04 Thread Pieter Degraeuwe
} }; On Mon, Jan 4, 2010 at 5:30 AM, Anantha Kumaran wrote: > is there any way to do this on the client side.I want to do some client > side > stuff before submitting the form. > > On Sun, Jan 3, 2010 at 9:36 AM, Mathias Nilsson < > wicket.program...

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-01-03 Thread Anantha Kumaran
is there any way to do this on the client side.I want to do some client side stuff before submitting the form. On Sun, Jan 3, 2010 at 9:36 AM, Mathias Nilsson wrote: > > form.add ( new AjaxSubmitLink(){ > > protected void onSubmit(AjaxRequestTarget target, Form form){ > // Ad

Re: AjaxSubmitLink not calling the onsubmit event handler

2010-01-03 Thread Mathias Nilsson
form.add ( new AjaxSubmitLink(){ protected void onSubmit(AjaxRequestTarget target, Form form){ // Add feedback and do ajax stuff. } protected void onError(AjaxRequestTarget target, Form form){ // Add FeedbackPanel here target.add( feedback ); }}); -- View this message in context

AjaxSubmitLink not calling the onsubmit event handler

2010-01-03 Thread Anantha Kumaran
Is it possible to add a onsubmit event to a form that is submitted using AjaxSubmitLink? if not so is there any other way to handle validation stuffs..

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-29 Thread Kent Tong
JSF (http://http://agileskills2.org) -- View this message in context: http://old.nabble.com/Re%3A-Testing-AjaxSubmitLink-onSubmit%28%29-with-WicketTester-%40L-tp26947384p26955427.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-29 Thread Pieter Degraeuwe
nium.waitForCondition( javascript>). > > - > -- > Kent Tong > Better way to unit test Wicket pages ( > http://wicketpagetest.sourceforge.net) > Books on CXF, Axis2, Wicket, JSF (http://http://agileskills2.org) > -- > View this message in context: > http://old.nabble.com

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-29 Thread Kent Tong
F, Axis2, Wicket, JSF (http://http://agileskills2.org) -- View this message in context: http://old.nabble.com/Re%3A-Testing-AjaxSubmitLink-onSubmit%28%29-with-WicketTester-%40L-tp26947384p26954770.html Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-29 Thread Pieter Degraeuwe
3 AM, Kent Tong wrote: > > > alecswan1 wrote: > > > > So, how do I test AjaxSubmitLink#onSubmit(AjaxRequestTarget target, Form > > form) method? > > > > You may try using to test it instead. > It > supports real AJAX. > > - >

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-28 Thread Kent Tong
alecswan1 wrote: > > So, how do I test AjaxSubmitLink#onSubmit(AjaxRequestTarget target, Form > form) method? > You may try using http://wicketpagetest.sourceforge.net/ to test it instead. It supports real AJAX. - -- Kent Tong Better way to unit test Wicket

Re: Testing AjaxSubmitLink#onSubmit() with WicketTester @L

2009-12-28 Thread Alec Swan
I unsuccessfully tried several different ways to invoke the AjaxSubmitLink from my test method. 1. formTester.submit("submitButton") does not call AjaxSubmitLink#onSubmit(AjaxRequestTarget target, Form form) 2. formTester.submitLink("submitButton"

Testing AjaxSubmitLink#onSubmit() with WicketTester

2009-12-27 Thread Alec Swan
I have a page with a form and AjaxSubmitLink in the form. I call WicketTester#clickLink(pathToLink, true) to test the code in AjaxSubmitLink#onSubmit(). The call returns with no errors, but AjaxSubmitLink#onSubmit() is never called. Here is a code sample: tester.startPanel(MyPanel.class

Re: How to post form to new window using AjaxSubmitLink

2009-12-23 Thread Jeff Andersen
ou can output some javascript using the ajaxrequesttarget that does >> window.open >> >> -igor >> >> On Fri, Dec 11, 2009 at 12:31 PM, Jeff Andersen >> wrote: >> > I need to know how I can post a form to a new window using an >> AjaxSubmitLink. I have a

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-12-18 Thread Pieter Degraeuwe
Or you just implement (override) the onError(...) method of your AjaxSubmitLink()... there you can 'refresh' your feedbackpanel by adding it to the ajaxRequestTarget (It's on the todo list to make it abstract, so you have to implement it, just like the onSubmit(...) On Fri,

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-12-18 Thread Martin Willitts
ages that >> I >> have added to be displayed. For example, in the following code, I need a >> way >> to display the line "No PIN found for PIN" but I am not sure how to do >> that. >> Any ideas? >> >> final AjaxSubmitLink ver

Re: How to post form to new window using AjaxSubmitLink

2009-12-11 Thread Zak Johnson
, 2009 at 2:50 PM, Igor Vaynberg wrote: > you can output some javascript using the ajaxrequesttarget that does > window.open > > -igor > > On Fri, Dec 11, 2009 at 12:31 PM, Jeff Andersen > wrote: > > I need to know how I can post a form to a new window using an > AjaxSu

Re: How to post form to new window using AjaxSubmitLink

2009-12-11 Thread Igor Vaynberg
you can output some javascript using the ajaxrequesttarget that does window.open -igor On Fri, Dec 11, 2009 at 12:31 PM, Jeff Andersen wrote: > I need to know how I can post a form to a new window using an AjaxSubmitLink. >  I have a small page where a user can make a few setting chang

How to post form to new window using AjaxSubmitLink

2009-12-11 Thread Jeff Andersen
I need to know how I can post a form to a new window using an AjaxSubmitLink. I have a small page where a user can make a few setting changes and then either save those settings (using an AjaxButton) or preview those settings (using an AjaxSubmitLink) in a new window. The problem is, I can&#

Re: AjaxSubmitLink does not work in 1.4-rc7

2009-07-26 Thread Martin Makundi
t; ** >> Martin >> >>> >>> On Sun, Jul 26, 2009 at 9:15 AM, Martin >>> Makundi wrote: >>>> Hi! >>>> >>>> AjaxSubmitLink does not work in 1.4-rc7 >>>> >>>> Anybody know a workaround: >>>>

Re: AjaxSubmitLink does not work in 1.4-rc7

2009-07-26 Thread Matej Knopp
sometimes exaggerate, but yes, the > test does not work. > > ** > Martin > >> >> On Sun, Jul 26, 2009 at 9:15 AM, Martin >> Makundi wrote: >>> Hi! >>> >>> AjaxSubmitLink does not work in 1.4-rc7 >>> >>> Anybody kn

Re: AjaxSubmitLink does not work in 1.4-rc7

2009-07-26 Thread Martin Makundi
gt; Makundi wrote: >> Hi! >> >> AjaxSubmitLink does not work in 1.4-rc7 >> >> Anybody know a workaround: https://issues.apache.org/jira/browse/WICKET-2400 >> >> ? >> >> ** >> Martin >> >> ---

Re: AjaxSubmitLink does not work in 1.4-rc7

2009-07-26 Thread Igor Vaynberg
the link works just fine, wicket tester doesnt work right. -igor On Sun, Jul 26, 2009 at 9:15 AM, Martin Makundi wrote: > Hi! > > AjaxSubmitLink does not work in 1.4-rc7 > > Anybody know a workaround: https://issues.apache.org/jira/browse/WICKET-2400 > &

AjaxSubmitLink does not work in 1.4-rc7

2009-07-26 Thread Martin Makundi
Hi! AjaxSubmitLink does not work in 1.4-rc7 Anybody know a workaround: https://issues.apache.org/jira/browse/WICKET-2400 ? ** Martin - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Luther Baker
at I > have added to be displayed. For example, in the following code, I need a > way > to display the line "No PIN found for PIN" but I am not sure how to do > that. > Any ideas? > > final AjaxSubmitLink verifyPinLink = new AjaxSubmitLink("verifyPinLink")

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread jpalmer1026
how to do that. Any ideas? final AjaxSubmitLink verifyPinLink = new AjaxSubmitLink("verifyPinLink") { @Override public void onSubmit(AjaxRequestTarget target, Form form) { //target.addComponent(feedback); //

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Jason Lea
I think you need to override final AjaxSubmitLink verifyPinLink = new AjaxSubmitLink("verifyPinLink") { |*onError <http://wicket.sourceforge.net/apidocs/wicket/ajax/markup/html/form/AjaxSubmitLink.html#onError%28wicket.ajax.AjaxRequestTarget,%20wicket.markup.html

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread jpalmer1026
I called target.addComponent for the feedbackpanel but still no luck. My updated code is as follows: final AjaxSubmitLink verifyPinLink = new AjaxSubmitLink("verifyPinLink") { @Override public void onSubmit(AjaxRequestTarget target,

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Erik van Oosten
You did not call target.addComponent for the feedbackpanel or any of its parents. Regards, Erik. jpalmer1...@mchsi.com schreef: I am using an AjaxSubmitLink to submit form data. Using this, however, is preventing feedback messages from being displayed. My code is as follows: public

Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread jpalmer1026
I am using an AjaxSubmitLink to submit form data. Using this, however, is preventing feedback messages from being displayed. My code is as follows:public class InitiateDeclarationPage extends EzdecBaseWebPage {    @SpringBean    private IDeclarationService declarationService

RE: AjaxSubmitLink

2009-06-19 Thread Jeremy Thomerson
ess device -Original Message- From: sander v F Sent: Friday, June 19, 2009 2:06 AM To: users@wicket.apache.org Subject: Re: AjaxSubmitLink Like the error says: "Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update." That would be t

RE: AjaxSubmitLink

2009-06-19 Thread Jeremy Thomerson
- From: jpalmer1...@mchsi.com Sent: Thursday, June 18, 2009 4:33 PM To: users@wicket.apache.org Subject: AjaxSubmitLink I am trying to use an AjaxSubmitLink to show a panel when a button is clicked. I am receiving the following error when I try to submit the form: Wicket.Ajax.Call.processComponent:

Re: AjaxSubmitLink

2009-06-19 Thread sander v F
to update with ajax. That's why there's the error "Component with id [[verifyPanelWmc9]] a was not found while trying to perform markup update" You should try "setOutputMarkupPlaceholderTag(true)". This will create a placeholder so the component can be updated with aj

AjaxSubmitLink

2009-06-18 Thread jpalmer1026
I am trying to use an AjaxSubmitLink to show a panel when a button is clicked. I am receiving the following error when I try to submit the form:Wicket.Ajax.Call.processComponent: Component with id [[verifyPanelWmc9]] a was not found while trying to perform markup update. Make sure you called

Re: Localize AjaxSubmitLink

2009-04-20 Thread Maarten Bosteels
Or: Maarten On Mon, Apr 20, 2009 at 5:07 PM, Jeremy Thomerson wrote: > link = new AjaxSubmitLink(); > link.add(new AttributeModifier("value", true, new > ResourceModel("speichern.textkey")); > > -- > Jeremy Thomerson > http://www.wickettraining.co

Re: Localize AjaxSubmitLink

2009-04-20 Thread Jeremy Thomerson
link = new AjaxSubmitLink(); link.add(new AttributeModifier("value", true, new ResourceModel("speichern.textkey")); -- Jeremy Thomerson http://www.wickettraining.com On Mon, Apr 20, 2009 at 6:59 AM, Peter Diefenthaeler wrote: > > Hi, > is it possible to l

Re: Localize AjaxSubmitLink

2009-04-20 Thread jcgarciam
Try using wicket:message http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html PDiefent wrote: > > > Hi, > is it possible to localize a AjaxSubmitLink? > I would like to replace "Speichern" with a localized

Localize AjaxSubmitLink

2009-04-20 Thread Peter Diefenthaeler
Hi, is it possible to localize a AjaxSubmitLink? I would like to replace "Speichern" with a localized value from a properties file ... HTML:   Java:; form.add(new AjaxSubmitLink("save") { ... }); Thanx, Peter

Re: AjaxSubmitLink submitting twice

2009-02-18 Thread Matt Welch
ttp://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> > http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"> > > > > # Search > > > > > -- View this message in context: http://www.nabble.com/AjaxSub

Re: AjaxSubmitLink submitting twice

2009-02-10 Thread Igor Vaynberg
gt; # Search > > > > > > > > > > igor.vaynberg wrote: >> >> your example markup does not contain "search" component. it is much >> better to open a jira issue and attach a quickstart that reproduces >> the problem. >> &g

Re: AjaxSubmitLink submitting twice

2009-02-10 Thread Matt Welch
blem. > > -igor > > On Tue, Feb 10, 2009 at 6:12 AM, Matt Welch wrote: >> >> I'm stumped. We have an AjaxSubmitLink and when clicked, the onSubmit of >> the >> link is being executed twice. This is causing havok in our app.

Re: AjaxSubmitLink submitting twice

2009-02-10 Thread Igor Vaynberg
your example markup does not contain "search" component. it is much better to open a jira issue and attach a quickstart that reproduces the problem. -igor On Tue, Feb 10, 2009 at 6:12 AM, Matt Welch wrote: > > I'm stumped. We have an AjaxSubmitLink and when clicked, the o

AjaxSubmitLink submitting twice

2009-02-10 Thread Matt Welch
I'm stumped. We have an AjaxSubmitLink and when clicked, the onSubmit of the link is being executed twice. This is causing havok in our app. I've winnowed it down to just the simplest example but I still see this taking place. I'm not sure how to proceed. Here

Re: How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-05 Thread jWeekend
ink the onclick has been replaced. So can u pls > tell me how to add multiple ajax behaviors on the same event. > > > > > Timo Rantalaiho wrote: >> >> On Wed, 04 Feb 2009, rag...@directi wrote: >>> I have a AjaxSubmitLink which i only want to use for some va

Re: How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread rag...@directi
but the AjaxLink is not working properly coz i think the onclick has been replaced. So can u pls tell me how to add multiple ajax behaviors on the same event. Timo Rantalaiho wrote: > > On Wed, 04 Feb 2009, rag...@directi wrote: >> I have a AjaxSubmitLink which i only want to

Re: How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread Timo Rantalaiho
On Wed, 04 Feb 2009, rag...@directi wrote: > I have a AjaxSubmitLink which i only want to use for some validation on some > fields on the form. I do not want to submit the form if there are NO errors > by clicking this link. I am using AjaxSubmitLink just to trigger > validations, Inca

How to stop submit of form on AjaxSubmitLink onSubmit

2009-02-04 Thread rag...@directi
Hi, I have a AjaxSubmitLink which i only want to use for some validation on some fields on the form. I do not want to submit the form if there are NO errors by clicking this link. I am using AjaxSubmitLink just to trigger validations, Incase there are any error they should be shown when i click

Re: Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-10 Thread Jeremy2009
t;>> Hi, >>> >>> I have searched theforums for a similar situation but can't seem to find >>> anything. >>> >>> I have a complicated panel that consists of an outer form that contains >>> 2 >>> inner forms: >>> >&g

Re: Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-07 Thread Jeremy2009
, Jeremy2009 wrote: >> >> Hi, >> >> I have searched theforums for a similar situation but can't seem to find >> anything. >> >> I have a complicated panel that consists of an outer form that contains 2 >> inner forms: >> >> a) The outer

Re: Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-07 Thread Martijn Dashorst
, 2009 at 3:06 PM, Jeremy2009 wrote: > > Hi, > > I have searched theforums for a similar situation but can't seem to find > anything. > > I have a complicated panel that consists of an outer form that contains 2 > inner forms: > > a) The outer form has an AjaxSubm

Nested inner forms, each with their own AjaxSubmitLink, but only the 1st onSubmit ever gets called

2009-01-07 Thread Jeremy2009
Hi, I have searched theforums for a similar situation but can't seem to find anything. I have a complicated panel that consists of an outer form that contains 2 inner forms: a) The outer form has an AjaxSubmitLink with an onSubmit() that gets fired as expected. b) Each inner form has it

why AjaxSubmitLink calling getRequestCycle().setRequestTarget(new RedirectRequestTarget(url)) later , can not run the form again?

2009-01-02 Thread wch2001
Dear all, For some reason, I have 2 dropdownchoice(year and month) , according to year and month to decide the filename , then click button to download file. for the ajaxsubmitLink, my code is below, now once the file is existed, that mean after running: getRequestCycle().setRequestTarget(new

Re: No reaction appear on ajaxSubmitLink

2008-11-18 Thread miata
:38 PM, miata <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I have a problem with submitting form by an AjaxSubmitLink. In fact I try >> to >> disabled all field in my form with: >> field.setEnabled(false); >> It's work if I use an AjaxLink.clic

Re: No reaction appear on ajaxSubmitLink

2008-11-18 Thread Martijn Dashorst
Try overriding onError as well and add a feedback panel to your ajax request target in the onError. Martijn On Tue, Nov 18, 2008 at 3:38 PM, miata <[EMAIL PROTECTED]> wrote: > > Hi, > > I have a problem with submitting form by an AjaxSubmitLink. In fact I try to > disabled

No reaction appear on ajaxSubmitLink

2008-11-18 Thread miata
Hi, I have a problem with submitting form by an AjaxSubmitLink. In fact I try to disabled all field in my form with: field.setEnabled(false); It's work if I use an AjaxLink.click to take effect enabled disabled but it's doesn't work with AjaxSubmitLink.submit. The submit work a

Re: AjaxSubmitLink refreshing problem

2008-09-04 Thread Mohan Thakare
The image showing the area in which AjaxSubmitLink is shown. As the number of links are increasing the scroll bar is work automatically in Fire Fox. but its not scrolled in Safari. In Safari link is added but its not showing the current link which is added at last. Mohan Thakare wrote: > &

Re: AjaxSubmitLink refreshing problem

2008-09-04 Thread Mohan Thakare
ok. I will explain my problem in detail. I have a WebMarkupContainer in which I showing a DataView. DataView contains AjaxSubmitLink. By clicking a specific button on page a new AjaxSubmitLink containing some data is added to the DataView. http://www.nabble.com/file/p19310695/untitled.jpg each

Re: AjaxSubmitLink refreshing problem

2008-09-04 Thread alesp
I don't understand what you want to do. Can you explain the situation a little more? What do you mean by 'it' in "I need to make it work in Safari"? Mohan Thakare wrote: > > you discuss in your problem that > "The problem is that the "add"

Re: AjaxSubmitLink refreshing problem

2008-09-04 Thread Mohan Thakare
you discuss in your problem that "The problem is that the "add" link (the AjaxSubmitLink at the bottom of the diagram) is working fine" can you tell how is that possible. how can I scroll my list and set the focus on current item. Its possible in Fire Fox but not in Safar

Re: AjaxSubmitlink vs AjaxButton

2008-08-12 Thread Milan Křápek
Thaks. You are right. I thought I need just add the AjaxSubmitLink to form as a Button but it must be set as default button. Best regards Milan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: AjaxSubmitlink vs AjaxButton

2008-08-12 Thread Ryan O'Hara
form. Then I decided to refactor my webapp tu use AjaxSubmitLink because I want to use some images and texts instead of buttons. This works too, but one thing make me confused. When I was using buttons I can submit my forms just by pressing the enter key, but with AjaxSubmitlink this fea

AjaxSubmitlink vs AjaxButton

2008-08-12 Thread Milan Křápek
Hi In my web application I realized form submiting by AjaxButtons. This wokrs great. I love the possibility to refresh just part of my page after submiting the form. Then I decided to refactor my webapp tu use AjaxSubmitLink because I want to use some images and texts instead of buttons

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-12 Thread Asgaut Mjølne
artijn > > On Mon, Aug 11, 2008 at 9:57 PM, FakeBoy <[EMAIL PROTECTED]> wrote: >> >> Hi, I GOT IT >> I found the problem. The Problem was in the TextField with wicket id >> "id". >> When you want to safetly use ajax submit components (Ajax

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-11 Thread Martijn Dashorst
etly use ajax submit components (AjaxButton, > AjaxSubmitLink) your form components (TextFiels etc.) CAN NOT have wicket id > "id", because ajax submit stop work in IE. For example: > form.add(new TextField("id",...)) -> cause in IE Ajax Submit Problem > >

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-11 Thread FakeBoy
Hi, I GOT IT I found the problem. The Problem was in the TextField with wicket id "id". When you want to safetly use ajax submit components (AjaxButton, AjaxSubmitLink) your form components (TextFiels etc.) CAN NOT have wicket id "id", because ajax submit stop wor

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-11 Thread FakeBoy
dow with an > AjaxSubmitLink that submits my form and closes the window and mine worked > fine. sorry I can't help with a solution but I can tell you that it is > possible to make work. > > > > FakeBoy wrote: >> >> Hi, >> I tried to submit form from ModalWindow wit

Re: Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-11 Thread kag1526
I just tested my app in IE 7 since I also have a ModalWindow with an AjaxSubmitLink that submits my form and closes the window and mine worked fine. sorry I can't help with a solution but I can tell you that it is possible to make work. FakeBoy wrote: > > Hi, > I tried to su

Wicket 1.4m3 - AjaxButton, AjaxSubmitLink in ModalWindow in IE 7 Problem ?

2008-08-10 Thread FakeBoy
Hi, I tried to submit form from ModalWindow with AjaxButton or AjaxSubmitLink. In Firefox, Opera, Safari everything works fine, but in IE 7 doesn't. No onSubmit or onError method is fired after button or link cliked in IE 7. I used WICKET DEBUG console and after clik on Button or Link

Problem with custom FormComponentPanel and AjaxSubmitLink

2008-08-09 Thread Kaspar Fischer
: [text field] Add I have implemented the component as a FormComponentPanel>, with AjaxLink's to realize the remove links (x) and with an AjaxSubmitLink for the Add button. The remove links work but the Add button's onSubmit() always fails with a NullPointerException when it tri

Re: AjaxSubmitLink refreshing problem

2008-06-12 Thread Timo Rantalaiho
th a > LoadableDetachableModel) > | | > | --> { populateItem { > AjaxSubmitLink (to "delete" an element. Updates the WebMarkupContainer) } } > --> AutoCompleteTextField > | > --

Re: AjaxSubmitLink refreshing problem

2008-06-12 Thread alesp
; --> Form >> | >> --> WebMarkupContainer (setOutputMarkupId(true)) >> || >> |--> ListView (with a >> LoadableDetachableModel) >> | | >> |

Re: AjaxSubmitLink refreshing problem

2008-06-12 Thread jchappelle
arkupContainer (setOutputMarkupId(true)) > || > |--> ListView (with a > LoadableDetachableModel) > | | > | --> { populateItem {

AjaxSubmitLink refreshing problem

2008-06-12 Thread alesp
ableModel) | | | --> { populateItem { AjaxSubmitLink (to "delete" an element. Updates the WebMarkupContainer) } } --> AutoCompleteTextField | --> AjaxSubmitLink (to "

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-09 Thread Igor Vaynberg
ght the book ;) > >> > >> It says > >> > >> "To use a CompoundPropertyModel, simply set one as the model for a > >> container, such as a Form or a Page. Create the contained components > >> with > >> no model of their own. I

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-09 Thread Tim Squires
;) >> >> It says >> >> "To use a CompoundPropertyModel, simply set one as the model for a >> container, such as a Form or a Page. Create the contained components >> with >> no model of their own. Insure that the component identifier names match >

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-08 Thread Igor Vaynberg
bought the book ;) > > It says > > "To use a CompoundPropertyModel, simply set one as the model for a > container, such as a Form or a Page. Create the contained components with > no model of their own. Insure that the component identifier names match > the appropriate

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-08 Thread Tim Squires
onent identifier names match the appropriate property names." The AjaxSubmitLink is picking-up the parent forms compound property model but only checking to see if the "mylink" property exists when onSubmit calls getModelObject(). I would like to get the Forms model via getModelObject b

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-07 Thread Igor Vaynberg
hat takes a model. Should the AjaxSubmitLink(id, form) > constructor be used with the Form that it's being added to? e..g > > MyForm extends Form { > public MyForm(){ > > add( new AjaxSubmitLink("mylink",this){ > > }); > }} > >

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-07 Thread Tim
Thanks Igor but should it not pick-up the model from the Form? There's no constructor that takes a model. Should the AjaxSubmitLink(id, form) constructor be used with the Form that it's being added to? e..g MyForm extends Form { public MyForm(){ add( new AjaxSubmitLink(&qu

Re: AjaxSubmitLink accessing model object non-existent property

2008-04-07 Thread Igor Vaynberg
you forgot to give ajaxsubmitlink a model, so getmodelobject() will either return null or a compound model.confirm - neither of which i think you want. -igor On Mon, Apr 7, 2008 at 1:00 PM, Tim Squires <[EMAIL PROTECTED]> wrote: > Hi, > > When adding an AjaxSubmitLink, the

AjaxSubmitLink accessing model object non-existent property

2008-04-07 Thread Tim Squires
Hi, When adding an AjaxSubmitLink, the onSubmit method tries to access a property of the model object that does not exists: --- final AjaxSubmitLink confirmLink = new AjaxSubmitLink("confirm") { @Override public void onSu

<    1   2   3   >