Configuration capabilities

kukudas <[email protected]>
Newsgroups gmane.comp.web.freemarker.user
Message-ID <[email protected]>
Hello everybody,

 i did now successfully set up a little test project with struts 2 and
freemarker it's still "low" but it's working :). I have one question i'm
using in my action something like this:

Configuration c = new Configuration();
c.setDirectoryForTemplateLoading(new File("C:/MyModules/All/"));
c.getTemplate("module.ftl");

which kinda works i don't get any exception or so. But i dont know how to
use this now
on my view. Like somehow a reference <#include c> or so i kinda don't find
any examples just some
code snipplets which i put together and try out but well ...
Is there maybe any source for newbies i'm mean you guys had to learn this
someway :).
In the Documentation i've read so far it's kinda thin i gues sits writting
for users they have more expierince then me. What i'm missing is like what i
can do after
i load a certain template. Like manipulate it (which i proably don't want to
do but still to know how would be nice) or to set it up on diffrend views.
maybe i'm just not searching hard enough for sources but i feel like i do. I
hope anyone could help me with examples/sources and i hope i don't annoye
you guys with my newbie questions.

greets kukudas
-- 
View this message in context: http://www.nabble.com/Configuration-capabilities-tp17799498p17799498.html
Sent from the freemarker-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.