You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by ayman elwany <ay...@gmail.com> on 2010/03/24 11:09:23 UTC
feedbackpanel for component using ComponentFeedbackMessageFilter
doesn't appear in Listview
Hi All,
I had a reusable component which have a textfield with its feedback panel
using ComponentFeedbackMessageFilter
add(new FeedbackPanel("firstFeedback", new
ComponentFeedbackMessageFilter(firstField)));
and it is working fine but when I put this component in a ListView the
feedback panel don't show any feedback messages as it supposed to do .
Any help???
Re: feedbackpanel for component using ComponentFeedbackMessageFilter
doesn't appear in Listview
Posted by ayman elwany <ay...@gmail.com>.
Thx alot Pedro ,ListView.setReuseItems solved the problem
On Wed, Mar 24, 2010 at 12:54 PM, Pedro Santos <pe...@gmail.com> wrote:
> The ListView itens are rebuild every render. So the original field that you
> made reference from the feedback filter, is longer presented by the
> ListView. Take a look at
> http://wicketinaction.com/2008/10/building-a-listeditor-form-component/
> and the ListView.setReuseItems javadoc
>
> On Wed, Mar 24, 2010 at 7:09 AM, ayman elwany <ay...@gmail.com>
> wrote:
>
> > Hi All,
> >
> >
> > I had a reusable component which have a textfield with its feedback panel
> > using ComponentFeedbackMessageFilter
> >
> > add(new FeedbackPanel("firstFeedback", new
> > ComponentFeedbackMessageFilter(firstField)));
> >
> > and it is working fine but when I put this component in a ListView the
> > feedback panel don't show any feedback messages as it supposed to do .
> >
> > Any help???
> >
>
>
>
> --
> Pedro Henrique Oliveira dos Santos
>
Re: feedbackpanel for component using ComponentFeedbackMessageFilter
doesn't appear in Listview
Posted by Pedro Santos <pe...@gmail.com>.
The ListView itens are rebuild every render. So the original field that you
made reference from the feedback filter, is longer presented by the
ListView. Take a look at
http://wicketinaction.com/2008/10/building-a-listeditor-form-component/
and the ListView.setReuseItems javadoc
On Wed, Mar 24, 2010 at 7:09 AM, ayman elwany <ay...@gmail.com> wrote:
> Hi All,
>
>
> I had a reusable component which have a textfield with its feedback panel
> using ComponentFeedbackMessageFilter
>
> add(new FeedbackPanel("firstFeedback", new
> ComponentFeedbackMessageFilter(firstField)));
>
> and it is working fine but when I put this component in a ListView the
> feedback panel don't show any feedback messages as it supposed to do .
>
> Any help???
>
--
Pedro Henrique Oliveira dos Santos