My suggestion is as follows: - Don't try to serve dynamic JavaScript via snippets unless you use the net.liftweb.http.js._ stuff... it's just too much pain - Serve the dynamic JavaScript stuff via a custom dispatch (DispatchPF) - If you can post a few of the existing JavaScript files I'll see if I can whip together a binding mechanism for those files to minimize the amount of work to port them
I'll have a few hours to work on this problem tomorrow morning (Monday Pacific Standard Time... GMT-7) If you can post the JS files (or if they're proprietary, email them to me off list and I'll not redistribute them), I'll be able to see what I can knock together for you. Thanks, David On Sun, Apr 26, 2009 at 8:39 AM, sailormoo...@gmail.com < sailormoo...@gmail.com> wrote: > > Thanks for the help. > > The Javascript isn't written by me, and it's originally from a PHP > code. > What I do is porting and rewriting the PHP to Lift, which sometimes I > feel a bit tiresome, > I can directly use the code from PHP, but it's very hard to read, > and if I want to make it clearer, it takes time. > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Git some: http://github.com/dpp --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/liftweb?hl=en -~----------~----~----~----~------~----~------~--~---