Author: sshyrkov
Date: Thu Nov  1 18:25:57 2007
New Revision: 19030

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19030&repname=
=3Djahia
Log:
Do not call ContentPage.getPage(...) for already retrieved ContentPage

Modified:
    trunk/core/src/webapp/jsp/jahia/topbar/declarations.inc

Modified: trunk/core/src/webapp/jsp/jahia/topbar/declarations.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/webapp=
/jsp/jahia/topbar/declarations.inc&rev=3D19030&repname=3Djahia
=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=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/webapp/jsp/jahia/topbar/declarations.inc (original)
+++ trunk/core/src/webapp/jsp/jahia/topbar/declarations.inc Thu Nov  1 18:2=
5:57 2007
@@ -1,4 +1,3 @@
-<%@ page import=3D"java.lang.*"%>
 <%@ page import=3D"java.util.*" %>
 <%@ page import=3D"org.jahia.bin.Jahia" %>
 <%@ page import=3D"org.jahia.content.*" %>
@@ -29,7 +28,7 @@
 }
 ParamBean jParams =3D jData.params();
 =

-ContentPage contentPage =3D ContentPage.getPage(jData.page().getID());
+ContentPage contentPage =3D jParams.getContentPage();
 Map languagesStates =3D contentPage.getLanguagesStates(true);
 =

 // get the current language code

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to