Re: Feedback within Form Weird Issue

2013-05-14 Thread Martin Grigorov
Try with binding the session. Maybe you run in stateless mode. Session session = getSession(); session.bind(); session.error(...); On Mon, May 13, 2013 at 11:08 PM, dhongyt davidhtr...@gmail.com wrote: Weird, it still does not show up. I do have a function that gets the session and register

Re: Feedback within Form Weird Issue

2013-05-14 Thread dhongyt
Thanks I will try both things. I believe my pages are stateful. Maybe its because I create an ErrorFeedback that extends the Feedback and didn't override some classes needed. -- View this message in context:

Re: Feedback within Form Weird Issue

2013-05-14 Thread dhongyt
I solved the issue. I was invalidating my session before it could display. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Feedback-within-Form-Weird-Issue-tp4658757p4658797.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Feedback within Form Weird Issue

2013-05-13 Thread Paul Bors
I take it you're using Wicket 6.x since the feedback messages have been moved all the way to the Component's metadata rather than the session. Hence the same component should be part of the page if you want to see its feedback message. See:

Re: Feedback within Form Weird Issue

2013-05-13 Thread Martin Grigorov
Hi, You need to use session.error() instead. Since you use setResponsePage(...) the error associated with the Form component is never used. On Mon, May 13, 2013 at 8:17 PM, dhongyt davidhtr...@gmail.com wrote: Hey guys, I had a feedback panel within a form and want to display an error

Re: Feedback within Form Weird Issue

2013-05-13 Thread dhongyt
Weird, it still does not show up. I do have a function that gets the session and register the error to it. Can the feedback be apart of the form? I have tried it outside the form with no luck either. I also changed my onSubmit to use session; It doesn't need to call the error function

RE: Feedback within Form Weird Issue

2013-05-13 Thread Paul Bors
and filtering them of the wicket user guide: http://wicket.apache.org/learn/books/freeguide.html ~ Thank you, Paul Bors -Original Message- From: dhongyt [mailto:davidhtr...@gmail.com] Sent: Monday, May 13, 2013 5:09 PM To: users@wicket.apache.org Subject: Re: Feedback within Form Weird Issue

RE: Feedback within Form Weird Issue

2013-05-13 Thread Paul Bors
Even better, create a quick start for yourself and see what you're doing wrong :) ~ Thank you, Paul Bors -Original Message- From: Paul Bors [mailto:p...@bors.ws] Sent: Monday, May 13, 2013 5:26 PM To: users@wicket.apache.org Subject: RE: Feedback within Form Weird Issue