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, Dec 18, 2009 at

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-12-18 Thread Martin Willitts
I found I needed to use form.error("message") in the onSubmit method. luther.baker wrote: > > I'm not at a computer to try this ... but I do this all the time so it > definitely works like you're hoping. > > You've posted alot of code so its a bit difficult to trace what is > commented > out

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread Luther Baker
I'm not at a computer to try this ... but I do this all the time so it definitely works like you're hoping. You've posted alot of code so its a bit difficult to trace what is commented out and what is not ... but starting with your original post, uncomment the following: final FeedbackPan

Re: Feedback Messages Not Getting Displayed When Using AjaxSubmitLink

2009-06-19 Thread jpalmer1026
Actually, validation messages are now getting displayed for validation performed on components but I am still unable to get error messages 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

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 *(AjaxRequestTarge

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, Form form) { target.add

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 clas