I don't understand why cfg.setObjectWrapper(new DefaultObjectWrapper()); must be used
Vañó Sempere, José Rafael <[email protected]>
| Newsgroups | gmane.comp.web.freemarker.user |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I've seen something I don't understand in freemarker's documentation:
Page
http://www.freemarker.org/docs/pgui_quickstart_createconfiguration.html
("Create a configuration instance")
says that
cfg.setObjectWrapper(new DefaultObjectWrapper());
must be used.
I don't understant why cfg.setObjectWrapper(new DefaultObjectWrapper());
is necessary.
The default object wrapper is suposed to be a thread-safe singleton, isn't it?
By the way, I haven't seen that line in freemarker's examples.
Thank you very much.
Jose
P.S.: Sorry for my English.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
FreeMarker-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freemarker-user