But the errorIndicator always shows up even though the field is 'valid' (it was invalid before the ajax call was made).
The FeedbackPanel updates correctly. But like I said , it does appear that FormComponentFeedbackBorder.updateFeedback() is not getting called and so the errorIndicator doesn't really chage its state.
On 5/1/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
have you setOutputMarkupId(true)?
MartijnOn 5/1/06, karthik Guru <[EMAIL PROTECTED] > wrote:I have a text component decorated using FormComponentFeedbackBorder. I have something like the following:
userName.add(new AjaxFormComponentUpdatingBehavior("onblur"){
@Override
protected void onUpdate(AjaxRequestTarget target) {
target.addComponent(feedbackPanel);
target.addComponent(nameBorder);
}
});
Now even though I have added the border as the target of ajax, i dont see the border updating properly. I also see that FormComponentFeedbackBorder.updateFeedback() is not getting called when responding to ajax request. So the errorIndicator always shows up invisible. Any idea why this is the case? or am i missing something here.
The FeedbckPanel updates properly.
-- karthik ----
Wicket 1.2 is coming! Write Ajax applications without touching _javascript_!
-- http://wicketframework.org
--
-- karthik --