you have two options: add the message into the feedback panel using javascript and dom manipulation - you need to know the markup id of the feedbackpanel
or let javascript issue an ajax request passing in the error message, adding it to the feedback panel and repainting it. -igor On Thu, May 19, 2011 at 8:52 AM, eugenebalt <[email protected]> wrote: > Is it possible to do some validation in JavaScript, and if that fails, have > that error be displayed as one of the messages in the FeedbackPanel? > > In other words, this FeedbackPanel message won't be from server-side > validation, it will originate from JavaScript. > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/Set-FeedbackPanel-with-Error-from-JavaScript-tp3536164p3536164.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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
