This first line below starting w/ #foreach is line 224 that is being reported. I could see where you meant put name=value in "'s, but that didn't seem to do it and is on line 225, so don't know what's up w/ 224. Could it be the param I'm trying to pass?


#foreach ( $key in $buildCategories($selectA).keySet() )
<option value="$buildCategories.get($key)">$buildCategories.get($key)
#end


On Sunday, Jun 1, 2003, at 01:26 US/Central, Matt Ho wrote:

Yep. Velocity is usually very good about being specific.

What I guess the problem would be is in your use of some directive. Remember that the arguments for the UI directives need to be in "name=value" format rather than name="value". The latter will cause the problem that you are seeing.

#tag( ... )

and

  #body( ... )
  #param( ... )
  #end

are valid.

   #tag( ... )
   #param( ... )
   #end

is a parse error. In any event, if this doesn't help, post the incorrigible line here and we'll work it out :)

M

G.L. Grobe wrote:
Does the output below mean literally that the error is on line 224 (in which case I can't see how it would expect what it's asking for) of the *.vm?
--- template output ---
VelocityServlet : Error processing the template
org.apache.velocity.exception.ParseErrorException: Encountered "(" at line 224, column 60. Was expecting one of: "[" ... ... ... ... "true" ... "false" ... ... ... ... "{" ... ...
org.apache.velocity.exception.ParseErrorException: Encountered "(" at line 224, column 60. Was expecting one of: "[" ... ... ... ... "true" ... "false" ... ... ... ... "{" ... ... at org.apache.velocity.Template.process(Template.java:181) at org.apache.velocity.runtime.resource.ResourceManager.getResource(Resou rc eManager.java:403) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstanc e. java:736) at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstanc e. java:718) at org.apache.velocity.runtime.RuntimeSingleton.getTemplate(RuntimeSingle to n.java:337) at org.apache.velocity.servlet.VelocityServlet.getTemplate(VelocityServle t. java:499) at webwork.view.velocity.WebWorkVelocityServlet.handleRequest(WebWorkVelo ci tyServlet.java:180) at org.apache.velocity.servlet.VelocityServlet.doRequest(VelocityServlet. ja va:331) at org.apache.velocity.servlet.VelocityServlet.doGet(VelocityServlet.java :2 92) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at webwork.view.velocity.WebWorkVelocityServlet.service(WebWorkVelocitySe rv let.java:56) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicatio nH andler.java:280) at org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:194) at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:129) at webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:22 1) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicatio nH andler.java:280) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:55 3) at org.mortbay.http.HttpContext.handle(HttpContext.java:1717) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationC on text.java:549) at org.mortbay.http.HttpContext.handle(HttpContext.java:1667) at org.mortbay.http.HttpServer.service(HttpServer.java:862) at org.jboss.jetty.Jetty.service(Jetty.java:497) at org.mortbay.http.HttpConnection.service(HttpConnection.java:759) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:923) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:776) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:2 02 ) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork





------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to