Update of /var/cvs/contributions/natmm/templates/natmm/rss
In directory james.mmbase.org:/tmp/cvs-serv15521/templates/natmm/rss
Modified Files:
xmlactiviteiten.jsp
Log Message:
NMCMS-531
See also: http://cvs.mmbase.org/viewcvs/contributions/natmm/templates/natmm/rss
See also: http://www.mmbase.org/jira/browse/NMCMS-531
Index: xmlactiviteiten.jsp
===================================================================
RCS file: /var/cvs/contributions/natmm/templates/natmm/rss/xmlactiviteiten.jsp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- xmlactiviteiten.jsp 7 Jul 2008 09:08:08 -0000 1.9
+++ xmlactiviteiten.jsp 8 Jul 2008 15:59:57 -0000 1.10
@@ -7,7 +7,7 @@
><%
String sPageTemplateURL = "";
-String DATA_FORMAT ="E, dd MMM yyyy, H:mm";
+String DATA_FORMAT ="E, dd MMM yyyy, HH:mm";
%><[EMAIL PROTECTED] file="../includes/time.jsp" %><%
@@ -31,12 +31,16 @@
long lDateSearchFrom = nowSec;
long lDateSearchTill = lDateSearchFrom + iSearchNumberOfDays*24*60*60;
-if(application.getAttribute("events_till")==null){
- EventNotifier.updateAppAttributes(cloud);
-}
-if(application.getAttribute("events_till")!=null) {
- lDateSearchTill = ((Long)
application.getAttribute("events_till")).longValue();
-}
+System.out.println("lDateSearchTill 1: " + lDateSearchTill);
+
+//if(application.getAttribute("events_till")==null){
+// EventNotifier.updateAppAttributes(cloud);
+//}
+//if(application.getAttribute("events_till")!=null) {
+// lDateSearchTill = ((Long)
application.getAttribute("events_till")).longValue();
+//}
+
+System.out.println("lDateSearchTill 2: " + lDateSearchTill);
String sChildConstraints =
Evenement.getEventsConstraint(lDateSearchFrom,lDateSearchTill);
@@ -95,7 +99,7 @@
String omschrijving = thisPage.getStringValue("omschrijving");
if(omschrijving!=null) { %><%=
HtmlCleaner.filterAmps(HtmlCleaner.cleanText(omschrijving,"<",">","")).trim()
%><% }
%></description>
- <mm:listnodes type="evenement"
constraints="<%=sChildConstraints%>" jspvar="thisEvent" orderby="begindatum"
max="30" directions="UP"
+ <mm:listnodes type="evenement"
constraints="<%=sChildConstraints%>" jspvar="thisEvent" orderby="begindatum"
directions="UP"
><%
String parent_number =
Evenement.findParentNumber(thisEvent.getStringValue("number"));
%><mm:node number="<%= parent_number %>"
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs