Awesome. As soon as I have time I'll see about committing the fix. Thanks for your help.
Doug On 1/24/07, Dave Shuck <[EMAIL PROTECTED]> wrote:
Thanks Doug, I submitted it with the 2 lines that need to be altered. ~Dave On 1/24/07, Doug Hughes <[EMAIL PROTECTED] > wrote: > > It should be a simple change in the xsl to make sure it uses the field > alias not the name. > > Doug > > On 1/24/07, Dave Shuck < [EMAIL PROTECTED]> wrote: > > > > Will do Doug... > > > > Since I need this to work immeditately I may see what it takes to fix > > it and include that in the ticket. > > > > ~Dave > > > > On 1/24/07, Doug Hughes <[EMAIL PROTECTED]> wrote: > > > > > > Please file a ticket - it looks like the generated validator is > > > ignoring aliases. > > > > > > On 1/24/07, Dave Shuck <[EMAIL PROTECTED] > wrote: > > > > > > > > I looked in the archives, but unless I am missing something this > > > > has not been brought up on the list. I am working with an old legacy > > > > database with field names like "COMPANY_CODE" and "REFERENCE_ID", which I > > > > have aliased as "CompanyCode" and ReferenceId". I have stumbled across a > > > > problem in which I am trying to validate an object that includes my > > > > CompanyCode field as a PK. When I attempt to validate, I get the following > > > > exception: > > > > > > > > coldfusion.runtime.TemplateProxy$InvalidMethodNameException: The > > > > method 'getCOMPANY_CODE' could not be found in component [path to > > > > my app]\reactor\Record\BorrowerRecordmssql.cfc. > > > > > > > > To be fair I am not sure whether it is due to the field being a > > > > PK, or possibly if it is just a case that CompanyCode is the first field > > > > that it tries to validate. Regardless it appears that Reactor is ignoring > > > > the field alias in this case. Does anyone have any input that could put me > > > > on track? > > > > > > > > -- > > > > ~Dave Shuck > > > > [EMAIL PROTECTED] > > > > www.daveshuck.com > > > > > > > > Where's your Spot? > > > > www.instantspot.com > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > > -- -- -- -- -- > > > > Reactor for ColdFusion Mailing List > > > > [email protected] > > > > Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ > > > > > > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > > -- -- -- -- -- > > > > > > > > > > > > > > > -- > > > Doug Hughes > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > -- -- -- -- > > > Reactor for ColdFusion Mailing List > > > [email protected] > > > Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ > > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > > -- -- -- -- > > > > > > > > > > > -- > > ~Dave Shuck > > [EMAIL PROTECTED] > > www.daveshuck.com > > > > Where's your Spot? > > www.instantspot.com > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > -- -- -- -- > > Reactor for ColdFusion Mailing List > > [email protected] > > Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ > > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > > -- -- -- -- > > > > > > -- > Doug Hughes > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > -- -- -- > Reactor for ColdFusion Mailing List > [email protected] > Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ > -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- > -- -- -- > -- ~Dave Shuck [EMAIL PROTECTED] www.daveshuck.com Where's your Spot? www.instantspot.com -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- Doug Hughes -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
