ok, thx, but still a question, so now I have the following code in my module:
HtmlLoader htmlLoader = new HtmlLoader(server);
TemplateLoader templateLoader = new TemplateLoader(htmlLoader);
Document doc = templateLoader.loadTemplate("/template.html");
templateLoader.addTemplate("main", (org.dom4j.Element)
doc.selectSingleNode("/node/[EMAIL PROTECTED]'main']/node"));
main = templateLoader.createTemplate("main");
I have created a html file called /template.html using mu HTML module on the admin
page, I can access it using the url, but he complains (exceptions) that he can't find
the resource "/template.html" ???
Any idea what I'm doing wrong ...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3828088#3828088
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3828088
-------------------------------------------------------
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