[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2010-01-04 Thread Marius
Thanks for checking this Chris. Br's, Marius On Jan 4, 3:10 am, ChrisX xtopher@gmail.com wrote: Marius, All working great now. Thanks for the quick response and fix. Chris On Dec 29 2009, 1:35 am, Marius marius.dan...@gmail.com wrote: This was a non trivial hustle to find the cause:)

[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2010-01-03 Thread ChrisX
Marius, All working great now. Thanks for the quick response and fix. Chris On Dec 29 2009, 1:35 am, Marius marius.dan...@gmail.com wrote: This was a non trivial hustle to find the cause:) ... See each Lift function is bound to an owner. The owner can be the pageId (generated by Lift) or the

[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2009-12-28 Thread Marius
This was a non trivial hustle to find the cause:) ... See each Lift function is bound to an owner. The owner can be the pageId (generated by Lift) or the Comet ID. In this case since the function is bound from Comet the owner is the Comet ID. Therefore when clicking on this doesn't (via comet

[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2009-12-27 Thread Marius
Hmm that's weird. I have the master sources and a CometActor with a render like: def render = { val link: NodeSeq = SHtml.a(()= { println(Link clicked) SetHtml(time, bClicked/b) }, Text(this doesn't (via comet actor))) val res: NodeSeq = bind(time - timeSpan) ++ link

[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2009-12-27 Thread ChrisX
Hi Marius, Thanks for your response. The issue occurs when using inline template xhtml as the content for SetHtml, which itself is the callback function for an ajax generator (I do this for reuse of ajax rendered elements that are accessible from different parts of the same page, and are sometimes

[Lift] Re: guid - function mapping not occuring for ajax generator rendered by CometActor

2009-12-27 Thread Marius
AH sorry ... I didn't put your exac same snippets because I have a demo app already there and I only had to do mino change to try your scenario. Here is what I have now: The snippet: class Hello { def ajaxCometLink(xhtml: NodeSeq): NodeSeq = { bind(st, xhtml, something - SHtml.a(()