That's probably a good idea, unless you had a method whose whole intention was to output data in a certain format.
On the topic of using a trailing slash when calling custom tags in CF5 ( <cf_whatever /> ): I had gotten accustomed to doing this. Admittedly for no good reason, but I did it. After a while I discovered that the custom tag was getting called twice when I put the trailing slash in there. Anyone else get this? dave g with the roof shakin' action ----- Original Message ----- From: "S. Isaac Dealey" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 20, 2002 9:04 PM Subject: RE: <cfinsert> > The joke on ... I think it was the cf-talk list a little while back was > > <cf_web site="eBay" /> > > Give those philippino coders something to sweat about. :-/ > > We were talking about using CFC's for OO abstraction at the time and I had > recommended using UDF's for certain display elements like creating tables > for itemized lists to provide a consistent look and feel and calling those > UDF's using db data within and retreived by CFC methods. I've heard folks > say "never put display code in a method", but I'm not necessarily convinced > it's always a bad idea. > > s. isaac dealey 954-776-0046 > > new epoch http://www.turnkey.to > > lead architect, tapestry cms http://products.turnkey.to > > certified advanced coldfusion 5 developer > http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED]] On > > Behalf Of David Grant > > Sent: Friday, December 20, 2002 11:40 AM > > To: [EMAIL PROTECTED] > > Subject: Re: <cfinsert> > > > So clean'n'slow > > The last thing we need is to _further_ abstract the CF > > language. > > > <cfwebsite banners="true" personalized="true" > > databasefunctionality="true" > > guestbook="true" pressreleases="true" contactus="false"> > > > yeah! > > > ----- Original Message ----- > > From: "derek bumpas" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > > Sent: Friday, December 20, 2002 11:34 AM > > Subject: RE: <cfinsert> > > > >> It's been deprecated? > >> > >> Okay.. I'll do the CfQuery route.. <CFINSERT> was just > >> soooo > > clean... > >> > >> Derek > >> > >> > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED]] On > >> Behalf Of Dan Blackman > >> Sent: Friday, December 20, 2002 11:15 AM > >> To: [EMAIL PROTECTED] > >> Subject: RE: <cfinsert> > >> > >> Short answer to long question...Don't use CFINSERT...It's > >> been > >> deprecated > >> for a reason. > >> > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED]]On > >> Behalf Of derek bumpas > >> Sent: Friday, December 20, 2002 11:07 AM > >> To: [EMAIL PROTECTED] > >> Subject: <cfinsert> > >> > >> > >> Okay Gurus, > >> > >> Here is stumper for me, perhaps an issue that you all > >> have come across > >> in the past. > >> > >> > >> SQL Server 2000 > >> ColdFusionMX > >> > >> > >> > >> My Table: TestTable > >> Field Type > >> ---------------- > >> myData int > > >> > >> > >> > >> My code: > >> > >> <CFSET FORM.MyData=1> > >> <cfinsert username="testUser" password="testPassword" > > datasource="drmx" > >> tablename="testTable" dbtype="ODBC" formfields="myData"> > >> > >> > >> Facts: > >> > >> 1. The DB has a u: / p: set on it which I am passing > >> through via > >> username and password attributes in the CFInsert. > >> > >> 2. CFInsert will throw a permission error each time. > >> > >> 3. CFQuery works fine. > >> > >> 4. Adding the login information into the DSN allows the > >> above code to > >> work, but opens security issues. > >> > >> > >> > >> WHAT's up with CFINSERT? > >> > >> > >> Thanks > > > > > ----------------------------------------------- > To post, send email to [EMAIL PROTECTED] > To unsubscribe: > Send UNSUBSCRIBE to [EMAIL PROTECTED] > To subscribe / unsubscribe: http://www.dfwcfug.org > ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To unsubscribe: Send UNSUBSCRIBE to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
