rehamaltamimi / gwtwiki

Automatically exported from code.google.com/p/gwtwiki
0 stars 0 forks source link

Expanding template #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The documentation does not explain how to expand templates found in wiki 
text. Please explain the process to expand {{in}} with "foo" in the wiki text 
below:

    WikiModel wikiModel = new 
WikiModel("http://www.mywiki.com/wiki/${image}", 
"http://www.mywiki.com/wiki/${title}");
    String htmlStr = wikiModel.render("This is a simple [[Hello World]] 
wiki tag {{in}}");
    System.out.print(htmlStr);

Thanks

Original issue reported on code.google.com by patrice%...@gtempaccount.com on 11 Aug 2009 at 8:19

GoogleCodeExporter commented 8 years ago
Here is a first try:
http://code.google.com/p/gwtwiki/wiki/WikiModels

Original comment by axelclk@gmail.com on 13 Aug 2009 at 6:02

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 13 Aug 2009 at 6:02

GoogleCodeExporter commented 8 years ago

Original comment by axelclk@gmail.com on 31 Jan 2010 at 12:13