error processing lift:when tag

5 views
Skip to first unread message

steve.yen

unread,
Feb 4, 2008, 3:56:47 PM2/4/08
to liftweb
Hi folks,
I must be doing something head slappingly wrong, getting this error
page trying to use the Clock comet sample.

XML Parsing Error: prefix not bound to a namespace
Location: http://localhost:8888/
Line Number 52, Column 46: <span
id="LCQBTQA1OTKBTPZ1K5GL2L_outer"><span lift:when="1202157690355"
id="LCQBTQA1OTKBTPZ1K5GL2L">
---------------------------------------------^

(It's complaining about the lift:when tag.)

How I got here: I had updated to the latest svn lift core, made sure
my app still runs, then copied the latest comet Clock example code
into my comet directory, changed its package line to match my package
naming scheme, and then added the following to my main page...

<lift:comet type="Clock">
Current Time: <clk:time>Missing Clock</clk:time>
</lift:comet>

The old Clock example definitely used to work before a month ago
(before my version upgrade and the change to the simplified
CometActorInitInfo parameter)

Any ideas?

Thanks,
Steve

David Pollak

unread,
Feb 4, 2008, 4:08:10 PM2/4/08
to lif...@googlegroups.com
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:lift='http://liftweb.net'>

Make sure the lift namespace is defined.

steve.yen

unread,
Feb 4, 2008, 6:28:55 PM2/4/08
to liftweb
Thanks! That did the trick -- added to the lift wiki.
Reply all
Reply to author
Forward
0 new messages