[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Timothy Perrett
Its telling you that the class Clock could not be found - if i were you, check the package definitions on the clock class to make sure its in the right namespace. Cheers, Tim On Sep 15, 3:38 am, jack jack.wid...@gmail.com wrote: I compiled the comet Clock app and used the following markup

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
The package is correct. Here is the error XML parsing failed: syntax error (Line: 13, Character: 4) Reparse document as HTML Error:undeclared XML namespace prefix used in attribute name Specification:http://www.w3.org/TR/xml-names11/#nsc-NSDeclared 10: body 11: 12: !--FIXME - comet type:

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
Here is the complete code for my Clock example *class* import scala.xml._ import net.liftweb.http.S import net.liftweb.http.CometActor import net.liftweb.http.SessionVar import net.liftweb.util._ import _root_.scala.xml._ import _root_.net.liftweb.util.Helpers._ import scala.actors._ class

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
And here is the error again: Error! XML parsing failed XML parsing failed: syntax error (Line: 13, Character: 4) Reparse document as HTML Error:undeclared XML namespace prefix used in attribute name Specification:http://www.w3.org/TR/xml-names11/#nsc-NSDeclared 10: body 11: 12: !--FIXME -

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Tim Nelson
Comet classes are supposed to go in the comet folder. It looks like you have it in your snippet folder. Did you try putting the clock class in the comet folder? On Tue, Sep 15, 2009 at 7:34 AM, Jack Widman jack.wid...@gmail.com wrote: And here is the error again: Error! XML parsing failed

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
Yikes. Feeling stupid. On Tue, Sep 15, 2009 at 9:02 AM, Tim Nelson tnell...@gmail.com wrote: Comet classes are supposed to go in the comet folder. It looks like you have it in your snippet folder. Did you try putting the clock class in the comet folder? On Tue, Sep 15, 2009 at 7:34 AM,

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Timothy Perrett
Like I said in the first place... check the package ;-) Tim On 15 Sep 2009, at 14:46, Jack Widman wrote: Yikes. Feeling stupid. On Tue, Sep 15, 2009 at 9:02 AM, Tim Nelson tnell...@gmail.com wrote: Comet classes are supposed to go in the comet folder. It looks like you have it in

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Naftoli Gugenheim
Did you leave out the package statement? Where is the .class file outputted? I think the browser is complaining that the error message xml has an unbound prefix. - Jack Widmanjack.wid...@gmail.com wrote: And here is the error again: Error! XML parsing

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
I did not try it without the package statement. The class is located in the snippet folder. It was just pointed out to me that it must be in the comet folder. On Tue, Sep 15, 2009 at 10:15 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: Did you leave out the package statement? Where is the

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Naftoli Gugenheim
I asked because the package statement didn't seem to get pasted into your email with the rest of your code, and I've had times that I tracked down errors to an incorrect package statement. In Java, if a package statement doesn't correspond to a file's containing folder it's an error, but in

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
I double checked it. The full package was there, I just failed to include it in the email. On Tue, Sep 15, 2009 at 11:12 AM, Naftoli Gugenheim naftoli...@gmail.comwrote: I asked because the package statement didn't seem to get pasted into your email with the rest of your code, and I've had

[Lift] Re: trouble with comet Clock example

2009-09-15 Thread Jack Widman
Ok Great. I will try this first thing when I get home tonight. On Tue, Sep 15, 2009 at 11:05 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Tue, Sep 15, 2009 at 7:18 AM, Jack Widman jack.wid...@gmail.comwrote: I did not try it without the package statement. The class is located