[Lift] Re: namespace problem again

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

[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 Number

[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

[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 David Pollak
On Wed, Apr 29, 2009 at 11:17 AM, Meredith Gregory lgreg.mered...@gmail.com 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

[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

[Lift] Re: namespace problem again

2009-04-29 Thread David Pollak
On Wed, Apr 29, 2009 at 11:35 AM, Meredith Gregory lgreg.mered...@gmail.com 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