Why not override feedback panel and roll your own?

**
Martin

2009/8/26 Oleg Astakhov <[email protected]>:
> Hi everybody,
>
> My problem is simple. I'm using form validation and feedback panel to display 
> errors.
> Some of the errors are simple enough to display them as:
> form.error("some error");
> but some of the errors are complex and not to display them all in one line I 
> need to insert line breaks.
> For instance my error is:
>
> The is
> a lone
> error message
>
> but no matter what I do (insert \n\r, <br/>, setEscapeModelStrings(false), 
> etc. etc., )  they still are rendered into one line.
>
> Now MultiLineLabel works of course, but I will have to do a lot of work to 
> make it nice, because there's no padding supported, it does not color the 
> text as red, it does not insert error image, and so on..
>
> Is it possible to feed multiline error to feedback panel?
>
> Many thanks in advance,
> Oleg
>
> ---------------------------------------------------------------------
> 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]

Reply via email to