Re: FeedbackPanel inside PropertyListView

2011-02-02 Thread Pepijn de Geus
Construct the FeedbackPanel with a filter, either a 
ComponentFeedbackMessageFilter or ContainerFeedbackMessageFilter.

On 2 feb 2011, at 13:27, Duro wrote:

> Hello,
> in my FeedbackPanel, which is created inside PropertyListView I experience 
> this behaviour. Each item , which is created in the PropertyListView contains 
> a form and some data, which u can edit and a FeedbackPanel.  When there is a 
> new message in the FeedbackPanel, it is shown in all FeedbackPanels that are 
> created. What do i have to do, so that the message is shown only in the one, 
> where it belongs?
> 
> PropertyListView propertyListView = new 
> PropertyListView(
>"allFiles", list) {
>private static final long serialVersionUID = 612045960036358963L;
> 
>@Override
>protected void populateItem(ListItem item) {
>
>form.add(new FeedbackPanel("feedback"));
>
>form.add(textField);
>
> }
> 
> later, i call textField.error("False input");
> 
> thx, Juraj
> __
> Do You Yahoo!?
> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz 
> gegen Massenmails. http://mail.yahoo.com 
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
> 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



FeedbackPanel inside PropertyListView

2011-02-02 Thread Duro

Hello,
 in my FeedbackPanel, which is created inside PropertyListView I 
experience this behaviour. Each item , which is created in the 
PropertyListView contains a form and some data, which u can edit and a 
FeedbackPanel.  When there is a new message in the FeedbackPanel, it is 
shown in all FeedbackPanels that are created. What do i have to do, so 
that the message is shown only in the one, where it belongs?


PropertyListView propertyListView = new 
PropertyListView(

"allFiles", list) {
private static final long serialVersionUID = 
612045960036358963L;


@Override
protected void populateItem(ListItem item) {

form.add(new FeedbackPanel("feedback"));

form.add(textField);

 }

later, i call textField.error("False input");

thx, Juraj
__
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org