On Wednesday 07 Feb 2007, Doug Hughes wrote:
> Well, I'm not sure how we could implement ignoring fields (and I'm not sure
> it should be done anyhow).

Something in either the XSLT, object.getXML()/addXmlField() or whatever calls 
objectTranslator.generate(), just on first thoughts and a quick glance.
The middle option would be the easiest, just don't add any fields marked as 
ignore to the list of ones returned from the parse of the config object.

Since adding that isLikeNoCase() I'm a bit more confident adding things, this 
might be dangerous :-)

> What if one of the ignored fields was not null?  Saving would always throw
> an error.

Then you, the developer, shouldn't marked marked it ignore :-)

> If your hack of mapping them all to the same name works, then that might be
> a cheap fix.  

No joy :-/

> generated code.  You might need to do some manual work with it more often
> than not, but then the interface for these objects would be consistent
> across the board.

We already have some problems with keeping generated files 
(under /reactor/project/) in source control (TOs) because when updating 
reactor.xml you have to remember to change them to match.
Adding a cut down version of the files for this table could be worse, if a 
column (or more likely alias) is added/changed.

-- 
Tom Chiverton
Helping to autoschediastically integrate sexy e-markets

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

Reply via email to