From tchemit@users.labs.libre-entreprise.org Mon Jun 15 08:44:22 2026
From: tchemit@users.labs.libre-entreprise.org
To: simexplorer-si-commits@list.forge.codelutin.com
Subject: [Simexplorer-si-commits] r676 -
	trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages
Date: Mon, 04 Feb 2008 22:42:49 +0100
Message-ID: <20080204214249.95610461A92@labs.libre-entreprise.org>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5051655043171055887=="

--===============5051655043171055887==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Author: tchemit
Date: 2008-02-04 21:42:48 +0000 (Mon, 04 Feb 2008)
New Revision: 676

Modified:
   trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages/=
ElementList.java
Log:
la m?\195?\169thode i18n._ permet le passage de param?\195?\168tre

Modified: trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web=
/pages/ElementList.java
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages=
/ElementList.java	2008-02-04 20:57:41 UTC (rev 675)
+++ trunk/simexplorer-is-web/src/java/fr/cemagref/simexplorer/is/ui/web/pages=
/ElementList.java	2008-02-04 21:42:48 UTC (rev 676)
@@ -130,8 +130,7 @@
      * @return the detail element context
      */
     public String getDetailElementContext() {
-        String result =3D _element.getUuid() + "," + _element.getVersion();
-        return result;
+        return _element.getUuid() + "," + _element.getVersion();
     }
=20
     /**
@@ -155,18 +154,14 @@
      */
     @Override
     public String getWindowTitle() {
-        String windowTitle =3D null;
+        String title;
         if (elementDataSource.getQuery() !=3D null
                 && !elementDataSource.getQuery().equals("")) {
-            windowTitle =3D String.format(
-                    _("simexplorer.ui.web.title.searchresults"),// "Search
-                                                                // results f=
or
-                                                                // \"%s\"",
-                    elementDataSource.getQuery());
+            title =3D _("simexplorer.ui.web.title.searchresults",elementData=
Source.getQuery());
         } else {
-            windowTitle =3D _("simexplorer.ui.web.title.applicationlist");
+            title =3D _("simexplorer.ui.web.title.applicationlist");
         }
-        return windowTitle;
+        return title;
     }
=20
 }


--===============5051655043171055887==--


