Re: isValid and getFeedbackMessage

2011-02-03 Thread Altuğ Bilgin Altıntaş
I try to print business exception below the related form components so here is solution i found : final TextField txtName = new TextField("txtName ", new PropertyModel(name, "name")) { @Override protected void onRender(MarkupStream markupStream) {

RE: isValid and getFeedbackMessage

2011-02-03 Thread Wilhelmsen Tor Iver
> Can i change TextField's (FormComponent) valid status and set a custom error > message from outside ? Like : Normally you write a validator that calls component.error() to set the error message, and add that validator to the FormComponent. As long as it has that error it will count as invalid.