The reason for that is that if the node text is empty (and yes we
explicitly trim it) we render the default text. To be honest I'm not a
fan of this approach either. I think it should be ok to just not
render a default text. Does anyone have any objections? If not I could
change this real quick, if yes let's talk about it.

Br's,
Marius

On Jun 5, 12:48 pm, Jeppe Nejsum Madsen <je...@ingolfs.dk> wrote:
> Hi,
>
> I'm trying to remove the "Notice", "Error" lead in text that is
> displayed when using the Msgs snippet, like this:
>
>  <lift:snippet type="msgs">
>           <lift:notice_msg class="success"></lift:notice_msg>
>           <lift:error_msg class="error"></lift:error_msg>
>           <lift:warning_msg class="notice"></lift:warning_msg>
>  </lift:snippet>
>
> Looking at the code, it seems the default text is used if the specified
> text is empty, so I tried putting a &nbsp; in there but this also seems
> to be swallowed.
>
> Is there anyway to do this (besides changing the default property
> values)??
>
> /Jeppe
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to