Thanks, got away with not specifying a default and without dropping any tables. Woohoo.

Natalie


Inactive hide details for Geoff Bowers <[EMAIL PROTECTED]>Geoff Bowers <[EMAIL PROTECTED]>


          Geoff Bowers <[EMAIL PROTECTED]>
          Sent by: [EMAIL PROTECTED]

          11/10/04 01:14 PM

          Please respond to
          "FarCry Developers" <[EMAIL PROTECTED]>

To

"FarCry Developers" <[EMAIL PROTECTED]>

cc


Subject

[farcry-dev] Re: custom rule: date problems

Natalie,

You need to specify a date for the default.  Or you may get away with
not specifying a default at all.  What's happening is the container
object is being created and the system is rejecting "empty string" as
not being an appropriate date.

You may need to drop the table from the database and redeploy.

-- geoff
http://www.daemon.com.au/

[EMAIL PROTECTED] wrote:
> Hi,
>
> I'm having trouble with dates for a custom rule. Two properties are set
> out in the component as below.
> <cfproperty name="startDate" type="date" hint="The date for the start of
> the list" required="no" default="">
> <cfproperty name="closingDate" type="date" hint="The date for the end of
> the list" required="no" default="">
>
> When I try to add the rule to a container, I get the error:
>
> Error: closingDate must be a date ().
>
> How can I get around this?
> ( I noticed that none of the default rules use dates. Should I be using
> dates?)
>
> Thanks,
> Natalie

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers:
http://lists.daemon.com.au/


--------------------------------------------------------------------------------
The information contained in this message and any attachment is intended for the
recipient(s) designated only, is confidential and may be privileged or otherwise
protected from disclosure.  Therefore, the contents of this message may not be
re-transmitted, copied or revealed to a third party without first obtaining the
permission of the sender.  If this e-mail is received in error,please delete it
immediately. The AFTRS has implemented anti-virus software, and whilst all care
is taken it is the responsibility of the recipient to ensure that all e-mail and
any attachment(s) are scanned for viruses prior to opening.
--------------------------------------------------------------------------------

<<inline: graycol.gif>>

<<inline: pic09687.gif>>

<<inline: ecblank.gif>>

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to