#set($page = Blog.WebHome)
#includeForm("Test.BlogMacro")


It looks to me like you are trying to set a String variable without quotes. Try put quotes around the Blog.WebHome in the first line. Like this:

#set($page = "Blog.WebHome")
#includeForm("Test.BlogMacro")


==================================
Cody Burleson





Ryszard Lach <siaco@autograf.pl>

09/21/2005 02:39 AM
Please respond to
Ryszard Lach <siaco@autograf.pl>

To
xwiki-users@objectweb.org
cc
Subject
[xwiki-users] Problem creating blog





Hi.

I've tried to create a blog exactly as described in tutorial, but I get
an error just after first step i.e. after 'save' or even 'preview' of
Test.BlogMacro page containing

#set($page = Blog.WebHome)
#includeForm("Test.BlogMacro")

The error is

Error number 4001 in 4: Error while parsing velocity page Test.BlogMacro
Wrapped Exception: Encountered "Blog" at line 1, column 14. Was
expecting one of: "[" ? "(" ? ? "true" ? "false" ? ? ? "{" ? "!" ?

Do you have any suggestions? Where to begin to look?

I'm using xwiki version 0.9.793.

Richard.

--
"First they ignore you. Then they laugh at you. Then they
fight you. Then you win." - Mohandas Gandhi.


--
You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws