RE: [Zope] dtml-if and dtml-with problems

2000-11-16 Thread James Sintz

Thanks

that did the trick...



also found out that 



works as well.

> -Original Message-
> From: Andy McKay [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 16, 2000 12:45 PM
> To:   James Sintz; [EMAIL PROTECTED]
> Subject:  Re: [Zope] dtml-if and dtml-with problems
> 
> If your nl_goLiveDate is a date, then you might need to str() the variable
> 
> 
> --
>   Andy McKay, Developer.
>   ActiveState.
> 
> - Original Message -
> From: "James Sintz" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, November 16, 2000 9:13 AM
> Subject: [Zope] dtml-if and dtml-with problems
> 
> 
> > Could someone tell me why the follow statement is never true.
> >
> > 
> >  
> > - 
> >
> > 
> >
> >  
> > 
> >
> > The news folder contains several newsletters and one of them DOES have a
> > 'nl_goLiveDate' of 2000/11/16 yet the above express seems to be always
> > false. What obvious mistake am I making?
> >
> > Ideally I would like the page to show only the newsletter that has the
> same
> > date as today's date.
> >
> > Jamey
> >
> > ___
> > Zope maillist  -  [EMAIL PROTECTED]
> > http://lists.zope.org/mailman/listinfo/zope
> > **   No cross posts or HTML encoding!  **
> > (Related lists -
> >  http://lists.zope.org/mailman/listinfo/zope-announce
> >  http://lists.zope.org/mailman/listinfo/zope-dev )
> >

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] dtml-if and dtml-with problems

2000-11-16 Thread Andy McKay

If your nl_goLiveDate is a date, then you might need to str() the variable


--
  Andy McKay, Developer.
  ActiveState.

- Original Message -
From: "James Sintz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 16, 2000 9:13 AM
Subject: [Zope] dtml-if and dtml-with problems


> Could someone tell me why the follow statement is never true.
>
> 
>  
> - 
>
> 
>
>  
> 
>
> The news folder contains several newsletters and one of them DOES have a
> 'nl_goLiveDate' of 2000/11/16 yet the above express seems to be always
> false. What obvious mistake am I making?
>
> Ideally I would like the page to show only the newsletter that has the
same
> date as today's date.
>
> Jamey
>
> ___
> Zope maillist  -  [EMAIL PROTECTED]
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )