Re: CFMX on Apache 2.2 on Cygwin?

2006-12-28 Thread Oğuz Demirkapı
Nostalgia! :)


Jacob Munson wrote:
> On 12/28/06, Damien McKenna <[EMAIL PROTECTED]> wrote:
>   
>> Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
>> Apache for that matter?  Thanks.
>>
>> 
>
>
> Ok, I have to ask.  Why?  Apache runs perfectly well under Windows, why
> would you want to run it in a Unix emulator?  I'm sure you've got a good
> reason, I'm just curious what it is.
>
>   


-- 

Oğuz Demirkapı

TeraTech Inc. | Senior Developer
405 East Gude Dr Suite 207, Rockville, MD 20850, USA
Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
Web: http://www.teratech.com | E-mail: oguz.demirkapi  teratech.com
Winner in CFDJ awards Best Consulting. Member Team Fusebox.




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


multiple items with qty in form problem

2006-12-28 Thread Gerald Weir
Hello,
We need a form that is a bit different from the examples I've been able to find 
so far. I am querying the db to get a list of all the products for this page 
and I want it to look like this to the consumer (some numbers are same for 
first 4 digits but then change for different size):

4353-H5 - 6-8-10-12-14   Quantity __  
4353-P5 - 12-14-16-18-20 Quantity __
4354-A - ALL-SIZES   Quantity __
4355-AA - XS-S-M Quantity __
4355-BB - M-L-XL Quantity __
4356-H5 - 6-8-10-12-14   Quantity __
 etc, etc, 
Submit   Reset

The idea is that we want to present a list of 50 or so items to choose from and 
have the consumer enter ALL quantities at the same time and hit the SUBMIT 
button once.  The consumer in most all cases will choose 20 to 30 items from 
the page and want to have quantities for each up to 99.

Here's my code for presentation of the items but I don't really know how to 
make the action page write each item separately with it's own quantity to an 
array or SESSION.CART.  In this version I am using the xref_inv_id which is a 
number such as 1857, 1858, etc.



  

  #getItems.design#-#getItems.size_code#  -  #getItems.size_unit#
 
 
  
  
 
  

  
 

  
  


  


If someone can enlighten me as to how I can write the non-zero quantities 
chosen to an array that I can then display to the user on the next page as a 
simple list I would appreciate it very much.  I also want to have a total of 
the items in the end so that I can charge them $1.00 per item ordered.  So, if 
a consumer orders 327 items they will see a total amount of $327.00.

Regards and thanks, Jerry

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Query Problem

2006-12-28 Thread James Holmes
You have a query with 100 rows and you are trying to set a cell in row
1920. 1920 is greater than 100.

On 12/29/06, Bruce Sorge <[EMAIL PROTECTED]> wrote:
> Hello.
> I have these three queries that I am creating below. The first two work
> great, but the third one gives me the following error:
>
> The row number, (1920) is out of bound. This is happening on line 48 which
> is this one:
>
>  #year_number#)>
>
>
> What is wrong with it? Seems to me it should work.
>
>
>  varchar")>
>
> 
>
> 
> 
>
> #monthNumber[loopcount]#, #loopcount#)>
>  #loopcount#)>
> 
>
>
> 
>
> 
>
> 
> 
>  #dayNumber[loopcount]#, #loopcount#)>
> 
>
>
> 
>
> 
>
> 
> 
>  #yearnumber[year_number]#, #year_number#)>
> 
>
> Thanks,
>
> Bruce Sorge
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFMX on Apache 2.2 on Cygwin?

2006-12-28 Thread Jacob Munson
On 12/28/06, Damien McKenna <[EMAIL PROTECTED]> wrote:
>
> Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
> Apache for that matter?  Thanks.
>


Ok, I have to ask.  Why?  Apache runs perfectly well under Windows, why
would you want to run it in a Unix emulator?  I'm sure you've got a good
reason, I'm just curious what it is.

-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Query Problem

2006-12-28 Thread Bruce Sorge
Hello.
I have these three queries that I am creating below. The first two work
great, but the third one gives me the following error:

The row number, (1920) is out of bound. This is happening on line 48 which
is this one:




What is wrong with it? Seems to me it should work.








   
   























Thanks,

Bruce Sorge


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


random cfc

2006-12-28 Thread Dan Vega
 Christopher,
I know you were not implying that. I said in my post that after writing the
component that I realized their were design flaws. The problem lies in the
init method. It should not be mandatory to initialize dbtypes and dsn if you
are using getRandomColor(). Your comments were positive and any comments
that are not meant as an attack are always good for everyone. I was just
stating that other people have asked me about the point to the article,
examples, and other ideas that I need to follow the post with.

Thank You
Dan

On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
> Dan,
> I'm not saying your solution is bad, I just couldn't think of what
> problem it would be the solution to. As we've discussed in other posts,
> I understand why some consumer sites would need this sort of thing.
> That's all. I don't think it needs a better design. I haven't really
> given thought to that matter to begin with. I hope I didn't give you the
> impression that I thought the design was bad or in some way flawed. I
> just couldn't see the need before, but I do now. :o)
>
> Cheers,
> Chris


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: random cfc

2006-12-28 Thread Dan Vega
Christopher,
I know you were not implying that. I said in my post that after writing the
component that I realized their were design flaws. The problem lies in the
init method. It should not be mandatory to initialize dbtypes and dsn if you
are using getRandomColor(). Your comments were positive and any comments
that are not meant as an attack are always good for everyone. I was just
stating that other people have asked me about the point to the article,
examples, and other ideas that I need to follow the post with.

Thank You
Dan

On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
> Dan,
> I'm not saying your solution is bad, I just couldn't think of what
> problem it would be the solution to. As we've discussed in other posts,
> I understand why some consumer sites would need this sort of thing.
> That's all. I don't think it needs a better design. I haven't really
> given thought to that matter to begin with. I hope I didn't give you the
> impression that I thought the design was bad or in some way flawed. I
> just couldn't see the need before, but I do now. :o)
>
> Cheers,
> Chris
>
> Dan Vega wrote:
> > Christopher,
> > Thanks for the feedback. I will try to come up with a better designed
> > solution and some more examples of where and why to use it.
> >
> > Thanks!
> >
> > On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> >
> >> Yeah, shopping sites was the example I thought of half way through my
> >> post. Like when amazon shows me random products that I might like...
> >> that sort of thing. I suppose it's because I don't spend time writing
> >> consumer sites that I forget things like that. I'm currently working on
> >> a scheduling program for what amounts to a temp agency. No randomness
> >> needed... well, not as far as random table rows goes. :o)
> >>
> >> Cheers,
> >> Chris
> >>
> >> Snake wrote:
> >>
> >>> That brings back some memories.
> >>> I actually wrote a banner system once, and I believe the method I used
> >>>
> >> back
> >>
> >>> then, was to query all the primary keys, then pick a random row from
> the
> >>> query, extract the primary key and selectthat record.
> >>> This was many years ago back in the days of CF4 though :-)
> >>>
> >>> Russ
> >>>
> >>> -Original Message-
> >>> From: Dan Vega [mailto:[EMAIL PROTECTED]
> >>> Sent: 28 December 2006 22:17
> >>> To: CF-Talk
> >>> Subject: Re: random cfc
> >>>
> >>> Christopher,
> >>> Please remember that I am asking these same questions so there is no
> >>>
> >> such
> >>
> >>> thing as ignorance just different perspectives. With that being said I
> >>>
> >> would
> >>
> >>> read the two posts because even if you do not need the random cfc they
> >>>
> >> are
> >>
> >>> very good articles. Here is a situation where you would need a random
> >>>
> >> row.
> >>
> >>> You could use it in a banner ad program where you just want to display
> a
> >>> random ad, or a shopping cart where you want to show a random product
> >>>
> >> from
> >>
> >>> the products table. Maybe you would even like to customize it for our
> >>> shopping cart application. Lets say we have a featured flag in our
> >>>
> >> products
> >>
> >>> table, you could add to that
> >>>
> >>> and featured = 1
> >>>
> >>> Now on our home page instead of writing a featuredProduct rotator
> >>>
> >> component
> >>
> >>> we can just grab a random row. These are just ideas but who knows,
> maybe
> >>> someone else can make use of it. I needed it for a specific reason
> that
> >>>
> >> I am
> >>
> >>> not at liberty to share. Feedback is always welcome so thank you for
> >>>
> >> your
> >>
> >>> thoughts Christopher!
> >>>
> >>> Dan Vega
> >>>
> >>> On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
>  Okay. I'm gonna show some ignorance here. Ready?  Good. :oP
> 
>  I read your blog entry, Dan, and the entire CFC. I did not read
> either
>  of the other two blog articles you mentioned (so maybe that's where
>  this ignorance is coming from).  I understand how your code works.
>  That's not my problem.
> 
>  uh... what's the point? Why would you want to get a random row from a
>  table?
> 
>  Okay, to be fare, I just thought of one reason. So maybe there are
> 
> >> more.
> >>
>  Are there folks out there clamoring for the ability to get a random
>  rows, random directories and random colors?
> 
>  Random strings and numbers I see more use for, but there are already
>  plenty of UDFs written that can obtain a random string of characters
>  (numbers included).
> 
>  I guess I just don't understand. There must be a reason I'm missing.
>  Help me. :o)
> 
>  Cheers,
>  Chris
> 
>  Dan Vega wrote:
> 
> 
> > All,
> > I just created a quick and dirty random cfc component and a quick
> >
> >
>  posting to
> 
> 
> > go with it. I could really use some feedback on how to split it up
> > if
> >

Re: random cfc

2006-12-28 Thread Christopher Jordan
Dan,
I'm not saying your solution is bad, I just couldn't think of what 
problem it would be the solution to. As we've discussed in other posts, 
I understand why some consumer sites would need this sort of thing. 
That's all. I don't think it needs a better design. I haven't really 
given thought to that matter to begin with. I hope I didn't give you the 
impression that I thought the design was bad or in some way flawed. I 
just couldn't see the need before, but I do now. :o)

Cheers,
Chris

Dan Vega wrote:
> Christopher,
> Thanks for the feedback. I will try to come up with a better designed
> solution and some more examples of where and why to use it.
>
> Thanks!
>
> On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>   
>> Yeah, shopping sites was the example I thought of half way through my
>> post. Like when amazon shows me random products that I might like...
>> that sort of thing. I suppose it's because I don't spend time writing
>> consumer sites that I forget things like that. I'm currently working on
>> a scheduling program for what amounts to a temp agency. No randomness
>> needed... well, not as far as random table rows goes. :o)
>>
>> Cheers,
>> Chris
>>
>> Snake wrote:
>> 
>>> That brings back some memories.
>>> I actually wrote a banner system once, and I believe the method I used
>>>   
>> back
>> 
>>> then, was to query all the primary keys, then pick a random row from the
>>> query, extract the primary key and selectthat record.
>>> This was many years ago back in the days of CF4 though :-)
>>>
>>> Russ
>>>
>>> -Original Message-
>>> From: Dan Vega [mailto:[EMAIL PROTECTED]
>>> Sent: 28 December 2006 22:17
>>> To: CF-Talk
>>> Subject: Re: random cfc
>>>
>>> Christopher,
>>> Please remember that I am asking these same questions so there is no
>>>   
>> such
>> 
>>> thing as ignorance just different perspectives. With that being said I
>>>   
>> would
>> 
>>> read the two posts because even if you do not need the random cfc they
>>>   
>> are
>> 
>>> very good articles. Here is a situation where you would need a random
>>>   
>> row.
>> 
>>> You could use it in a banner ad program where you just want to display a
>>> random ad, or a shopping cart where you want to show a random product
>>>   
>> from
>> 
>>> the products table. Maybe you would even like to customize it for our
>>> shopping cart application. Lets say we have a featured flag in our
>>>   
>> products
>> 
>>> table, you could add to that
>>>
>>> and featured = 1
>>>
>>> Now on our home page instead of writing a featuredProduct rotator
>>>   
>> component
>> 
>>> we can just grab a random row. These are just ideas but who knows, maybe
>>> someone else can make use of it. I needed it for a specific reason that
>>>   
>> I am
>> 
>>> not at liberty to share. Feedback is always welcome so thank you for
>>>   
>> your
>> 
>>> thoughts Christopher!
>>>
>>> Dan Vega
>>>
>>> On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>>>
>>>   
 Okay. I'm gonna show some ignorance here. Ready?  Good. :oP

 I read your blog entry, Dan, and the entire CFC. I did not read either
 of the other two blog articles you mentioned (so maybe that's where
 this ignorance is coming from).  I understand how your code works.
 That's not my problem.

 uh... what's the point? Why would you want to get a random row from a
 table?

 Okay, to be fare, I just thought of one reason. So maybe there are
 
>> more.
>> 
 Are there folks out there clamoring for the ability to get a random
 rows, random directories and random colors?

 Random strings and numbers I see more use for, but there are already
 plenty of UDFs written that can obtain a random string of characters
 (numbers included).

 I guess I just don't understand. There must be a reason I'm missing.
 Help me. :o)

 Cheers,
 Chris

 Dan Vega wrote:

 
> All,
> I just created a quick and dirty random cfc component and a quick
>
>   
 posting to

 
> go with it. I could really use some feedback on how to split it up
> if
>
>   
 anyone

 
> gets a chance.
>
> http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
>
>
>
>
>
>   
 --
 http://www.cjordan.info





 
>>>
>>>
>>>   
>> 
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:265277
Subscription: http://www.houseoffusion.com/groups/CF-Ta

random cfc

2006-12-28 Thread Dan Vega
Christopher,
Thanks for the feedback. I will try to come up with a better designed
solution and some more examples of where and why to use it.

Thanks!

-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: random cfc

2006-12-28 Thread Dan Vega
Christopher,
Thanks for the feedback. I will try to come up with a better designed
solution and some more examples of where and why to use it.

Thanks!

On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
> Yeah, shopping sites was the example I thought of half way through my
> post. Like when amazon shows me random products that I might like...
> that sort of thing. I suppose it's because I don't spend time writing
> consumer sites that I forget things like that. I'm currently working on
> a scheduling program for what amounts to a temp agency. No randomness
> needed... well, not as far as random table rows goes. :o)
>
> Cheers,
> Chris
>
> Snake wrote:
> > That brings back some memories.
> > I actually wrote a banner system once, and I believe the method I used
> back
> > then, was to query all the primary keys, then pick a random row from the
> > query, extract the primary key and selectthat record.
> > This was many years ago back in the days of CF4 though :-)
> >
> > Russ
> >
> > -Original Message-
> > From: Dan Vega [mailto:[EMAIL PROTECTED]
> > Sent: 28 December 2006 22:17
> > To: CF-Talk
> > Subject: Re: random cfc
> >
> > Christopher,
> > Please remember that I am asking these same questions so there is no
> such
> > thing as ignorance just different perspectives. With that being said I
> would
> > read the two posts because even if you do not need the random cfc they
> are
> > very good articles. Here is a situation where you would need a random
> row.
> > You could use it in a banner ad program where you just want to display a
> > random ad, or a shopping cart where you want to show a random product
> from
> > the products table. Maybe you would even like to customize it for our
> > shopping cart application. Lets say we have a featured flag in our
> products
> > table, you could add to that
> >
> > and featured = 1
> >
> > Now on our home page instead of writing a featuredProduct rotator
> component
> > we can just grab a random row. These are just ideas but who knows, maybe
> > someone else can make use of it. I needed it for a specific reason that
> I am
> > not at liberty to share. Feedback is always welcome so thank you for
> your
> > thoughts Christopher!
> >
> > Dan Vega
> >
> > On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> >
> >> Okay. I'm gonna show some ignorance here. Ready?  Good. :oP
> >>
> >> I read your blog entry, Dan, and the entire CFC. I did not read either
> >> of the other two blog articles you mentioned (so maybe that's where
> >> this ignorance is coming from).  I understand how your code works.
> >> That's not my problem.
> >>
> >> uh... what's the point? Why would you want to get a random row from a
> >> table?
> >>
> >> Okay, to be fare, I just thought of one reason. So maybe there are
> more.
> >> Are there folks out there clamoring for the ability to get a random
> >> rows, random directories and random colors?
> >>
> >> Random strings and numbers I see more use for, but there are already
> >> plenty of UDFs written that can obtain a random string of characters
> >> (numbers included).
> >>
> >> I guess I just don't understand. There must be a reason I'm missing.
> >> Help me. :o)
> >>
> >> Cheers,
> >> Chris
> >>
> >> Dan Vega wrote:
> >>
> >>> All,
> >>> I just created a quick and dirty random cfc component and a quick
> >>>
> >> posting to
> >>
> >>> go with it. I could really use some feedback on how to split it up
> >>> if
> >>>
> >> anyone
> >>
> >>> gets a chance.
> >>>
> >>> http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
> >>>
> >>>
> >>>
> >>>
> >>>
> >> --
> >> http://www.cjordan.info
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFMX on Apache 2.2 on Cygwin?

2006-12-28 Thread Eric Haskins
I have Dev edition running on XAMPP (apachefriends.org) which runs Apache
2.2

Eric


On 12/28/06, Adrian Moreno <[EMAIL PROTECTED]> wrote:
>
> I've had CFMX 6.1 running on both Apache 2 and JBoss on Cygwin for
> development. I've also got CFMX 7.0.2 on Apache 2.2, but just in Windows.
>
> If you're going to use Apache 2.2, make sure you read this TechNote as
> there's a newer connector than the one that ships with the CFMX installer.
>
> http://www.adobe.com/go/8001e97
>
> HTH,
>
> Adrian
>
> >Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version
> of
> >Apache for that matter?  Thanks.
> >
> >--
> >Damien McKenna - Web Developer - [EMAIL PROTECTED]
> >The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
> >#include 
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: receive/read fax documents via CF

2006-12-28 Thread Coldfusion
Bryan,

It seems as if you were doing something very similar 
(found this on Google:
http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:44779 )



-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 8:07 PM
To: CF-Talk
Subject: Re: receive/read fax documents via CF

eFax...converts fax to e-mail attachementCF reads mail
(CFX_POP3)then OCR the attachement to suck out the barcode ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: "Coldfusion" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, December 28, 2006 4:56 PM
Subject: receive/read fax documents via CF


>I am wondering if anyone has used a Gateway or something to receive and
read
> faxed documents via CF?
> I need to read the incoming fax to obtain a barcode then copy the fax
> document to the appropriate directory.
>
> Anyone done anything like this?
>
> Thanks!
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: receive/read fax documents via CF

2006-12-28 Thread Coldfusion
What utility would be used for the OCR part. The first two I can handle.
The OCR should be able to be called via CF request.

The process is to be converted from the manual process as it is now to an
Automated routine.

 

-Original Message-
From: Bryan Stevenson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 8:07 PM
To: CF-Talk
Subject: Re: receive/read fax documents via CF

eFax...converts fax to e-mail attachementCF reads mail
(CFX_POP3)then OCR the attachement to suck out the barcode ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message -
From: "Coldfusion" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, December 28, 2006 4:56 PM
Subject: receive/read fax documents via CF


>I am wondering if anyone has used a Gateway or something to receive and
read
> faxed documents via CF?
> I need to read the incoming fax to obtain a barcode then copy the fax
> document to the appropriate directory.
>
> Anyone done anything like this?
>
> Thanks!
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: receive/read fax documents via CF

2006-12-28 Thread Bryan Stevenson
eFax...converts fax to e-mail attachementCF reads mail (CFX_POP3)then 
OCR the attachement to suck out the barcode ;-)

Bryan Stevenson B.Comm.
VP & Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
- Original Message - 
From: "Coldfusion" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Thursday, December 28, 2006 4:56 PM
Subject: receive/read fax documents via CF


>I am wondering if anyone has used a Gateway or something to receive and read
> faxed documents via CF?
> I need to read the incoming fax to obtain a barcode then copy the fax
> document to the appropriate directory.
>
> Anyone done anything like this?
>
> Thanks!
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


receive/read fax documents via CF

2006-12-28 Thread Coldfusion
I am wondering if anyone has used a Gateway or something to receive and read
faxed documents via CF?
I need to read the incoming fax to obtain a barcode then copy the fax
document to the appropriate directory.
 
Anyone done anything like this?
 
Thanks!



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: cfqueryparam DECREASES performance?

2006-12-28 Thread Doug Bezona
The SQL output by a query using cfqueryparam is a "prepared statement". 
 
He was suggesting that you compare the execution plan using cfqueryparam vs. 
not using it to see what the difference is. 



From: Richard Kroll [mailto:[EMAIL PROTECTED]
Sent: Thu 12/28/2006 4:20 PM
To: CF-Talk
Subject: RE: cfqueryparam DECREASES performance?



> You might want to take a look at your query execution plan, and see
what's
> different when using a prepared statement.

I know how to see the query execution plan on MSSQL, but how do you see
it compared to a prepared statement?

Rich Kroll



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: random cfc

2006-12-28 Thread Robertson-Ravo, Neil (RX)
If you are on SQL Server 2005 - it will actually let you pick a random row
out of the box :-)








"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Dan Vega
To: CF-Talk
Sent: Thu Dec 28 21:50:46 2006
Subject: random cfc

All,
I just created a quick and dirty random cfc component and a quick posting to
go with it. I could really use some feedback on how to split it up if anyone
gets a chance.

http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC



-- 

Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: IE Active Content bug

2006-12-28 Thread Kevin Aebig
There is an issue with some upgrades to 7.0.2 where the CFIDE path where the
JS file is located isn't mapped properly.

I believe there's a technote on the problem.

Cheers,

!k

-Original Message-
From: Jacob Munson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 10:29 AM
To: CF-Talk
Subject: IE Active Content bug

First of all, I'm very familiar with the whole Eolas thing, and followed
that whole mess carefully.

I've got a flash cfform I'm working on that is making me click on it to
activate the form in IE.  Our ColdFusion server /is/ patched up to 7.0.2, so
it is my understanding that I shouldn't see that anymore.  I've got IE 6
with Flash Player 9 on this machine.  However, if I try the form in IE 7
(different machine) with flash player 9 it works as expected.  The weird
thing is that on a 3rd machine, with IE 6 and Flash Player 9, the form works
as expected.

What gives?

-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFMX on Apache 2.2 on Cygwin?

2006-12-28 Thread Adrian Moreno
I've had CFMX 6.1 running on both Apache 2 and JBoss on Cygwin for development. 
I've also got CFMX 7.0.2 on Apache 2.2, but just in Windows. 

If you're going to use Apache 2.2, make sure you read this TechNote as there's 
a newer connector than the one that ships with the CFMX installer.

http://www.adobe.com/go/8001e97

HTH, 

Adrian

>Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
>Apache for that matter?  Thanks.
>
>-- 
>Damien McKenna - Web Developer - [EMAIL PROTECTED]
>The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
>#include 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: random cfc

2006-12-28 Thread Christopher Jordan
Yeah, shopping sites was the example I thought of half way through my 
post. Like when amazon shows me random products that I might like... 
that sort of thing. I suppose it's because I don't spend time writing 
consumer sites that I forget things like that. I'm currently working on 
a scheduling program for what amounts to a temp agency. No randomness 
needed... well, not as far as random table rows goes. :o)

Cheers,
Chris

Snake wrote:
> That brings back some memories.
> I actually wrote a banner system once, and I believe the method I used back
> then, was to query all the primary keys, then pick a random row from the
> query, extract the primary key and selectthat record.
> This was many years ago back in the days of CF4 though :-)
>
> Russ
>
> -Original Message-
> From: Dan Vega [mailto:[EMAIL PROTECTED] 
> Sent: 28 December 2006 22:17
> To: CF-Talk
> Subject: Re: random cfc
>
> Christopher,
> Please remember that I am asking these same questions so there is no such
> thing as ignorance just different perspectives. With that being said I would
> read the two posts because even if you do not need the random cfc they are
> very good articles. Here is a situation where you would need a random row.
> You could use it in a banner ad program where you just want to display a
> random ad, or a shopping cart where you want to show a random product from
> the products table. Maybe you would even like to customize it for our
> shopping cart application. Lets say we have a featured flag in our products
> table, you could add to that
>
> and featured = 1
>
> Now on our home page instead of writing a featuredProduct rotator component
> we can just grab a random row. These are just ideas but who knows, maybe
> someone else can make use of it. I needed it for a specific reason that I am
> not at liberty to share. Feedback is always welcome so thank you for your
> thoughts Christopher!
>
> Dan Vega
>
> On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>   
>> Okay. I'm gonna show some ignorance here. Ready?  Good. :oP
>>
>> I read your blog entry, Dan, and the entire CFC. I did not read either 
>> of the other two blog articles you mentioned (so maybe that's where 
>> this ignorance is coming from).  I understand how your code works. 
>> That's not my problem.
>>
>> uh... what's the point? Why would you want to get a random row from a 
>> table?
>>
>> Okay, to be fare, I just thought of one reason. So maybe there are more.
>> Are there folks out there clamoring for the ability to get a random 
>> rows, random directories and random colors?
>>
>> Random strings and numbers I see more use for, but there are already 
>> plenty of UDFs written that can obtain a random string of characters 
>> (numbers included).
>>
>> I guess I just don't understand. There must be a reason I'm missing.
>> Help me. :o)
>>
>> Cheers,
>> Chris
>>
>> Dan Vega wrote:
>> 
>>> All,
>>> I just created a quick and dirty random cfc component and a quick
>>>   
>> posting to
>> 
>>> go with it. I could really use some feedback on how to split it up 
>>> if
>>>   
>> anyone
>> 
>>> gets a chance.
>>>
>>> http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
>>>
>>>
>>>
>>>
>>>   
>> --
>> http://www.cjordan.info
>>
>>
>>
>>
>> 
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: random cfc

2006-12-28 Thread Snake
That brings back some memories.
I actually wrote a banner system once, and I believe the method I used back
then, was to query all the primary keys, then pick a random row from the
query, extract the primary key and selectthat record.
This was many years ago back in the days of CF4 though :-)

Russ

-Original Message-
From: Dan Vega [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 22:17
To: CF-Talk
Subject: Re: random cfc

Christopher,
Please remember that I am asking these same questions so there is no such
thing as ignorance just different perspectives. With that being said I would
read the two posts because even if you do not need the random cfc they are
very good articles. Here is a situation where you would need a random row.
You could use it in a banner ad program where you just want to display a
random ad, or a shopping cart where you want to show a random product from
the products table. Maybe you would even like to customize it for our
shopping cart application. Lets say we have a featured flag in our products
table, you could add to that

and featured = 1

Now on our home page instead of writing a featuredProduct rotator component
we can just grab a random row. These are just ideas but who knows, maybe
someone else can make use of it. I needed it for a specific reason that I am
not at liberty to share. Feedback is always welcome so thank you for your
thoughts Christopher!

Dan Vega

On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
> Okay. I'm gonna show some ignorance here. Ready?  Good. :oP
>
> I read your blog entry, Dan, and the entire CFC. I did not read either 
> of the other two blog articles you mentioned (so maybe that's where 
> this ignorance is coming from).  I understand how your code works. 
> That's not my problem.
>
> uh... what's the point? Why would you want to get a random row from a 
> table?
>
> Okay, to be fare, I just thought of one reason. So maybe there are more.
> Are there folks out there clamoring for the ability to get a random 
> rows, random directories and random colors?
>
> Random strings and numbers I see more use for, but there are already 
> plenty of UDFs written that can obtain a random string of characters 
> (numbers included).
>
> I guess I just don't understand. There must be a reason I'm missing.
> Help me. :o)
>
> Cheers,
> Chris
>
> Dan Vega wrote:
> > All,
> > I just created a quick and dirty random cfc component and a quick
> posting to
> > go with it. I could really use some feedback on how to split it up 
> > if
> anyone
> > gets a chance.
> >
> > http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
> >
> >
> >
> >
>
> --
> http://www.cjordan.info
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Christopher Jordan
This might be bad form, but in the onchange of the select box, you can 
just do:



the 'this.value' is already the value of the selected item. I've tested 
this fact in IE and FF.

Cheers,
Chris

Che Vilnonis wrote:
> Still no go...
>
> 1. took care of the select value syntax as per previous email.
> 2. what do you mean by "i'd also prefer to see id attributes in the form
> fields (use the same value as the 'name' attribute) and in the script". How
> would I rewrite that?
> 3. already know about JS being case sensitive and know that my form's name
> is "form". I modified you code to read: document.form.elements["QTYShipped"
> + n].value = 0;
>
> A view source shows...
>
>  onchange="updateText(1, 'this.options[this.selectedIndex].value');">
> SHIPPED
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
>
>  onchange="updateText(2, 'this.options[this.selectedIndex].value');">
> SHIPPED
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
>
> Is the value of the pulldown nor correct?
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Christopher Jordan
First: It is *awesome* that Rob has written a distro of AjaxCFC for 
jQuery. I started playing with the alpha release last night. Very cool 
stuff.

Second: There is probably a much more succinct way of doing this in 
jQuery. I'm not the absolute best person to ask. Also, my code below 
only requires that the text field to be changed has an ID. That ID could 
be passed into the function if necessary. The inputs could have dynamic 
IDs just the same as they have dynamic names.

To be honest, I didn't really understand the original request, but this 
was the best I could make out.

Is the Select box created dynamically? If so, the dynamic ID of the 
corresponding text box could be passed too. jQuery could also have 
gotten the input element by class or just by element type. Of course, if 
it was done by class or element type, it would change the value of *all* 
elements with that class or of that element type. That's why I chose ID. 
jQuery even allows you to use XPath selectors, though I have very little 
idea what that means (I've seen it done a couple of times), but I 
thought I'd mention it in case it made any sense to you. :o)

Cheers,
Chris

Charlie Griefer wrote:
> couple of things (and just to throw it out there, i am in no way
> against jQuery...i haven't used it yet, but am fixing to download it
> and start playing around with it...especially now that Rob G. has
> integrated AjaxCFC into it).
>
> in this case, i don't think using the library really saves you
> anything.  my original code (which would have worked without the
> quotes around the 2nd argument) is really not much more verbose than
> the jquery code below.  also, the code below doesn't take into account
> the dynamic field naming.  it seems to assume there will be 1 select
> field and one corresponding text field.
>
> just seems that it might be overkill for the problem at hand.  seems
> dead simple without jQuery (again, if'n i hadn't messed up the quotes
> on that 2nd argument) :)
>
> On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>   
>> This would be dead simple using jQuery.
>>
>> I just wrote and tested this. I think it does what you want.
>>
>> 
>> 
>> 
>> 
>> 
>> function myFunction(thisValue){
>> if(thisValue == "OUT OF STOCK"){
>> $("#myID").val("0");
>> }
>> }
>> 
>> 
>>
>> 
>> > OnChange="myFunction(this.value)">
>> 
>> SHIPPED AVAILABLE
>> DISCONTINUED
>> OUT OF STOCK
>> 
>>
>> > name="QTYShipped#getLineItems.CurrentRow#" value="1" size="4" maxlength="3">
>> 
>> 
>>
>> You would, of course, have to download the jquery library and change the
>> path to it appropriately.
>>
>> You can find it here .
>>
>> Hope this helps.
>>
>> Cheers,
>> Chris
>>
>> Che Vilnonis wrote:
>> 
>>> I have a form with a varied number of form fields (they are dynamically
>>> created). Two of the form fields are a input box and a select box. I loop
>>> through my query and define the form names like so:
>>>
>>> >> size="4" maxlength="3">
>>>
>>> and
>>>
>>> 
>>> SHIPPED
>>> SHIPPED AVAILABLE
>>> DISCONTINUED
>>> OUT OF STOCK
>>> 
>>>
>>> How can I, using Javascript, use an onChange event so that when "OUT OD
>>> STOCK" is selected from the pulldown, the text value is auto changed from 1
>>> to 0. I am getting hung up with the dynamic form names and declaring them in
>>> my javascript function.
>>>
>>> Hope this makes sense? Che
>>>   
>
>   

-- 
http://www.cjordan.info



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
couple of things (and just to throw it out there, i am in no way
against jQuery...i haven't used it yet, but am fixing to download it
and start playing around with it...especially now that Rob G. has
integrated AjaxCFC into it).

in this case, i don't think using the library really saves you
anything.  my original code (which would have worked without the
quotes around the 2nd argument) is really not much more verbose than
the jquery code below.  also, the code below doesn't take into account
the dynamic field naming.  it seems to assume there will be 1 select
field and one corresponding text field.

just seems that it might be overkill for the problem at hand.  seems
dead simple without jQuery (again, if'n i hadn't messed up the quotes
on that 2nd argument) :)

On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
> This would be dead simple using jQuery.
>
> I just wrote and tested this. I think it does what you want.
>
> 
> 
> 
> 
> 
> function myFunction(thisValue){
> if(thisValue == "OUT OF STOCK"){
> $("#myID").val("0");
> }
> }
> 
> 
>
> 
>  OnChange="myFunction(this.value)">
> 
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
>
>  name="QTYShipped#getLineItems.CurrentRow#" value="1" size="4" maxlength="3">
> 
> 
>
> You would, of course, have to download the jquery library and change the
> path to it appropriately.
>
> You can find it here .
>
> Hope this helps.
>
> Cheers,
> Chris
>
> Che Vilnonis wrote:
> > I have a form with a varied number of form fields (they are dynamically
> > created). Two of the form fields are a input box and a select box. I loop
> > through my query and define the form names like so:
> >
> >  > size="4" maxlength="3">
> >
> > and
> >
> > 
> > SHIPPED
> > SHIPPED AVAILABLE
> > DISCONTINUED
> > OUT OF STOCK
> > 
> >
> > How can I, using Javascript, use an onChange event so that when "OUT OD
> > STOCK" is selected from the pulldown, the text value is auto changed from 1
> > to 0. I am getting hung up with the dynamic form names and declaring them in
> > my javascript function.
> >
> > Hope this makes sense? Che

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


CFMX on Apache 2.2 on Cygwin?

2006-12-28 Thread Damien McKenna
Has anyone tried running CFMX with Apache 2.2 on Cygwin, or any version of
Apache for that matter?  Thanks.

-- 
Damien McKenna - Web Developer [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Christopher Jordan
This would be dead simple using jQuery.

I just wrote and tested this. I think it does what you want.






function myFunction(thisValue){
if(thisValue == "OUT OF STOCK"){
$("#myID").val("0");
}
}


   



SHIPPED AVAILABLE
DISCONTINUED
OUT OF STOCK

   




You would, of course, have to download the jquery library and change the 
path to it appropriately.

You can find it here .

Hope this helps.

Cheers,
Chris

Che Vilnonis wrote:
> I have a form with a varied number of form fields (they are dynamically
> created). Two of the form fields are a input box and a select box. I loop
> through my query and define the form names like so:
>
>  size="4" maxlength="3">
>
> and
>
> 
> SHIPPED
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
>
> How can I, using Javascript, use an onChange event so that when "OUT OD
> STOCK" is selected from the pulldown, the text value is auto changed from 1
> to 0. I am getting hung up with the dynamic form names and declaring them in
> my javascript function.
>
> Hope this makes sense? Che
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
sorry.  my bad.

remove the quotes from the 'this.options[this.selectedIndex].value'

i was having you pass that literal string :\

On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> Hmmm. Not working... Does selOpt need another name, dynamic name?

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: random cfc

2006-12-28 Thread Dan Vega
Christopher,
Please remember that I am asking these same questions so there is no such
thing as ignorance just different perspectives. With that being said I would
read the two posts because even if you do not need the random cfc they are
very good articles. Here is a situation where you would need a random row.
You could use it in a banner ad program where you just want to display a
random ad, or a shopping cart where you want to show a random product from
the products table. Maybe you would even like to customize it for our
shopping cart application. Lets say we have a featured flag in our products
table, you could add to that

and featured = 1

Now on our home page instead of writing a featuredProduct rotator component
we can just grab a random row. These are just ideas but who knows, maybe
someone else can make use of it. I needed it for a specific reason that I am
not at liberty to share. Feedback is always welcome so thank you for your
thoughts Christopher!

Dan Vega

On 12/28/06, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
> Okay. I'm gonna show some ignorance here. Ready?  Good. :oP
>
> I read your blog entry, Dan, and the entire CFC. I did not read either
> of the other two blog articles you mentioned (so maybe that's where this
> ignorance is coming from).  I understand how your code works. That's not
> my problem.
>
> uh... what's the point? Why would you want to get a random row from a
> table?
>
> Okay, to be fare, I just thought of one reason. So maybe there are more.
> Are there folks out there clamoring for the ability to get a random
> rows, random directories and random colors?
>
> Random strings and numbers I see more use for, but there are already
> plenty of UDFs written that can obtain a random string of characters
> (numbers included).
>
> I guess I just don't understand. There must be a reason I'm missing.
> Help me. :o)
>
> Cheers,
> Chris
>
> Dan Vega wrote:
> > All,
> > I just created a quick and dirty random cfc component and a quick
> posting to
> > go with it. I could really use some feedback on how to split it up if
> anyone
> > gets a chance.
> >
> > http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
> >
> >
> >
> >
>
> --
> http://www.cjordan.info
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Javascript and Dynamic CF Forms

2006-12-28 Thread loathe
Change the name of your form to something else.  Form and forms are both
reserved words.

> -Original Message-
> From: Che Vilnonis [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 5:11 PM
> To: CF-Talk
> Subject: RE: Javascript and Dynamic CF Forms
> 
> Still no go...
> 
> 1. took care of the select value syntax as per previous email.
> 2. what do you mean by "i'd also prefer to see id attributes in the form
> fields (use the same value as the 'name' attribute) and in the script".
> How
> would I rewrite that?
> 3. already know about JS being case sensitive and know that my form's name
> is "form". I modified you code to read:
> document.form.elements["QTYShipped"
> + n].value = 0;
> 
> A view source shows...
> 
>  onchange="updateText(1, 'this.options[this.selectedIndex].value');">
> SHIPPED
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
> 
>  onchange="updateText(2, 'this.options[this.selectedIndex].value');">
> SHIPPED
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
> 
> Is the value of the pulldown nor correct?
> 
> 
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Javascript and Dynamic CF Forms

2006-12-28 Thread Che Vilnonis
Still no go...

1. took care of the select value syntax as per previous email.
2. what do you mean by "i'd also prefer to see id attributes in the form
fields (use the same value as the 'name' attribute) and in the script". How
would I rewrite that?
3. already know about JS being case sensitive and know that my form's name
is "form". I modified you code to read: document.form.elements["QTYShipped"
+ n].value = 0;

A view source shows...


SHIPPED
SHIPPED AVAILABLE
DISCONTINUED
OUT OF STOCK



SHIPPED
SHIPPED AVAILABLE
DISCONTINUED
OUT OF STOCK


Is the value of the pulldown nor correct?


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: random cfc

2006-12-28 Thread Christopher Jordan
Okay. I'm gonna show some ignorance here. Ready?  Good. :oP

I read your blog entry, Dan, and the entire CFC. I did not read either 
of the other two blog articles you mentioned (so maybe that's where this 
ignorance is coming from).  I understand how your code works. That's not 
my problem.

uh... what's the point? Why would you want to get a random row from a table?

Okay, to be fare, I just thought of one reason. So maybe there are more. 
Are there folks out there clamoring for the ability to get a random 
rows, random directories and random colors?

Random strings and numbers I see more use for, but there are already 
plenty of UDFs written that can obtain a random string of characters 
(numbers included).

I guess I just don't understand. There must be a reason I'm missing. 
Help me. :o)

Cheers,
Chris

Dan Vega wrote:
> All,
> I just created a quick and dirty random cfc component and a quick posting to
> go with it. I could really use some feedback on how to split it up if anyone
> gets a chance.
>
> http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC
>
>
>
>   

-- 
http://www.cjordan.info



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
see my previous post regarding the syntax of the select value.

i'd also prefer to see id attributes in the form fields (use the same
value as the 'name' attribute) and in the script, do:

document.getElementById('QTYShipped' + n).value = 0;

also...remember that JS is case sensitive.
also also...if you're going to use the document.formName notation,
make sure you use the actual name of the form instead of 'formName' :D

On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> Hmmm. Not working... Does selOpt need another name, dynamic name?

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Javascript and Dynamic CF Forms

2006-12-28 Thread Che Vilnonis
Hmmm. Not working... Does selOpt need another name, dynamic name?

-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 4:46 PM
To: CF-Talk
Subject: RE: Javascript and Dynamic CF Forms


Geez. That was fast. Thanks... Testing now...


-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 4:42 PM
To: CF-Talk
Subject: Re: Javascript and Dynamic CF Forms





 function updateText(n, selOpt) {
  if (selOpt == "OUT OF STOCK") {
   document.formName.elements["QTYShipped" + n].value = 0;
  }
 }


On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> I have a form with a varied number of form fields (they are
> dynamically created). Two of the form fields are a input box and a 
> select box. I loop through my query and define the form names like so:
>
>  value="1" size="4" maxlength="3">
>
> and
>
> 
> SHIPPED
> SHIPPED AVAILABLE  value="DISCONTINUED">DISCONTINUED
> OUT OF STOCK
> 
>
> How can I, using Javascript, use an onChange event so that when "OUT
> OD STOCK" is selected from the pulldown, the text value is auto 
> changed from 1 to 0. I am getting hung up with the dynamic form names 
> and declaring them in my javascript function.
>
> Hope this makes sense? Che
>
>
> 





~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer
just noticed something...
change 'this.value' to 'this.options[this.selectedIndex].value' (please) :)

On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> Geez. That was fast. Thanks... Testing now...

-- 
Charlie Griefer


"...All the world shall be your enemy, Prince with a Thousand Enemies,
and whenever they catch you, they will kill you. But first they must catch
you, digger, listener, runner, prince with a swift warning.
Be cunning and full of tricks and your people shall never be destroyed."

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


random cfc

2006-12-28 Thread Dan Vega
All,
I just created a quick and dirty random cfc component and a quick posting to
go with it. I could really use some feedback on how to split it up if anyone
gets a chance.

http://www.danvega.org/blog/index.cfm/2006/12/28/Random-CFC



-- 
Thank You
Dan Vega
[EMAIL PROTECTED]
http://www.danvega.org


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Javascript and Dynamic CF Forms

2006-12-28 Thread Che Vilnonis
Geez. That was fast. Thanks... Testing now...


-Original Message-
From: Charlie Griefer [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 4:42 PM
To: CF-Talk
Subject: Re: Javascript and Dynamic CF Forms





 function updateText(n, selOpt) {
  if (selOpt == "OUT OF STOCK") {
   document.formName.elements["QTYShipped" + n].value = 0;
  }
 }


On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> I have a form with a varied number of form fields (they are 
> dynamically created). Two of the form fields are a input box and a 
> select box. I loop through my query and define the form names like so:
>
>  value="1" size="4" maxlength="3">
>
> and
>
> 
> SHIPPED
> SHIPPED AVAILABLE  value="DISCONTINUED">DISCONTINUED
> OUT OF STOCK
> 
>
> How can I, using Javascript, use an onChange event so that when "OUT 
> OD STOCK" is selected from the pulldown, the text value is auto 
> changed from 1 to 0. I am getting hung up with the dynamic form names 
> and declaring them in my javascript function.
>
> Hope this makes sense? Che
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Javascript and Dynamic CF Forms

2006-12-28 Thread Charlie Griefer



 function updateText(n, selOpt) {
  if (selOpt == "OUT OF STOCK") {
   document.formName.elements["QTYShipped" + n].value = 0;
  }
 }


On 12/28/06, Che Vilnonis <[EMAIL PROTECTED]> wrote:
> I have a form with a varied number of form fields (they are dynamically
> created). Two of the form fields are a input box and a select box. I loop
> through my query and define the form names like so:
>
>  size="4" maxlength="3">
>
> and
>
> 
> SHIPPED
> SHIPPED AVAILABLE
> DISCONTINUED
> OUT OF STOCK
> 
>
> How can I, using Javascript, use an onChange event so that when "OUT OD
> STOCK" is selected from the pulldown, the text value is auto changed from 1
> to 0. I am getting hung up with the dynamic form names and declaring them in
> my javascript function.
>
> Hope this makes sense? Che
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Javascript and Dynamic CF Forms

2006-12-28 Thread Che Vilnonis
I have a form with a varied number of form fields (they are dynamically
created). Two of the form fields are a input box and a select box. I loop
through my query and define the form names like so:



and


SHIPPED
SHIPPED AVAILABLE
DISCONTINUED
OUT OF STOCK


How can I, using Javascript, use an onChange event so that when "OUT OD
STOCK" is selected from the pulldown, the text value is auto changed from 1
to 0. I am getting hung up with the dynamic form names and declaring them in
my javascript function.

Hope this makes sense? Che


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: cfqueryparam DECREASES performance?

2006-12-28 Thread Richard Kroll
> You might want to take a look at your query execution plan, and see
what's
> different when using a prepared statement.

I know how to see the query execution plan on MSSQL, but how do you see
it compared to a prepared statement?

Rich Kroll

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Simple source control

2006-12-28 Thread Richard Kroll
> 
>  >>Yes. But why would would you want to automatically download code
from
> there?
> 
> To make sure that a programmer will get the last version before he
> starts working on a file.
> At least, this should be checked by the system when a user request a
> lock on a file.
> 

Making sure that you are working on the latest version of a file is not
automatic, but does not hurt anything if it is not the latest either.
When the developer attempts to commit their changes, SVN will simply
notify them that their code is out of date and force them to update
their local copy prior to committing.  When they update, any conflicts
will be caught, merged / fixed, and they are then free to commit the
changes.

I think this is beginning to become a relentless circle of you
challenging source control systems and people that use them offering up
solutions to the challenges you propose.  In any event, you have heard
from every response that a SCM tool will solve the problems you are
facing as well as many problems you have YET to face.  Each SCM tool
that has been proposed (CVS, SVN, VSS), now it is just a matter of
deciding which will best suit your needs.  I've personally given you
advice based on experience walking the road that you seem to be
currently on.  You can take it or discard it, but the answers from this
list are going to stay the same:  You need a source control tool.  And
the 3 that are most widely used are:

SVN - Based on CVS and addresses some of its shortcomings
CVS - Tried and true with some small limitations.
VSS - M$'s SCM and IMO a pain to work with.

HTH 

Rich Kroll

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: cfqueryparam DECREASES performance?

2006-12-28 Thread Jochem van Dieten
Greg Luce wrote:
> OK, I must have something wrong here. I've only heard good things about
> cfqueryparam on this list for both security and performance. A client sent
> me an ugly report that times out for them. I spent an hour going through it
> and applying cfqueryparams to each variable in the many queries with
> appropriate datatypes. I threw a cfsetting tag in to increase the request
> timeout and the report runs in roughly about 512687 ms, restarted MSSQL
> server and CFMX7, then with the cfqueryparams the same query that was
> running in 5282ms in the old code, now takes 15094ms.

Happens on occasion. The most common cause is that the database is unable to 
optimize the execution plan when the cfqueryparam is present. See 
http://www.microsoft.com/technet/prodtechnol/sql/2005/recomp.mspx for more 
details on the (re)compilation and optimization strategies in MS SQL Server or 
put the query and the execution plan with and without the cfqueryparam online 
somewhere.

Jochem

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Damien McKenna
On 12/28/06 3:55 PM, Claude Schneegans wrote:
> Thanks to everyone for your feedback on that subject.

You're very welcome.

> I appreciate all your comments, even if I'm aware that most of them came
> from people working on fairly large applications, with tens of developers,
> which is definitely not what I am involved in.

As the saying goes, I'm an army of one, and even for little olde me the
benefits *far* outweigh the tiny amount of hassle.  I could probably wager
that everyone who uses a revision management system has had their ass(et)s
and possibly their jobs saved at least once by using it.

-- 
Damien McKenna - Web Developer [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Claude Schneegans
Thanks to everyone for your feedback on that subject.
I appreciate all your comments, even if I'm aware that most of them came 
from people
working on fairly large applications, with tens of developers, which is 
definitely
not what I am involved in.
But thanks anyway.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Calling a ColdFusion Function with Javascript

2006-12-28 Thread Ioannis Papanikolaou
Thank you very much for your responces. At the moment I know where to focus and 
what direction to follow in order to achive it. Again thanx a lot for your time.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Date Comparison

2006-12-28 Thread Jim Wright
Christopher Jordan wrote:
> DateDiff("", Date1, Date2)
> 
> Where Date1 and Date2 are valid CF Date/Time objects.
> 
> the datepart "" is in years.
> the datepart "y" is days of the year (1-365?) same as "d" for days.

Just a note since he didn't say if he wanted to do this on the CF side, 
or the db side...
CF...
#datediff("","12/31/2006","1/1/2007")# = 0

SQL Server...
SELECT datediff(,'12/31/2006','1/1/2007') = 1

SQL Server is counting thresholds, whereas CF is counting whole units. 
I believe that is also the behavior in Access.  The MySQL datediff 
function is only for whole days, and I'm not sure if Postgres has one.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Getting file status with CFFTP

2006-12-28 Thread Claude Schneegans
 >>As I know all current ftp servers support "*nix like" features and 
queries.

Actually, I'm using FTP Voyager on a Windows FTP server, and I can get 
and set all those file attributes.
The way I could do the same thing with CFFTP is not quite clear however.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Getting file status with CFFTP

2006-12-28 Thread Oğuz Demirkapı
In tis case, ftp client is more important than ftp server.

As I know all current ftp servers support "*nix like" features and queries.


Dave Watts wrote:
>> CF docs about CFFTP says:
>>
>> "If |action = "listDir"|, a |mode| column is returned. The 
>> column contains an octal string representation of UNIX 
>> permissions; for example, "|777|."
>>
>> What if the server is under Window?
>> Will CFFTP still return file status � la Unix?, or no status at all?
>> 
>
> I suspect that this will depend somewhat on the specific FTP server you're
> running.
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
>   

-- 

~~~

Oğuz Demirkapı

TeraTech Inc. | Senior Developer
405 East Gude Dr Suite 207, Rockville, MD 20850, USA
Voice: +1 (301) 424-3903 ext 111 | Fax: +1 (301) 762-8185
Web: http://www.teratech.com | E-mail: oguz.demirkapi  teratech.com
Winner in CFDJ awards Best Consulting. Member Team Fusebox.

~~~


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Getting file status with CFFTP

2006-12-28 Thread Dave Watts
> CF docs about CFFTP says:
> 
> "If |action = "listDir"|, a |mode| column is returned. The 
> column contains an octal string representation of UNIX 
> permissions; for example, "|777|."
> 
> What if the server is under Window?
> Will CFFTP still return file status à la Unix?, or no status at all?

I suspect that this will depend somewhat on the specific FTP server you're
running.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Date Comparison

2006-12-28 Thread Christopher Jordan
DateDiff("", Date1, Date2)

Where Date1 and Date2 are valid CF Date/Time objects.

the datepart "" is in years.
the datepart "y" is days of the year (1-365?) same as "d" for days.

Cheers,
Chris


Nick G wrote:
> What is the syntax of finding the difference in years between two date 
> fields? 
> For example I'm selecting a field from a database and trying to find the 
> difference between that and todays date?
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Getting the value or innerHTML of an FCKEditor field using DOM

2006-12-28 Thread michael acadia
You need to use the FCKeditorAPI to get at the value:

oEditor = FCKeditorAPI.GetInstance('art_article');
myValue = escape(oEditor.GetXHTML(oEditor.FormatOutput));

I know this is in the documentation somewhere, but I found it too long 
ago to point you to the specific part.

HTH,
Michael

--
michael acadia | [EMAIL PROTECTED]

Andy Matthews wrote:
> I thought this would be fairly straightforward but it appears to be causing
> me some distress. I need to get the value of an FCKEditor field for
> transmission using AJAX. However, when I reference the fields ID, I get a
> blank result when there is definitely content in it. Can someone shed some
> light on this for me? Below is the HTML that is generated when I instantiate
> the FCKEditor.
> 
> 
>  style="display:none" />
>  />
>  src="/admin/includes/fckeditor/editor/fckeditor.html?InstanceName=art_articl
> e&Toolbar=SmallSet" width="100%" height="250" frameborder="no"
> scrolling="no">
> 


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Date Comparison

2006-12-28 Thread Charlie Griefer
http://livedocs.macromedia.com/coldfusion/7/htmldocs/0440.htm

On 12/28/06, Nick G <[EMAIL PROTECTED]> wrote:
> What is the syntax of finding the difference in years between two date fields?
> For example I'm selecting a field from a database and trying to find the 
> difference between that and todays date?
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: cfqueryparam DECREASES performance?

2006-12-28 Thread Dave Watts
> OK, I must have something wrong here. I've only heard good 
> things about cfqueryparam on this list for both security and 
> performance. A client sent me an ugly report that times out 
> for them. I spent an hour going through it and applying 
> cfqueryparams to each variable in the many queries with 
> appropriate datatypes. I threw a cfsetting tag in to increase 
> the request timeout and the report runs in roughly about 
> 512687 ms, restarted MSSQL server and CFMX7, then with the 
> cfqueryparams the same query that was running in 5282ms in 
> the old code, now takes 15094ms.

Those good things are somewhat general - I've seen several cases where using
CFQUERYPARAM decreases performance, and many more where the performance gain
is negligible. If you need it for security reasons, though, you should
probably just keep it.

You might want to take a look at your query execution plan, and see what's
different when using a prepared statement.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Date Comparison

2006-12-28 Thread Nick G
What is the syntax of finding the difference in years between two date fields? 
For example I'm selecting a field from a database and trying to find the 
difference between that and todays date?

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Getting the value or innerHTML of an FCKEditor field using DOM

2006-12-28 Thread Andy Matthews
I thought this would be fairly straightforward but it appears to be causing
me some distress. I need to get the value of an FCKEditor field for
transmission using AJAX. However, when I reference the fields ID, I get a
blank result when there is definitely content in it. Can someone shed some
light on this for me? Below is the HTML that is generated when I instantiate
the FCKEditor.







Any ideas?




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: cfqueryparam DECREASES performance?

2006-12-28 Thread Doug Bezona
> CFQUERYPARAM does increase the amount of processing that is required
> to run a query on the first execution, but subsequent executions
> should be faster (assuming your database can leverage prepared
> statements).  

I would add that there is a limit to how long a database will cache a
prepared statement, so if it's something that is run infrequently (as
presumably a long running report is), you may never see any performance
benefits at all.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: cfqueryparam DECREASES performance?

2006-12-28 Thread Barney Boisvert
CFQUERYPARAM does increase the amount of processing that is required
to run a query on the first execution, but subsequent executions
should be faster (assuming your database can leverage prepared
statements).  I have seen CFQUERYPARAM creating a dramatic increase
(as you see) in query execution times once or twice.  I can't recall
exactly the scenario, however.

As long as you do proper data validation and cleanup, it's safe to
leave the CFQUERYPARAMs out to save that 10 seconds, but make sure
your validation is *tight*.

cheers,
barneyb

On 12/28/06, Greg Luce <[EMAIL PROTECTED]> wrote:
> OK, I must have something wrong here. I've only heard good things about
> cfqueryparam on this list for both security and performance. A client sent
> me an ugly report that times out for them. I spent an hour going through it
> and applying cfqueryparams to each variable in the many queries with
> appropriate datatypes. I threw a cfsetting tag in to increase the request
> timeout and the report runs in roughly about 512687 ms, restarted MSSQL
> server and CFMX7, then with the cfqueryparams the same query that was
> running in 5282ms in the old code, now takes 15094ms.
>
> Any ideas?
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


cfqueryparam DECREASES performance?

2006-12-28 Thread Greg Luce
OK, I must have something wrong here. I've only heard good things about
cfqueryparam on this list for both security and performance. A client sent
me an ugly report that times out for them. I spent an hour going through it
and applying cfqueryparams to each variable in the many queries with
appropriate datatypes. I threw a cfsetting tag in to increase the request
timeout and the report runs in roughly about 512687 ms, restarted MSSQL
server and CFMX7, then with the cfqueryparams the same query that was
running in 5282ms in the old code, now takes 15094ms.

Any ideas?


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Michael Traher
Hi Claude, I think many of us who have implemented source control will
recognize the issues and concerns you are grappling with - they are quite
natural. What I would say is that I wish I had tried a pilot of CVS/SVN
sooner rather than all the worrying and discussing I did over a couple of
months :-)

In other words give it a try on a smallish project maybe even a pretend
project and play out several of the scenarios that concern you.

Even before we had deployment fully sorted out, having CVS was far better
than not having it.

On 12/28/06, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>
> >>Yes. But why would would you want to automatically download code from
> there?
>
> To make sure that a programmer will get the last version before he
> starts working on a file.
> At least, this should be checked by the system when a user request a
> lock on a file.
>
> --
> ___
> REUSE CODE! Use custom tags;
> See http://www.contentbox.com/claude/customtags/tagstore.cfm
> (Please send any spam to this address: [EMAIL PROTECTED])
> Thanks.
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: how do I reunite 2 separate requests

2006-12-28 Thread Michael Traher
It is similar except that its all pages returned to the user are from our
site.
Thanks for the response - I think its starting to unscrabble in my head now
:-)

On 12/28/06, Will Tomlinson <[EMAIL PROTECTED]> wrote:
>
> This kinda sounds like Paypal Integration. They have PDT and IPN.
> Before the user moves to paypal's site, I log the order as unfinished/not
> approved, etc.
>
> I send the cfid and token in the url to paypal. The user does their thing
> at paypal, bounces back to my site with cfid/token in url, I display some
> info. Then in the background, paypal calls my IPN template with an IPN. I
> update the db order info there. This way, if the user quits at paypal or
> closes their browser and never makes it back to my site, the sale still
> processed via my IPN template.
>
> It just sounds a lil similar.
>
> Will
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: how do I reunite 2 separate requests

2006-12-28 Thread Michael Traher
Thanks, I think I see how this works - thanks for the help.

On 12/28/06, Katz, Dov B (IT) <[EMAIL PROTECTED]> wrote:
>
> If things are pretty much guaranteed to happen in a few second window
> (you may want to ask them of average response time), you might want to
> make something like the pseudocode below:
>
> PendingTransaction.cfc
> {
> _uniqueID= createUUID();
> _data: struct
> _response : ""; // simplevalue
> function init(struct d){ this._data=d;}
> function  getData(){ return _data}
> function  getUniqueID(){ return _uniqueID; }
> function setResponse(struct data){ _response=data;}
> function isComplete( return not isSimplevalue(_response);}
> function getResponse(){ return _response;}
>
> }
>
> PendingTransactionManager.cfc
> {
> _allTxns=structnew();
> function createTransaction(Struct data){
> t=new PendingTransaction().init(data);
> _allTxns[t.getUniqueID()]=t;
>   return t;
> }
>
>   function updateTransaction(id, struct data){
> _allTxns[id].setResponse(data);
> // do some DB operation
> }
>
>   function processTransaction(PendingTransaction t){
>   // add data to DB
> // do payment stuff
> while(NOT t.iscomplete()){
> sleep (100 milliseconds);
> }
> return t;
>   }
> }
>
> 
>
> Then in your code you set up Application.TxnManager=new
> PendingTransactionManager();
>
> Success.cfm:
> application.txnManager.updateTransaction(form.someID,form);
> Error.cfm:  application.txnManager.updateTransaction(form.someID,form);
> Whatever.cfm:
> application.txnManager.updateTransaction(form.someID,form);
>
> And in your act_pay.cfm you do this...
>
> 
> Txn=Application.TxnManager.createTransaction(form);
> // this blocks until you get the response
> Application.TxnManager.processTransaction(txn);
>
> Use info from txn.getResponse()
> 
>
> -Original Message-
> From: Michael Traher [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 28, 2006 11:30 AM
> To: CF-Talk
> Subject: Re: how do I reunite 2 separate requests
>
> Thanks Russ,
>
> Yes I guess getting the callback page to write to the database, and then
> the original request read and wait for that database value is a way to
> solve this. And yes we do pass a unique transaction reference to
> identify the value - its just a bit clunky compared to it all being in
> one request which is how our other PSP, 'datacash' (who I highly
> recommend BTW) handle things.
>
>
>
> On 12/28/06, Snake <[EMAIL PROTECTED]> wrote:
> >
> > This is a pretty standard callback method, most systems will use it.
> > When you sent the request, you should have the option of sending a
> > custom value, such as your own generated transaction or invoiceID. If
> > not then you could always send the CFID and CFTOKEN.
> > This is what you need to use on the callback page to process the
> > returned data and validate the transaction.
> >
> > So if your orginal request page needs to wait for approval and then do
>
> > something, you could simply check the database for the data saved by
> > your callback page and then you will know if it failed or was
> successful.
> >
> > Russ
> >
> >
> > -Original Message-
> > From: Michael Traher [mailto:[EMAIL PROTECTED]
> > Sent: 28 December 2006 15:45
> > To: CF-Talk
> > Subject: how do I reunite 2 separate requests
> >
> > Need a bit help - my poor ol' brain is struggling with how best to
> > impelment this...
> >
> > I am just starting to integrate this payment service provider into our
>
> > system to handle credit card payments for our customers in the Asia
> > Pacific region.
> >
> > I already use a PSP here in the UK and I have a cfc which nicely
> > implements the process - I feed in credit card, expiry date, amount
> > currency etc etc and after an cfhttp call the cfhttp.filecontent
> > contains the response as an XML packet... nice.
> >
> > For paydollar the implementation is slight different - I still do an
> > cfhttp call but then I have to declare a URL to 'receive the results
> > in realtime'
> > and in addition declare 3 separate pages to display in case of error,
> > decline or success. So paydollar in effect spawn a separate request to
>
> > pass me the results and all I get back in the cfhttp.filecontent is
> > one of the three pages I nominated.
> >
> > So I know broadly if it has been authorised, declined or some error -
> > but the details are in another request!
> >
> > Any ideas on the best way to tie the requests together again? Can the
> > results page know about the correct CF session scope?
> >
> > The nominated 'results URL' is not dynamic with each request by the
> > way - just declared to them once. When it is run however it has access
>
> > to the transactio details in the form scope.
> >
> > I really want to abstract the whole credit card payment so that it
> > will pass to the appropriate PSP behind the scenes and pass bac

Re: Getting file status with CFFTP

2006-12-28 Thread Claude Schneegans
Ok, I found somewhere else that this applies only to Unix.
I have another question then: Is it possible to know if a file is 
read-only using CFFTP?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: how do I reunite 2 separate requests

2006-12-28 Thread Michael Traher
thats OK, because the call and response are on the server - cfhttp and
process cfhttp.filecontent, so if the users browser crashes - it just means
they won't know what happened - but the system does.

On 12/28/06, Snake <[EMAIL PROTECTED]> wrote:
>
> Well there is a potential problem with that method. What if the users
> browser crashes, they close the browser,  their internet connection drops,
> the page times out etc. Then the data will never be returned. Thus why
> having a separate callback that happens behind the scenes is useful.
>
> Russ
>
>
-- 
Mike T
Blog http://www.socialpoints.com/


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Getting file status with CFFTP

2006-12-28 Thread Claude Schneegans
Hi,

CF docs about CFFTP says:

"If |action = "listDir"|, a |mode| column is returned. The column 
contains an octal string representation of UNIX permissions; for 
example, "|777|."

What if the server is under Window?
Will CFFTP still return file status à la Unix?, or no status at all?

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Jochem van Dieten
Claude Schneegans wrote:
>> Yes. But why would would you want to automatically download code from 
>> there?
>
> To make sure that a programmer will get the last version before he 
> starts working on a file.
> At least, this should be checked by the system when a user request a 
> lock on a file.

Personally I think consistency is much more important then recency. I wouldn't 
want to start working on version 4 of file X, then check out file Y a few hours 
later only to discover that somebody updated the repository and I get version 6 
of file Y that conflicts with version 4 of file X. I would want to continue 
working on version 4 of file Y until my part works, update my working copy with 
the changes from the repository for both file X and file Y, check the 
functionality and then push them both to the repository. If I do that, at every 
point in time both the repository and my working copy are consistent.

Jochem

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFFORM Type = Flash issue

2006-12-28 Thread Jake Churchill
try adding a size attribute to the cfform tag that will allow the form 
to display all elements without scrolling

Bruce Sorge wrote:
> Hello list and Happy New Year!
> I am creating an app that is using Flash Forms. The form I have works great
> in IE. I can see the entire form. However, in FireFox the form does not show
> completely. It is in a box that I have to scroll down to use. Here is the
> code: (I commented out the CFSELECT tags as they require a query that is not
> included in this code)
>
> 
> 
> 
>  message="Please Enter Your First Name" size="20" />
>  message="Please Enter Your Last Name" size="20" />
>  message="Please Enter Your Address" size="30" />
>  size="30" />
>  message="Please Enter Your City" size="30" />
> 
>  message="Please Enter Your Zip Code" size="10" />
>  required="yes" message="Please Enter Your Email Address" size="30" />
>
>  required="yes" message="Please Enter the Last 4 of Your ID Number" size="4"
> />
> 
>
> 
> 
> 
> 
>
>   

-- 
Jake Churchill
CF Webtools
11204 Davenport, Ste. 200b
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Claude Schneegans
 >>Yes. But why would would you want to automatically download code from 
there?

To make sure that a programmer will get the last version before he 
starts working on a file.
At least, this should be checked by the system when a user request a 
lock on a file.

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


CFFORM Type = Flash issue

2006-12-28 Thread Bruce Sorge
Hello list and Happy New Year!
I am creating an app that is using Flash Forms. The form I have works great
in IE. I can see the entire form. However, in FireFox the form does not show
completely. It is in a box that I have to scroll down to use. Here is the
code: (I commented out the CFSELECT tags as they require a query that is not
included in this code)












   








-- 
Bruce Sorge


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Simple source control

2006-12-28 Thread Steve Brownlee
Claude:

First off, what you want doesn't exist and I think you need to
understand that initially.  What does exist, however, are source control
packages that WILL save you time and headaches in the future working in
a team environment.

That said, the next thing you need to understand is that there are
policies that need to be followed when working with source control.  One
of your questions...

"Ok, but what if they don't? They can create a new version from an
obsolete copy?"

Standard source control policy dictates that before you being any work
at all, you lock and download the latest copy of the file from the
repository.  If a developer submitted code changes on a file that (s)he
did not lock and update first would get severe disciplinary action in
the first instance.  Any subsequent instances would get them fired.

To cover another remark...

"and overwrite some more latest code already pushed by someone else?"

Again, policy.  You designate one person as the build coordinator who is
the final, absolute, total overseer of when a tag is released to your
production server.  No overwriting possible in that case, and even if
you had a rogue employee who decided to do their own publish of the
code, then once you've fired them, you simply go back in your code
repository and get the build you want.  Nothing is ever lost and you can
always recover.

And lastly...

"Well, I may be wrong, but my vision of a source control system is to
manage things so that they don't need to be fixed"

Imagine the above scenarios if you DIDN'T have source control.
Catastrophic.  With source control?  Easily managed.  Just remember is a
mixture of the right policies and the right tools.  

Source control prevents problems.  Absolutely, unequivocally, and has a
solid track record to prove it.

Good luck!


Steve Brownlee
http://www.fusioncube.net/ 

-Original Message-
From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 11:37 AM
To: CF-Talk
Subject: Re: Simple source control

 >>You have all of the previous versions available to you so you can
easily fix things,

Well, I may be wrong, but my vision of a source control system is to
manage things so that they don't need to be fixed.;-)

If it is  to create problems and  then fix them, I don't really need any
tool for this ;-)

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Jochem van Dieten
Claude Schneegans wrote:
>> when the user logs into what?
> 
> Well, there must be some repository manager on the server, no?

Yes. But why would would you want to automatically download code from there? 
Only exchange code with the repository when you explicitly want to and have 
authorized the changesets going in both ways.


>> users have to go and fetch the latest versions.  Its really
>> simple in Eclipse, right-click > Team > Update...done!
> 
> Ok, but what if they don't? They can create a new version from an 
> absolete copy?

Of course. That is how you fix bad fixes. You just have to jump through a few 
hoops when you want to check in code based on old code because a conflict will 
be detected and you need to manually resolve the conflict and overwrite the new 
version.


> >>Using  asimple ANT script, you can get all th latest code from the
> >>repository and push it to a serverbammm!
>
>... and overwrite some more latest code already pushed by someone 
>else? BADA! ;-)

There is no 'more latest code'. The repository is authoritative, if the 
repository says it is the latest code it is the latest code.

Jochem

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Simple source control

2006-12-28 Thread Doug Bezona
> Well, I may be wrong, but my vision of a source control system is to
> manage things so that they don't need to be fixed.;-)

No system can entirely prevent human error (and modifying stale code
because you didn't do an update is human error), source control systems
just dramatically reduce the impact when they occur. 

All source control systems in existence, regardless of the model,
require a certain amount of knowledge and discipline from the developers
to use properly, but it's still far less problematic than not using such
a system and having your code being arbitrarily edited by multiple
people with no way to track who changed what when, and to recover from
the problems that inevitably arise.

> If it is  to create problems and  then fix them, I don't really need
any
> tool for this ;-)

Yeah, source control is all about creating problems. That's why everyone
uses it - we just like making problems for ourselves. *sigh*

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: how do I reunite 2 separate requests

2006-12-28 Thread Will Tomlinson
This kinda sounds like Paypal Integration. They have PDT and IPN. 
Before the user moves to paypal's site, I log the order as unfinished/not 
approved, etc. 

I send the cfid and token in the url to paypal. The user does their thing at 
paypal, bounces back to my site with cfid/token in url, I display some info. 
Then in the background, paypal calls my IPN template with an IPN. I update the 
db order info there. This way, if the user quits at paypal or closes their 
browser and never makes it back to my site, the sale still processed via my IPN 
template. 

It just sounds a lil similar. 

Will

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Damien McKenna
On 12/28/06 11:37 AM, Claude Schneegans wrote:
>> You have all of the previous versions available to you so you
>> can easily fix things,
> 
> Well, I may be wrong, but my vision of a source control system is to
> manage things so that they don't need to be fixed.;-)

There's only so much magic a tool can do for you, at some point you are
going to have to, you know, do some work too.  If your developers aren't
able to cope with not messing up each other's work then you should either
give them the tools they need to more easily work as a team (i.e. svn,
Mantis, etc) or get them a new project manager who understands team
workflows.  I've worked with people who didn't understand this need and
ultimately they killed the company (over 100 jobs) due to their lack of
knowledge.

> If it is  to create problems and  then fix them, I don't really need any
> tool for this ;-)

SVN *fixes* problems, not create them.  You already have a huge problem
given that you have no revision management, SVN is a solution to this
problem and something like Mantis or Trac can help you manage the
development team to coordinate everyone's efforts.

-- 
Damien McKenna - Web Developer [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: how do I reunite 2 separate requests

2006-12-28 Thread Katz, Dov B \(IT\)
If things are pretty much guaranteed to happen in a few second window
(you may want to ask them of average response time), you might want to
make something like the pseudocode below:

PendingTransaction.cfc
{
 _uniqueID= createUUID();
 _data: struct
 _response : ""; // simplevalue
 function init(struct d){ this._data=d;}
function  getData(){ return _data}
function  getUniqueID(){ return _uniqueID; }
 function setResponse(struct data){ _response=data;}
 function isComplete( return not isSimplevalue(_response);}
 function getResponse(){ return _response;}
 
}

PendingTransactionManager.cfc
{
_allTxns=structnew();
function createTransaction(Struct data){
t=new PendingTransaction().init(data);
_allTxns[t.getUniqueID()]=t;
  return t;
}  

  function updateTransaction(id, struct data){
_allTxns[id].setResponse(data);
// do some DB operation
}

  function processTransaction(PendingTransaction t){
  // add data to DB
// do payment stuff
while(NOT t.iscomplete()){
sleep (100 milliseconds);
}
return t;
  }
}



Then in your code you set up Application.TxnManager=new
PendingTransactionManager();

Success.cfm:
application.txnManager.updateTransaction(form.someID,form);
Error.cfm:  application.txnManager.updateTransaction(form.someID,form);
Whatever.cfm:
application.txnManager.updateTransaction(form.someID,form);

And in your act_pay.cfm you do this...


Txn=Application.TxnManager.createTransaction(form);
// this blocks until you get the response
Application.TxnManager.processTransaction(txn);

Use info from txn.getResponse()


-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 28, 2006 11:30 AM
To: CF-Talk
Subject: Re: how do I reunite 2 separate requests

Thanks Russ,

Yes I guess getting the callback page to write to the database, and then
the original request read and wait for that database value is a way to
solve this. And yes we do pass a unique transaction reference to
identify the value - its just a bit clunky compared to it all being in
one request which is how our other PSP, 'datacash' (who I highly
recommend BTW) handle things.



On 12/28/06, Snake <[EMAIL PROTECTED]> wrote:
>
> This is a pretty standard callback method, most systems will use it.
> When you sent the request, you should have the option of sending a 
> custom value, such as your own generated transaction or invoiceID. If 
> not then you could always send the CFID and CFTOKEN.
> This is what you need to use on the callback page to process the 
> returned data and validate the transaction.
>
> So if your orginal request page needs to wait for approval and then do

> something, you could simply check the database for the data saved by 
> your callback page and then you will know if it failed or was
successful.
>
> Russ
>
>
> -Original Message-
> From: Michael Traher [mailto:[EMAIL PROTECTED]
> Sent: 28 December 2006 15:45
> To: CF-Talk
> Subject: how do I reunite 2 separate requests
>
> Need a bit help - my poor ol' brain is struggling with how best to 
> impelment this...
>
> I am just starting to integrate this payment service provider into our

> system to handle credit card payments for our customers in the Asia 
> Pacific region.
>
> I already use a PSP here in the UK and I have a cfc which nicely 
> implements the process - I feed in credit card, expiry date, amount 
> currency etc etc and after an cfhttp call the cfhttp.filecontent 
> contains the response as an XML packet... nice.
>
> For paydollar the implementation is slight different - I still do an 
> cfhttp call but then I have to declare a URL to 'receive the results 
> in realtime'
> and in addition declare 3 separate pages to display in case of error, 
> decline or success. So paydollar in effect spawn a separate request to

> pass me the results and all I get back in the cfhttp.filecontent is 
> one of the three pages I nominated.
>
> So I know broadly if it has been authorised, declined or some error - 
> but the details are in another request!
>
> Any ideas on the best way to tie the requests together again? Can the 
> results page know about the correct CF session scope?
>
> The nominated 'results URL' is not dynamic with each request by the 
> way - just declared to them once. When it is run however it has access

> to the transactio details in the form scope.
>
> I really want to abstract the whole credit card payment so that it 
> will pass to the appropriate PSP behind the scenes and pass back a 
> standard response and codes.
>
> confused of UK
>
> --
> Mike T
> Blog http://www.socialpoints.com/
>
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.c

RE: Simple source control

2006-12-28 Thread Doug Bezona
>  >>when the user logs into what?
> 
> Well, there must be some repository manager on the server, no?

There is - it comes into play when the user performs an operation
against the repository, i.e. an update or a commit. Since your working
copy is a disconnected resource until you initiate an interaction with a
repository, you can't really force an update when the user simply looks
at their files.

>  >>users have to go and fetch the latest versions.  Its really
> simple in Eclipse, right-click > Team > Update...done!
> 
> Ok, but what if they don't? They can create a new version from an
> absolete copy?

If they don't, and the files they are checking in are out of synch with
the repository, then they have to go through the merge process. Merging
is fairly painless if you are working with up-to-date code, but can be
painful if you started from a copy that is several revisions out of
date. 

Believe me, if this sort of thing happens to a developer more than a
couple of times, they tend to get much more responsible about keeping
their working copy updated in the future. You will likely find in
practice that developers tend to update more often than necessary to
avoid this sort of thing as opposed to not frequently enough.

>  >>Using  asimple ANT script, you can get all th latest code from the
>  >>repository and push it to a serverbammm!
> 
>  and overwrite some more latest code already pushed by someone
> else? BADA! ;-)

Generally, you don't just arbitrarily deploy whatever is newest. This is
why source control systems have the ideas of branching and tagging, and
why you can export specific revisions of the code. 

Your deployment process is something you would have to determine based
on your release schedule/requirements. The point is that the mechanics
of doing a deployment can be made very simple by combining the
functionality of the source control system with something like Ant to
automate the process.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: how do I reunite 2 separate requests

2006-12-28 Thread Snake
Well there is a potential problem with that method. What if the users
browser crashes, they close the browser,  their internet connection drops,
the page times out etc. Then the data will never be returned. Thus why
having a separate callback that happens behind the scenes is useful.

Russ

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 16:30
To: CF-Talk
Subject: Re: how do I reunite 2 separate requests

Thanks Russ,

Yes I guess getting the callback page to write to the database, and then the
original request read and wait for that database value is a way to solve
this. And yes we do pass a unique transaction reference to identify the
value - its just a bit clunky compared to it all being in one request which
is how our other PSP, 'datacash' (who I highly recommend BTW) handle things.



On 12/28/06, Snake <[EMAIL PROTECTED]> wrote:
>
> This is a pretty standard callback method, most systems will use it.
> When you sent the request, you should have the option of sending a 
> custom value, such as your own generated transaction or invoiceID. If 
> not then you could always send the CFID and CFTOKEN.
> This is what you need to use on the callback page to process the 
> returned data and validate the transaction.
>
> So if your orginal request page needs to wait for approval and then do 
> something, you could simply check the database for the data saved by 
> your callback page and then you will know if it failed or was successful.
>
> Russ
>
>
> -Original Message-
> From: Michael Traher [mailto:[EMAIL PROTECTED]
> Sent: 28 December 2006 15:45
> To: CF-Talk
> Subject: how do I reunite 2 separate requests
>
> Need a bit help - my poor ol' brain is struggling with how best to 
> impelment this...
>
> I am just starting to integrate this payment service provider into our 
> system to handle credit card payments for our customers in the Asia 
> Pacific region.
>
> I already use a PSP here in the UK and I have a cfc which nicely 
> implements the process - I feed in credit card, expiry date, amount 
> currency etc etc and after an cfhttp call the cfhttp.filecontent 
> contains the response as an XML packet... nice.
>
> For paydollar the implementation is slight different - I still do an 
> cfhttp call but then I have to declare a URL to 'receive the results 
> in realtime'
> and in addition declare 3 separate pages to display in case of error, 
> decline or success. So paydollar in effect spawn a separate request to 
> pass me the results and all I get back in the cfhttp.filecontent is 
> one of the three pages I nominated.
>
> So I know broadly if it has been authorised, declined or some error - 
> but the details are in another request!
>
> Any ideas on the best way to tie the requests together again? Can the 
> results page know about the correct CF session scope?
>
> The nominated 'results URL' is not dynamic with each request by the 
> way - just declared to them once. When it is run however it has access 
> to the transactio details in the form scope.
>
> I really want to abstract the whole credit card payment so that it 
> will pass to the appropriate PSP behind the scenes and pass back a 
> standard response and codes.
>
> confused of UK
>
> --
> Mike T
> Blog http://www.socialpoints.com/
>
>
>
>
> 



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Claude Schneegans
 >>You have all of the previous versions available to you so you
can easily fix things,

Well, I may be wrong, but my vision of a source control system is to 
manage things so that they don't need to be fixed.;-)

If it is  to create problems and  then fix them, I don't really need any 
tool for this ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Michael Traher
On 12/28/06, Claude Schneegans <[EMAIL PROTECTED]> wrote:
>
>
>
>  and overwrite some more latest code already pushed by someone
> else? BADA! ;-)


What happens is that you always deploy from the repository - not from an
individuals copy. so you deploy from the latest committed version.


-- 
Mike T
Blog http://www.socialpoints.com/


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Damien McKenna
On 12/28/06 11:28 AM, Claude Schneegans wrote:
>> users have to go and fetch the latest versions.  Its really
>> simple in Eclipse, right-click > Team > Update...done!
> 
> Ok, but what if they don't? They can create a new version from an
> absolete copy?

So?  You have a complete record of all changes made so it is easy to go back
and see what has changed.

>> Using  asimple ANT script, you can get all th latest code from the
>> repository and push it to a serverbammm!
> 
>  and overwrite some more latest code already pushed by someone
> else? BADA! ;-)

See above.  You have all of the previous versions available to you so you
can easily fix things, as opposed to being stuck not knowing what
modifications have been made.
 
-- 
Damien McKenna - Web Developer [EMAIL PROTECTED]
The Limu Company - http://www.thelimucompany.com/ - 407-804-1014
#include 




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: how do I reunite 2 separate requests

2006-12-28 Thread Michael Traher
Thanks Russ,

Yes I guess getting the callback page to write to the database, and then the
original request read and wait for that database value is a way to solve
this. And yes we do pass a unique transaction reference to identify the
value - its just a bit clunky compared to it all being in one request which
is how our other PSP, 'datacash' (who I highly recommend BTW) handle things.



On 12/28/06, Snake <[EMAIL PROTECTED]> wrote:
>
> This is a pretty standard callback method, most systems will use it.
> When you sent the request, you should have the option of sending a custom
> value, such as your own generated transaction or invoiceID. If not then
> you
> could always send the CFID and CFTOKEN.
> This is what you need to use on the callback page to process the returned
> data and validate the transaction.
>
> So if your orginal request page needs to wait for approval and then do
> something, you could simply check the database for the data saved by your
> callback page and then you will know if it failed or was successful.
>
> Russ
>
>
> -Original Message-
> From: Michael Traher [mailto:[EMAIL PROTECTED]
> Sent: 28 December 2006 15:45
> To: CF-Talk
> Subject: how do I reunite 2 separate requests
>
> Need a bit help - my poor ol' brain is struggling with how best to
> impelment
> this...
>
> I am just starting to integrate this payment service provider into our
> system to handle credit card payments for our customers in the Asia
> Pacific
> region.
>
> I already use a PSP here in the UK and I have a cfc which nicely
> implements
> the process - I feed in credit card, expiry date, amount currency etc etc
> and after an cfhttp call the cfhttp.filecontent contains the response as
> an
> XML packet... nice.
>
> For paydollar the implementation is slight different - I still do an
> cfhttp
> call but then I have to declare a URL to 'receive the results in realtime'
> and in addition declare 3 separate pages to display in case of error,
> decline or success. So paydollar in effect spawn a separate request to
> pass
> me the results and all I get back in the cfhttp.filecontent is one of the
> three pages I nominated.
>
> So I know broadly if it has been authorised, declined or some error - but
> the details are in another request!
>
> Any ideas on the best way to tie the requests together again? Can the
> results page know about the correct CF session scope?
>
> The nominated 'results URL' is not dynamic with each request by the way -
> just declared to them once. When it is run however it has access to the
> transactio details in the form scope.
>
> I really want to abstract the whole credit card payment so that it will
> pass
> to the appropriate PSP behind the scenes and pass back a standard response
> and codes.
>
> confused of UK
>
> --
> Mike T
> Blog http://www.socialpoints.com/
>
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


IE Active Content bug

2006-12-28 Thread Jacob Munson
First of all, I'm very familiar with the whole Eolas thing, and followed
that whole mess carefully.

I've got a flash cfform I'm working on that is making me click on it to
activate the form in IE.  Our ColdFusion server /is/ patched up to 7.0.2, so
it is my understanding that I shouldn't see that anymore.  I've got IE 6
with Flash Player 9 on this machine.  However, if I try the form in IE 7
(different machine) with flash player 9 it works as expected.  The weird
thing is that on a 3rd machine, with IE 6 and Flash Player 9, the form works
as expected.

What gives?

-- 
My Sites:
http://www.techfeed.net/blog/
http://www.cfquickdocs.com/
http://cfformprotect.riaforge.org/


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Claude Schneegans
 >>when the user logs into what?

Well, there must be some repository manager on the server, no?

 >>users have to go and fetch the latest versions.  Its really
simple in Eclipse, right-click > Team > Update...done!

Ok, but what if they don't? They can create a new version from an 
absolete copy?

 >>Using  asimple ANT script, you can get all th latest code from the
 >>repository and push it to a serverbammm!

 and overwrite some more latest code already pushed by someone 
else? BADA! ;-)

-- 
___
REUSE CODE! Use custom tags;
See http://www.contentbox.com/claude/customtags/tagstore.cfm
(Please send any spam to this address: [EMAIL PROTECTED])
Thanks.


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread C. Hatton Humphrey
On 12/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> he who commits first wins, eh?  Second place entires have to be merged IF
> there is a conflict.  Sure, lock the files, but this defeats the purpose of
> 'concurrent versions' to steal a term from the CVS world.

I think the point is that if locking and "concurrency" are mutually
exclusive terms.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: CFC vs Customtag performance.

2006-12-28 Thread Snake
The instantiation of a CFC does in fact add execution time, so it will be
having an impact on his reults.
If instantiating a CFC took no time at all, then there would be no reason to
cache them in a persistent scope.

There may of course be other factors involved too.

Russ

-Original Message-
From: Jochem van Dieten [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 14:56
To: CF-Talk
Subject: Re: CFC vs Customtag performance.

Snake wrote:
> You are getting  your TickCount value prior to instantiating the CFC 
> and also including the init method in the caluclation.
> 
> 
> 
>  createObject("component","string_append").init()>
> 
> If you want to get a representation of time to call an already 
> instantiated CFC, then you should move your  after the
createobject.

That is not his problem. I bet I know where his problem is but since he is
disinclined to share his code and configuration to debug it I am disinclined
to share the solution. 

If you post incomplete questions, you get incomplete answers.

Jochem



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFC vs Customtag performance.

2006-12-28 Thread Jochem van Dieten
Snake wrote:
> You are getting  your TickCount value prior to instantiating the CFC and
> also including the init method in the caluclation.
> 
> 
> 
> 
> 
> If you want to get a representation of time to call an already instantiated
> CFC, then you should move your  after the createobject.

That is not his problem. I bet I know where his problem is but since he is 
disinclined to share his code and configuration to debug it I am disinclined to 
share the solution. 

If you post incomplete questions, you get incomplete answers.

Jochem

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: how do I reunite 2 separate requests

2006-12-28 Thread Snake
This is a pretty standard callback method, most systems will use it.
When you sent the request, you should have the option of sending a custom
value, such as your own generated transaction or invoiceID. If not then you
could always send the CFID and CFTOKEN.
This is what you need to use on the callback page to process the returned
data and validate the transaction.

So if your orginal request page needs to wait for approval and then do
something, you could simply check the database for the data saved by your
callback page and then you will know if it failed or was successful.

Russ
 

-Original Message-
From: Michael Traher [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 15:45
To: CF-Talk
Subject: how do I reunite 2 separate requests

Need a bit help - my poor ol' brain is struggling with how best to impelment
this...

I am just starting to integrate this payment service provider into our
system to handle credit card payments for our customers in the Asia Pacific
region.

I already use a PSP here in the UK and I have a cfc which nicely implements
the process - I feed in credit card, expiry date, amount currency etc etc
and after an cfhttp call the cfhttp.filecontent contains the response as an
XML packet... nice.

For paydollar the implementation is slight different - I still do an cfhttp
call but then I have to declare a URL to 'receive the results in realtime'
and in addition declare 3 separate pages to display in case of error,
decline or success. So paydollar in effect spawn a separate request to pass
me the results and all I get back in the cfhttp.filecontent is one of the
three pages I nominated.

So I know broadly if it has been authorised, declined or some error - but
the details are in another request!

Any ideas on the best way to tie the requests together again? Can the
results page know about the correct CF session scope?

The nominated 'results URL' is not dynamic with each request by the way -
just declared to them once. When it is run however it has access to the
transactio details in the form scope.

I really want to abstract the whole credit card payment so that it will pass
to the appropriate PSP behind the scenes and pass back a standard response
and codes.

confused of UK

--
Mike T
Blog http://www.socialpoints.com/




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Michael Traher
Hi - just like to second what Richard has said below. We have used CVS for
over two years now and cannot think of developments without it. We have
projects distributed over teams in up to 5 countries. Even so CVS coupled
with [CF]ECLIPSE (which has very sweet CVS built in) make working together
possible and easy.

I also worried about locking and merging, but as Richard says conflicts are
fairly rare and when they do crop up it actually highlights early in the
development where there might be some miscommunication in the team. Either
that or it is a trivial 'conflict' that can be merged seemlessly.

I also designed my own 'Source Control' system when I first considered this
issue but soon realised that it was better to go with a tried and tested
system.

I can personally recommend CVS but SVN seems to be the defacto standard for
the community and is basically CVS re-written and improved.

On 12/28/06, Richard Kroll <[EMAIL PROTECTED]> wrote:
>
> Claude,
> I recently went through exactly what you are dealing with now.  Our
> development environment began with all developers working against the
> exact same code base, where developers would overwrite each others
> changes as well as break code during the development process that would
> affect other people.  Don't even get me started on the problems we ran
> into when deploying to production servers.
>
> Our first step into source control was to use Microsoft VSS which used
> the lock model.  This worked ok for a short time but once our
> development team grew, having people constantly forced to wait for files
> to be unlocked became unbearable and began to kill our productivity.
>
> We recently (about 8 months ago) converted to SVN where each developer
> has a local copy of the code, makes their changes and then commits those
> changes to the main code.  With a team of 20 developers constantly
> working with the same files, conflicts happen VERY rarely, and when they
> do it is 99% of the time a miscommunication as to what should be changed
> in that part of the code.  Most of the time when code is committed, SVN
> merges in changes from other developers transparently.  This idea at
> first sounds scary, but in practice it has been a TREMENDOUS advantage
> in terms of productivity, communication, and stability of our code.
>
> The ability to look back in time at our code has been invaluable in
> countless ways.  If a bug was introduced, we can simply merge that
> change out of the code while we fix it.  It truly is an unbelievable
> tool.  The only downside that we've experienced is that the computers we
> use to work on have to be a little more "beefy" to be able to run local
> copies of our applications (CF, SQL, TSVN, Eclipse, etc.).
>
> > IMO the merging solution implies more overhead and clumsiness than no
> > solution at all.
>
> Hopefully I have communicated how this is truly not the case in a real
> world scenario (or at least in ours).  If you have the chance, save
> yourself the growing pains of moving to a lock model, then outgrowing it
> and moving to SVN.  If you are going to have your development team learn
> a new methodology for how they deal with source, have them learn how to
> effectively use SVN.
>
> In the end, we went from a development team of 5 using no source control
> to MS VSS, to over 20 developers using SVN.  I can attest to the
> struggles of converting to source control, as well as not moving to SVN
> first.
>
> I hope that my experiences will help you in your efforts.
>
> HTH,
> Rich Kroll
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


how do I reunite 2 separate requests

2006-12-28 Thread Michael Traher
Need a bit help - my poor ol' brain is struggling with how best to impelment
this...

I am just starting to integrate this payment service provider into our
system to handle credit card payments for our customers in the Asia Pacific
region.

I already use a PSP here in the UK and I have a cfc which nicely implements
the process - I feed in credit card, expiry date, amount currency etc etc
and after an cfhttp call the cfhttp.filecontent contains the response as an
XML packet... nice.

For paydollar the implementation is slight different - I still do an cfhttp
call but then I have to declare a URL to 'receive the results in realtime'
and in addition declare 3 separate pages to display in case of error,
decline or success. So paydollar in effect spawn a separate request to pass
me the results and all I get back in the cfhttp.filecontent is one of the
three pages I nominated.

So I know broadly if it has been authorised, declined or some error - but
the details are in another request!

Any ideas on the best way to tie the requests together again? Can the
results page know about the correct CF session scope?

The nominated 'results URL' is not dynamic with each request by the way -
just declared to them once. When it is run however it has access to the
transactio details in the form scope.

I really want to abstract the whole credit card payment so that it will pass
to the appropriate PSP behind the scenes and pass back a standard response
and codes.

confused of UK

-- 
Mike T
Blog http://www.socialpoints.com/


~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: CFC vs Customtag performance.

2006-12-28 Thread Snake
You are getting  your TickCount value prior to instantiating the CFC and
also including the init method in the caluclation.





If you want to get a representation of time to call an already instantiated
CFC, then you should move your  after the createobject.

-
Russ

-Original Message-
From: Dan Singerman [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 14:05
To: CF-Talk
Subject: Re: CFC vs Customtag performance.

Hi Russ,

If you look at the code what you say is valid for the case of the
uninstantiated CFC (i.e. where createObject is called within the loop)

However, in the instantiated CFC case, where createObject is only called
once, and hence will be in memory for that request (to that file anyway) I
don't think that applies.

Please correct me if I am wrong

Cheers,

Dan



>Dan,
>
>The reason for the decrease in performance is when CF must instantiate 
>the CFC each time, I.E. when using cfinvoke or createobject.
>The solution is to cache the CFC by storing it in a persistant scope 
>such as application scope, so it only needs to be instantiated once.
>One solution is to use an object factory like this
>http://www.nictunney.com/index.cfm?mode=entry&entry=6DACBE6F-65B8-F252-
>76EC1
>06E89049009
>
>-
>Russ Michaels
>
>-Original Message-
>From: Dan Singerman [mailto:[EMAIL PROTECTED]
>Sent: 28 December 2006 13:47
>To: CF-Talk
>Subject: CFC vs Customtag performance.
>
>I was lead to believe that CFC performance (apart from instantiation) 
>should beat custom tag performance, partly due to posts like this:
>http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_o
>f_cus
>tom_tag_vs_cfc_for_output.cfm
>
>However my own experiments tell me otherwise. See:
>http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance
>/
>
>What's going on there, and who's right?



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: Simple source control

2006-12-28 Thread Richard Kroll
Claude,
I recently went through exactly what you are dealing with now.  Our
development environment began with all developers working against the
exact same code base, where developers would overwrite each others
changes as well as break code during the development process that would
affect other people.  Don't even get me started on the problems we ran
into when deploying to production servers.

Our first step into source control was to use Microsoft VSS which used
the lock model.  This worked ok for a short time but once our
development team grew, having people constantly forced to wait for files
to be unlocked became unbearable and began to kill our productivity.

We recently (about 8 months ago) converted to SVN where each developer
has a local copy of the code, makes their changes and then commits those
changes to the main code.  With a team of 20 developers constantly
working with the same files, conflicts happen VERY rarely, and when they
do it is 99% of the time a miscommunication as to what should be changed
in that part of the code.  Most of the time when code is committed, SVN
merges in changes from other developers transparently.  This idea at
first sounds scary, but in practice it has been a TREMENDOUS advantage
in terms of productivity, communication, and stability of our code.  

The ability to look back in time at our code has been invaluable in
countless ways.  If a bug was introduced, we can simply merge that
change out of the code while we fix it.  It truly is an unbelievable
tool.  The only downside that we've experienced is that the computers we
use to work on have to be a little more "beefy" to be able to run local
copies of our applications (CF, SQL, TSVN, Eclipse, etc.).

> IMO the merging solution implies more overhead and clumsiness than no
> solution at all.

Hopefully I have communicated how this is truly not the case in a real
world scenario (or at least in ours).  If you have the chance, save
yourself the growing pains of moving to a lock model, then outgrowing it
and moving to SVN.  If you are going to have your development team learn
a new methodology for how they deal with source, have them learn how to
effectively use SVN.

In the end, we went from a development team of 5 using no source control
to MS VSS, to over 20 developers using SVN.  I can attest to the
struggles of converting to source control, as well as not moving to SVN
first.  

I hope that my experiences will help you in your efforts.

HTH,
Rich Kroll

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFC vs Customtag performance.

2006-12-28 Thread Dan Singerman
Hi Russ,

If you look at the code what you say is valid for the case of the 
uninstantiated CFC (i.e. where createObject is called within the loop)

However, in the instantiated CFC case, where createObject is only called once, 
and hence will be in memory for that request (to that file anyway) I don't 
think that applies.

Please correct me if I am wrong

Cheers,

Dan



>Dan,
>
>The reason for the decrease in performance is when CF must instantiate the
>CFC each time, I.E. when using cfinvoke or createobject.
>The solution is to cache the CFC by storing it in a persistant scope such as
>application scope, so it only needs to be instantiated once. 
>One solution is to use an object factory like this 
>http://www.nictunney.com/index.cfm?mode=entry&entry=6DACBE6F-65B8-F252-76EC1
>06E89049009
>
>-
>Russ Michaels
>
>-Original Message-
>From: Dan Singerman [mailto:[EMAIL PROTECTED] 
>Sent: 28 December 2006 13:47
>To: CF-Talk
>Subject: CFC vs Customtag performance.
>
>I was lead to believe that CFC performance (apart from instantiation) should
>beat custom tag performance, partly due to posts like this:
>http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_of_cus
>tom_tag_vs_cfc_for_output.cfm
>
>However my own experiments tell me otherwise. See:
>http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/
>
>What's going on there, and who's right?

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: How to determine if zipfile has been fully uploaded by FTP?

2006-12-28 Thread Jim Wright
This was discussed on another list I'm on a while back...one of the 
prevailing ideas was to monitor the FTP server logs to see if there is a 
upload complete statement for the file in question, of course that all 
depends on what FTP server you are using and what it logs.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: CFC vs Customtag performance.

2006-12-28 Thread Jochem van Dieten
Dan Singerman wrote:
> http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/
> 
> What's going on there, and who's right?

Unfortunately my crystal ball is broken so you really need to provide full code 
and configuration.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: CFC vs Customtag performance.

2006-12-28 Thread Snake
Dan,

The reason for the decrease in performance is when CF must instantiate the
CFC each time, I.E. when using cfinvoke or createobject.
The solution is to cache the CFC by storing it in a persistant scope such as
application scope, so it only needs to be instantiated once. 
One solution is to use an object factory like this 
http://www.nictunney.com/index.cfm?mode=entry&entry=6DACBE6F-65B8-F252-76EC1
06E89049009

-
Russ Michaels

-Original Message-
From: Dan Singerman [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 13:47
To: CF-Talk
Subject: CFC vs Customtag performance.

I was lead to believe that CFC performance (apart from instantiation) should
beat custom tag performance, partly due to posts like this:
http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_of_cus
tom_tag_vs_cfc_for_output.cfm

However my own experiments tell me otherwise. See:
http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/

What's going on there, and who's right?



~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


CFC vs Customtag performance.

2006-12-28 Thread Dan Singerman
I was lead to believe that CFC performance (apart from instantiation) should 
beat custom tag performance, partly due to posts like this: 
http://www.numtopia.com/terry/blog/archives/2006/05/empirical_testing_of_custom_tag_vs_cfc_for_output.cfm

However my own experiments tell me otherwise. See: 
http://musttryharder.wordpress.com/2006/12/28/coldfusion-mx-performance/

What's going on there, and who's right?

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


RE: How to determine if zipfile has been fully uploaded by FTP?

2006-12-28 Thread Bobby Hartsfield
I might have missed something but what I read was straight FTP uploads that
CF will have nothing to do with. If so, you could get them to upload
checksums as well... but I guess, even then, that the checksum could be
created using a corrupt zip file in the first place. The only thing you can
do (to be positive) is test the file like you said with cfx_zip or java and
try to catch any errors. If there were errors, then the file is either
corrupt, incomplete, or not a zip. 

-Original Message-
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 27, 2006 10:50 PM
To: CF-Talk
Subject: RE: How to determine if zipfile has been fully uploaded by FTP?

The file will not exist in the destination folder until it has fully
uploaded as CF moves the file from the TEMP folder to the destination.
So in that case you only need to use fileExists().
I presume your dealing with the files via another process, otherwise you
wouldn't need to test if the file has uploade dyet, as you would simply
process it after the cffile upload completes. 
Youc ould always store the filenames into the database afte rthe upload
completes, and have your other process check the database for new files.

Russ

-Original Message-
From: David [mailto:[EMAIL PROTECTED] 
Sent: 28 December 2006 02:19
To: CF-Talk
Subject: How to determine if zipfile has been fully uploaded by FTP?

Hi all,

I have a question about testing a zipfile in CF.

We currently have a client's application that lets them use CFFile via a
form to upload a zip file to process, then unzips and imports etc, one file
at a time.
We now want to allow user to FTP (or other ways) as many zipfiles as they
want, and CF will check which are fully uploaded, and process them.
It's CF7 Standard, so directory watcher gateway isn't an option.

FTP uploads using the same name (no temp name while it's on the way), so we
need to tell if it's complete. (BTW, does the directorywatcher gateway fire
only on complete files?)

My thinking is to test the zipfile; if any errors, not fully uploaded so
ignore. Would this throw an error in the FTP upload, or should that be safe?

One way is to use CFX_Zip's Test action. Short of that, is there a way using
java.util.zip (maybe starting with Massimo Foti's tmt_zip.cfc) to test the
zipfile? Found code to enumerate the entries (shouldn't be more than 2 in
this case), but how to test each included file without trying to extract?

Thanks,
- David





~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: Simple source control

2006-12-28 Thread Robertson-Ravo, Neil (RX)
Indeed, there should only be some occasions when an update each day may be
required such as when a new feature is just added and everyone needs it for
their work.

The use of SVN etc is way more advanced than the old VSS system which is
effectively just a store of files to get back when you have a disaster to
overcome.



 




"This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions." 
Visit our website at http://www.reedexpo.com

-Original Message-
From: Steve Brownlee
To: CF-Talk
Sent: Thu Dec 28 06:23:16 2006
Subject: RE: Simple source control

There's a very good reason for it.  Your developers may not want the latest
code - they may be working on entirely different branches of the code, or
they may be writing test code locally that don't want to be overwritten.

Basically, the designers of these source control systems wrote them for the
LCD.  Each individual user has control over which version of the code that
they have on their machine.  There are a myriad of reason why this would be
so.  For your needs, this may not make sense, but for projects that have
dozens of developers, automatically downloading the latest code to their
machines every time they start up their editor is a disastrously bad idea.

Let's say Developer A checks in code that has bugs in it.  Happens every
day.  Now, Developer B who's happily working away on a stable copy of the
code comes into work the next day, fires up Eclipse, does some work and
starts testing the application and things start breaking all over the place.
He has no idea that Developer A checked in code, what that code does, or why
it's now breaking his code.  It'd be a nightmare.

Steve Brownlee
http://www.fusioncube.net/

> -Original Message-
> From: Claude Schneegans [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, December 27, 2006 4:45 PM
> To: CF-Talk
> Subject: Re: Simple source control
> 
> The only thing is I wonder why this is not automatic when the 
> user logs in.




~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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