Just to clarify...
I'm using MachII and when I say service layer I mean objectService.cfc from
this model structure:
Object.cfc
objectDAO.cfc
objectGateway.cfc
objectService.cfc
objectListener.cfc
Which I've admittedly lifted from the machii-info website.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Sam Clement
Sent: Tuesday, January 18, 2005 4:03 AM
To: [email protected]
Subject: [CFCDev] Multiple object instances from a single form

I'm looking to create a form that allows a user to cut and paste from an
excel file that will then create multiple instances of an object and then
add them to the persistence layer.  Am I way off base trying to implement
this from the service layer?

Normally I'd use the bean.cfc, validateFormObject.cfc model but by creating
multiple object instances from a single form I'm having difficulty figuring
out where I should be putting the validation code and the code that creates
the array of objects (to be persisted).  I was thinking of rolling the
creation of the array of objects and validation into one function/method
within the service layer.  Does that make sense in the context of what I'm
trying to do?

Any insight appreciated.

Cheers,

Sam
________________________________

Sam Clement
ABOVE Studios
Boutique Design Solutions

<http://www.abovestudios.com/>          
32 Clifford St - Belmont
Trinidad + Tobago - West Indies
T: (868) 621 5159 W: abovestudios.com
<http://www.abovestudios.com/> 

        
 

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to
[EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool,
Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[email protected]

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at 
www.mail-archive.com/[email protected]

Reply via email to