From f2f70ce931a5ea78fc62142f8d95788a459b05b9 Mon Sep 17 00:00:00 2001 From: administrateur Date: Thu, 8 Feb 2007 00:21:52 +0100 Subject: [PATCH] id name changed in demo. --- demo/Demo.java | 2 +- demo/Demo.java~ | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/demo/Demo.java b/demo/Demo.java index 4d43a2f..f18e85e 100644 --- a/demo/Demo.java +++ b/demo/Demo.java @@ -174,7 +174,7 @@ class Demo source = new StringBuffer (); source.append ("\n"); source.append (" \n"); - source.append (" \n"); + source.append (" \n"); source.append (" \n"); source.append ("
noidun nomun prenom
noidun nomun prenom
noidun nomun prenom
noidun nomun prenom
"); htmlSource = source.toString (); diff --git a/demo/Demo.java~ b/demo/Demo.java~ index de01306..4d43a2f 100644 --- a/demo/Demo.java~ +++ b/demo/Demo.java~ @@ -60,7 +60,7 @@ class Demo datas.setContent ("name", "Superman"); errorMessage = new StringBuffer (); - html = Presenter.doXid ("
a name
", datas, "", errorMessage); + html = Presenter.doXid ("
a name
", datas, errorMessage); System.out.println ("datas = new Data ();"); System.out.println ("datas.setContent (\"name\", \"Superman\");"); @@ -80,7 +80,7 @@ class Demo errorMessage = new StringBuffer (); - html = Presenter.doXid ("
a last name
", datas, "", errorMessage); + html = Presenter.doXid ("
a last name
", datas, errorMessage); System.out.println ("datas = new Data ();"); System.out.println ("datas.setContent (\"lastname\", \"Spiderman\");"); @@ -105,7 +105,7 @@ class Demo errorMessage = new StringBuffer (); - html = Presenter.doXid ("", datas, "", errorMessage); + html = Presenter.doXid ("", datas, errorMessage); System.out.println ("datas = new Data ();"); System.out.println ("datas.setContent (\"words\", 0, \"alpha\");"); @@ -139,7 +139,7 @@ class Demo source.append (" noidun nomun prenom\n"); source.append (""); htmlSource = source.toString (); - html = Presenter.doXid (htmlSource, datas, "", errorMessage); + html = Presenter.doXid (htmlSource, datas, errorMessage); System.out.println ("datas = new Data ();"); System.out.println ("datas.setContent (\"identity\", 0, \"nom\", \"Jemba\");"); @@ -194,22 +194,22 @@ class Demo datas.setIterationStrategy ("identity", IdsDataByIndex.IterationStrategy.ONLY_FIRST_ROW); System.out.println ("ONLY_FIRST_ROW:"); - html = Presenter.doXid (htmlSource, datas, "", errorMessage); + html = Presenter.doXid (htmlSource, datas, errorMessage); System.out.println (html); datas.setIterationStrategy ("identity", IdsDataByIndex.IterationStrategy.ONLY_ROWS_WITH_ID); System.out.println ("ONLY_ROWS_WITH_ID:"); - html = Presenter.doXid (htmlSource, datas, "", errorMessage); + html = Presenter.doXid (htmlSource, datas, errorMessage); System.out.println (html); datas.setIterationStrategy ("identity", IdsDataByIndex.IterationStrategy.ONLY_ROWS_WITHOUT_ID); System.out.println ("ONLY_ROWS_WITHOUT_ID:"); - html = Presenter.doXid (htmlSource, datas, "", errorMessage); + html = Presenter.doXid (htmlSource, datas, errorMessage); System.out.println (html); datas.setIterationStrategy ("identity", IdsDataByIndex.IterationStrategy.ALL_ROWS); System.out.println ("ALL_ROWS:"); - html = Presenter.doXid (htmlSource, datas, "", errorMessage); + html = Presenter.doXid (htmlSource, datas, errorMessage); System.out.println (html); @@ -230,7 +230,7 @@ class Demo source.append ("

three

\n"); source.append (""); htmlSource = source.toString (); - html = Presenter.doXid (htmlSource, datas, "", errorMessage); + html = Presenter.doXid (htmlSource, datas, errorMessage); System.out.println (htmlSource); System.out.println ("+");