Re: [Lift] Is this a defect at JqJsCmds.ModalDialog

2009-12-17 Thread Alex Boisvert
Good to hear. Yes, it felt more natural to pass a Json object since that's what the BlockUI API expects. alex On Thu, Dec 17, 2009 at 1:41 AM, Xuefeng Wu wrote: > OK, I found the JsObj is useful, Thanks. > > > On Thu, Dec 17, 2009 at 5:28 PM, Xuefeng Wu wrote: > >> Hi Alex, >> >> I found new

Re: [Lift] Is this a defect at JqJsCmds.ModalDialog

2009-12-17 Thread Xuefeng Wu
OK, I found the JsObj is useful, Thanks. On Thu, Dec 17, 2009 at 5:28 PM, Xuefeng Wu wrote: > Hi Alex, > > I found new ModalDialog(html: NodeSeq, css: Box[JsObj]), > the parameter 'css' type is JsObj instead of String. > > Could you tell me the reason? > > I'm working on a customer widgets and

Re: [Lift] Is this a defect at JqJsCmds.ModalDialog

2009-12-17 Thread Xuefeng Wu
Hi Alex, I found new ModalDialog(html: NodeSeq, css: Box[JsObj]), the parameter 'css' type is JsObj instead of String. Could you tell me the reason? I'm working on a customer widgets and have the same case. On Thu, Dec 3, 2009 at 10:37 PM, Alex Boisvert wrote: > On Thu, Dec 3, 2009 at 12:40

Re: [Lift] Is this a defect at JqJsCmds.ModalDialog

2009-12-03 Thread Xuefeng Wu
http://github.com/dpp/liftweb/issues/#issue/218 Thanks On Thu, Dec 3, 2009 at 10:37 PM, Alex Boisvert wrote: > On Thu, Dec 3, 2009 at 12:40 AM, Xuefeng Wu wrote: > >> Hi, >> >> When I use ModalDialog I want to setup the css but fail, >> My code would be: >> ModalDialog(someHtml, "top: '10px'")

Re: [Lift] Is this a defect at JqJsCmds.ModalDialog

2009-12-03 Thread Alex Boisvert
On Thu, Dec 3, 2009 at 12:40 AM, Xuefeng Wu wrote: > Hi, > > When I use ModalDialog I want to setup the css but fail, > My code would be: > ModalDialog(someHtml, "top: '10px'") > > I found the ModalDialog code at Lift: > class ModalDialog(html: NodeSeq, css: Box[String]) extends JsCmd { > val

[Lift] Is this a defect at JqJsCmds.ModalDialog

2009-12-03 Thread Xuefeng Wu
Hi, When I use ModalDialog I want to setup the css but fail, My code would be: ModalDialog(someHtml, "top: '10px'") I found the ModalDialog code at Lift: class ModalDialog(html: NodeSeq, css: Box[String]) extends JsCmd { val toJsCmd = "jQuery.blockUI({ message: " + AltXML.toXML(Group(S.sessio