I'm using lift for web services and I need to serve a javascript driven front end from the same web server (don't feel like messing with proxies right now) and I figured someone on here would want to know what I ran into with serving static content.
Basically I was trying to use jQuery and in particular a tree library called jsTree (it looks really feature rich and flexible). Anyway, it turns out either the lift javascript or some conflict derived in part there from was munging things sufficiently so that everything seemed normal in the xhtml.. but a few of the classes where deleted. This caused the entire jsTree to fail to render properly, making it non- functional. I'm not entirely sure why it did what it did, but until I stripped out Lift and ran it just as an empty servlet I couldn't see what was going on. For some reason the lift served version stripped the class off of a ul (in my case it was only one, but I had a very simple tree).. the class for the ul was "ltr" and it's gone in the lift version. This ul is generated by javascript using jQuery, so I'm not sure what's going on there. Anyway, I've decided since all my dynamic content is coming from other webapps, I might as well just serve my static content from a bare servlet, therefore cutting down on any variables. (I've already wrestled with this for too long). But if anyone is interested in following up, maybe with the jsTree guys, have at it. They have a very friendly Google group as well :) Alan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
