Hi

We are making reusable components which sometimes include a feedback panel. In this case, we would like the messages of these components to be displayed only one.

To achieve that, currently, we add at the end of our main form (the top level one from the page) a feedback panel with a filter on already rendered messages :
add(new FeedbackPanel("mainfeedback", new IFeedbackMessageFilter()
       {

           @Override
           public boolean accept(final FeedbackMessage message)
           {
               return !message.isRendered();
           }
       })

       );

Adding the feedback panel at the end of the form is required : adding it first on the form would imply two displays of the feedback messages.

Can we really on this behavior ? Is there a better way to achieve our requirements ?

thanks in advance

best regards
--

Joseph Pachod
IT

THOMAS DAILY GmbH
Adlerstraße 19
79098 Freiburg
Deutschland
T  + 49 761 3 85 59 310
F  + 49 761 3 85 59 550
E  [email protected]
www.thomas-daily.de

Geschäftsführer/Managing Directors:
Wendy Thomas, Susanne Larbig
Handelsregister Freiburg i.Br., HRB 3947

Registrieren Sie sich unter www.signin.thomas-daily.de für die kostenfreien TD 
Morning News, eine  Auswahl aktueller Themen des Tages morgens um 9:00 in Ihrer 
Mailbox.

Hinweis: Der Redaktionsschluss für unsere TD Morning News ist täglich um 8:30 
Uhr. Es werden vorrangig Informationen berücksichtigt, die nach 16:00 Uhr des 
Vortages eingegangen sind. Die Email-Adresse unserer Redaktion lautet 
[email protected].

To receive the free TD News International - a selection of the day's top issues 
delivered to your mail box every day - please register at 
www.signin.thomas-daily.de

Please note: Information received for our TD News International after 4 p.m. will be given priority for publication the following day. The daily editorial deadline is 8:30 a.m. You can reach our editorial staff at [email protected].

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to