Yeah of course - im already familiar with the Script object. My code looks like:
def show(xhtml: NodeSeq): NodeSeq = bind("uedit", xhtml, "application" -> Script(Run(script)) ) And the rendered html looks like: <script type="text/javascript"> // <![CDATA[ swfobject.embedSWF( '/classpath/uedit/uedit.swf', 'ueditapp', '800', '500', '9.0.0', '/classpath/uedit/expressinstall.swf', {"useJSToGetCustomizationValues": "false", "zoom": "fit", "scrollBars": "both" ....}, {}, {}); // ]]> </script> As you can see, the script items are still in place, yet its not working correctly. Thoughts? Cheers, Tim > Your code should look something like: > > import net.liftweb.http.js.JsCmds._ > > <span> > This is some stuff on my page > { > Script(myScriptWhichIsAJsCmd)} > > </span> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---