I'm currently working on an alternative that allows errors to be
displayed as part of a nodeset using a surround/bind idiom.  Should be
ready just as soon as I get the ajax side of things straightened
out...

My goal is different in that I wanted to be able to display errors
using a jquery-ui themed div with an alert icon for displaying errors,
but perhaps this approach could help you out as well?



On Jun 5, 2:26 pm, "Bryan." <germ...@gmail.com> wrote:
> +1 on removing the default text.
>
> --Bryan
>
> On Jun 5, 6:46 am, "marius d." <marius.dan...@gmail.com> wrote:
>
> > 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