Fixed demo.

This commit is contained in:
Christian P. MOMON 2020-01-18 15:54:22 +01:00
parent 66b394cb32
commit fb8cd7beef

View file

@ -59,7 +59,7 @@ class XidynDemo
String htmlSource = "<div id='pseudo'>a pseudo</div >"; String htmlSource = "<div id='pseudo'>a pseudo</div >";
TagDataManager data = new TagDataManager(); TagDataManager data = new TagDataManager();
data.setContent("name", "Superman"); data.setContent("pseudo", "Superman");
String htmlTarget = PresenterUtils.dynamize(htmlSource, data).toString(); String htmlTarget = PresenterUtils.dynamize(htmlSource, data).toString();
@ -74,6 +74,7 @@ class XidynDemo
catch (Exception exception) catch (Exception exception)
{ {
System.out.println(exception.getMessage()); System.out.println(exception.getMessage());
exception.printStackTrace();
} }
} }