How about making your snippet a CometActor, and then use partialUpdate to load the next 10 items?
You could use jsonCall to send the comet actor a message with whatever search terms you need to populate the next 10 rows.
Regards
Diego
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com
Hi Pablo,
I think you should be able to just a snippet, and have jsoncall return some js that would draw the next few rows, but I haven't done that yet.
For the comet path, here is a blog about jsoncall
http://blog.fmpwizard.com/back-button-and-bookmark-meet-lift-comet-revi
Regards
Diego
Diego
Sent from my android cell
--
So, here is it, the example project on Github:
https://github.com/piousp/LazyLoad
Here it is
https://github.com/fmpwizard/LazyLoad/commit/3240e99b4f589b1b83800909259467e3605e578a
it does not add a whole table, or even 10 rows, but you will get the
idea of where to add js to create new rows.
Regards,
Diego
On Thu, Apr 12, 2012 at 11:13 PM, Pablo Peraza <pio...@gmail.com> wrote:
>
> So, here is it, the example project on Github:
>
> https://github.com/piousp/LazyLoad
>
> --
> Lift, the simply functional web framework: http://liftweb.net
> Code: http://github.com/lift
> Discussion: http://groups.google.com/group/liftweb
> Stuck? Help us help you:
> https://www.assembla.com/wiki/show/liftweb/Posting_example_code
--
This example has some memoize-stuff you can look at:
https://github.com/andreak/on-example-rpm
Look at editing a project or posting a blog-post, they both use
memoize-stuff to update the DOM.
--
Andreas Joseph Krogh<and...@officenet.no> - mob: +47 909 56 963
Senior Software Developer / CEO - OfficeNet AS - http://www.officenet.no
Public key: http://home.officenet.no/~andreak/public_key.asc