Thanks Beth,
 
If I add things to this file will the file be updated by Reactor in the future? Will my changes ever be overwritten?
 
Does the answer depend on what I add?
 
My additional validation is checking that a foreign key value is valid and I was planning to create a message called invalidValue or invalidForignKeyValue.
 
Kevin
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Beth Bowden
Sent: 23 August 2006 18:19
To: [email protected]
Subject: Re: [Reactor for CF] Validation - Creating My own errors

in the dictionary xml files.

On 8/23/06, Kevin Roche <[EMAIL PROTECTED]> wrote:
Hi,

I want to add some additional things to the validation process for a record. This will involve adding additional errors to the list of errors. EG:

<cfif qSite.recordcount NEQ 1>
     <cfset arguments.ErrorCollection.addError ("Fuseaction.Site_Id.invalidValue") />
</cfif>

This works OK as far as that, but then getTranslatedErrors() does not return an English error message I can use. Where do I add the translation so it can produce a sensible message?

Kevin


-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --

Reply via email to