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 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
Wicket Training & Consulting
http://jWeekend.com <http://jweekend.com/>

Reply via email to