On Mon, Oct 26, 2009 at 6:23 PM, sunanda <[email protected]> wrote:

>
>  I am trying to display the message for 2 seconds and remove the
> message using following code. It is  displaying the meassage but not
> removing after 2 seconds. Where am I going wrong.
>
> SetHtml("editcoldefmsg",Text("Edited Column Definition
> "+coldef.displayname))& After(2 seconds, SetHtml("editcoldefmsg", Text
> ("")))
>


It seems to "just work".  Please run the enclosed example.


>
>
> Sunanda
>
> On Oct 27, 8:50 am, sunanda <[email protected]> wrote:
> > Thanks Ross
> >
> > On Oct 27, 2:33 am, Ross Mellgren <[email protected]> wrote:
> >
> >
> >
> > > SetHtml("msg", Text("hello")) & After(1 minute, SetHtml("msg", Empty))
> >
> > > -Ross
> >
> > > On Oct 25, 2009, at 9:03 PM,sunandawrote:
> >
> > > > Hi,
> > > > I need to display a message only for few seconds using SetHtml.
> > > > E.g. SetHtml("msg",Text("Hello")).
> > > > How can I do this
> >
> > > > Thanks.
> > > >Sunanda- Hide quoted text -
> >
> > > - Show quoted text -- Hide quoted text -
> >
> > - Show quoted text -
> >
>


-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Surf the harmonics

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Attachment: ffff.tgz
Description: GNU Zip compressed data

Reply via email to