> If I supply a default type for my functions as in:
>
> <cfargument name = "myDocumentid"  required = "yes"  type = "integer">
>
> I get errors such as this:
> "The argument MYDOCUMENTID passed to function GetDocMinQty()
> is not of type integer." I am not sure what I am doing wrong. If I
> drop the type attribute the functions work fine.

Are you passing an integer value to the function? My guess is that you're
not. The TYPE attribute doesn't specify a default type, it specifies a
required type - that argument must be an integer.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to