I'll make sure to note all of the things discussed here in the API updates.
On Thu, Apr 30, 2009 at 1:15 PM, Timothy Perrett <timo...@getintheloop.eu>wrote: > > Thanks guys, this is working great now - never knew that about jscmd! > > Thanks, Tim > > On Apr 30, 3:15 pm, "marius d." <marius.dan...@gmail.com> wrote: > > As a general rule when we have a JsExp/JsCmd and was to stringify it > > as a JS expression always use toJsCmd. > > > > Br's, > > Marius > > > > On Apr 30, 4:50 pm, David Pollak <feeder.of.the.be...@gmail.com> > > wrote: > > > > > > > > > On Thu, Apr 30, 2009 at 6:44 AM, Timothy Perrett > <timo...@getintheloop.eu>wrote: > > > > > > The latter, its a toString > > > > > That's the problem. JsExp (JsObj is a JsExp) are NodeSeq as well (this > is > > > to support the ability to render XML literals and JavaScript into > > > client-side node building). toString on a JsExp results in the > XML-encoded > > > String. In order to get the JavaScript executable string, you must do > a > > > toJsCmd. > > > > > Thanks, > > > > > David > > > > > > > Are you doing a "toJsCmd" on the JsObj that you're creating or a > > > > toString? > > > > > -- > > > Lift, the simply functional web frameworkhttp://liftweb.net > > > Beginning Scalahttp://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 -~----------~----~----~----~------~----~------~--~---