On Sun, 15 Feb 2009, Will Jaynes wrote:
> So, how would one show those error messages? And where would such code get
> hooked in?
I'm not sure about the place but basically you have to add a
FeedbackPanel and update it in the ajax event that causes
the error,
final Component feedback = new FeedbackPanel("feedback")
.setOutputMarkupPlaceHolder(true);
add(feedback);
...
@Override protected void onSubmit(AjaxRequestTarget target) {
target.addComponent(feedback);
...
}
Best wishes,
Timo
--
Timo Rantalaiho
Reaktor Innovations Oy <URL: http://www.ri.fi/ >
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]