Author: dpillot
Date: Fri Jun 15 10:13:48 2007
New Revision: 17568
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D17568&repname=
=3Djahia
Log:
JAHIA-2005
Modified:
branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/importex=
port/dispPickers.jsp
Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/im=
portexport/dispPickers.jsp
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/webapp/jsp/jahia/engines/importexport/dispPickers.jsp&rev=
=3D17568&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-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/importex=
port/dispPickers.jsp (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/jsp/jahia/engines/importex=
port/dispPickers.jsp Fri Jun 15 10:13:48 2007
@@ -93,7 +93,7 @@
li.add(loc);
EntryLoadRequest lr =3D new EntryLoadRequest(EntryLoadRequest.=
STAGING_WORKFLOW_STATE, 0,li);
=
- logger.debug("t:" + t);
+
if (o instanceof ContentContainer) {
=
pageID =3D o.getPageID();
@@ -109,7 +109,7 @@
if (value !=3D null && !value.trim().equals("") && !va=
lue.equals("<empty>")) {
t =3D value;
if (value.length() > 12) t =3D value.substring(0, =
12) + " (...)";
- logger.debug("tkey=3D" + t);
+ //logger.debug("tkey=3D" + t);
=
break;
}
@@ -120,25 +120,25 @@
=
ContentField contentField =3D (ContentField) iterator1=
.next();
if (contentField instanceof ContentSmallTextField) {
- logger.debug("enter step2:object is smalltextField=
");
+ //logger.debug("enter step2:object is smalltextFie=
ld");
String value =3D contentField.getValue(null, lr);
if (value !=3D null && !value.trim().equals("") &&=
!value.equals("<empty>")) {
t =3D value;
thepage=3D contentField.getPage();
pageID =3D contentField.getPageID();
siteID =3D contentField.getSiteID();
- logger.debug("text value key=3D" + t);
+ //logger.debug("text value key=3D" + t);
break;
}
}
}
- logger.debug("continue step3");
+
//looping list of childs to check page type?
for (Iterator iterator1 =3D l.iterator(); iterator1.hasNex=
t();) {
=
ContentField contentField =3D (ContentField) iterator1=
.next();
if (contentField instanceof ContentPageField) {
- logger.debug("enter step3:object is Contentpage fi=
eld");
+ //logger.debug("enter step3:object is Contentpage =
field");
ContentPage contentPage =3D ((ContentPageField) co=
ntentField).getContentPage(lr);
thepage=3DcontentPage;
t =3D contentPage.getTitle(lr);
@@ -146,7 +146,7 @@
isPage =3D true;
pageID =3D contentPage.getID();
siteID =3D contentPage.getSiteID();
- logger.debug("page value key=3D" + t);
+ //logger.debug("page value key=3D" + t);
break;
}
}
@@ -158,7 +158,7 @@
if (thepage.hasActiveEntries()) isActive =3D true;
if (thepage.checkReadAccess(user)) isReadable =3D true;
=
- logger.debug("URL---->"+url);
+ //logger.debug("URL---->"+url);
//if (!isPage) {
if(isActive && isReadable)
r =3D "<a href=3D\"" + url + "\" target=3D\"_new\">" + t +=
"</a><br>(pid: " + pageID + " on site: " + sitekey + ")";
@@ -463,7 +463,7 @@
<br>
<%
while (it.hasNext()) {
- logger.debug("count=3D" + count);
+
ContentObject co =3D (ContentObject) it.ne=
xt();
=
String info =3D getInfoDisplay(locale,co,t=
heUser);
@@ -476,11 +476,9 @@
//lastcontributor =3D co.getMetadata("=
lastcontributor").getValue(null, EntryLoadRequest.CURRENT);
author =3D co.getMetadataValue("creator=
",null,"");
lastcontributor =3D co.getMetadataValue=
("lastcontributor",null,"");
- lastpublishingdate=3D co.getMetadataVa=
lue("lastPublishingDate",null,"");
- logger.debug("gggg:"+lastpublishingdat=
e);
-
+ lastpublishingdate=3D co.getMetadataVal=
ue("lastPublishingDate",null,"");
=
- logger.debug("summary metadatas: autho=
r:"+author+" lastcontrib:"+lastcontributor+" lastpubdate:"+lastpublishingda=
te);
+ //logger.debug("summary metadatas: aut=
hor:"+author+" lastcontrib:"+lastcontributor+" lastpubdate:"+lastpublishing=
date);
} catch (JahiaException e) {
logger.error("error:",e);
}
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list