Thanks for the idea. I think I'm finally starting to figure out this savecontent thing.
I think I might be able to make CF North if it were in Windsor, ON instead of Toronto. My brother's bachelor party made a road trip to Windsor last month and it was well worth it. If there happened to be a conference there I think that it would be an excuse enough for me to go again. I might even go to the conference. Ha. Chad Kemp -----Original Message----- From: Patrick McElhaney [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 23, 2002 2:51 PM To: [EMAIL PROTECTED] Subject: RE: breaking up dsp files Chad, One way to handle it is to save the content of one dsp_ file and use it in another. It's kind of like using layouts, but not actually using layouts. <cfcase value="form"> <cfsavecontent variable="attributes.brokenOutPart"> <cfinclude template="dsp_brokenOutPart.cfm"> </cfsavecontent> <cfinclude template="dsp_form.cfm"> </cfcase> And sometimes the best solution is to just have two different copies of the form, even if means some duplication. Oh, and if you can make it to CFNorth... ;-) Patrick > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 23, 2002 3:34 PM > To: [EMAIL PROTECTED] > Subject: breaking up dsp files > > > Is it common to break up dsp files to increase reuse even if it means > breaking up <form> tags? > > I have two forms that are very similar. I could have a bunch of CFIF's > throughout the entire form that one files handles both forms > but that seems > overly messy. If I were to break out the differences into > separate dsp files > I could call them individually depending upon the fuseaction > but that would > mean either having a top dsp and a bottom dsp each with one > half of the > <form> tag OR spelling out the <form> tags in the fuseaction > which doesn't > seem to be proper form. Perhaps a third way would be to > somehow use a layout > to handle it but that doesn't seem practical. > > > What is the best way to proceed? > > > > > Chad Kemp > > ***************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify [EMAIL PROTECTED] ***************************************************************** ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
