Author: sshyrkov
Date: Fri Nov  9 10:27:39 2007
New Revision: 19090

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D19090&repname=
=3Djahia
Log:
[trunk r19030] Do not call ContentPage.getPage(...) for already retrieved C=
ontentPage

Modified:
    branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/topbar/decl=
arations.inc

Modified: branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/topba=
r/declarations.inc
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-INCLUD=
E-TAG-BRANCH/core/src/webapp/jsp/jahia/topbar/declarations.inc&rev=3D19090&=
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
--- branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/topbar/decl=
arations.inc (original)
+++ branches/JAHIA-INCLUDE-TAG-BRANCH/core/src/webapp/jsp/jahia/topbar/decl=
arations.inc Fri Nov  9 10:27:39 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