I have two CFCs, Billing and Invoice.  Billing contains all the wrapper 
functions (create new invoices, find all of them for a company, find the 
last one for a company, etc.)  Invoice contains functions, but they are 
all utility functions (load invoice x, store changes, write a PDF of the 
printable invoice, etc.)

All of invoice's functions are marked for Package access.  However, when 
Billing returns an invoice, all the functions are shown in the XML, 
including things like the CFC's filesystem location (ie 
c:\wwwroot\inetpub\...).

Am I doing something wrong?  Is this expected/wanted behavior?  Can I do 
something simple to change this?

Short of a simple answer, my plan is to rewrite the invoice CFC to be 
data-only, then write a wrapper CFC for the utility functions.  If I 
have to resort to it, is this a sound plan?

CF8, btw.

--Ben Doom


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289502
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to