Scott Eade <[EMAIL PROTECTED]> writes: >#parse no longer seems to work.
>I used to be able to do things like > #parse("screens/skins,default,Login.vm") >but this no longer works: Stop. If you use "parse", you're already in Velocity context "below" the Template service. So you must use "/" for finding your file. You use "skins,default,Login.vm" to find a template. This is always valid if your request is processed through the Template Service, which does the actual translation and sends the result to the VelocityService to load your template and interpret it. #parse(...) is a Velocity command and is never seen by the Template Service. So you must use #parse("screens/skins/default/Login.vm") Sorry, but these are the rules. If Velocity would allow us to plug something into the #parse statement to pass the string through Template Service.... Regards Henning >2003-08-22 16:15:18,672 ERROR [Thread-6 ] >velocity.TurbineVelocityService - Error rendering Velocity template: >screens/Login.vm >org.apache.velocity.exception.ResourceNotFoundException: Unable to find >resource 'screens/skins,default,Login.vm' >Is there a suggested work around? >Thanks, >Scott >-- >Scott Eade >Backstage Technologies Pty. Ltd. >http://www.backstagetech.com.au >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] -- Dipl.-Inf. (Univ.) Henning P. Schmiedehausen INTERMETA GmbH [EMAIL PROTECTED] +49 9131 50 654 0 http://www.intermeta.de/ Java, perl, Solaris, Linux, xSP Consulting, Web Services freelance consultant -- Jakarta Turbine Development -- hero for hire "Dominate!! Dominate!! Eat your young and aggregate! I have grotty silicon!" -- AOL CD when played backwards (User Friendly - 200-10-15) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]