Thanks Henk,That's right Piere, and than you need something like this in the JSP to only show valid objects:<%@ page import="java.util.*" %> <% String thisTeaserHasAValidTransmissionAndExpireDate = ""; %> <% String teaserConstraint = "teasers.transmissiondate < " + (new Date()).getTime()/1000 + " AND teasers.expiredate > " + (new Date()).getTime()/1000 ; %> <%-- try to find the teaser with valid publication and expiration date --%> <mm:list nodes="my_website" path="site,posrel1,page,posrel2,teasers" fields="teasers.title" constraints="<%= teaserConstraint %>"> <mm:field name="teasers.number" jspvar="dummy" vartype="String" write="false"> <% thisTeaserHasAValidTransmissionAndExpireDate = dummy; %> </mm:field> </mm:list> Good luck. Regards, Henk.
After finding the eventtime guitype i already experimented with similar code and got it working just fine.
But thanks for pointing it out.
groetjes,
Joost Nelissen
