Lifted, i'm getting the following error. i've run into this before and resolved it, but i can't for the life of me remember what i did. All my other lift sites are constructed pretty much isomorphic to this one. Any help would be greatly appreciated.
Best wishes, --greg XML Parsing Error: prefix not bound to a namespace Location: http://localhost:8080/AJAXREPLForm Line Number 78, Column 58: <label for="initTimeField">Initial time :</label><hello:initTimeField></hello:initTimeField> ---------------------------------------------------------^ <lift:surround with="default" at="content"> <h1>R-E-P-L</h1> <lift:REPLForm.show form="POST"> <label for="initTimeField">Initial time :</label><hello:initTimeField/> <label for="finalTimeField">Final time :</label><hello:finalTimeField/> <hello:submit/><br/> Result: <hello:resultChart/> </lift:REPLForm.show> </lift:surround> class REPLForm { // ... // close to what i usually do // def show(xhtml: NodeSeq): NodeSeq = { // <xml:group> // <label for="initialTimeField">Inital time :</label> // { text("Nil", (updateInitialTime _)) % ("size" -> "60") % ("id" -> "initialTimeField") } // <label for="finalTimeField">Final time :</label> // { text("Nil", (updateFinalTime _)) % ("size" -> "60") % ("id" -> "finalTimeField") } // { <button type="button">{?("Go")}</button> % // ("onclick" -> ajaxCall(JsRaw("$('#initialTimeField').attr('value')"), s => updateInitialTime(s))) } // <br/> // <div id="resultChart">{whatNode(evalStr())}</div> // </xml:group> // } // attempt to resolve the problem by putting in a call to bind 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" --> <button type="button">{?("Go")}</button> % ("onclick" -> ajaxCall(JsRaw("$('#initialTimeField').attr('value')"), s => updateInitialTime(s))) ) } <br/> <div id="resultChart">{whatNode(evalStr())}</div> </xml:group> } } -- L.G. Meredith Managing Partner Biosimilarity LLC 1219 NW 83rd St Seattle, WA 98117 +1 206.650.3740 http://biosimilarity.blogspot.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---