[Lift] Re: namespace problem again

2009-04-29 Thread David Pollak
On Wed, Apr 29, 2009 at 11:35 AM, Meredith Gregory wrote: > Lifted, > > Sorry for the sound and fury. i found the soln again: the following call > had gotten mangled in boot > > LiftRules.addToPackages("com.biosimilarity.weather") > > That's a nasty one to get wrong. No help from the compiler. Er

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
David, Thanks, as always, for your responsiveness. i don't know if you saw my earlier post, but i found and fixed the problem. However, now i'm running into a more subtle problem related to how the JSRaw is handled. See below. Best wishes, --greg Here's the error according to firebug F50765186

[Lift] Re: namespace problem again

2009-04-29 Thread David Pollak
On Wed, Apr 29, 2009 at 11:17 AM, Meredith Gregory wrote: > David, > > Thanks for the suggestion, but no joy. The error is the same. BTW, the only > difference i could spot between your proposal and mine was changing the > "-->" to "->". > Yeah... that was the difference. Can you send me breaki

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
Lifted, Sorry for the sound and fury. i found the soln again: the following call had gotten mangled in boot LiftRules.addToPackages("com.biosimilarity.weather") That's a nasty one to get wrong. No help from the compiler. Error message completely misleading. Best wishes, --greg On Wed, Apr 29,

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
Lifted, It appears that the interface for binding a namespace is side-effecting. That's fine. But, i can't seem to understand the semantics. For example, - if one puts a call to bind at the beginning of a block for a method that handles a post, and yet returns a different nodeseq, the desir

[Lift] Re: namespace problem again

2009-04-29 Thread Meredith Gregory
David, Thanks for the suggestion, but no joy. The error is the same. BTW, the only difference i could spot between your proposal and mine was changing the "-->" to "->". Best wishes, --greg XML Parsing Error: prefix not bound to a namespace Location: http://localhost:8080/AJAXREPLForm Line Numb

[Lift] Re: namespace problem again

2009-04-29 Thread David Pollak
Try: def show(xhtml: NodeSeq): NodeSeq = { { bind( "hello", xhtml, "initialTimeField" -> text("Nil", (updateInitialTime _)) % ("size" -> "60") % ("id" -> "initialTimeField"), "finalTimeField" -> text("Nil", (updateFinalTime _)) % ("size" -> "60") % ("id" -> "finalTimeFiel