On Fri, Jun 20, 2008 at 2:48 PM, Ernst Bunders <[EMAIL PROTECTED]> wrote:
> Hi
>
> I run into a problem with the constraint tag on a date field. Below
> constraint does not work at all, even though it should find some objects.
> Perhaps this only works if you have a 'modern' builder.xml, with datatypes?
>
>                 <mm:time time="now this day">
>                     <p>test: ${_}(<mm:time format=":FULL"/>)</p>
>                     <mm:constraint field="mmevents.start" value="${_}"
> part="DAYOFYEAR" />
>                 </mm:time>

I'd say you should compare with a number, not with a date object, as
you are doing now.

Michiel


-- 
mihxil' http://meeuw.org
nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
Developers@lists.mmbase.org
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to