FM cannot be used in unsigned Applets
Generates text that depends on changing data (like dynamic HTML).
Brought to you by:
revusky
Things like this cause a problem: SecurityUtilities.getSystemProperty("freemarker.debug.password", "")
I had to change the following sources to get FM to work in my unsigned applet:
DebuggerServer.java about ln 90
DebuggerService.java ln 79
BeansWrapper.java ln 147
Configuration.java ln 139
So I guess I should add a Configuration setting like "applet_mode". Should I?
Ticket moved from /p/freemarker/bugs/385/
The quoted line doesn't cause error, only logs a warning, as it has a default, exactly for the case when you have no permission to read system properties. At some other places, however, there was no default specified. I have fixed those in 2.3.22. I have tried it and it works in unsigned applets (just logs a few warnings on startup).
Ticket moved from /p/freemarker/feature-requests/98/