You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by "William I. Zumwalt" <wi...@yahoo.com> on 2004/08/10 23:42:51 UTC

velocity unable to render template (using ww and velocity)

Hey all, 

I've got a problem which I can't locate. I'm using
webwork & velocity. The problem is when I configure
the result type actions in webwork from 'dispatcher'
to 'velocity' I get the errors below where velocity is
unable to render a template. But if I just use
'dispatcher' which is webwork only, it works (though
it's all text and doesnt' run velocity).

Can anyone help out, comments, advice, etc...

---

   <action name="index"
class="com.moblize.management.servlets.IndexAction">
      <result name="success" type="velocity">
         <param name="location">login.vm</param>
      </result>
      <result name="error" type="velocity">
         <param name="location">error.vm</param>
      </result>
   </action>

---

16:24:43,313 INFO  [Server] JBoss (MX MicroKernel)
[3.2.3 (build: CVSTag=JBoss_3_2_3 date=200311301445)]
Started in 1m:7s:134ms
16:24:55,310 INFO  [STDOUT] IndexAction execute()
16:24:55,311 INFO  [STDOUT]
----------------------------
16:24:57,837 ERROR [VelocityResult] Unable to render
Velocity Template, 'overview.vm'
java.lang.IllegalArgumentException: No such
setting:webwork.i18n.encoding
        at
com.opensymphony.webwork.config.PropertiesConfiguration.getImpl(PropertiesConfiguration.java:73)
        at
com.opensymphony.webwork.config.DelegatingConfiguration.getImpl(DelegatingConfiguration.java:81)
        at
com.opensymphony.webwork.config.DefaultConfiguration.getImpl(DefaultConfiguration.java:94)
        at


		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

---------------------------------------------------------------------
To unsubscribe, e-mail: velocity-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: velocity-user-help@jakarta.apache.org