Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-07 Thread konsul
I've implemented equals() and hashCode() then found and fix other problem. And it works. Thanks a lot. There was the problem because I just use the code construction from example (repeater/FormPage.java): @Override p

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread Igor Vaynberg
On Tue, Aug 4, 2009 at 12:30 PM, konsul wrote: > > I call this method: > refreshingView.setItemReuseStrategy(ReuseIfModelsEqualStrategy.getInstance()); did you also read the javadoc and implement hashcode and equals in the models you are using to feed items of the refreshing view? > > but Feedbac

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread konsul
I call this method: refreshingView.setItemReuseStrategy(ReuseIfModelsEqualStrategy.getInstance()); but FeedbackIndicator still doesn't work. Frankly speaking I do not see any relationship between FormComponentFeedbackIndicator and Model reuse strategy. I thought the matter is in Feedback messag

Re: FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread Igor Vaynberg
you have to call setreuseitemstrategy(...) on the refreshingview so that components are kept across requests. it is analogous to having to call setreuseitems(true) on the listview. -igor On Tue, Aug 4, 2009 at 1:12 AM, Anton Komratov wrote: > I'm using RefreshingView to show and edit data. I put

FeedbackIndicator doesn't work inside RefreshingView

2009-08-04 Thread Anton Komratov
I'm using RefreshingView to show and edit data. I put MinimumValidator to the TextField in RefreshingView (in method populateItem()).Also I put FeedbackIndicator for this TextField in RefreshingView (also in method populateItem()). MinimumValidator works fine - I'm getting error messages at the Fe