[Lift] Re: How to give a time lmit to display a message

2009-10-27 Thread David Pollak
On Mon, Oct 26, 2009 at 6:23 PM, sunanda sunanda.pa...@gmail.com 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 sunanda.pa...@gmail.com wrote:
  Thanks Ross
 
  On Oct 27, 2:33 am, Ross Mellgren dri...@gmail.com 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 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
-~--~~~~--~~--~--~---



.tgz
Description: GNU Zip compressed data


[Lift] Re: How to give a time lmit to display a message

2009-10-26 Thread Ross Mellgren

SetHtml(msg, Text(hello))  After(1 minute, SetHtml(msg, Empty))

-Ross

On Oct 25, 2009, at 9:03 PM, sunanda wrote:


 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
 


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: How to give a time lmit to display a message

2009-10-26 Thread sunanda

Thanks Ross

On Oct 27, 2:33 am, Ross Mellgren dri...@gmail.com 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 -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[Lift] Re: How to give a time lmit to display a message

2009-10-26 Thread sunanda

 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
()))


Sunanda

On Oct 27, 8:50 am, sunanda sunanda.pa...@gmail.com wrote:
 Thanks Ross

 On Oct 27, 2:33 am, Ross Mellgren dri...@gmail.com 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 -
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---