I can use templates on my modules using html files on my disc, but is it possible to
get html files from the repository to use as templates???
Now i just do:
Document doc = repository.loadTemplate("/template.html");
repository.addTemplate("main", (org.dom4j.Element)
doc.selectSingleNode("/node/[EMAIL PROTECTED]'main']/node"));
main = repository.createTemplate("main");
DelegateContext ctx = new DelegateContext();
main.render(ctx, page.getBodyWriter());
So, is it possible to get the html template from the database repository?????
HELP :)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828079#3828079
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828079
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development