No worries--developer error. :-) The guy working on this got it sorted out.
Thanks, Matt On 3/23/06, Matt Woodward <[EMAIL PROTECTED]> wrote: > Thanks Doug--I was digging through more and thought that might be the > case. Where we ran into this (and again, we're just getting started > with it so I'm a bit late to the party) is on a form with a drop-down > with numeric values, when we call the set method on the Record object > it's saying that the data type isn't correct (needs to be an integer > but it's seeing it as a string). I'll dig around more and see what's > up. > > Thanks, > Matt > > On 3/23/06, Doug Hughes <[EMAIL PROTECTED]> wrote: > > Matt > > > > Reactor beans intentionally accept/return strings for the setters/getters. > > This is to make it much easier to use to back something like a web form. > > > > The validate method confirms that the data is of the correct type, etc. > > > > Doug > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > > Of Matt Woodward > > Sent: Thursday, March 23, 2006 2:31 PM > > To: [email protected] > > Subject: [Reactor For CF] Data Type Weirdness > > > > Be nice ... I'm a reactor newbie. On an application we're working on > > using SQL Server 2000, we're noticing that the data types in all our > > Record objects are set to string. We nuked the objects and had it > > regenerate all of them (both the objects local to our app as well as > > the ones in the Reactor "project" directory) but even though in the > > database there are int, date, etc. data types, they all get set as > > string in the Record object. > > > > Before I spun my wheels too much I wanted to be sure that this wasn't > > something someone had run into before that has a fix or if I'm just > > missing something. > > > > Thanks again to Doug--once we get this all figured out this is going > > to be quite a time saver for us. Great work! > > > > Matt > > > > -- > > Matt Woodward > > [EMAIL PROTECTED] > > http://www.mattwoodward.com > > > > > > > > -- Reactor for ColdFusion Mailing List -- [email protected] > > -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ > > > > > > > > > > > > -- Reactor for ColdFusion Mailing List -- [email protected] > > -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/ > > > > > > > > > -- > Matt Woodward > [EMAIL PROTECTED] > http://www.mattwoodward.com > -- Matt Woodward [EMAIL PROTECTED] http://www.mattwoodward.com -- Reactor for ColdFusion Mailing List -- [email protected] -- Archives at http://www.mail-archive.com/reactor%40doughughes.net/

