Web Form Login = NT Login?

2004-04-16 Thread Suyer, Ed
Hi folks,

Does anyone know of a way to pass a username and password directly to the
OS?

I have a website that will use NT authentication.And I want to use the
username and password that I get from a form submittion to log that user in
to NT.Basically, I'm trying to bypass the standard windows
username/password/domain alert that pops up everytime you hit a site with NT
authentication.Make sense?

My site is structured like so:

c:/inetpub/wwwroot/login.cfm - anonymous access
c:/inetpub/wwwroot/securedsite/index.cfm - nt authenticated access

and I want to pass a secure token / authorized user from login.cfm to the
rest of the site.

Any help is much appreciated!

Ed.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE:CF XML??

2004-03-10 Thread Suyer, Ed
change line 3:

x.DateReceived= x.DateReceived  REReplaceNoCase(x.xml,
^.*Time(.*?)/Time.*$,\1);if(x.DateReceived eq
xml_in){x.Datereceived = ;};

to:

x.DateReceived= x.DateReceived REReplaceNoCase(x.xml,
^.*Time(.*?)/Time.*$,\1);if(x.DateReceived eq
xml_in){x.Datereceived = ;};
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT: CSS Question... is this possible?

2004-03-09 Thread Suyer, Ed
It strikes me that if you remove the table/table, you eliminate the
problem, no?

If you must use tables, try something like this (syntax may not be exact) :

!--- use a spacer image as a placeholder for the maximum amount of space to
be occupied by the text i.e. 800 pixles high ---

table style=position: absolulte; top: 0px; left: 0px
tr
	tdimg src="" height=800 width=1/td
/tr
/table

!--- then include your divs, place them in the exact position as the
placeholder table above ---

div id=page1 style=position: absolulte; top: 0px; left: 0px
/div

div id=page2 style=position: absolulte; top: 0px; left: 0px; visibility:
none;
/div

another approach may be to simply hide the row of a table if this is
possible 

i.e.

table style=position: absolulte; top: 0px; left: 0px
tr id=page1
	td/td
/tr
tr id=page2 style=visibility: none
	td/td
/tr
/table

there's another css property that belongs to some elements called 'display'
i.e. display: none; I can remember which, but one of the properties makes
the content invisibile AND also the space occopied by said content
invisible.

hth
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Looking for design pattern advice: role based permission to objec ts

2004-03-01 Thread Suyer, Ed
Hi Experts: 

Would appreciate if you could share your advice: how to keep the
customization info of a web application. 

some sample requirements: 

1. menu is dynamically created based on the Role of the logon user 

2. Tables can be customized - for example, which columns to display,
editable, sortable, etc. 

So in an OO application, where should I keep these customization
information?What design pattern / set of patterns do you recommend?

My initial thought was to create a factory that created a different manager
based on role

i.e
main.cfm:
	productManager = createobject('component',
'productFactory').init(session.user.role);

productFactory.cfc:
	function init (role) {
		var productManager = createobject('component',
'productManager'role).init();
		return productManager;
	}

With this approach, I will need a seperate productManager for every role.
And every productManager would define only the properties and methods
available to that role.So it would work ... but then I would need a CFC
for every object-role combination.It strikes me that there must be a
better way?How have otheres implemented role-based permissions in there OO
apps?

Any help is much appreciated!

Ed.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




CFML Beautify/Validator

2004-02-13 Thread Suyer, Ed
I'm looking for a tool that will check CF documents against our programming
standards and report any errors warnings.I started looking at the
different beautify apps (which indent, check html, etc.,).But I need
something that will also check for mandatory methods - i.e. every cfc should
have the init() method.Does anybody know of anything like this?

Thanks!

Ed.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Help me avoid Evaluate (*ahem* Ray)

2004-02-12 Thread Suyer, Ed
structure = foo
fieldname = bar

#structFindValue(structure, fieldname)#

-Original Message-
From: G [mailto:[EMAIL PROTECTED] 
Sent: Friday, 13 February 2004 1:56 AM
To: CF-Talk
Subject: Help me avoid Evaluate (*ahem* Ray)

Fairly new to working with structures in Cold Fusion. I have the name of the
structure stored in a variable, along with the name of the field within the
structure that i need to display.

What's the correct syntax to display the actual value saved in
structure_name.field_name?

Thanks,

Brian Grant
Programmer
SI International
www.si-intl.com 
_
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Different query results in Access/ColdFusion

2004-02-05 Thread Suyer, Ed
Run this query, first in cf, then in native Access:

cfquery name=getpropinfo datasource=#application.dns_name2#
dbtype=ODBC
SELECT * FROM tblPropertyInfo INNER JOIN tblRegistryInfo
ON (tblPropertyInfo.PropID=tblRegistryInfo.PropID) 
AND (tblPropertyInfo.PropDate=tblRegistryInfo.PropDate)
ORDER BY CivicAddressNumber asc
/cfquery

If this give you different results in cf v Access, your
application.dns_name2 is set to the wrong DSN

Otherwise, your problem is in your form variables.Try outputting them to
see what they actually look like.Perhaps they are encoded.

HTH
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: OT: Storing SQL SP's in VSS

2004-01-29 Thread Suyer, Ed
Why not just select the SP, generate script, then stored the generated
script in a VSS project.

If you need to make a change, c/o the script, make your change, execute it,
then check it back in.

If you find a tighter integration then this, I'd like to hear about it.But
that's what we do here.

HTH
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




DNS Error

2004-01-12 Thread Suyer, Ed .
Hi folks,

I have a very interesting problem that has to do with DNS.When one of our
users logs into our Intranet and clicks a particular links, she gets a DNS
error.However, when I log in to her machine and click on the same page, no
error.And by the same token, when she logs into my machine and clicks on
the link no error.For this reason I believe that this error has something
to do with her local settings (that are not carried w/ her profile).I've
tried:

1. Deleting all her cookies and other temporary internet files
2. Flushing her local DNS
3. Turning of the DNS client

Nothing.Does anybody have any ideas?The page that runs takes about 2
minutes to process.That's the only thing that I can think of that is
unique about this page (v the other pages on our Intranet).

Any help, things to read, places to look is much appreciated!

TIA!

Ed
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: OO ASP MVC/Framework Other Lists

2004-01-08 Thread Suyer, Ed .
Hi All,

Sorry for the OT post.I've been pinging this list for so long about CF
questions, I figured I'd check here first.I'm relitevely new to ASP
programming and have a couple of newbie questions:

1. I noticed that you can define Classes with VBScript in ASP.I've found
several articles on doing this but no documentation by Microsoft or any
books on OO programming with ASP.Does anyone have any recomendations or
horror stories to share on using VBScript in ASP pages for OO programming?
Also, any book recommendations on OO ASP would be greatly appreciated.

2. Has anyone implemented the MVC design pattern (or any other design
patterns) in their ASP application?If so, can you please point me to some
examples and/or references on how I can emulate this?If not MVC, does
anyone use any sort of framework or methedoglogy beyond DNA?

3. Can anyone recommend any other ASP mailing lists?

TIA!

Ed.
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Live Chat

2003-11-14 Thread Suyer, Ed [PRD Non-JJ]
Does anyone know of any freeware, open-source or commercial live chat apps?

i.e something where a visitor of a website can send a message to support
staff and get instant feedback via chat from a live person

TIA!

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RSS Web Client?

2003-11-04 Thread Suyer, Ed [PRD Non-JJ]
Hi folks,

I'd like to add these MSDN technotes to my website:

http://msdn.microsoft.com/rss.xml

Which RSS clients/readers do you recommend? CF or ASP or ASP.NET only
please.

TIA!


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: cfdirectory = slow

2003-10-21 Thread Suyer, Ed [PRD Non-JJ]
Try caching the results of cfdirectory in application scope i.e.

change:
cfdirectory action="" directory=#vDir# name=dirTest
filter=z#fileIndex#.txt
cfdump var=#dirTest#

to:
cfif not isDefined(application.dirtest)
	cfdirectory action="" directory=#vDir#
name=application.dirTest filter=z#fileIndex#.txt
/cfif
cfdump var=#application.dirTest#

This way cf only executes the _slow_ cfdirectory tag once (per application
cycle).

If the directory changes often (i.e. files get added, deleted, etc.,), then
I would run a job that periodically deletes the application.dirTest variable
and recreates it.This way the processing overhead is still transparent to
the user.

I think you'll find i/o operations to be slow w/ any application server.

HTH


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




OT: Immediate need for three FB3 Developers in Carlsbad, CA.

2003-10-16 Thread Suyer, Ed [PRD Non-JJ]
Sorry for the off topic post.But I figured this would be very important to
someone.Any suggestions for a better place to post (other then cfjobs
which appearently is not working) are much appreciated!

A colleague of mine is looking to fill three FB3 Developer positions paying
$40 - $45 / hr for a 2 to 3 month contract in Carlasbad, CA (San Diego
County).These are positions that need to be filled immediately, so please
apply only if you are available full-time right now or w/ 2 weeks notice.
Please DO NOT RESPOND TO THIS EMAIL.Contact Scott Parrot of Talent Lab
directly at[EMAIL PROTECTED] and let him know that I referred you.The
details of this job are as follows:

 
Required at least 3 Years of the following:
- Macromedia Cold Fusion 5 / MX (advanced)
- Dynamic Web Development / XML / HTML / DHTML / CSS / _javascript_ (advanced)
- Experience with development tools such as ColdFusion Studio (intermediate)
- Experience writing SQL (both DML and DDL) and working with databases
(advanced)
Preferred at least 2 years of the following:
- Macromedia ColdFusion experience
- Experience with SQL-Server databases 
- Experience with FuseBox 3 methodology


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Programmatically set debug options

2003-10-16 Thread Suyer, Ed [PRD Non-JJ]
I know it's possible to turn debug on for an application:

cfsetting enablecfoutputonly=yes showdebugoutput=no

Does anyone know of a way to set specific debug options?

i.e.

Show Session Vars:yes/no
Show Application Vars: yes/no
Show Form Vars: yes/no

etc.,

I'm specifically looking to NOT SHOW session and application vars.

TIA!

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: QoQ and Like

2003-10-09 Thread Suyer, Ed [PRD Non-JJ]
Nope, I checked that, and CFMX 6.1 does support the LIKE statement for QoQ


Any other ideas?


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: QoQ and Like

2003-10-09 Thread Suyer, Ed [PRD Non-JJ]
Thanks for your help.I got the answer from another list, and wanted to
update this archive.Here's the solution:

...

Ed,

If WORKSTATIONNAME can have null values, it may give you trouble.When you
do your initial SELECT, try this

SELECT 
other fields,
ISNULL(WORKSTATIONNAME,'') AS WORKSTATIONNAME 
FROM tableName

Then do your Q of Q with the LIKE operator.

Hien

-Original Message-
From: Suyer, Ed [PRD Non-JJ] 
Sent: Thursday, October 09, 2003 8:06 AM
To: '[EMAIL PROTECTED]'
Subject: RE: QoQ and Like

Nope, I checked that, and CFMX 6.1 does support the LIKE statement for QoQ


Any other ideas?


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




QoQ and Like

2003-10-08 Thread Suyer, Ed [PRD Non-JJ]
Hi Folks,

I'm encountering a problem with queries of queries and the like statement:

This works:
cfquery name=results dbtype=query
select	*
from		assets
WHERE 	STATUSID = 6
AND 		ASSETTYPEID = 1
AND 		WORKSTATIONNAME = 'abcd'
/cfquery

but this doesn't:

cfquery name=results dbtype=query
select	*
from		assets
WHERE 	STATUSID = 6
AND 		ASSETTYPEID = 1
AND 		WORKSTATIONNAME LIKE 'abcd'
/cfquery

(notice the addition of LIKE)

This generates the following error:

The system has attempted to use an undefined value, which usually indicates
a programming error, either in your code or some system code. 

Null Pointers are another name for undefined values. 

I also tried some variations:

AND 		WORKSTATIONNAME LIKE 'abcd%'
AND 		WORKSTATIONNAME LIKE '%abcd'
AND 		WORKSTATIONNAME LIKE '%abcd%'
AND 		WORKSTATIONNAME LIKE #preservesinglequotes('abcd')#
AND 		WORKSTATIONNAME LIKE #preservesinglequotes(abcd)#
and wrapping the entire WHERE class in preservesinglequotes

None of which worked.

Help!

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: SQL - Zip Code/Nearest City

2003-10-01 Thread Suyer, Ed [PRD Non-JJ]
Hi Ben,

I notice that both tables have a cityName column.Could you join on these:

select*
fromzipcodes z inner join cities c on z.cityname = c.cityname

?Or is this field null as well?

It would seem to me that your cities should have more then one set of
long/lat coordinates, if you are two find zip codes that belong to (are
within) a city:


(0,0)(50,0)
||
|x (zip code = 25,25)|
||
(0,50)--(50,50)


Or perhaps I'm making assumptions about zip codes that aren't true?

Ed.


- Original Message -
From: Ben Arledge [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, October 01, 2003 12:39 PM
Subject: SQL - Zip Code/Nearest City


 Hey CF SQL'ers,

 My SQL skills are failing me so I need your help in creating some SQL I
can
 use in CF or run through Query Analyzer (using SQL Server). I have two
 tables as follows:

 ZipCodes (900,000 records, CityID column is currently null)
 - ZipCode (varchar)
 - CityName (varchar)
 - Country (varchar)
 - Latitude (float)
 - Longitude (float)
 - CityID (int)

 Cities (400 records or so...)
 - CityID (int)
 - CityName (varchar)
 - Country (varchar)
 - Latitude (float)
 - Longitude (float)

 What I need to do is set the CityID column in the ZipCodes table with the
 nearest CityID in the Cities table for each ZipCode. The nearest city
would
 be calculated via Latitude and Longitude coordinates. With the magnitude
of
 records to update and loop through, I'm having difficulty creating a query
 that would do this in a reasonable amount of time.

 Any ideas on how best to do this? Can this be done with a SELECT query
 within an UPDATE query?

 Thanks,
 Ben


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: CF-Talk: Digest every hour

2003-10-01 Thread Suyer, Ed [PRD Non-JJ]
What happens if two cities are equidistant to the same zip code?

i.e.

ZipCodes Table
ZipCodeLatitudeLongitudeCityID
9021050 80NULL
 
Cities Table
CityIDLatitudeLongitude
9			51			81
10 49 79
11 35 53


Or perhaps the lat is right on but the two lon are different:

i.e.

ZipCodes Table
ZipCodeLatitudeLongitudeCityID
9021050 80NULL
 
Cities Table
CityIDLatitudeLongitude
6			45			80
7			50			85
8			50			75
9			51			81
10 49 79
11 35 53


My point is there's a relevant piece of information that is missing from
this problem -

What does the lon/lat coordinate represent?The center of a city?The
right uppermost coordinate?And how do you resolve descrepencies between
two zip codes that are equidistant to a particular coordinate?

Without knowing any more about the problem.It seems to me that you can:

1. create a cursor that steps through the 900k records in the zip table
2. compare the current record to the cities tables using one of the
following (depending on the answers to the above):
	a. select min(lon) from cities where lon  zip.lon
	b. select min(lat) from cities where lat  zip.lat
	c. select max(lon) from cities where lon  zip.lon
	d. select max(lat) from cities where lat  zip.lat
3. then select * from cities where lon = ? and lat = ? (? parms filled from
step 2)

HTH


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Auto Pinging Script?

2003-09-24 Thread Suyer, Ed [PRD Non-JJ]
Nick,

Legal issues aside, I'm not sure that this test will give you any type of
*real* performance stats.  There are too many uncontrolable network related
factors involved that have nothing to do w/ an ISP's performance.

If you want to compare the bandwith of one ISP to another, I would simply
ask them what type of pipe they have connecting them to the Internet.  And
who their carrier is.  Also how many other sites are to be hosted on the
same server is yours.  Or ping this list for satisfied customers ... the
topic of web hosting goes around about once / month.

HTH

- Original Message - 
From: Nick Baker [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 10:10 AM
Subject: Auto Pinging Script?


| We need to evaluate the performance of some CF hosting services. One angle
| I would like to try is to setup an automatic pinging script and ping
sample
| domains hosted by the hosting services at intervals over a period. Note: I
| am aware that pinging is often used for denial of service, but that is not
| what this is about.
|
| Any ideas or suggestions? Maybe a script or a Web site that provides this
| service?
|
| Thanks,
|
| Nick
|

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138352
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Multiple tabs in excel

2003-09-24 Thread Suyer, Ed [PRD Non-JJ]
Hi Steve,

1. Start with your resulting Excel workbook.  Build it to look exactly how
you want the finished product to look.
2. Save [it] As HTML.  Often times this will generate more then 1 file.
Especially if you have 1 tab/worksheet.
3. Then use CF to dynamically build these files. 
4. Lastly use cflocation to redirect to the start page when finished.   

I have some code that does this if you want to e-mail me off list. 

HTH


~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:138398
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

ColdFusion MX 6.1, now 2.5 times faster. 
http://www.macromedia.com/software/coldfusion/productinfo/upgrade/jump/introducing.html?trackingid=ColdFusion_468x60g_HouseofFusion_carat_082803


cgi.auth_password

2003-09-19 Thread Suyer, Ed [PRD Non-JJ]
Is it possible to retrieve an authenticated user's password?  Basic
authentication is on.  

~|
Message: http://www.houseoffusion.com/lists.cfm?link=i:4:137752
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


impersonate and cfdirectory

2003-09-15 Thread Suyer, Ed [PRD Non-JJ]
Hey folks,

I'm in the midst of writing a component that takes as input a unc path i.e.
\\\servername.domain\\dirthis\\dirthat

and produces a list of files and directories based on the credentials *of
the user calling the page* (this will be used in our intranet w/ Windows
authentication).  

So for example, if NA/Esuyer calls
directorylist.cfm?unc=\\\servername.domain\\dirthis\\dirthat, he will see
all the files and directories that he is privy to in that unc path.  If
NA/JDoe calls directorylist.cfm?unc=\\\servername.domain\\dirthis\\dirthat,
she will see al the files and directories that she is privy to.  But this
list may be different then what NA/Esuyer sees.  And most importantly of
all, the CF Service user may not have access to either of these directories.

I don't see anything native to CF that'll allow me to do this ... please
correct me if I'm wrong.  

So my question is this:

1. Can this be done by importanting the java.io.file / oranyotherobject?
Does this object allow for impersonation, or perhaps passing an authorized
user token?

2. If no CF, or Java, is .net my next best option?

3. Oh pretty please, has anyone already written a custom tag or something
for this?

Tanks!

Ed/


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


RE: CF-Talk: Digest every hour

2003-09-08 Thread Suyer, Ed [PRD Non-JJ]
With CFMX, Couldn't you also call the .NET-based object as a web service?
Consume the object, then move on?

Just asking  I don't know the answer.


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


RE: CF and Veritas Net Backup

2003-08-30 Thread Suyer, Ed [PRD Non-JJ]
Our Veritas repository is not in SQL Server or any other known data source.


~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm


CF and Veritas Net Backup

2003-08-29 Thread Suyer, Ed [PRD Non-JJ]
Does anyone know of a way to query Veritas Net Backup (via COM or any other
method) for the jobs that ran last night and find out:

1. status of each job (success/failure)
2. unique idenitifer for each job
3. what files were backed up by job

Any help, suggestions, or nudges in the right direction are much
appreciated.

TIA!

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com


Looking for altenatives to ActivePDF

2003-08-15 Thread Suyer, Ed [PRD Non-JJ]
Hey folks,

Has anyone here used or evaluated ActivePDF, then choose another
vendor/tool?  If so, which one?  We're looking for alternatives to ActivePDF
for generating PDF files from CF.

TIA

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Get the mailserver that powers this list at 
http://www.coolfusion.com


OO Pet Store App

2003-08-14 Thread Suyer, Ed [PRD Non-JJ]
Hi Folks,

I'm looking for a good book or other resource on OO programming.  More
specifically I'm looking for a book that describes the implementation of an
OO web app.

I've read books in OOP that describe the different terms/concepts of OO, but
fall short in giving real life examples.  Instead they talk about classes
like cats, mammals, desks, chairs, persons, etc.,, which were very good in
describing concepts, but fall short when I sit down to build an online store
for example.  

By the same token I've read books in OO that describe the analysis and
design process.  And others about design patterns.   But I haven't read any
books on topics downstream.  

I'd like to see a book/resource take a software requirement for a pet store
(or any simple web) app, show the different classes that are derived and
their relationships, possibly show the UML, then give some code examples in
language of your choice here, preferably Java ... CF would be ideal but I'm
not holding my breath.  Further it would be nice if the example followed
some design patterns and a layered approach.  Showing distinctions between
the presentation, domain, and data source layers.  What classes fit into
these.  And how they interact with one another.

If anybody knows of such a book/resource I would love to hear your
suggestions.  

My opinion on learning OO in general, is there will be no equivalent to
learning by doing.  But it would be nice to have a mentor (by way of a book
or example) for those of us that don't have a human mentor present.

TIA!

Ed.

~|
Archives: http://www.houseoffusion.com/lists.cfm?link=t:4
Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm


What is Blue Dragon?

2003-08-12 Thread Suyer, Ed [PRD Non-JJ]
So my bossed asked me today What is Blue Dragon?

And, to save my reputation as the guy who knows everything g, I
immediately said It's an application server that understands CFML.  I think
you can run CF and .NET through the same application server.

So now that I've told him this, I'm left wondering ... what is Blue Dragon?
;-)

I checked out the website: http://www.newatlanta.com/corporate/

But I'm still left wondering ... is it an alternative to the CF application
server?  And why would I use it rather then using straight CF?  Maybe
there's no simple answer.  But that's really what I'm looking for.

Any help is much appreciated!

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



multipart form - passing fields

2003-08-01 Thread Suyer, Ed [PRD Non-JJ]
Hello All,

I have a wizard-like web page where the user must fill out forms 1 through 5
prior to hitting submit i.e. step 1 - personal info, step 2 - address
information, step 3 - payment, etc., 

To me this seems like a pretty common type of interface.  And I'm hoping
there's some people on this list that have built something like this before
 what I want to know is this - is there a mechanism to pass form fields
from one form to another w/o hard coding the form field names?  I'm sure my
boss is going to want me to add more fields someday ... and I'd like to be
able to do this w/o changing too many things.

Any suggestions are much appreciated!

Ed.

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF-Talk: Digest every hour

2003-08-01 Thread Suyer, Ed [PRD Non-JJ]
Thanks!  This helps.  

RE:
cfoutput
  cfloop list=form.fieldnames index=field
cfif field NEQ fieldnames!--- don't want to double these up ---
  input type=hidden name=#field# value=#form[field]#
/cfif
  /cfloop
/cfoutput.

There appears to be one other exception. I also have to account for the
fields that exist on the current form.  In otherwords, If I start on step 1,
got to step 3, then come back to step 1, fieldnames = all form fields on
form 3  all fields on form 1.  So when looping through, I'll need to
maintain a list of the fields on the current form.  Otherwise I'd get
duplicate form fields.

I wonder if it's possible to do the entire thing in a JS + CF combination at
the end of the form and dynically create hidden form fields?  This would
eliminate any need to hard code the names of the fields on the current form.


RE: I'd skip the hidden form fields, and after each step store the data in a
struct in the session scope.

So would an input field look like so input name=firstname
value=#session.formdata.firstname# ?

Or is there some sort of mapping that goes on?

It seems with this approach, you'd still need to know up front all the
fields on the form to initialize the struct.  Or am I missing something?



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: multipart form - passing fields

2003-08-01 Thread Suyer, Ed [PRD Non-JJ]
Thanks!  This helps.  

RE:
cfoutput
  cfloop list=form.fieldnames index=field
cfif field NEQ fieldnames!--- don't want to double these up ---
  input type=hidden name=#field# value=#form[field]#
/cfif
  /cfloop
/cfoutput.

There appears to be one other exception. I also have to account for the
fields that exist on the current form.  In otherwords, If I start on step 1,
got to step 3, then come back to step 1, fieldnames = all form fields on
form 3  all fields on form 1.  So when looping through, I'll need to
maintain a list of the fields on the current form.  Otherwise I'd get
duplicate form fields.

I wonder if it's possible to do the entire thing in a JS + CF combination at
the end of the form and dynically create hidden form fields?  This would
eliminate any need to hard code the names of the fields on the current form.


RE: I'd skip the hidden form fields, and after each step store the data in a
struct in the session scope.

So would an input field look like so input name=firstname
value=#session.formdata.firstname# ?

Or is there some sort of mapping that goes on?

It seems with this approach, you'd still need to know up front all the
fields on the form to initialize the struct.  Or am I missing something?



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Preserve collection order

2003-07-31 Thread Suyer, Ed [PRD Non-JJ]
Hi folks,

Does anyone know of a way to preserve the order of keys in a structure so
that it matches the order in which it was created?

i.e.

I created a structure that looks like so:

instance structNew();

instance[id] = structNew();
instance[id].heading = Id;
instance[id].size = 50;

instance[manufacturer_name] = structNew();
instance[manufacturer_name].heading = MFG;
instance[manufacturer_name].size = 200;

instance[name] = structNew();
instance[name].heading = Name;
instance[name].size = 100;

instance[parttype_name] = structNew();
instance[parttype_name].heading = Part Type;
instance[parttype_name].size = 100; 

instance[status_name] = structNew();
instance[status_name].heading = Status;
instance[status_name].size = 100;  

When I cfloop through it ( i.e. for ( field in instance ) {} ), I would
expect it to find the id field first, then manufacturer_name, and so on
and so fourth in the order in which the structure was created.  Instead it
loops through in this order:
name,id,parttype_name,manufacturer_name,status_name

I figured I'd try to trick it by doing a structKeyList() then cflooping
through that, but it returns the same thing:
name,id,parttype_name,manufacturer_name,status_name

Does anyone know of a way to cfloop through this structure in the order in
which it was created: id,manufacturer_name,name,parttype_name,status_name ?

TIA!


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Preserve collection order

2003-07-31 Thread Suyer, Ed [PRD Non-JJ]
Thanks for the feedback all!

Matt, you wouldn't happen to have a snippet of CFML code you can send me for
this as I've never done this, or used any kind of Java code w/in CF before.
If not, no big thing.

TIA


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



application.function

2003-07-17 Thread Suyer, Ed [PRD Non-JJ]
Is there a way to define functions in application scope w/o putting them in
a cfc?

i.e.

function application.foo () {   // this syntax doesn't work
writeOutput(bar);
}

TIA

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



CFChart: Set Axis Markers?

2003-06-24 Thread Suyer, Ed [PRD Non-JJ]
Hi folks,

I currently have a cfchart that displays something like this:

Line Graph (in ASCII)

650 |
577.8   |   
505.6   |   X   
433 |  /
361.1   |X/ 
288.9   |/  \/
216.7   |  X   \/   
144.4   | / X   
72.2|   X
0   |
---
J   A   S   N   D
U   U   E   O   E
L   G   P   V   C


How do I get the markers on the y-axis (650, 577.8, ..., 72.2, 0) to read:
700, 600, 500, 400, 300, 200, 100, 0?

I'm not currently passing anything to cfchart or cfchartseries that
generates these numbers.  My guess is that CF takes an average internally to
calculate these markers.  Any help is much appreciated!

TIA

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFChart: Set Axis Markers?

2003-06-24 Thread Suyer, Ed [PRD Non-JJ]
Good show Ryan!  That did it!  I used your calculations as is ... the only
trick was to dynamically derive the max value based on the dataset, which I
did with maxArray().  Thanks for your help!


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Firefly Remoting from CFMX

2003-06-20 Thread Suyer, Ed [PRD Non-JJ]
Sometimes I pass the gateway address via the html object tag i.e.

OBJECT ...
PARAM NAME=movie VALUE=foo.swf 
PARAM NAME=loop VALUE=false 
PARAM NAME=quality VALUE=high 
PARAM name=FlashVars
value=param_gateway_url=http://localhost/flashservices/gateway;
EMBED .../EMBED
/OBJECT

You will then have a string variable in flash param_gateway_url which
contains http://localhost/flashservices/gateway;

HTH

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Recursive Directory - ColdFusion Component

2003-06-18 Thread Suyer, Ed [PRD Non-JJ]
Just finished one yesterday.  Funny, I pinged the list and didn't get a
response.  Anyway, if you're intersted in the code mail me off list.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CF-Talk: Digest every hour

2003-06-18 Thread Suyer, Ed [PRD Non-JJ]
Darn it, wish I found this two days ago!  I'm always searching cflib ...

Calvin, if you're still interested in the CFC, go ahead and e-mail me, but
it's pretty close to what Raymond wrote.  His actually has options I didn't
consider or need at the time so ...

Btw, I use flash trees and remoting on the front end of mine which is why I
put it into a CFC ...


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



Is there an alternative to CFTREE?

2003-06-13 Thread Suyer, Ed [PRD Non-JJ]
Does anyone know of anything other then CFTREE that will allow a user to
select a directory from a GUI?

All the custom tags I've found on devX are wrappers around CFTREE.  I'd
prefer an applet-free alternative.  Maybe something in Flash?

The only requirement is that it must work within the context of an HTML form
(i.e return a value to a form field).

Thanks!

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Writing Excel files

2003-06-06 Thread Suyer, Ed [PRD Non-JJ]
Hi Cassidy,

Here's a good COM free alternative:

1. Start with your finished product i.e. the finished excel document you're
trying to generate w/ CF.  With Office 97 and higher you can save Excel
documents as .html files using File - Save As - File Type = .htm

2. From there it's just a matter of generating that saved file:

generateexceldocument.cfm -

cfset attributes.filename = test.xls

cfsavecontent variable=attributes.generatedpage 
cfoutput
html xmlns:o=urn:schemas-microsoft-com:office:office
xmlns:x=urn:schemas-microsoft-com:office:excel
xmlns=http://www.w3.org/TR/REC-html40;

head
meta http-equiv=Content-Type content=text/html; charset=windows-1252
meta name=ProgId content=Excel.Sheet
meta name=Generator content=Microsoft Excel 9
link rel=File-List href=./headcountest_files/filelist.xml
link rel=Edit-Time-Data href=./headcountest_files/editdata.mso
link rel=OLE-Object-Data href=./headcountest_files/oledata.mso
/head

body link=blue vlink=purple

table x:str border=0 cellpadding=0 cellspacing=0 width=858
style='border-collapse:
 collapse;table-layout:fixed;width:644pt'
 col width=256
style='mso-width-source:userset;mso-width-alt:9362;width:192pt'
 col width=160
style='mso-width-source:userset;mso-width-alt:5851;width:120pt'
 col width=122
style='mso-width-source:userset;mso-width-alt:4461;width:92pt'
 col width=256
style='mso-width-source:userset;mso-width-alt:9362;width:192pt'
 col width=64 style='width:48pt'
 tr height=23 style='mso-height-source:userset;height:17.25pt'
  td colspan=4 rowspan=2 height=40 class=xl29 width=794
style='height:30.0pt;
  width:596pt'Hello World!!/td
  td width=64 style='width:48pt'/td
 /tr
/table
/body
/html
/cfoutput
/cfsavecontent

cffile action = write 
file = #request.reportPath##attributes.filename# 
output = attributes.generatedpage#
!--- make sure to save this as .xls file!! ---
-  

3.  Then redirecting to it:

cflocation url=#request.reportWWW##attributes.filename# 


This is a nice COM free approach.  I like it because you can make the Excel
sheet as complicated as you want i.e. use multipe sheets, formulas, special
formatting, page headers and footers, etc.,

HTH


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: JS question / DOM hiding all elements in square area

2003-06-03 Thread Suyer, Ed [PRD Non-JJ]
WG, check out:

http://www.milonic.co.uk/menu/

This is a self-contained js menu solution that should satisfy your geekiness
(excuse me, nerdiness).  There is a setting that you set inside the
configuration portion of the js file that allows the menu to hide elements
underneath it.  If you still want to roll your own, at the very least you
could parse their code and try to finger out how they did it.  HTH.

Sample of menus over form objects:

http://www.milonic.co.uk/menu/overforms_sample.php


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. 
http://www.fusionauthority.com/signup.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: format excel

2003-06-03 Thread Suyer, Ed [PRD Non-JJ]
I found that if you want to implement some of the more advanced
functionallity in Excel w/o using COM, you're better of creating an excel
sheet using cffile then redirecting to it using cflocation.  So for
example, to implement word wrap:

wordwrap.xls

html xmlns:o=urn:schemas-microsoft-com:office:office
xmlns:x=urn:schemas-microsoft-com:office:excel
xmlns=http://www.w3.org/TR/REC-html40;
head
meta http-equiv=Content-Type content=text/html;
charset=windows-1252
meta name=ProgId content=Excel.Sheet
meta name=Generator content=Microsoft Excel
/head
body

table
tr
td width=100This is an example of word wrapping.  Since the
width of this column is 100, this text wraps/td
/tr
/table

/body
/html

and nowrap:

nowrap.xls

html xmlns:o=urn:schemas-microsoft-com:office:office
xmlns:x=urn:schemas-microsoft-com:office:excel
xmlns=http://www.w3.org/TR/REC-html40;
head
meta http-equiv=Content-Type content=text/html;
charset=windows-1252
meta name=ProgId content=Excel.Sheet
meta name=Generator content=Microsoft Excel
/head
body

table
tr
td nowrapThis is an example of nowrap.  Yes, Excel will understand
this./td
/tr
/table

/body
/html

HTH

~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: Improve FB3 website performance

2003-05-29 Thread Suyer, Ed [PRD Non-JJ]
I've experienced this exact same thing. FB4 http://beta.fusebox.org provides
a much cleaner way to implement MVC w/o the need for cfmodule calls...

It's in beta till July 4th ... by then it'll work on CF5 (will come packaged
with an XML parser) and CFMX.



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Host with the leader in ColdFusion hosting. 
Voted #1 ColdFusion host by CF Developers. 
Offering shared and dedicated hosting options. 
www.cfxhosting.com/default.cfm?redirect=10481

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: FB3 Question Regarding handling Forms

2003-05-27 Thread Suyer, Ed [PRD Non-JJ]
Hey James,

Here's what I do with multi-button forms in FB3:

cfform name=mainForm
input type=hidden name=fuseaction value=this value is set by the
onclick event of each button

...

input type=submit name=operation value=Add 
onClick=javascript: mainForm.fuseaction.value='#XFA.btnAdd#'; if
(_CF_checkmainForm(mainForm)){mainForm.submit();}

input type=submit name=operation value=Delete 
onClick=javascript: mainForm.fuseaction.value='#XFA.btnDelete#'; if
(_CF_checkmainForm(mainForm)){mainForm.submit();}

input type=submit name=operation value=Edit 
onClick=javascript: mainForm.fuseaction.value='#XFA.btnEdit#'; if
(_CF_checkmainForm(mainForm)){mainForm.submit();}
...

/cfform

This keep me from nesting cases in fbx_switch.  HTH

Ed.


~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Get the mailserver that powers this list at 
http://www.coolfusion.com

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4



RE: CFC and Transactions (was Caching CFCs)

2003-05-27 Thread Suyer, Ed [PRD Non-JJ]
RE: Have a process object. You may be paying for various things - but there
is still one main payment process. Have that be it's own CFC.

Got it.  This makes sense.  However, wouldn't i still need to write this
code inside of the process object?

cftransaction
cftry
invoke ... method=receivePayment
invoke ... method=matchInvoice
invoke ... method=closeOrder
cftransaction commit
cfcatch dbcftransaction rollback/cfcatch
cftry
/cftransaction


Or will I write directly to the db:

cftransaction
cftry
cfquery receivePayment
cfquery matchInvoice
cfquery closeOrder
cftransaction commit
cfcatch dbcftransaction rollback/cfcatch
cftry
/cftransaction


Thx!



~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4