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 <[email protected]> wrote: > Hey guys, > > I had a feedback panel within a form and want to display an error onSubmit > when there is a authentication issue. > > When I call error when they fail to log in the error does not display. > > > However if I comment out the onSubmit code and call error, it displays. > Why does it not display when the error is called within the else? > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Feedback-within-Form-Weird-Issue-tp4658757.html > Sent from the Users forum mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov Wicket Training & Consulting http://jWeekend.com <http://jweekend.com/>
