[Lift] Re: CometActor fixedRender vs. render

2009-10-26 Thread David Pollak
There are parts of a comet component that may not change on every render
of the component.  For example, if a Chat component were to re-render its
whole self on every chat message, the input box would be re-rendered,
erasing any in-process input.  So, there's a fixed part of the the comet
component and a changes a lot part of the comet component.  By default
(reRender(false)) only the non-fixed part of the component is
re-rendered.  Does this answer your question?

On Mon, Oct 26, 2009 at 12:53 AM, Heiko Seeberger 
heiko.seeber...@googlemail.com wrote:

 Hi,

 In CometActor, what's the puropse of fixedRender? What's the
 difference/relation to render?

 Thanks

 Heiko

 --

 My job: weiglewilczek.com
 My blog: heikoseeberger.name
 Follow me: twitter.com/hseeberger
 OSGi on Scala: scalamodules.org
 Lift, the simply functional web framework: liftweb.net

 



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



[Lift] Re: CometActor fixedRender vs. render

2009-10-26 Thread Heiko Seeberger
Thank you for your very detailed answer!

Heiko

2009/10/26 David Pollak feeder.of.the.be...@gmail.com

 There are parts of a comet component that may not change on every render
 of the component.  For example, if a Chat component were to re-render its
 whole self on every chat message, the input box would be re-rendered,
 erasing any in-process input.  So, there's a fixed part of the the comet
 component and a changes a lot part of the comet component.  By default
 (reRender(false)) only the non-fixed part of the component is
 re-rendered.  Does this answer your question?


 On Mon, Oct 26, 2009 at 12:53 AM, Heiko Seeberger 
 heiko.seeber...@googlemail.com wrote:

 Hi,

 In CometActor, what's the puropse of fixedRender? What's the
 difference/relation to render?

 Thanks

 Heiko

 --

 My job: weiglewilczek.com
 My blog: heikoseeberger.name
 Follow me: twitter.com/hseeberger
 OSGi on Scala: scalamodules.org
 Lift, the simply functional web framework: liftweb.net





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

 



-- 
Heiko Seeberger

My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

--~--~-~--~~~---~--~~
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: CometActor fixedRender vs. render

2009-10-26 Thread Peter Robinett

fixedRender sounds very useful and was something I didn't know about.
How do you use it? Do you call render from within fixedRender?

Peter Robinett

On Oct 26, 9:40 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
 There are parts of a comet component that may not change on every render
 of the component.  For example, if a Chat component were to re-render its
 whole self on every chat message, the input box would be re-rendered,
 erasing any in-process input.  So, there's a fixed part of the the comet
 component and a changes a lot part of the comet component.  By default
 (reRender(false)) only the non-fixed part of the component is
 re-rendered.  Does this answer your question?

 On Mon, Oct 26, 2009 at 12:53 AM, Heiko Seeberger 



 heiko.seeber...@googlemail.com wrote:
  Hi,

  In CometActor, what's the puropse of fixedRender? What's the
  difference/relation to render?

  Thanks

  Heiko

  --

  My job: weiglewilczek.com
  My blog: heikoseeberger.name
  Follow me: twitter.com/hseeberger
  OSGi on Scala: scalamodules.org
  Lift, the simply functional web framework: liftweb.net

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Beginning Scalahttp://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
-~--~~~~--~~--~--~---



[Lift] Re: CometActor fixedRender vs. render

2009-10-26 Thread Peter Robinett

Thanks, David. To make sure I'm not confused, the fixed part isn't
redrawn by render because render binds to bodyArea, not the inputArea
bound in fixedRender?

Peter

On Oct 26, 11:45 am, David Pollak feeder.of.the.be...@gmail.com
wrote:
 http://github.com/dpp/liftweb/blob/master/lift-examples/example/src/m...

 On Mon, Oct 26, 2009 at 11:43 AM, Peter Robinett 
 pe...@bubblefoundry.comwrote:





  fixedRender sounds very useful and was something I didn't know about.
  How do you use it? Do you call render from within fixedRender?

  Peter Robinett

  On Oct 26, 9:40 am, David Pollak feeder.of.the.be...@gmail.com
  wrote:
   There are parts of a comet component that may not change on every
  render
   of the component.  For example, if a Chat component were to re-render its
   whole self on every chat message, the input box would be re-rendered,
   erasing any in-process input.  So, there's a fixed part of the the comet
   component and a changes a lot part of the comet component.  By default
   (reRender(false)) only the non-fixed part of the component is
   re-rendered.  Does this answer your question?

   On Mon, Oct 26, 2009 at 12:53 AM, Heiko Seeberger 

   heiko.seeber...@googlemail.com wrote:
Hi,

In CometActor, what's the puropse of fixedRender? What's the
difference/relation to render?

Thanks

Heiko

--

My job: weiglewilczek.com
My blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

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

 --
 Lift, the simply functional web frameworkhttp://liftweb.net
 Beginning Scalahttp://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
-~--~~~~--~~--~--~---



[Lift] Re: CometActor fixedRender vs. render

2009-10-26 Thread David Pollak
On Mon, Oct 26, 2009 at 12:20 PM, Peter Robinett pe...@bubblefoundry.comwrote:


 Thanks, David. To make sure I'm not confused, the fixed part isn't
 redrawn by render because render binds to bodyArea, not the inputArea


yep


 bound in fixedRender?

 Peter

 On Oct 26, 11:45 am, David Pollak feeder.of.the.be...@gmail.com
 wrote:
  http://github.com/dpp/liftweb/blob/master/lift-examples/example/src/m...
 
  On Mon, Oct 26, 2009 at 11:43 AM, Peter Robinett 
 pe...@bubblefoundry.comwrote:
 
 
 
 
 
   fixedRender sounds very useful and was something I didn't know about.
   How do you use it? Do you call render from within fixedRender?
 
   Peter Robinett
 
   On Oct 26, 9:40 am, David Pollak feeder.of.the.be...@gmail.com
   wrote:
There are parts of a comet component that may not change on every
   render
of the component.  For example, if a Chat component were to re-render
 its
whole self on every chat message, the input box would be re-rendered,
erasing any in-process input.  So, there's a fixed part of the the
 comet
component and a changes a lot part of the comet component.  By
 default
(reRender(false)) only the non-fixed part of the component is
re-rendered.  Does this answer your question?
 
On Mon, Oct 26, 2009 at 12:53 AM, Heiko Seeberger 
 
heiko.seeber...@googlemail.com wrote:
 Hi,
 
 In CometActor, what's the puropse of fixedRender? What's the
 difference/relation to render?
 
 Thanks
 
 Heiko
 
 --
 
 My job: weiglewilczek.com
 My blog: heikoseeberger.name
 Follow me: twitter.com/hseeberger
 OSGi on Scala: scalamodules.org
 Lift, the simply functional web framework: liftweb.net
 
--
Lift, the simply functional web frameworkhttp://liftweb.net
Beginning Scalahttp://www.apress.com/book/view/1430219890
Follow me:http://twitter.com/dpp
Surf the harmonics
 
  --
  Lift, the simply functional web frameworkhttp://liftweb.net
  Beginning Scalahttp://www.apress.com/book/view/1430219890
  Follow me:http://twitter.com/dpp
  Surf the harmonics
 



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