[Lift] Lift 2.0M2 LiftMerge order?

2010-03-02 Thread Rick R
I have a pair of templates which rely on both a Snippet and a CometActor. There appears to be a dependency injection process of sorts where lift_page is defined and liftAjax.js is included. However, it looks like the list of things is being included in reverse order. The results seem to be the

Re: [Lift] Lift 2.0M2 LiftMerge order?

2010-03-02 Thread David Pollak
On Tue, Mar 2, 2010 at 11:07 AM, Rick R rick.richard...@gmail.com wrote: I have a pair of templates which rely on both a Snippet and a CometActor. There appears to be a dependency injection Dependency injection is an entirely different concept. Lift rewrites the page as it goes out to insure

Re: [Lift] Lift 2.0M2 LiftMerge order?

2010-03-02 Thread Rick R
On Tue, Mar 2, 2010 at 11:07 AM, Rick R rick.richard...@gmail.com wrote: I have a pair of templates which rely on both a Snippet and a CometActor. There appears to be a dependency injection Dependency injection is an entirely different concept.  Lift rewrites the page as it goes out to

Re: [Lift] Lift 2.0M2 LiftMerge order?

2010-03-02 Thread David Pollak
On Tue, Mar 2, 2010 at 1:21 PM, Rick R rick.richard...@gmail.com wrote: On Tue, Mar 2, 2010 at 11:07 AM, Rick R rick.richard...@gmail.com wrote: I have a pair of templates which rely on both a Snippet and a CometActor. There appears to be a dependency injection Dependency injection

Re: [Lift] Lift 2.0M2 LiftMerge order?

2010-03-02 Thread Rick R
They are not being rendered in reverse.  There is no problem.  The code works correctly. Why? First, the code in the CometActor is a call a function in response to an event.  The page will be loaded before you can press the button or otherwise cause the event to be dispatched. Second, as I