Marius <[email protected]> writes:

[...]

> I'm not sure that doing this per snippet is the right approach.

Maybe we differ in our thinking then :-) I'm thinking more in a
component oriented approach where I would like to put a widget on a
page. I'll just add the correct snippet tags to my page and don't want
to worry about which js dependencies I need to include before the
snippet works.

> The reason I'd put it LiftRules is that it CAN use a dependency tree
> per page ... after all, scripts are specified per page.

Yeah, maybe some flexibility is needed and as usual it seems like a good
idea to have the low level foundations in place first and build the
higher level abstractions on top. If we have the function in LiftRules
it should be possible to what I want by creating a smarter Req => Tree
function.


/Jeppe

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to