Individual messages are created via the factory method
protected Component newMessageDisplayComponent(String id, FeedbackMessage
{
Serializable serializable = message.getMessage();
Label label = new Label(id, (serializable == null) ? "" :
serializable.toString());
label.setEscapeModelStrings(FeedbackPanel.this.getEscapeModelStrings());
return label;
}

So, maybe you could override it to return a Panel with the functionality you
want (instead of a simple label). Otherwise, rolling out your own
implementation of FeedBackPanel should not be very difficult in case you
find out doing this is not enough to achieve what you want.

Best,

Ernesto

On Wed, Sep 2, 2009 at 10:59 AM, Pieter Degraeuwe <
[email protected]> wrote:

> Hi,
> After some actions the user did trigger in my webapp, I give the user some
> messages like 'The order was successfully created.'
>
> However, sometimes I want to give a message like. 'The order was
> successfully created, but some warnings were created. Click *here* to view
> these warnings'
>
> Is this possible in using the standard FeedbackPanel? If so, is there
> somewhere documentation how to do so?, If not, what is the best approach to
> achieve this.
>
> Thanks
>

Reply via email to