tdraier 2005/10/07 13:23:35 CEST
Modified files:
core/src/webapp/jsp/jahia/engines/importexport contentpick.jsp
Log:
fixed metadata display
Revision Changes Path
1.21 +8 -3
jahia/core/src/webapp/jsp/jahia/engines/importexport/contentpick.jsp
http://jahia.mine.nu:8080/cgi-bin/cvsweb.cgi/jahia/core/src/webapp/jsp/jahia/engines/importexport/contentpick.jsp.diff?r1=1.20&r2=1.21&f=h
Index: contentpick.jsp
===================================================================
RCS file:
/home/cvs/repository/jahia/core/src/webapp/jsp/jahia/engines/importexport/contentpick.jsp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- contentpick.jsp 7 Oct 2005 10:01:30 -0000 1.20
+++ contentpick.jsp 7 Oct 2005 11:23:35 -0000 1.21
@@ -15,7 +15,7 @@
<%@ taglib uri="JahiaLib" prefix="jahia" %>
<%
/**
- * @version $Id: contentpick.jsp,v 1.20 2005/10/07 10:01:30 dpillot Exp $
+ * @version $Id: contentpick.jsp,v 1.21 2005/10/07 11:23:35 tdraier Exp $
*/
HashMap engineMap = (HashMap)
request.getAttribute("org.jahia.engines.EngineHashMap");
@@ -296,7 +296,8 @@
<!--td class="text">score :
<%=thisHit.getScore()%></td-->
<td class="text">
<% if
(thisHit.getParsedObject().getValue("creationdate") != null
- &&
!thisHit.getParsedObject().getValue("creationdate").equalsIgnoreCase("")) { %>
+ &&
!thisHit.getParsedObject().getValue("creationdate").equalsIgnoreCase("")
+ &&
!thisHit.getParsedObject().getValue("creationdate").equalsIgnoreCase("<empty>"))
{ %>
<%=new
Date(Long.parseLong(thisHit.getParsedObject().getValue("creationdate"))).toString()%>
<% } else { %>
NA
@@ -304,7 +305,8 @@
</td>
<td class="text">
<% if
(thisHit.getParsedObject().getValue("lastpublishingdate") != null
- &&
!thisHit.getParsedObject().getValue("lastpublishingdate").equalsIgnoreCase(""))
{ %>
+ &&
!thisHit.getParsedObject().getValue("lastpublishingdate").equalsIgnoreCase("")
+ &&
!thisHit.getParsedObject().getValue("lastpublishingdate").equalsIgnoreCase("<empty>"))
{ %>
<%=new
Date(Long.parseLong(thisHit.getParsedObject().getValue("lastpublishingdate"))).toString()%>
<% } else { %>
NA
@@ -350,6 +352,9 @@
</div><!-- end menu wrapper part -->
<% /**
* $Log: contentpick.jsp,v $
+ * Revision 1.21 2005/10/07 11:23:35 tdraier
+ * fixed metadata display
+ *
* Revision 1.20 2005/10/07 10:01:30 dpillot
* cross-browser adaptation (ie,firefox,etc) changes related in css files
*