page.setTextArticle(article);

Carlos Pruitt cept at bellsouth.net
Wed Jul 25 21:55:06 UTC 2007


Lets say I have this 2 line text file called Hello.txt.

Hello world.
goodbye world.

How can I display the contents of this file on a page?  I believe I can do it 
with  page.setTextArticle(article);.  However, I am a newbie to xwiki and I 
am still in the dark.  What is the full code snippet to use?

Thanks in advance.

carlos 





More information about the users mailing list