Your changes should be safe. Reactor will update the dictionary with new messages as needed (ex. due to a new column, ... etc). It doesn't appear that old messages are deleted (ex. due to a column being removed).
In a post to this list, Doug mentioned thinking about using something other than xml files to provide this functionality. I wouldn't worry about that now - just an FYI.
BTW I vote for invalidForignKeyValue :-)
Beth
On 8/24/06, Kevin Roche <
[EMAIL PROTECTED]> wrote:
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-----in the dictionary xml files.
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
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/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Reactor for ColdFusion Mailing List
[email protected]
Archives at: http://www.mail-archive.com/reactor%40doughughes.net/
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
