Re: RhinoWrapper Exception
Daniel Dekany <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Monday, February 2, 2009, 10:14:04 AM, Patrick Dobbs wrote:
>> A quick remedy would be if you recompiled FreeMarker against a new
>> js.jar so that it properly links with it. To do this:
>>
>> 1. cd to your FreeMarker distro directory, and type "ant jar". This'll
>> pull down all the dependencies over HTTP into the lib directory and
>> build the JAR file.
>> 2. Replace lib/js.jar with Rhino 1.7R2 js.jar
>> 3. Remove lib/freemarker.jar
>> 4. Remove build directory
>> 5. "ant jar" again.
>> 6. Take lib/freemarker.jar and use it in your project.
>>
>> Hope that helps. I'll remedy this once and for all for 2.3.16 though;
>> promise.
>
> Excellent - easy, and works! Thanks.
So for you even ${name} works after you did root = {}; root.name =
"Joe"; in JavaScript?
--
Best regards,
Daniel Dekany
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword