Re: Two /(Upload)Forms and 2 feedbacks on one page

2008-10-14 Thread Timm Helbig
Wild guess: The same Form (ajaxSimpleUploadForm) for both Filters? 

Regards,
Timm

Am Tuesday 14 October 2008 12:13:59 schrieb Herbert Winter:
 Now I got no feedbacks with both methods.
 However when I use the example from
 http://cwiki.apache.org/WICKET/using-more-than-one-feedbackpanel-per-page.h
tml like

 uploadFeedback.setFilter(new
 ContainerFeedbackMessageFilter(ajaxSimpleUploadForm));
 after the upload both forms are visible.

 when I use feedbackpanels like
 filter=new ContainerFeedbackMessageFilter(ajaxSimpleUploadForm);
 uploadFeedback = new FeedbackPanel(imageUploadFeedback, filter);

 only 1 form is visible after the upload.

 I do  this calls in the initComponents() methods.

 2008/10/14 Stefan Lindner [EMAIL PROTECTED]:
  Use a FeedbackPanel(final String id, IFeedbackMessageFilter filter)
  constructor with a message filter.
 
  Stefan
 
  -Ursprüngliche Nachricht-
  Von: Herbert Winter [mailto:[EMAIL PROTECTED]
  Gesendet: Dienstag, 14. Oktober 2008 11:04
  An: users@wicket.apache.org
  Betreff: Two /(Upload)Forms and 2 feedbacks on one page
 
  hello list,
 
  I have two (Upload)Forms on my page, each with a FeedbackPanel; when I
  use one of the forms, both feedbackpanels show the same info.
  In the HTML-files, the have different IDs, and each form extends Panel
  in a separate class.
 
  I use 1.4-m3.
 
  Any idea?
 
  greetings
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Two /(Upload)Forms and 2 feedbacks on one page

2008-10-14 Thread Herbert Winter
Now I got no feedbacks with both methods.
However when I use the example from
http://cwiki.apache.org/WICKET/using-more-than-one-feedbackpanel-per-page.html
like

uploadFeedback.setFilter(new
ContainerFeedbackMessageFilter(ajaxSimpleUploadForm));
after the upload both forms are visible.

when I use feedbackpanels like
filter=new ContainerFeedbackMessageFilter(ajaxSimpleUploadForm);
uploadFeedback = new FeedbackPanel(imageUploadFeedback, filter);

only 1 form is visible after the upload.

I do  this calls in the initComponents() methods.



2008/10/14 Stefan Lindner [EMAIL PROTECTED]:
 Use a FeedbackPanel(final String id, IFeedbackMessageFilter filter) 
 constructor with a message filter.

 Stefan

 -Ursprüngliche Nachricht-
 Von: Herbert Winter [mailto:[EMAIL PROTECTED]
 Gesendet: Dienstag, 14. Oktober 2008 11:04
 An: users@wicket.apache.org
 Betreff: Two /(Upload)Forms and 2 feedbacks on one page

 hello list,

 I have two (Upload)Forms on my page, each with a FeedbackPanel; when I
 use one of the forms, both feedbackpanels show the same info.
 In the HTML-files, the have different IDs, and each form extends Panel
 in a separate class.

 I use 1.4-m3.

 Any idea?

 greetings

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Two /(Upload)Forms and 2 feedbacks on one page

2008-10-14 Thread Stefan Lindner
Use a FeedbackPanel(final String id, IFeedbackMessageFilter filter) constructor 
with a message filter.

Stefan

-Ursprüngliche Nachricht-
Von: Herbert Winter [mailto:[EMAIL PROTECTED] 
Gesendet: Dienstag, 14. Oktober 2008 11:04
An: users@wicket.apache.org
Betreff: Two /(Upload)Forms and 2 feedbacks on one page

hello list,

I have two (Upload)Forms on my page, each with a FeedbackPanel; when I
use one of the forms, both feedbackpanels show the same info.
In the HTML-files, the have different IDs, and each form extends Panel
in a separate class.

I use 1.4-m3.

Any idea?

greetings

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Two /(Upload)Forms and 2 feedbacks on one page

2008-10-14 Thread Herbert Winter
hello,

it is a pity it is not so simple as that: the page will be rendered
again after submit, so all the object on the page are new.
But we have a solution on da way, thanks for your input.

2008/10/14 Timm Helbig [EMAIL PROTECTED]:
 Wild guess: The same Form (ajaxSimpleUploadForm) for both Filters?

 Regards,
 Timm

 Am Tuesday 14 October 2008 12:13:59 schrieb Herbert Winter:
 Now I got no feedbacks with both methods.
 However when I use the example from
 http://cwiki.apache.org/WICKET/using-more-than-one-feedbackpanel-per-page.h
tml like

 uploadFeedback.setFilter(new
 ContainerFeedbackMessageFilter(ajaxSimpleUploadForm));
 after the upload both forms are visible.

 when I use feedbackpanels like
 filter=new ContainerFeedbackMessageFilter(ajaxSimpleUploadForm);
 uploadFeedback = new FeedbackPanel(imageUploadFeedback, filter);

 only 1 form is visible after the upload.

 I do  this calls in the initComponents() methods.

 2008/10/14 Stefan Lindner [EMAIL PROTECTED]:
  Use a FeedbackPanel(final String id, IFeedbackMessageFilter filter)
  constructor with a message filter.
 
  Stefan
 
  -Ursprüngliche Nachricht-
  Von: Herbert Winter [mailto:[EMAIL PROTECTED]
  Gesendet: Dienstag, 14. Oktober 2008 11:04
  An: users@wicket.apache.org
  Betreff: Two /(Upload)Forms and 2 feedbacks on one page
 
  hello list,
 
  I have two (Upload)Forms on my page, each with a FeedbackPanel; when I
  use one of the forms, both feedbackpanels show the same info.
  In the HTML-files, the have different IDs, and each form extends Panel
  in a separate class.
 
  I use 1.4-m3.
 
  Any idea?
 
  greetings
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Two /(Upload)Forms and 2 feedbacks on one page

2008-10-14 Thread Gabriel Bucher

hi herbert,

habe a look at this: 
http://cwiki.apache.org/WICKET/using-more-than-one-feedbackpanel-per-page.html


cheers gabriel

Herbert Winter wrote:

hello list,

I have two (Upload)Forms on my page, each with a FeedbackPanel; when I
use one of the forms, both feedbackpanels show the same info.
In the HTML-files, the have different IDs, and each form extends Panel
in a separate class.

I use 1.4-m3.

Any idea?

greetings

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


!DSPAM:48f46090267217514012533!




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]