Great-- for those googling, this works:

        final Form<String> form = new Form<String>("form");

        ComponentFeedbackMessageFilter filter = new
ComponentFeedbackMessageFilter(form);

        FeedbackPanel feedback = new FeedbackPanel("feedback", filter);
        feedback.setEscapeModelStrings(false);
        add(feedback);

      and then elsewhere in the code I can do:

     form.info("hello world");

Thanks!

Jeremy Thomerson-5 wrote:
> 
> there's a filter interface that you can use with the feedback panel that
> allows you to filter just the messages you want in that panel.  i.e., you
> could have a FBP by every form component and only show the messages
> generated by that component.
> 
> -- 
> Jeremy Thomerson
> http://www.wickettraining.com
> 
> On Mon, Mar 2, 2009 at 4:54 PM, novotny <[email protected]> wrote:
> 
>>
>> Hi,
>>
>> I have two feedback panels in the same page and want to direct my info
>> message to only one of them. Any ideas on how to do this? Right now when
>> I
>> do "info("hello")" "hello" shows up in both panels.
>>
>> Thanks, Jason
>> --
>> View this message in context:
>> http://www.nabble.com/multiple-feedback-panels-in-same-page-tp22298693p22298693.html
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/multiple-feedback-panels-in-same-page-tp22298693p22299635.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to