Re: Tomcat v JRun for CF & Web Services

2006-02-27 Thread MrBuzzy
Hi again, can anyone suggest where else I could try my luck with this issue?
Is there another group or list that is CF+J2EE/Java/WS's/Axis focused?

I'm not really looking for a solution, I just want to understand this stuff.
I'd be happy to hear any ideas.

Many thanks.

On 2/26/06, MrBuzzy <[EMAIL PROTECTED]> wrote:
>
> Hi, I've got a prickly one I need to solve. Here goes...
>
> I have a CF page that calls a web service, that's the easy bit. When I run
> the page on JRun/CFMX7 the webservice works fine. When I run the page on
> CFMX7 on Tomcat the WSDL fails WS-I 1.1 validation and the app can't
> continue.
>
> I know Tomcat isn't supported, but the same problem could arrise on a
> supported J2EE server.
>
> What surprises me is that the Jrun server appears to have less or looser
> validation of the WSDL, which allows this to work.
>
> I've also upgraded both platforms to Axis 1.3 by following one of Tom
> Jordahls blogs. It didn't change anything in this case. Ref:
> http://tjordahl.blogspot.com/2005/09/upgrading-coldfusion-mx-7-to-axis-13.html
>
> If CF relies on webservices.jar from Jrun, then it must expect something
> similar from any other underlying j2ee server. Maybe that's what I'm
> missing.
>
>
> Any thoughts?
>
> Thanks,
> MrBuzzy
>


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233622
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


OT:video files

2006-02-27 Thread Jim Wright
Thanks everyone for the responses, this helps a lot. -jim

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233621
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Debit vs. Credit Card

2006-02-27 Thread Jim McAtee
Two questions, probably unrelated:

To an online merchant, is there any way to tell a debit card from a credit 
card of the same type (VISA, MasterCard, etc.) just from the card number?

I've dealt with some companies (Verizon comes to mind) that run some kind 
of preauthorization against a credit card before running the actual charge 
transaction immediately afterward.  What is the reasoning behind doing 
this? 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233620
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Digital Signing a SOAP Request

2006-02-27 Thread John Wilker
true. I shoulda said, if you had my ISP LOL. who said "no".

Glad it worked though. that's good to know

On 2/27/06, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
>
> > If you have your own, they have a Java API that works for CF (I am
> told).
> > But in a hosted environment, you're outa luck.
>
> I've added a Java API to CF ina shared hosting environment for processing
> payments via Moneris...works fine ;-)
>
> This of course will depend on the ISP
>
> 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
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233619
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFUNITED-06 Sneak peek Wed 3/1/06

2006-02-27 Thread Michael Smith
Come to the MDCFUG sneak peek of CFUNITED-06 and ask questions
about ColdFusion MX 7 to CFDJ editor Simon Horwith and other
CFUNITED speakers on Wednesday March 1st, 2006 7pm-9pm. Prizes
include one copy of CFMX 7 Standard and a ticket to CFUNITED.
Come see the exciting new things at this year's main event!

You must register to attend (it is free)
  http://www.cfug-md.org/cfunited-sneak-peek.cfm

Note that this meeting is not at the usual MDCFUG location but is at the:

Bethesda North Marriott (lower level)
Montgomery County Conference Center
5701 Marinelli Road, North Bethesda, MD 20852
(opposite whiteflint metro)

There is paid parking at the metro or at the hotel.

Directions at http://www.cfunited.com/travel.cfm

Please bring a copy of this email to get in faster and qualify for the 
prizes.

Simon Horwith will present an overview of the topics he will be 
presenting at this years
premiere ColdFusion conference, CFUNITED.  Simon will discuss
architectural considerations for web applications, ColdFusion
101 (Basics, Getting Started), and the Celebrity Cage Match
with Hal Helms (ok, don't get carried away now  :)

Simon is the editor at ColdFusion Developers Journal, a Sys-Con
publication, and CIO at AboutWeb.




-- 
Michael Smith, TeraTech Inc - Tools for Programmers(tm)
TeraTech voted Best Consulting Service by CFDJ readers!
CF/ASP Web, VB, Math, Access programming tools and consulting
405 E Gude Dr Ste 207, Rockville MD 20850 USA
Please check out http://www.teratech.com/ - email 
mailto:[EMAIL PROTECTED],
or call us for more information; in the USA at 1-800-447-9120,
+1-301-424-3903 International, Fax 301-762-8185  Thanks!



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233618
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Will Tomlinson
Ok, somebody set me straight on how things work. I'm building a cartservice 
object that'll handle much of the cart logic. 

Thanks,
Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233617
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


query data in cferror dump

2006-02-27 Thread Duncan
In the standard grey CF error dump on screen it contains a dump of the
query that occurred with all the values in place. I have implemented a
cferror page to handle these things and it doesnt show that
information. Where would I find it in the context of the cferror?

Usign MX 6.1 on Windows 2000 server

Thanks!

--
Duncan I Loxton
[EMAIL PROTECTED]

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233616
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Query2xml/rss exist?

2006-02-27 Thread Eric J. Hoffman
Is there any sort of custom tag/library that takes a query and
automatically outputs a rss feedI haven't found one, and don't want
to reinvent the wheel.  :)

Thanks all.



Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233615
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Will Tomlinson
>The way I try to answer these sorts of questions for myself is to ask how
>things would work in "real life". 

ok, I think this is where I'm gettin' screwed up a bit. I'm thinking how would 
it work in real life? You'd have your cart full of items, roll it up to the 
checkout counter (an object), the cashier removes all the items *from* the cart 
and adds them up there on the counter. Then adds shipping, asks for payment 
info, etc. 

So as I'm thinking it through, I'm thinking cart and checkout are two separate 
things/objects. 

I understand what you're saying but still kinda mixed up on how it should work. 

Thanks,
Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233614
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Love Sponge
>With time values, I've found that using a drop-lists for
>hour/minute/ampm sometimes works best from a input control aspect...it
>can sometimes be easier for data entry, especially if you can limit
>the minutes drop list to something like every 5 or 10 minutes
>
>
>
>--
>Jim Wright
>Wright Business Solutions
>[EMAIL PROTECTED]
>919-417-2257

I will try that as well, tried it in a earlier version and it did not work so 
well.  I have made several changes since.  

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233613
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 and Microsoft Index Server

2006-02-27 Thread Beru
Please allow me to quote Nate here, in the answer he gave me recently :

"
Looks like the code is on ben forta's site, here:

http://forta.com/books/0321127102/

Grab the zip for chapter 23. Save IndexServerSearch1.cfm and rename it
to IndexServerSearch.cfm. Now use it as a custom tag as shown in
IndexServerExample.cfm.

For the exlanatory text, you'd need to buy the book (can prob get it
cheap online since it's an old version).  But you can probably figure it
out just by looking through the code etc.
"

Cheers,
Albert


On 27/02/06, James Wood <[EMAIL PROTECTED]> wrote:
>
> Paul Hastings wrote:
>
> >quickest way is to get a copy of the cf advanced book. nate weiss & i
> >(well mostly nate) have a cftag that handles that somewhere in there.
>
>
> Thanks I have that on my book list, so will move it right to the top :)
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233612
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Jim Wright
With time values, I've found that using a drop-lists for
hour/minute/ampm sometimes works best from a input control aspect...it
can sometimes be easier for data entry, especially if you can limit
the minutes drop list to something like every 5 or 10 minutes



--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233611
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Love Sponge
>using method="post" in your form tag?
>
>On 2/27/06, Love Sponge <[EMAIL PROTECTED]> wrote:
>>

Yes

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233610
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Charlie Griefer
using method="post" in your form tag?

On 2/27/06, Love Sponge <[EMAIL PROTECTED]> wrote:
> Your code is pretty similar to what I am working with.  The only problem is 
> that I am getting an error saying that the element StartTime is undefined in 
> form.  What am I missing here?
>
> Sign In : validate="time" value="09:00" message="Please enter time format as HH:MM.">
> 
> --->
> Sign Out : validate="time" value="17:00" message="Please enter time format as HH:MM.">
> 
> 
> >If you are on CF7, you can use cfform/cfinput to make sure they are entering
> >a valid time value.
> >
> >
> >
> >
> >
> >
> >Then...
> >#DateDiff(form.timefield1,form.timefield2,
> >[precision])#
> >
> >Note that DateDiff returns a date/time value rather than an integer value,
> >this threw me off for a while recently.
> >
> >-- Josh
> >
> >
> >
> >
> >- Original Message -
> >From: "Eric Lackey" <[EMAIL PROTECTED]>
> >To: "CF-Talk" 
> >Sent: Monday, February 27, 2006 10:39 AM
> >Subject: RE: Time Calculations
> >
> >
> >>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233609
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Love Sponge
Your code is pretty similar to what I am working with.  The only problem is 
that I am getting an error saying that the element StartTime is undefined in 
form.  What am I missing here?

Sign In :

--->
Sign Out :

 
>If you are on CF7, you can use cfform/cfinput to make sure they are entering 
>a valid time value.
>
>
>
>
>
>
>Then...
>#DateDiff(form.timefield1,form.timefield2, 
>[precision])#
>
>Note that DateDiff returns a date/time value rather than an integer value, 
>this threw me off for a while recently.
>
>-- Josh
>
>
>
>
>- Original Message - 
>From: "Eric Lackey" <[EMAIL PROTECTED]>
>To: "CF-Talk" 
>Sent: Monday, February 27, 2006 10:39 AM
>Subject: RE: Time Calculations
>
>
>>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233608
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Digital Signing a SOAP Request

2006-02-27 Thread Bryan Stevenson
> If you have your own, they have a Java API that works for CF (I am told).
> But in a hosted environment, you're outa luck.

I've added a Java API to CF ina shared hosting environment for processing 
payments via Moneris...works fine ;-)

This of course will depend on the ISP

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 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233607
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Digital Signing a SOAP Request

2006-02-27 Thread John Wilker
I've printed out just about every PDF Paypal has on the topic. All I could
figure out was that unless you have your own server you're SOL

If you have your own, they have a Java API that works for CF (I am told).
But in a hosted environment, you're outa luck.

On 2/26/06, Bud <[EMAIL PROTECTED]> wrote:
>
> I searched their documentation for 48 hours to find the URL to post
> the XML to use their web services. I finally had to find it from
> google. Ridiculous. All I get back from that is connection failure.
> When I go to the URL directly, I get a browser alert error. A search
> for part of that...
>
> "incorrect or unexpected message"
>
> reveals that the error is generally related to not having a proper
> client-side certificate.
>
> The SOAP/XML part shouldn't be too hard. I just don't even know where
> to begin to "digitally sign" the soap request. Any clues would be
> very welcome.
>
> >Hmmm, it could be coincidence that Ben was just blogging this;
> >
> >
> http://www.forta.com/blog/index.cfm/2006/2/23/Using-PayPal-In-ColdFusion-Applications
> >
> >-Original Message-
> >From: Bud [mailto:[EMAIL PROTECTED]
> >Sent: Sunday, 26 February 2006 2:31 AM
> >To: CF-Talk
> >Subject: RE: Digital Signing a SOAP Request
> >
> >https://www.paypal.com/us/cgi-bin/webscr?cmd=_wp-pro-overview-outside
> >
> >This is from their web services documentation.
> >
> >Your security with the PayPal Web Services API relies on a set of
> >public/private security keys issued in the form of digital
> >certificates by PayPal. These keys uniquely identify an API user to
> >prove his authorization to access PayPal Web Services. Each SOAP
> >request is signed by your private key, and PayPal Web Services
> >processes a request only after authentication succeeds.
> >
> >>Can you send a link for more info on PayPal Pro? A quick google didn't
> >yield
> >>much.
> >>
> >>This link suggests you don't need digital signing;
> >>http://www.paypaldev.org/topic.asp?TOPIC_ID=11264 but it doesn't mention
> >pro
> >>specifically.
> >>
> >>Cheers.
> >>
> >>-Original Message-
> >>From: Bud [mailto:[EMAIL PROTECTED]
> >>Sent: Saturday, 25 February 2006 3:27 AM
> >>To: CF-Talk
> >>Subject: Digital Signing a SOAP Request
> >>
> >>Anyone have any code lying around that will digitally sign a soap
> >>request using CF's built-in functions or java classes? Pointers on
> >>where to start?
> >>
> >>I'm wanting to implement PayPal Pro with cf_ezcart. They have an API
> >>for MX 7, but it requires jar files be installed and it looks like
> >>this may be a problem on shared servers. Their SOAP requests look
> >>pretty straight forward, but I have NO idea how to digitally sign a
> >>SOAP request. :)
> >>
> >>Clues? Tips? Pointers?
> >>
> >>Thanks! :)
> >>--
> >>
> >>Bud Schneehagen - Tropical Web Creations, Inc.
> >>
> >>_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> >>Web Based Solutions / eCommerce Development & Hosting
> >>http://www.twcreations.com/ - http://www.cf-ezcart.com/
> >>Toll Free: 877.207.6397 - Local & Int'l Phone/Fax: 386.789.0968
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233606
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


FW: Renaming dynamic form fields

2006-02-27 Thread Ian Skinner
I forgot the line to get the form results.

This is the way I usually handle this kind of task.  Look ma, no evaluate().

FORM

  
  
  
  




ACTION LOGIC

  
  
  
   
   
  
  ...

  


This method has no cares about the actual numbers or their order.



--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233605
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Renaming dynamic form fields

2006-02-27 Thread Ian Skinner
This is the way I usually handle this kind of task.  Look ma, no evaluate().

FORM

  
  
  
  




ACTION LOGIC

  
  
  
   
  
  ...

  


This method has no cares about the actual numbers or their order.

--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233604
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Renaming dynamic form fields

2006-02-27 Thread Nick Han
There's a better, cleaner way of processing your form.

I would do this on the processing side.





 
INSERT inventory(item_ID,Group_item_ID ) 
   values ('#fieldValue#',#form.Group_item#)





-Original Message-
From: j s [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 1:28 PM
To: CF-Talk
Subject: Renaming dynamic form fields

I'm trying to figure out a way to pass form fields to a page which will
then rename the fields.

The reason is the fields are produced dynamically and not all the fields
will be passed since
they will be checkboxes. When I perform my db insert I do loop which
needs to have the fields
in order. If the fields that are passed are 1,2,3 out of 6 my insert
works. If the form passes fields
2,3,4 I get an error cause field 1 is not defined. 1,2,4 or 1,3,4 also
don't work since they are not
in order.

This is why I want to:

The first step I want to do is get the values from the form fields in
need into an array.

Then perform a loop to place the values into a the new form fields named
newName.



  
  
   
  

   #item_name#

   
 
   
 





 
  









 
   
INSERT inventory
  (item_ID,Group_item_ID ) 
   values ('#Evaluate("form.newName#i#")#',
#form.Group_item#)

 



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233603
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Renaming dynamic form fields

2006-02-27 Thread j s
I'm trying to figure out a way to pass form fields to a page which will then 
rename the fields.

The reason is the fields are produced dynamically and not all the fields will 
be passed since
they will be checkboxes. When I perform my db insert I do loop which needs to 
have the fields
in order. If the fields that are passed are 1,2,3 out of 6 my insert works. If 
the form passes fields
2,3,4 I get an error cause field 1 is not defined. 1,2,4 or 1,3,4 also don't 
work since they are not
in order.

This is why I want to:

The first step I want to do is get the values from the form fields in need into 
an array.

Then perform a loop to place the values into a the new form fields named 
newName.



  
  
   
  

   #item_name#

   
 
   
 





 
  









 
   
INSERT inventory
  (item_ID,Group_item_ID ) 
   values ('#Evaluate("form.newName#i#")#', 
#form.Group_item#)

 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233602
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Regular Expression : Positive Integer

2006-02-27 Thread Ben Doom
This will allow the empty string and zero, neither of which is a 
positive integer.  Watch me nitpick!  Whee!

--Ben

Peterson, Andrew S. wrote:
> Massimo wrote: 
>> Try this:
>> ^\d\d*$
> 
> 
> FYI - I also tested ^\d*$ (removed one set of \d) and it too seems to
> work. 
> 
>  
> Sincerely,
>  
> Andrew
> 
> 
> -Original Message-
> From: Massimo Foti [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 3:34 PM
> To: CF-Talk
> Subject: Re: Regular Expression : Positive Integer
> 
>> My cfinput form field validates via regular_expression, and I want
> only
>> positive integers accepted.   I'm trying various things, such as
>> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive 
>> numbers.  For example, I can still enter a -5 and it will be accepted 
>> under this regex.  I know half of you can do this off the top of your 
>> head :-), so any help is greately appreciated. Thanks in advance!
> 
> Try this:
> 
> ^\d\d*$
> 
> 
> Massimo Foti
> Tools for ColdFusion and Dreamweaver developers:
> http://www.massimocorner.com
>   
> 
> 
> 
> 
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233601
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Regular Expression : Positive Integer

2006-02-27 Thread Jerry Johnson
But

This solution allows a 0 to be entered (which is a whole number, not a
positive integer).

The ^0*... solution would only allow positive integers.


On 2/27/06, Peterson, Andrew S. <[EMAIL PROTECTED]> wrote:
> Massimo wrote:
> > Try this:
> > ^\d\d*$
>
>
> FYI - I also tested ^\d*$ (removed one set of \d) and it too seems to
> work.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233600
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Dave Watts
> I have cart.cfc, shopper.cfc, etc.. 
> 
> Would checkout() go in shopper.cfc? The shopper is the one 
> checking out.

The way I try to answer these sorts of questions for myself is to ask how
things would work in "real life". If I go to a store, and fill up a cart,
the cart is essentially what gets checked out. I might go in, put a bunch of
things in my cart, buy them, then realize I forgot something and repeat the
process. So, by that logic, the cart is what gets checked out, not me.

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!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233599
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Will Tomlinson
Dave,

I have cart.cfc, shopper.cfc, etc.. 

Would checkout() go in shopper.cfc? The shopper is the one checking out. 

Thanks,
Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233598
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT:video files

2006-02-27 Thread Rick Faircloth
Flash Communication Server is required
to stream Flash video...right?  And does
it require port 80 for streaming?

Rick

> -Original Message-
> From: Russ [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 4:19 PM
> To: CF-Talk
> Subject: RE: OT:video files
>
>
> Avi compression really depends on the codec used.  I believe you
> can use AVI
> uncompressed codec (Full frames) or you can use divx or xvid or something,
> which is pretty much the most compression you can get.
>
> Flash would probably be the best though... not sure if the compression is
> free... that's what google uses for their google video afaik...
>
>
>
> > -Original Message-
> > From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
> > Sent: Monday, February 27, 2006 4:13 PM
> > To: CF-Talk
> > Subject: Re: OT:video files
> >
> > I haven't hosted video, but I do alot of video encoding.some insight
> > below...
> >
> > >A few questions about hosting video files for those of you who
> have done
> > it...
> > >
> > > 1. what fomat have you found to have the most widespread ease of
> > > use/acceptance.  I'd like to embed these in the page.  Any particular
> > > CODECs/compression that work best...these will be for product
> > > demos...the size does not need to be enormous.
> >
> > Use Flash...then I don't think you'll have nearly the client
> side problems
> > you
> > would playing actual video formats.
> >
> > > 2. assuming that you are provided with fairly large AVI files, what
> > > are the best programs out there for compressing those into whatever
> > > that best format is(see question 1).
> >
> > AVI is about as compressed as it gets (unless it gets even smaller once
> > inside
> > Flash)
> >
> > Cheers
> >
> > 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
> >
> >
> >
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233597
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Regular Expression : Positive Integer

2006-02-27 Thread Peterson, Andrew S.
Massimo wrote: 
> Try this:
> ^\d\d*$


FYI - I also tested ^\d*$ (removed one set of \d) and it too seems to
work. 

 
Sincerely,
 
Andrew


-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 3:34 PM
To: CF-Talk
Subject: Re: Regular Expression : Positive Integer

> My cfinput form field validates via regular_expression, and I want
only
> positive integers accepted.   I'm trying various things, such as
> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive 
> numbers.  For example, I can still enter a -5 and it will be accepted 
> under this regex.  I know half of you can do this off the top of your 
> head :-), so any help is greately appreciated. Thanks in advance!

Try this:

^\d\d*$


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233596
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT:video files

2006-02-27 Thread Rick Faircloth
Impressive...without Flash Server, does
Flash video play in progressive download?

Rick

> -Original Message-
> From: Robert Everland III [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 3:21 PM
> To: CF-Talk
> Subject: Re: OT:video files
> 
> 
> Here is a little example I liked to use when I tell people the 
> power of Flash 8.
> 
> I had a 200 mb avi video, 720 x 480. I compressed it inside of 
> Flash at the same length and width and it compressed it down to 
> 1.1 MB. There was very little artifacting. I have never seen that 
> kind of compression ever look good. Even the mp4's I encode for 
> my phone and IPOD are huge and never look that good.
> 
> 
> 
> Bob
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233595
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Regular Expression : Positive Integer

2006-02-27 Thread Peterson, Andrew S.
OK, I think I know why this works: 

^ = anchors the expression to beginning of the string
\d = any digit
\d = any digit
* = match 0 or more occurrences of previous item
$ = anchors the expression to the end of the string

Therefore the regexp = every item must be numeric. Thanks!

Sincerely,
 
Andrew

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 3:34 PM
To: CF-Talk
Subject: Re: Regular Expression : Positive Integer

> My cfinput form field validates via regular_expression, and I want
only
> positive integers accepted.   I'm trying various things, such as
> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive 
> numbers.  For example, I can still enter a -5 and it will be accepted 
> under this regex.  I know half of you can do this off the top of your 
> head :-), so any help is greately appreciated. Thanks in advance!

Try this:

^\d\d*$


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233594
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-27 Thread John C. Bland II
Coo...glad we could get that squared away. :-)

Oh yeah, that error was HORRIBLE! I hated it. The latest version is MUCH
smoother too man. It is very slick.

On 2/27/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
>
> No worries. I misinterpreted what you meant.
>
> I've taught countless novices and from what I've seen, I always get the
> impression that professional developers underestimate their own skillsets
> and assume that others will pick things up just as quickly.
>
> My experience with AMFPHP started on version 0.1 and I've used it on many
> projects since, but a lot of issues it had (until this latest release)
> like
> the "Netconnection.Bad.Version" error that plagued everyone who's ever
> used
> it, adds to the complexity.
>
> Anyhow, no harm no foul.
>
> Kevin
>
> -Original Message-
> From: John C. Bland II [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 2:48 PM
> To: CF-Talk
> Subject: Re: Getting data into Flash 8
>
> In no way am I trying to argue. That's why I hate email for discussions,
> in
> most cases. I'm simply providing another view that is opposite of yours.
>
> A novice ECMA developer should know something about ECMA. It would be
> stupid
> for me to think a novice CF developer should know something about an ECMA
> language if that is the only language they know.
>
> No one is comparing anything to CF in terms of ease. I compared Remoting +
> CF with AMFPHP and said they are equally simple, except for the method
> table
> in amfphp. The simple understanding that you MUST know CF or PHP to do
> Remoting in either is understood. I don't know Perl so I can't comment on
> Remoting + Perl.
>
> No arguments man. To be blunt, your views seemed limited and pointed to
> facts that weren't so ("remoting with PHP is a lot more difficult."). All
> I'm saying is if you have a working knowledge of php classes amfphp is not
> hard. Obviously you would need a working knowledge of Actionscript as
> well.
>
> If you want to take this off list we can no doubt do so.
>
> Have a good one...
>
> On 2/27/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> >
> > If you just want to argue for the sake of arguing, than I'll just
> > gracefully
> > bow out, but if you think that "novices" have the first clue when it
> comes
> > to ECMA... you should try teaching them.
> >
> > Their implementation was flawed for the first 7 releases and though I
> > commend them on their achievement, I can't believe that the
> functionality
> > they're providing is even comparable to CF, which is what I consider
> > "easy".
> >
> > I'm done and out.
> >
> > !k
> >
> > -Original Message-
> > From: John C. Bland II [mailto:[EMAIL PROTECTED]
> > Sent: Sunday, February 26, 2006 4:06 PM
> > To: CF-Talk
> > Subject: Re: Getting data into Flash 8
> >
> > You don't have to use nested associate arrays. You can use numerical or
> > associate. CF Stucts are nothing but associate arrays anyway. If you
> know
> > how to use PHP classes then you know at least what an array is. You can
> > return virtually any type in php to Flash. In the latest version you
> have
> > more types you can return (including xml).
> >
> > http://www.amfphp.org/docs/datatypes.html
> >
> > So you know, when I first used AMFPHP I didn't know PHP that well. I was
> > the
> > definition of novice, in terms of PHP. But PHP classes are similar to
> ECMA
> > classes so it wasn't hard to catch on. If you aren't a PHP developer
> then
> > PHP itself is the problem...not AMFPHP. If you don't know CF then CF is
> > the
> > problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.
> >
> > The issue with AMFPHP was the documentation was horrible at that point
> in
> > the game (early versions) so the installation portion was a pain.
> > Everything
> > dealt with server-wide installation on Apache so it was terribly
> > confusing.
> > Once I figured out it was just a folder everything else was a piece of
> > cake.
> >
> > On 2/26/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> > >
> > > It depends what kind of implementation you're trying to accomplish. My
> > > point
> > > is that for someone without a lot of PHP experience, the nested
> > > associative
> > > arrays can intimidating.
> > >
> > > You seem to assume your views based on your own knowledge and skills,
> > and
> > > that's fine. I judge software based on what an absolute novice would
> > > think...
> > >
> > > Cheers,
> > >
> > > Kevin
> > >
> > > -Original Message-
> > > From: John C. Bland II [mailto:[EMAIL PROTECTED]
> > > Sent: Saturday, February 25, 2006 5:48 PM
> > > To: CF-Talk
> > > Subject: Re: Getting data into Flash 8
> > >
> > > Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
> > > than
> > > CF (which is the method table for restricting access, etc). I wasn't
> > going
> > > to respond but I figured it was nothing but a constructive
> conversation
> > > anyway. :-)
> > >
> > > On 2/24/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> > > >
> > > > H

RE: Regular Expression : Positive Integer

2006-02-27 Thread Peterson, Andrew S.
Massimo wrote: 
> Try this:
> ^\d\d*$

Brilliant! And now my quest to figure out why the heck this works begins
:-)

 
Sincerely,
 
Andrew


-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 3:34 PM
To: CF-Talk
Subject: Re: Regular Expression : Positive Integer

> My cfinput form field validates via regular_expression, and I want
only
> positive integers accepted.   I'm trying various things, such as
> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive 
> numbers.  For example, I can still enter a -5 and it will be accepted 
> under this regex.  I know half of you can do this off the top of your 
> head :-), so any help is greately appreciated. Thanks in advance!

Try this:

^\d\d*$


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233592
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Regular Expression : Positive Integer

2006-02-27 Thread Andy Matthews
I just found a website that might be of some help:
http://www.regularexpressions.info



-Original Message-
From: Peterson, Andrew S. [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 3:29 PM
To: CF-Talk
Subject: Regular Expression : Positive Integer


Hi,
 
My cfinput form field validates via regular_expression, and I want only
positive integers accepted.   I'm trying various things, such as
0*[1-9][0-9]*, but cannot get a regex yet that only allows positive
numbers.  For example, I can still enter a -5 and it will be accepted
under this regex.  I know half of you can do this off the top of your
head :-), so any help is greately appreciated. Thanks in advance!
 
Sincerely,
 
Andrew

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233591
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Regular Expression : Positive Integer

2006-02-27 Thread Jerry Johnson
Try to anchor it to the front and back (so nothing else can be in there?)

^0*[1-9][0-9]*$

or is that understood by cfinput?

On 2/27/06, Peterson, Andrew S. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My cfinput form field validates via regular_expression, and I want only
> positive integers accepted.   I'm trying various things, such as
> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive
> numbers.  For example, I can still enter a -5 and it will be accepted
> under this regex.  I know half of you can do this off the top of your
> head :-), so any help is greately appreciated. Thanks in advance!
>
> Sincerely,
>
> Andrew
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233590
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Regular Expression : Positive Integer

2006-02-27 Thread Massimo Foti
> My cfinput form field validates via regular_expression, and I want only
> positive integers accepted.   I'm trying various things, such as
> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive
> numbers.  For example, I can still enter a -5 and it will be accepted
> under this regex.  I know half of you can do this off the top of your
> head :-), so any help is greately appreciated. Thanks in advance!

Try this:

^\d\d*$

  
Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com
  

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233589
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Regular Expression : Positive Integer

2006-02-27 Thread Ben Doom
^0*[1-9][0-9]*$

^ and $ anchor the beginning and end of the string.

--Ben

Peterson, Andrew S. wrote:
> Hi,
>  
> My cfinput form field validates via regular_expression, and I want only
> positive integers accepted.   I'm trying various things, such as
> 0*[1-9][0-9]*, but cannot get a regex yet that only allows positive
> numbers.  For example, I can still enter a -5 and it will be accepted
> under this regex.  I know half of you can do this off the top of your
> head :-), so any help is greately appreciated. Thanks in advance!
>  
> Sincerely,
>  
> Andrew
> 
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233588
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Odd Error with Dreamweaver8

2006-02-27 Thread Eric Roberts
I am getting a very odd error with DW8.  I save a file after making a change.  
The file and changes are definitely on the server (checked it with notepad), 
but when i fire it up in IE, I get the old code...sometimes even an old error 
with the new code.  It's not a browser chche issue as I have my cache shut off 
and it was also the same on a different computer.  Here's some examples...

I made an oops and forgot to change a value from get_table.form to 
get_table.recordcount.  I get an error saying that form is not an element of 
get_table.  I change it to rcordcount and I get the same error, but the new 
code is listed on the error page.

Another problem is a change just doesn't come up and it shows the old code.

It's seems like a caching issue, but nothing is getting cached as far as i 
know.  This does not happen when we are using DWMX.  i am not sure what the 
correlation is, but it is bizarre.

Eric

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233587
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Regular Expression : Positive Integer

2006-02-27 Thread Peterson, Andrew S.
Hi,
 
My cfinput form field validates via regular_expression, and I want only
positive integers accepted.   I'm trying various things, such as
0*[1-9][0-9]*, but cannot get a regex yet that only allows positive
numbers.  For example, I can still enter a -5 and it will be accepted
under this regex.  I know half of you can do this off the top of your
head :-), so any help is greately appreciated. Thanks in advance!
 
Sincerely,
 
Andrew


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233586
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: OT:video files

2006-02-27 Thread Russ
Well it really depends on the length of the video, and whether the resulting
video was 720x480, or scaled down.  I'm guessing that using divx you can get
similar results (I really doubt that flash can do better compression then
divx), but flash has the added benefit of not requiring the codec on the
usere's system, which is a showstopper for divx. 

Russ

> -Original Message-
> From: Robert Everland III [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 3:21 PM
> To: CF-Talk
> Subject: Re: OT:video files
> 
> Here is a little example I liked to use when I tell people the power of
> Flash 8.
> 
> I had a 200 mb avi video, 720 x 480. I compressed it inside of Flash at
> the same length and width and it compressed it down to 1.1 MB. There was
> very little artifacting. I have never seen that kind of compression ever
> look good. Even the mp4's I encode for my phone and IPOD are huge and
> never look that good.
> 
> 
> 
> Bob
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233585
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: TMT validator field dependencies?

2006-02-27 Thread Andy Matthews
Never mind...found sample code on how to accomplish this. It's in the
samples section.



-Original Message-
From: Andy Matthews [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 3:18 PM
To: CF-Talk
Subject: TMT validator field dependencies?


Does anyone know if this validator has built-in code for field dependencies?
I want a date input field to be required of a checkbox is set to "Y".

I don't find anything speficially about it in the Docs. I did find that you
can do custom validation. So I'm thinking I can just write a function to do
that. Wanted to find out first if it's built-in.

Thanks.






~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233584
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Will Tomlinson
>But you might want to rethink your objects in any case. Checking out seems
>more like a method - something you do - than an object - something that has
>its own methods and data.
 
Ok, gotcha ... that's what I hoped would be the case. 

I'll re-think this thing. Thanks for the info!

Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233583
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:video files

2006-02-27 Thread Robert Everland III
Here is a little example I liked to use when I tell people the power of Flash 8.

I had a 200 mb avi video, 720 x 480. I compressed it inside of Flash at the 
same length and width and it compressed it down to 1.1 MB. There was very 
little artifacting. I have never seen that kind of compression ever look good. 
Even the mp4's I encode for my phone and IPOD are huge and never look that good.



Bob

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233582
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-27 Thread Kevin Aebig
No worries. I misinterpreted what you meant.

I've taught countless novices and from what I've seen, I always get the
impression that professional developers underestimate their own skillsets
and assume that others will pick things up just as quickly.

My experience with AMFPHP started on version 0.1 and I've used it on many
projects since, but a lot of issues it had (until this latest release) like
the "Netconnection.Bad.Version" error that plagued everyone who's ever used
it, adds to the complexity.

Anyhow, no harm no foul.

Kevin

-Original Message-
From: John C. Bland II [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 2:48 PM
To: CF-Talk
Subject: Re: Getting data into Flash 8

In no way am I trying to argue. That's why I hate email for discussions, in
most cases. I'm simply providing another view that is opposite of yours.

A novice ECMA developer should know something about ECMA. It would be stupid
for me to think a novice CF developer should know something about an ECMA
language if that is the only language they know.

No one is comparing anything to CF in terms of ease. I compared Remoting +
CF with AMFPHP and said they are equally simple, except for the method table
in amfphp. The simple understanding that you MUST know CF or PHP to do
Remoting in either is understood. I don't know Perl so I can't comment on
Remoting + Perl.

No arguments man. To be blunt, your views seemed limited and pointed to
facts that weren't so ("remoting with PHP is a lot more difficult."). All
I'm saying is if you have a working knowledge of php classes amfphp is not
hard. Obviously you would need a working knowledge of Actionscript as well.

If you want to take this off list we can no doubt do so.

Have a good one...

On 2/27/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
>
> If you just want to argue for the sake of arguing, than I'll just
> gracefully
> bow out, but if you think that "novices" have the first clue when it comes
> to ECMA... you should try teaching them.
>
> Their implementation was flawed for the first 7 releases and though I
> commend them on their achievement, I can't believe that the functionality
> they're providing is even comparable to CF, which is what I consider
> "easy".
>
> I'm done and out.
>
> !k
>
> -Original Message-
> From: John C. Bland II [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 26, 2006 4:06 PM
> To: CF-Talk
> Subject: Re: Getting data into Flash 8
>
> You don't have to use nested associate arrays. You can use numerical or
> associate. CF Stucts are nothing but associate arrays anyway. If you know
> how to use PHP classes then you know at least what an array is. You can
> return virtually any type in php to Flash. In the latest version you have
> more types you can return (including xml).
>
> http://www.amfphp.org/docs/datatypes.html
>
> So you know, when I first used AMFPHP I didn't know PHP that well. I was
> the
> definition of novice, in terms of PHP. But PHP classes are similar to ECMA
> classes so it wasn't hard to catch on. If you aren't a PHP developer then
> PHP itself is the problem...not AMFPHP. If you don't know CF then CF is
> the
> problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.
>
> The issue with AMFPHP was the documentation was horrible at that point in
> the game (early versions) so the installation portion was a pain.
> Everything
> dealt with server-wide installation on Apache so it was terribly
> confusing.
> Once I figured out it was just a folder everything else was a piece of
> cake.
>
> On 2/26/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> >
> > It depends what kind of implementation you're trying to accomplish. My
> > point
> > is that for someone without a lot of PHP experience, the nested
> > associative
> > arrays can intimidating.
> >
> > You seem to assume your views based on your own knowledge and skills,
> and
> > that's fine. I judge software based on what an absolute novice would
> > think...
> >
> > Cheers,
> >
> > Kevin
> >
> > -Original Message-
> > From: John C. Bland II [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, February 25, 2006 5:48 PM
> > To: CF-Talk
> > Subject: Re: Getting data into Flash 8
> >
> > Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
> > than
> > CF (which is the method table for restricting access, etc). I wasn't
> going
> > to respond but I figured it was nothing but a constructive conversation
> > anyway. :-)
> >
> > On 2/24/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> > >
> > > Haha... remoting with PHP is a lot more difficult.
> > >
> > > -Original Message-
> > > From: Andy Matthews [mailto:[EMAIL PROTECTED]
> > > Sent: February 24, 2006 1:48 PM
> > > To: CF-Talk
> > > Subject: RE: Getting data into Flash 8
> > >
> > > Thanks Dave. I'll check that out.
> > >
> > > But yeah, I feel that they do make it complicated...too many steps to
> do
> > > such a simple thing. How would you feel if you had to go through 6 or
> 7
> > > steps jus

RE: OT:video files

2006-02-27 Thread Russ
Avi compression really depends on the codec used.  I believe you can use AVI
uncompressed codec (Full frames) or you can use divx or xvid or something,
which is pretty much the most compression you can get.  

Flash would probably be the best though... not sure if the compression is
free... that's what google uses for their google video afaik... 



> -Original Message-
> From: Bryan Stevenson [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 4:13 PM
> To: CF-Talk
> Subject: Re: OT:video files
> 
> I haven't hosted video, but I do alot of video encoding.some insight
> below...
> 
> >A few questions about hosting video files for those of you who have done
> it...
> >
> > 1. what fomat have you found to have the most widespread ease of
> > use/acceptance.  I'd like to embed these in the page.  Any particular
> > CODECs/compression that work best...these will be for product
> > demos...the size does not need to be enormous.
> 
> Use Flash...then I don't think you'll have nearly the client side problems
> you
> would playing actual video formats.
> 
> > 2. assuming that you are provided with fairly large AVI files, what
> > are the best programs out there for compressing those into whatever
> > that best format is(see question 1).
> 
> AVI is about as compressed as it gets (unless it gets even smaller once
> inside
> Flash)
> 
> Cheers
> 
> 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
> 
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233580
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


TMT validator field dependencies?

2006-02-27 Thread Andy Matthews
Does anyone know if this validator has built-in code for field dependencies?
I want a date input field to be required of a checkbox is set to "Y".

I don't find anything speficially about it in the Docs. I did find that you
can do custom validation. So I'm thinking I can just write a function to do
that. Wanted to find out first if it's built-in.

Thanks.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233579
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: OT:video files

2006-02-27 Thread Bryan Stevenson
I haven't hosted video, but I do alot of video encoding.some insight 
below...

>A few questions about hosting video files for those of you who have done it...
>
> 1. what fomat have you found to have the most widespread ease of
> use/acceptance.  I'd like to embed these in the page.  Any particular
> CODECs/compression that work best...these will be for product
> demos...the size does not need to be enormous.

Use Flash...then I don't think you'll have nearly the client side problems you 
would playing actual video formats.

> 2. assuming that you are provided with fairly large AVI files, what
> are the best programs out there for compressing those into whatever
> that best format is(see question 1).

AVI is about as compressed as it gets (unless it gets even smaller once inside 
Flash)

Cheers

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 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233578
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: video files

2006-02-27 Thread Eric J. Hoffman
Jim,

1.  wmv or flash are the two we use.  With the new flash you get the
best viewing experience.  We offer on our pages first: flash video with
a link to upgrade flash if they want, and secondly a link to a Windows
Media file.   We use both Windows Media streaming and Flash streaming.
We only find under 5% can't see the Flash.
2.  I simply use windows media encoder, free, for the wmv and Flash
Video Encoder which I got with Flash Professional.  That one works
sweet.
3.  Playstream.com is who hosts ours.  Not a single problem, and very
flexible...even offers skins for embedding your flash. 





Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 2:59 PM
To: CF-Talk
Subject: OT:video files

A few questions about hosting video files for those of you who have done
it...

1. what fomat have you found to have the most widespread ease of
use/acceptance.  I'd like to embed these in the page.  Any particular
CODECs/compression that work best...these will be for product
demos...the size does not need to be enormous.
2. assuming that you are provided with fairly large AVI files, what are
the best programs out there for compressing those into whatever that
best format is(see question 1).
3.  As the clients who want to do this generally have low-priced shared
hosting situations, I am looking at having the video hosted at some
service external to their main host...does anyone know of hosts which
provide reliable "media" hosting?

--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233577
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Dave Watts
> I have a separate question here. Let's say I have a 
> session.cart cfc, and a session.checkout cfc. 
> 
> I send the session.cart object into session.checkout object 
> so it can be used for whatever during checkout.
> 
> Ok, if the qty of something changes in the 1st cart object, 
> is it reflected in the session.checkout object as well? Or do 
> you have to send the updated cart into session.checkout.cfc 
> again. 

If Session.checkout contains a reference to Session.cart, and something
changes in Session.cart, that change will be seen within Session.checkout.
If Session.checkout copies a value from Session.cart, that value will not
automatically be updated within Session.checkout.

But you might want to rethink your objects in any case. Checking out seems
more like a method - something you do - than an object - something that has
its own methods and data.

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!

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233576
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: video files

2006-02-27 Thread Russ
Jim, 

We have been using mostly wmv's for our videos, and I usually compress them
with different bitrates in one file and then display them through windows
media services, so that the client can stream it.  

It's been working out fairly well for us.  I have a few dedicated servers at
several ISPs and can set up reliable hosting for you.  Contact me off list
with requirements. 

Russ

> -Original Message-
> From: Jim Wright [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 3:59 PM
> To: CF-Talk
> Subject: OT:video files
> 
> A few questions about hosting video files for those of you who have done
> it...
> 
> 1. what fomat have you found to have the most widespread ease of
> use/acceptance.  I'd like to embed these in the page.  Any particular
> CODECs/compression that work best...these will be for product
> demos...the size does not need to be enormous.
> 2. assuming that you are provided with fairly large AVI files, what
> are the best programs out there for compressing those into whatever
> that best format is(see question 1).
> 3.  As the clients who want to do this generally have low-priced
> shared hosting situations, I am looking at having the video hosted at
> some service external to their main host...does anyone know of hosts
> which provide reliable "media" hosting?
> 
> --
> Jim Wright
> Wright Business Solutions
> [EMAIL PROTECTED]
> 919-417-2257
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233575
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


OT:video files

2006-02-27 Thread Jim Wright
A few questions about hosting video files for those of you who have done it...

1. what fomat have you found to have the most widespread ease of
use/acceptance.  I'd like to embed these in the page.  Any particular
CODECs/compression that work best...these will be for product
demos...the size does not need to be enormous.
2. assuming that you are provided with fairly large AVI files, what
are the best programs out there for compressing those into whatever
that best format is(see question 1).
3.  As the clients who want to do this generally have low-priced
shared hosting situations, I am looking at having the video hosted at
some service external to their main host...does anyone know of hosts
which provide reliable "media" hosting?

--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233574
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


ncaa pool

2006-02-27 Thread Rick Root
I wrote an ncaa pool app last year and modified it for this year.. using 
cfajax, and integrating into Galleon... should be pretty easy to 
integrate into any third party authentication system.. and if you don't 
have one, just download galleon.. that way people can boast about how 
well they're doing.

http://www.opensourcecf.com/ncaapool

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233573
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Will Tomlinson
Dave,

I have a separate question here. Let's say I have a session.cart cfc, and a 
session.checkout cfc. 

I send the session.cart object into session.checkout object so it can be used 
for whatever during checkout.

Ok, if the qty of something changes in the 1st cart object, is it reflected in 
the session.checkout object as well? Or do you have to send the updated cart 
into session.checkout.cfc again. 

Did I make any sense here? heeheehee...

Thanks,
Will

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233572
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Getting data into Flash 8

2006-02-27 Thread John C. Bland II
In no way am I trying to argue. That's why I hate email for discussions, in
most cases. I'm simply providing another view that is opposite of yours.

A novice ECMA developer should know something about ECMA. It would be stupid
for me to think a novice CF developer should know something about an ECMA
language if that is the only language they know.

No one is comparing anything to CF in terms of ease. I compared Remoting +
CF with AMFPHP and said they are equally simple, except for the method table
in amfphp. The simple understanding that you MUST know CF or PHP to do
Remoting in either is understood. I don't know Perl so I can't comment on
Remoting + Perl.

No arguments man. To be blunt, your views seemed limited and pointed to
facts that weren't so ("remoting with PHP is a lot more difficult."). All
I'm saying is if you have a working knowledge of php classes amfphp is not
hard. Obviously you would need a working knowledge of Actionscript as well.

If you want to take this off list we can no doubt do so.

Have a good one...

On 2/27/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
>
> If you just want to argue for the sake of arguing, than I'll just
> gracefully
> bow out, but if you think that "novices" have the first clue when it comes
> to ECMA... you should try teaching them.
>
> Their implementation was flawed for the first 7 releases and though I
> commend them on their achievement, I can't believe that the functionality
> they're providing is even comparable to CF, which is what I consider
> "easy".
>
> I'm done and out.
>
> !k
>
> -Original Message-
> From: John C. Bland II [mailto:[EMAIL PROTECTED]
> Sent: Sunday, February 26, 2006 4:06 PM
> To: CF-Talk
> Subject: Re: Getting data into Flash 8
>
> You don't have to use nested associate arrays. You can use numerical or
> associate. CF Stucts are nothing but associate arrays anyway. If you know
> how to use PHP classes then you know at least what an array is. You can
> return virtually any type in php to Flash. In the latest version you have
> more types you can return (including xml).
>
> http://www.amfphp.org/docs/datatypes.html
>
> So you know, when I first used AMFPHP I didn't know PHP that well. I was
> the
> definition of novice, in terms of PHP. But PHP classes are similar to ECMA
> classes so it wasn't hard to catch on. If you aren't a PHP developer then
> PHP itself is the problem...not AMFPHP. If you don't know CF then CF is
> the
> problem...not Remoting w/ CF. PHP's learning curve is somewhat steep.
>
> The issue with AMFPHP was the documentation was horrible at that point in
> the game (early versions) so the installation portion was a pain.
> Everything
> dealt with server-wide installation on Apache so it was terribly
> confusing.
> Once I figured out it was just a folder everything else was a piece of
> cake.
>
> On 2/26/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> >
> > It depends what kind of implementation you're trying to accomplish. My
> > point
> > is that for someone without a lot of PHP experience, the nested
> > associative
> > arrays can intimidating.
> >
> > You seem to assume your views based on your own knowledge and skills,
> and
> > that's fine. I judge software based on what an absolute novice would
> > think...
> >
> > Cheers,
> >
> > Kevin
> >
> > -Original Message-
> > From: John C. Bland II [mailto:[EMAIL PROTECTED]
> > Sent: Saturday, February 25, 2006 5:48 PM
> > To: CF-Talk
> > Subject: Re: Getting data into Flash 8
> >
> > Sorry Kevin, AMFPHP is terribly simple to use. It only has 1 more step
> > than
> > CF (which is the method table for restricting access, etc). I wasn't
> going
> > to respond but I figured it was nothing but a constructive conversation
> > anyway. :-)
> >
> > On 2/24/06, Kevin Aebig <[EMAIL PROTECTED]> wrote:
> > >
> > > Haha... remoting with PHP is a lot more difficult.
> > >
> > > -Original Message-
> > > From: Andy Matthews [mailto:[EMAIL PROTECTED]
> > > Sent: February 24, 2006 1:48 PM
> > > To: CF-Talk
> > > Subject: RE: Getting data into Flash 8
> > >
> > > Thanks Dave. I'll check that out.
> > >
> > > But yeah, I feel that they do make it complicated...too many steps to
> do
> > > such a simple thing. How would you feel if you had to go through 6 or
> 7
> > > steps just to get some data back from a datasource using ColdFusion.
> > >
> > > You'd probably feel like you were coding in PHP eh?
> > >
> > >  > > andy matthews
> > > web developer
> > > ICGLink, Inc.
> > > [EMAIL PROTECTED]
> > > 615.370.1530 x737
> > > --//->
> > >
> > > -Original Message-
> > > From: dave [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, February 24, 2006 1:43 PM
> > > To: CF-Talk
> > > Subject: RE: Getting data into Flash 8
> > >
> > >
> > > MM didn't make it complex, you are making it complex, it ain't rocket
> > > science.
> > >
> > > They pretty much do have drag and drop components already built in,
> you
> > > can
> > > have remoting working in under 30 seco

Re: Getting data into Flash 8

2006-02-27 Thread John C. Bland II
Oh, my bad. Whoever wants help with Remoting I can do a Breezo to walk folks
through it.

Since you think it is on topic and the powers that be won't hit me over the
knuckles, I'll respond.

I agree with "test on your own stuff" but when going to a production
environment, hence your clients shared hosting space, you HAVE to test the
site or app you've built within that environment. At this point you could
have bugs running rampit. Most people have sites up that are worse than beta
stuff anyways, in terms of code. That's why I am 100% with you in saying get
a dedicated box if you are worried about others.

The way it sounds, you never put code on a shared server unless you know it
is 100% working and has no bugs. If so, you are rare. So you know, I don't
use shared servers anymore but when I did, and for those I know who still
do, you have to test in the production environment before you can say a
project is ready. While you are testing, IMO, that is a beta version of the
product. or site. Not doing so isn't justice for the product or client.

My opinions...

On 2/26/06, dave <[EMAIL PROTECTED]> wrote:
>
> Actually I didn't ask for help with remoting was just responding.
>
> As far as what you say about hosting, I totally disagree. If you are on a
> shared host in a production enviroment you shouldn't be allowed to do beta
> tests or anything even remotely close to that, do that on your dev machine
> or get your own server for your experiments. It's a production machine and
> not just yours but hundreds of other peoples as well and beta and
> experiments aren't for production servers, why would you think they
> are?  Next time your server is crashing just think "oh hey I bet that's
> someone testing their beta product or code", I'm sure your customers will be
> real happy with that answer when they ask whey their site is going down a
> lot, it's bad enough with ppl running bad code.
>
> Personally, I don't think it's off topic because we are talking about a
> technical issue and I would be curious to see what others say about it. I
> have been on servers that go down a lot and ppl say "oh thats just
> coldfusion server" but then I move to an new server and it purrs along with
> no problems then I find out it's because someones "experimental" code. Of
> course I could be wrong and shame on me for using a shared server and take
> the lumps and bumps but if everyone on a server had commen sense and didn't
> use it for their personal playground they wouldn't be crashing. If that's
> what you want get a dedicated server.
>
> ~Dave the disruptor~
>
> 
> From: "John C. Bland II" <[EMAIL PROTECTED]>
> Sent: Sunday, February 26, 2006 8:35 PM
> To: CF-Talk 
> Subject: Re: Getting data into Flash 8
>
> I don't want to go into a hosting dispute but any host who controls my
> content and/or files is a bad one. That means, any product I develop that
> is
> in beta stage can't be posted on their server which may be my testing
> environment. It just contradicts the idea of purchasing X GB's/mo (or
> mb's)
> for you to use for your own personal or business use if the content is
> filtered. That's utterly ludicrous for a host to do such a thing.
>
> These are just my opinions. I promise I won't respond to your hosting
> comments if you decide to respond to this. I know this post has gone WOT.
>
> Anyways, did you get the Remoting going? If you want side help I'd be more
> than willing to jump into Breeze and show you hands-on how to do it. Just
> let me know off list.
>
> Thanks,
>
> On 2/26/06, dave  wrote:
> >
> > I'd call them a good host or any in that matter who makes sure stuff
> > (especially beta products) aren't installed on a shared production
> server.
> >
> > If your host lets you put whatever you want up, I would certain run like
> a
> > mofo the other direction.
> >
> > ~Dave the disruptor~
> >
> > 
> > From: "John C. Bland II"
> > Sent: Sunday, February 26, 2006 4:59 PM
> > To: CF-Talk
> > Subject: Re: Getting data into Flash 8
> >
> > LOL. I'd like to talk to those hosts to see what their issue was. It is
> > like
> > them telling you no to putting Pear on the server. It isn't their call.
> > You
> > pay for space...put what you want on the server, as long as it is legal.
> > As
> > said, it doesn't take the host to install it. Again, amfphp is nothing
> > more
> > than a set of files you put on your server.
> >
> > Although Adobe has the patent I HIGHLY doubt they would nix other amf
> > products. That will just limit Flash's use with other technologies which
> > would be dumb. There is a free Remoting gateway for .net as well and
> about
> > 2
> > or 3 for php. They would be dumb to stop it and I say they would never
> do
> > it
> > especially since MM was becoming so community driven and Adobe is
> > continuing, and bettering it seems (hence the Flex 2 pricing, etc), to
> > work
> > with the community.
> >
> > IMO, Adobe will n

object tag and embeding a movie

2006-02-27 Thread Wurst, Keith D.
hi everyone. has anyone ever come across the object tag resolving as
"InvalidTag" when trying to embed a movie in a page? for example - below
is the code I'm using, but object never shows up in the code. thanks for
the help.



http://www.valo-brand.com/version%202/videoclips/jj.1small.wmv";>








http://www.valo-brand.com/version%202/videoclips/jj.1small.wmv";
width="320" height="240" autostart='1' loop='0'
type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/ en/download/'
id='mediaPlayer' displaysize='4' autosize='0' 
bgcolor='darkblue' showcontrols='0' showtracker='1' 
showdisplay='0' showstatusbar='0' videoborder3d='0' designtimesp='5311'>



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233569
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Uprgraded from CF4.5 to CF MX7 UTF-8 problem

2006-02-27 Thread Brian Yager
>Brian Yager wrote:
>> you are the man!  I looked at trying to fix it but I am clueless.  I
>> just don't see what it doesn't like.  Thanks for the help!
>
>what *were* the chars when it worked?

I have no idea as it just put a ? in front of every menu item.  Now that the 
default has been changed, there is nothing there.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233568
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SQL Exists, better way to run query?

2006-02-27 Thread Eric J. Hoffman
That and the indexing made it work sweet...nice combo.  Thanks again,
all.

eric 





Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.


-Original Message-

From: Jim Wright [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 12:15 PM
To: CF-Talk
Subject: Re: SQL Exists, better way to run query?

It seems like your logic is going to return every record from the
customer table if a match is found in the customer_orders table.  You
need to tie the customer id from each of the tables together...something
like

EXISTS (Select cust_po from customer_orders where cust_po = '#form.po#'
AND customerid = cu.customerid)

--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233567
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Bryan Stevenson
Those are your start and end timesyou set start before the task begins and 
set end when it's done.  Perhaps I'm mis-reading you?

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 


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233566
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Josh Nathanson
If you are on CF7, you can use cfform/cfinput to make sure they are entering 
a valid time value.






Then...
#DateDiff(form.timefield1,form.timefield2, 
[precision])#

Note that DateDiff returns a date/time value rather than an integer value, 
this threw me off for a while recently.

-- Josh




- Original Message - 
From: "Eric Lackey" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, February 27, 2006 10:39 AM
Subject: RE: Time Calculations


> As long as it's a valid date/time object, ColdFusion can give you the
> difference.
>
> 
> 
> The number of seconds since then is #DateDiff('s',now(),dteThen)#
> 
>
>
> -Original Message-
> From: Love Sponge [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 11:37 AM
> To: CF-Talk
> Subject: Re: Time Calculations
>
> I know DateDiff would work in many cases but here the user is inputting
> the time.  How do you get datediff to recognize the user inputted time?
>
>>I think you probably looking for the DateDiff function.  You can pass
> in
>>two date/time objects and get the difference in days, hours, minutes,
>>seconds, or whichever you prefer.
>>
>>http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/com
> m
>>on/html/wwhelp.htm?context=ColdFusion_Documentation&file=0440.htm
>>
>>
>>
>>-Original Message-
>>From: Love Sponge [mailto:[EMAIL PROTECTED]
>>Sent: Monday, February 27, 2006 11:29 AM
>>To: CF-Talk
>>Subject: Re: Time Calculations
>>
>>Could you be a bit more specific, getTickCount()seem to be ignoring the
>>time I entered as start and end times I entered for testing.  Could it
>>be using system time instead?
>>
>>(StartTime,
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233565
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Time Calculations

2006-02-27 Thread Ian Skinner
DateParse, turns a date string into a date object, one can then dateDiff the 
objects.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233564
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Time Calculations

2006-02-27 Thread Eric Lackey
As long as it's a valid date/time object, ColdFusion can give you the
difference. 



The number of seconds since then is #DateDiff('s',now(),dteThen)#



-Original Message-
From: Love Sponge [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 11:37 AM
To: CF-Talk
Subject: Re: Time Calculations

I know DateDiff would work in many cases but here the user is inputting
the time.  How do you get datediff to recognize the user inputted time?

>I think you probably looking for the DateDiff function.  You can pass
in
>two date/time objects and get the difference in days, hours, minutes,
>seconds, or whichever you prefer.  
>
>http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/com
m
>on/html/wwhelp.htm?context=ColdFusion_Documentation&file=0440.htm
>
>
>
>-Original Message-
>From: Love Sponge [mailto:[EMAIL PROTECTED] 
>Sent: Monday, February 27, 2006 11:29 AM
>To: CF-Talk
>Subject: Re: Time Calculations
>
>Could you be a bit more specific, getTickCount()seem to be ignoring the
>time I entered as start and end times I entered for testing.  Could it
>be using system time instead?
>
>(StartTime,



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233563
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Love Sponge
I know DateDiff would work in many cases but here the user is inputting the 
time.  How do you get datediff to recognize the user inputted time?

>I think you probably looking for the DateDiff function.  You can pass in
>two date/time objects and get the difference in days, hours, minutes,
>seconds, or whichever you prefer.  
>
>http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/comm
>on/html/wwhelp.htm?context=ColdFusion_Documentation&file=0440.htm
>
>
>
>-Original Message-
>From: Love Sponge [mailto:[EMAIL PROTECTED] 
>Sent: Monday, February 27, 2006 11:29 AM
>To: CF-Talk
>Subject: Re: Time Calculations
>
>Could you be a bit more specific, getTickCount()seem to be ignoring the
>time I entered as start and end times I entered for testing.  Could it
>be using system time instead?
>
>(StartTime,

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233562
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Charlie Griefer
getTickCount() isn't what you want if you are trying to manually set
start/end times.

check the docs for dateDiff()

On 2/27/06, Love Sponge <[EMAIL PROTECTED]> wrote:
> Could you be a bit more specific, getTickCount()seem to be ignoring the time 
> I entered as start and end times I entered for testing.  Could it be using 
> system time instead?
>
> >
> >
> >do a bunch of stuff
> >
> >
> >
> > (in milliseconds)
> >
> >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: "Love Sponge" <[EMAIL PROTECTED]>
> >To: "CF-Talk" 
> >Sent: Monday, February 27, 2006 8:50 AM
> >Subject: Time Calculations
> >
> >
> >> Hi all,
> >> Can anyone tell me what is the best way to capture user input (StartTime,
> >> EndTime) and resuse this data to calculate TimeElapsed.
> >>
> >> Thanks.
> >>
> >>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233561
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Time Calculations

2006-02-27 Thread Eric Lackey
I think you probably looking for the DateDiff function.  You can pass in
two date/time objects and get the difference in days, hours, minutes,
seconds, or whichever you prefer.  

http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/comm
on/html/wwhelp.htm?context=ColdFusion_Documentation&file=0440.htm



-Original Message-
From: Love Sponge [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 11:29 AM
To: CF-Talk
Subject: Re: Time Calculations

Could you be a bit more specific, getTickCount()seem to be ignoring the
time I entered as start and end times I entered for testing.  Could it
be using system time instead?

>
>
>do a bunch of stuff
>
>
>
> (in milliseconds)
>
>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: "Love Sponge" <[EMAIL PROTECTED]>
>To: "CF-Talk" 
>Sent: Monday, February 27, 2006 8:50 AM
>Subject: Time Calculations
>
>
>> Hi all,
>> Can anyone tell me what is the best way to capture user input
(StartTime, 
>> EndTime) and resuse this data to calculate TimeElapsed.
>>
>> Thanks.
>>
>>



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233560
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Love Sponge
Could you be a bit more specific, getTickCount()seem to be ignoring the time I 
entered as start and end times I entered for testing.  Could it be using system 
time instead?

>
>
>do a bunch of stuff
>
>
>
> (in milliseconds)
>
>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: "Love Sponge" <[EMAIL PROTECTED]>
>To: "CF-Talk" 
>Sent: Monday, February 27, 2006 8:50 AM
>Subject: Time Calculations
>
>
>> Hi all,
>> Can anyone tell me what is the best way to capture user input (StartTime, 
>> EndTime) and resuse this data to calculate TimeElapsed.
>>
>> Thanks.
>>
>>

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233559
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Macromedia.com Developer Exchange UI - is this Flex or CFFORM?

2006-02-27 Thread Nathan Strutz
I think it's neither Flex nor CFForm. It came out shortly after CFMX 6. From
what I know, it's a handmade RIA, built with Flash, and CFCs in the back
end. Flex didn't enter the market for at least 2 years after, and flash
cfforms not until CFMX 7.

-nathan strutz
http://www.dopefly.com/


On 2/27/06, Pete Ruckelshaus <[EMAIL PROTECTED]> wrote:
>
> I'm trying to accomplish something close to what the Macromedia
> Developer Exchange has, a flash form with a column-sortable grid and
> cells that contain links.
>
>
> http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn130&viewName=ColdFusion%20Exchange&authorid=0&page=0&scrollPos=0&subcatid=0&snid=sn130&itemnumber=-1&extid=0&catid=1
>
> I haven't been able to figure out how to accomplish this with
> cfgrid/cfform.  Can anyone tell me if MACR is using standard cfform
> functionality here, or are they using Flex?  Are there any code
> examples of how to accomplish this?
>
> Thanks
>
> Pete
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233558
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Server errors

2006-02-27 Thread Nathan Strutz
The server crashing is usually tied to not locking every session,
application and server variable scope call. It'll keep doing this until you
change all your code or upgrade to at least CFMX 6.0.

Your mystery error may be related to that... If not, these kinds of things
go away with an upgrade, but then you will find new ones. Hopefully the
better error reporting will help you solve it if it is a coding problem.

Verity failing sounds like a bug. There's a very good chance that this was
solved in CFMX 7 when Macromedia upgraded the underlying Verity engine
(which I believe is the first time since... v4 or v5?). You may be able to
find a patch.

-nathan strutz
http://www.dopefly.com/


On 2/27/06, Scott Stewart <[EMAIL PROTECTED]> wrote:
>
> Wouldn't it figure that as were getting ready to migrate to CFMX, the
> current 5.0 install goes haywire. We have a myriad of issues.
>
>
>
> 1)   the CF service stops and reboots several times in bursts.
>
> a.   The only "pattern" I can see is several failed FTP attempts about
> two hours or so beforehand. But this isn't everytime.
>
>
>
> 2)   This mystery error:
>
> a.   An error occurred while processing your request. Reference
> #97.e6c923f.1141051179.407bbb.
>
>
>
> 3) On occasion the Verity collections fail to open.
>
>
>
>
>
> We're running CF 5.0 Enterprise on a windows2000 platform
>
>
>
>
>
> Any ideas, I'd like to solve this before the upgrade. Or at least rule out
> CF as the main cause.
>
>
>
> Thanks
>
>
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233557
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: SQL Exists, better way to run query?

2006-02-27 Thread Jim Wright
It seems like your logic is going to return every record from the
customer table if a match is found in the customer_orders table.  You
need to tie the customer id from each of the tables
together...something like

EXISTS (Select cust_po from customer_orders where cust_po =
'#form.po#' AND customerid = cu.customerid)

--
Jim Wright
Wright Business Solutions
[EMAIL PROTECTED]
919-417-2257

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233556
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Time Calculations

2006-02-27 Thread Bryan Stevenson


do a bunch of stuff



 (in milliseconds)

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: "Love Sponge" <[EMAIL PROTECTED]>
To: "CF-Talk" 
Sent: Monday, February 27, 2006 8:50 AM
Subject: Time Calculations


> Hi all,
> Can anyone tell me what is the best way to capture user input (StartTime, 
> EndTime) and resuse this data to calculate TimeElapsed.
>
> Thanks.
>
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233555
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Uprgraded from CF4.5 to CF MX7 UTF-8 problem

2006-02-27 Thread Paul Hastings
Brian Yager wrote:
> you are the man!  I looked at trying to fix it but I am clueless.  I
> just don't see what it doesn't like.  Thanks for the help!

what *were* the chars when it worked?

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233554
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: SQL Exists, better way to run query?

2006-02-27 Thread Russ
EXISTS is a bit slow... but it shouln't run forever... do you have an index
on the cust_po field?  That might help thing a LOT. 

Russ

> -Original Message-
> From: Eric J. Hoffman [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 27, 2006 12:51 PM
> To: CF-Talk
> Subject: SQL Exists, better way to run query?
> 
> I have a long query that checks to see what someone entered in the
> previous form and only searches by that.
> 
> 
> 
> In one area, the problem one of course, it searches by Purchase Order
> number.
> 
> 
> 
> 
> 
> (cu.cust_openpo LIKE
> '%#form.po#%'
> 
> OR EXISTS (Select
> cust_po from customer_orders where cust_po = '#form.po#'))
> 
> 
> 
> 
> 
> So it looks for a stored PO from the customer table from the main join;
> but they also want to be able to check for any previous order that
> contained the purchase order number, so I fumbled with an Exists query.
> 
> 
> 
> It seems to make it run *forever*.  What is a better way to find it,
> make it a left outer join in the main joins or what?   Some other
> method?
> 
> 
> 
> Thanks!
> 
> 
> 
> Eric J. Hoffman
> Managing Partner
> 2081 Industrial Blvd
> StillwaterMN55082
> mail: [EMAIL PROTECTED]
> www: http://www.ejhassociates.com
> tel: 651.717.4105
> fax: 651.717.4115
> mob: 651.245.2717
> 
> 
> 
> This message contains confidential information and is intended only for
> [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you
> should not disseminate, distribute or copy this e-mail. Please notify
> [EMAIL PROTECTED] immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system. E-mail
> transmission cannot be guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive late
> or incomplete, or contain viruses. Eric J. Hoffman therefore does not
> accept liability for any errors or omissions in the contents of this
> message, which arise as a result of e-mail transmission. If verification
> is required please request a hard-copy version.
> 
> 
> 
> 

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233553
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Time Calculations

2006-02-27 Thread Love Sponge
Hi all,
Can anyone tell me what is the best way to capture user input (StartTime, 
EndTime) and resuse this data to calculate TimeElapsed.

Thanks.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233552
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


SQL Exists, better way to run query?

2006-02-27 Thread Eric J. Hoffman
I have a long query that checks to see what someone entered in the
previous form and only searches by that.

 

In one area, the problem one of course, it searches by Purchase Order
number.

 



(cu.cust_openpo LIKE
'%#form.po#%'

OR EXISTS (Select
cust_po from customer_orders where cust_po = '#form.po#'))



 

So it looks for a stored PO from the customer table from the main join;
but they also want to be able to check for any previous order that
contained the purchase order number, so I fumbled with an Exists query.

 

It seems to make it run *forever*.  What is a better way to find it,
make it a left outer join in the main joins or what?   Some other
method?

 

Thanks!



Eric J. Hoffman
Managing Partner
2081 Industrial Blvd
StillwaterMN55082
mail: [EMAIL PROTECTED]
www: http://www.ejhassociates.com
tel: 651.717.4105
fax: 651.717.4115
mob: 651.245.2717



This message contains confidential information and is intended only for [EMAIL 
PROTECTED] If you are not cf-talk@houseoffusion.com you should not disseminate, 
distribute or copy this e-mail. Please notify [EMAIL PROTECTED] immediately by 
e-mail if you have received this e-mail by mistake and delete this e-mail from 
your system. E-mail transmission cannot be guaranteed to be secure or 
error-free as information could be intercepted, corrupted, lost, destroyed, 
arrive late or incomplete, or contain viruses. Eric J. Hoffman therefore does 
not accept liability for any errors or omissions in the contents of this 
message, which arise as a result of e-mail transmission. If verification is 
required please request a hard-copy version.



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233551
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 and Microsoft Index Server

2006-02-27 Thread Paul Hastings
James Wood wrote:
> Thanks I have that on my book list, so will move it right to the top :)

or you might drop nate a line. i just recalled that this came up 
recently & i think he dug up the code then.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233550
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Macromedia.com Developer Exchange UI - is this Flex or CFFORM?

2006-02-27 Thread Loathe
Looks like tables and links form here.

-Original Message-
From: Pete Ruckelshaus [mailto:[EMAIL PROTECTED] 
Sent: Monday, February 27, 2006 11:54 AM
To: CF-Talk
Subject: Macromedia.com Developer Exchange UI - is this Flex or CFFORM?

I'm trying to accomplish something close to what the Macromedia Developer
Exchange has, a flash form with a column-sortable grid and cells that
contain links.

http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn130&vi
ewName=ColdFusion%20Exchange&authorid=0&page=0&scrollPos=0&subcatid=0&snid=s
n130&itemnumber=-1&extid=0&catid=1

I haven't been able to figure out how to accomplish this with cfgrid/cfform.
Can anyone tell me if MACR is using standard cfform functionality here, or
are they using Flex?  Are there any code examples of how to accomplish this?

Thanks

Pete



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233549
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Uprgraded from CF4.5 to CF MX7 UTF-8 problem

2006-02-27 Thread Brian Yager
you are the man!  I looked at trying to fix it but I am clueless.  I just don't 
see what it doesn't like.  Thanks for the help!

Brian

>Brian Yager wrote:
>> I just upgraded to CF MX7 and some of my Javascrip Slide Menu's have
>> ? in the front.  I know this is because of the default UTF-8.  Is
>> there a way I can change the default?  I tried using (cfcontent
>
>you'd probably be better served fixing the garbaged chars. but if not 
>change the charset value in cf_root/lib/neo-runtime.xml file:
>
>UTF-8
>
>to the encoding you want (not btw ASCII, maybe iso-8859-1).

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233548
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Anyone using this RFC?

2006-02-27 Thread Larry Lyons
>Has anyone developed to this RFC yet?
>
>http://www.ietf.org/rfc/rfc1149.txt
>
>--

Yes. The Bergin Linux Users Group in Norway has a working model of this RFC:

http://www.blug.linux.no/rfc1149/

enjoy,

larry
--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233547
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Macromedia.com Developer Exchange UI - is this Flex or CFFORM?

2006-02-27 Thread Pete Ruckelshaus
I'm trying to accomplish something close to what the Macromedia
Developer Exchange has, a flash form with a column-sortable grid and
cells that contain links.

http://www.macromedia.com/cfusion/exchange/index.cfm#loc=en_us&view=sn130&viewName=ColdFusion%20Exchange&authorid=0&page=0&scrollPos=0&subcatid=0&snid=sn130&itemnumber=-1&extid=0&catid=1

I haven't been able to figure out how to accomplish this with
cfgrid/cfform.  Can anyone tell me if MACR is using standard cfform
functionality here, or are they using Flex?  Are there any code
examples of how to accomplish this?

Thanks

Pete

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233546
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 and Microsoft Index Server

2006-02-27 Thread James Wood
Paul Hastings wrote:

>quickest way is to get a copy of the cf advanced book. nate weiss & i 
>(well mostly nate) have a cftag that handles that somewhere in there.


Thanks I have that on my book list, so will move it right to the top :)

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233545
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: MX7 and Microsoft Index Server

2006-02-27 Thread Paul Hastings
James Wood wrote:
> Has anyone used MS Index server in conjunction with CF for searchs?

yes.

> Any help whatsoever would be greatly appreciated.

quickest way is to get a copy of the cf advanced book. nate weiss & i 
(well mostly nate) have a cftag that handles that somewhere in there.

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233544
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Uprgraded from CF4.5 to CF MX7 UTF-8 problem

2006-02-27 Thread Paul Hastings
Brian Yager wrote:
> I just upgraded to CF MX7 and some of my Javascrip Slide Menu's have
> ? in the front.  I know this is because of the default UTF-8.  Is
> there a way I can change the default?  I tried using (cfcontent

you'd probably be better served fixing the garbaged chars. but if not 
change the charset value in cf_root/lib/neo-runtime.xml file:

UTF-8

to the encoding you want (not btw ASCII, maybe iso-8859-1).

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233543
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


MX7 and Microsoft Index Server

2006-02-27 Thread James Wood
Has anyone used MS Index server in conjunction with CF for searchs?

Any help whatsoever would be greatly appreciated.


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233542
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Server errors

2006-02-27 Thread Scott Stewart
Wouldn't it figure that as were getting ready to migrate to CFMX, the
current 5.0 install goes haywire. We have a myriad of issues.

 

1)   the CF service stops and reboots several times in bursts.

a.   The only "pattern" I can see is several failed FTP attempts about
two hours or so beforehand. But this isn't everytime.

 

2)   This mystery error:

a.   An error occurred while processing your request. Reference
#97.e6c923f.1141051179.407bbb. 

 

3) On occasion the Verity collections fail to open.

 

 

We're running CF 5.0 Enterprise on a windows2000 platform

 

 

Any ideas, I'd like to solve this before the upgrade. Or at least rule out
CF as the main cause.

 

Thanks



~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233541
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Dave Watts
> Sure, you can certainly do that, as long as the methods of 
> the object are public, or both objects are within the same 
> "package" (directory).

I left out one part there - if both objects are within the same directory,
their methods can be called by each other if their ACCESS attribute is set
to "PACKAGE". If the ACCESS attribute is set to "PUBLIC", the method can be
called from anywhere.

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!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233540
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Andy Matthews
Ah yes...neglected to mention that. Both CFC files are within the same
directory. Thank you for verifying that Dave, appreciated.



-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 9:39 AM
To: CF-Talk
Subject: RE: Calling a CFC method from another, totally different CFC?


> I wanted to find out what the protocol for this is. If I have
> 2 CFCs that have been instantiated and I want to call a
> method from 1 inside the other, do I just use normal syntax?
>
> For example, assuming instantiation like this:
>
> 
>   // intialize the query manager CFC
>   APPLICATION.queryObj = CreateObject("component",
> "includes.queryManager");
>
>   // intialize the image manipulation CFC
>   APPLICATION.imgObj = CreateObject("component",
> "includes.imageMan"); 
>
> If I want to call a method from the queryObj inside the
> imgObj, would I just reference it like so:
> APPLICATION.queryObj.

Sure, you can certainly do that, as long as the methods of the object are
public, or both objects are within the same "package" (directory).

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!




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233539
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Dave Watts
> I wanted to find out what the protocol for this is. If I have 
> 2 CFCs that have been instantiated and I want to call a 
> method from 1 inside the other, do I just use normal syntax?
> 
> For example, assuming instantiation like this:
> 
> 
>   // intialize the query manager CFC
>   APPLICATION.queryObj = CreateObject("component", 
> "includes.queryManager");
> 
>   // intialize the image manipulation CFC
>   APPLICATION.imgObj = CreateObject("component", 
> "includes.imageMan"); 
> 
> If I want to call a method from the queryObj inside the 
> imgObj, would I just reference it like so:
> APPLICATION.queryObj.

Sure, you can certainly do that, as long as the methods of the object are
public, or both objects are within the same "package" (directory).

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!


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233538
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Uprgraded from CF4.5 to CF MX7 UTF-8 problem

2006-02-27 Thread Brian Yager
I just upgraded to CF MX7 and some of my Javascrip Slide Menu's have ? in the 
front.  I know this is because of the default UTF-8.  Is there a way I can 
change the default?  I tried using (cfcontent type="text/html charset=ASCII") 
But the browser blocks it and thinks it's trying to download the file.  I 
really need some help with this.  

Thanks in Advance,

Brian

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233537
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Calling a CFC method from another, totally different CFC?

2006-02-27 Thread Andy Matthews
I wanted to find out what the protocol for this is. If I have 2 CFCs that
have been instantiated and I want to call a method from 1 inside the other,
do I just use normal syntax?

For example, assuming instantiation like this:


  // intialize the query manager CFC
  APPLICATION.queryObj = CreateObject("component", "includes.queryManager");

  // intialize the image manipulation CFC
  APPLICATION.imgObj = CreateObject("component", "includes.imageMan");


If I want to call a method from the queryObj inside the imgObj, would I just
reference it like so:
APPLICATION.queryObj.

?





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233536
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


CFMAIL problems - javax.activation.UnsupportedDataTypeException

2006-02-27 Thread James Holmes
This pops up every now and then on our Sun Solaris CF 6.1 Enterprise
machines when using the cfmail tag:

A problem occurred when attempting to deliver mail.
This exception was caused by: javax.mail.MessagingException:
IOException while sending message; nested exception is:
javax.activation.UnsupportedDataTypeException: no object DCH for MIME
type text/plain; charset=UTF-8.

Nothing special in terms of data was sent via the tag and nothing can
be successfully sent.

I'm waiting for the admins but as I recall a reboot clears this. Does
anyone have a clue why this comes up? Not being able to rely on email
going out is a real problem.

--
CFAJAX docs and other useful articles:
http://jr-holmes.coldfusionjournal.com/

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233535
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Pimp my FlashForms

2006-02-27 Thread Adrian Showalter
As for pimping flash forms, as of yet I've found no better source than
www.asfusion.com with tons of free code and examples.

Adrian Showalter
Software Developer
Holmes BizNet
www.HolmesBizNet.com 
330.893.3901 ext 102


-Original Message-
From: CF-Talk [mailto:[EMAIL PROTECTED]
Sent: Monday, February 27, 2006 8:07 AM
To: CF-Talk
Subject: ColdFusion Tech Talk (CF-Talk): Digest every 4 hours


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233534
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: How do I prevent "stuck" threads?

2006-02-27 Thread Dan G. Switzer, II
Jon,

>I just installed See Fusion... it's totally nasty. It shows me what
>ColdFusion is doing at runtime. I'm able to tell that I occasionally get
>some threads that become "stuck". For example:
>
>/home/index.cfm?event=displaySectionpage&id=292803
>n_id=292803>
> 72.30.103.96 -- 334,650,985 -- -- --ms,-- rows
>
>/home/index.cfm?event=displaySectionpage&code=20060222Sports
>nfile=20060222Sports>
> 204.6.201.196 -- 334,649,860 -- -- --ms,-- rows
>
>As you can see there are two requests that have been hung for over 300,000
>seconds. Usually those requests take very little time to process... maybe 5
>seconds at most. What is the best way to ensure that this don't happen?
>
>In my ColdFusion Administrator, I've set the setting for "Timeout requests
>after (seconds)" to "300" and I've checked the box too.

Start checking your code for loops that may have conditional logic that is
causing the loop to never exit--endless loops. 

Also, once a JDBC operation begins, the CF will not timeout and the JDBC
operation is completed. This means if you have a query that takes 600
seconds to run, the error will not get thrown until *after* the JDBC
operation completes. It will not halt in mid operation. So, this could
potentially mean the operation is getting hung during a JDBC operation.
Perhaps your JDBC connection is getting broken.

-Dan


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233533
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


How do I prevent "stuck" threads?

2006-02-27 Thread Jon Block
I just installed See Fusion... it's totally nasty. It shows me what ColdFusion 
is doing at runtime. I'm able to tell that I occasionally get some threads that 
become "stuck". For example:
 
/home/index.cfm?event=displaySectionpage&id=292803 

 
 72.30.103.96 -- 334,650,985 -- -- --ms,-- rows
 
/home/index.cfm?event=displaySectionpage&code=20060222Sports 

 
 204.6.201.196 -- 334,649,860 -- -- --ms,-- rows
 
As you can see there are two requests that have been hung for over 300,000 
seconds. Usually those requests take very little time to process... maybe 5 
seconds at most. What is the best way to ensure that this don't happen?
 
In my ColdFusion Administrator, I've set the setting for "Timeout requests 
after (seconds)" to "300" and I've checked the box too.
 
CFMX: 7,0,1,116466
Windows 2003 Server SP 2
Apache 1.3.33
 
Thank you,
Jon


This electronic message transmission contains information from Collegiate 
Funding Services, LLC or its subsidiaries or affiliates that may be 
confidential or privileged. The information is intended to be for the use of 
only the individual or entity named above. If you are not the intended 
recipient, be aware that any disclosure, copying, distribution or use of the 
contents of this information is strictly prohibited. If you have received this 
electronic transmission in error, please notify the sender by reply e-mail 
@cfsloans.com immediately and delete this e-mail and any attachments from your 
system and any copies you may have made, electronic or otherwise.




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233532
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: imagecfc ? (rick roots)

2006-02-27 Thread Rick Root
dave wrote:
> lol, ok lets try again..
> Yes I caught Ricks error but even after adding the correct info it still 
> errors.
> The error was on newHeight=51, said that the = wasnt allowed in the 
> expression or something.

what you can't paste the error message in here? ;)

Try taking out the parameter names... all of them... ie, remove 
"newHeight=" "newWidth=" etc...

Rick

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233531
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Pimp my FlashForms

2006-02-27 Thread Artur Kordowski
 or how to break the bounds of ColdFusion FlashForms
 
It's quite long I posted the last time something interesting on my Blog
(http://www.newsight.de). It lay on the one hand that I had a lot to do, on
the other hand I worked on something new. The more I'm glad to announce
today a new series of articles with the topic "Breaking bounds of ColdFusion
FlashForms".
 
The series will show how you can develop real Web 2.0 applications, which go
beyond that what the documentation officially accorded as possible. Cause
the FlashForms are based on the Flex 1.5 Framework, it will be also shown
how you can use Flex functionalities and techniques for your own
application, which are missing as standard on the FlashForms.
 
Did I make you curious? Then stay tuned, its start soon.
 
Artur


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233530
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-27 Thread dave
LMFAO, yet so true

I just can't friggin type!!

Here's what happens if I try to cap each sentence:

THe dog ran to the ball. BLack car ran over dog. DOg's eyes popped out. YUcky 
homeless man ate dead dogs popped out eyes. 

~Dave the disruptor~ 


From: "Adrian Lynch" <[EMAIL PROTECTED]>
Sent: Monday, February 27, 2006 4:50 AM
To: CF-Talk 
Subject: RE: Getting data into Flash 8 

Wha! You know Dave is serious when he capitalises the first words in his
paragraphs! :Oo

:OD





~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233529
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Getting data into Flash 8

2006-02-27 Thread Adrian Lynch
Wha! You know Dave is serious when he capitalises the first words in his
paragraphs! :Oo

:OD

-Original Message-
From: dave [mailto:[EMAIL PROTECTED]
Sent: 27 February 2006 02:02
To: CF-Talk
Subject: Re: Getting data into Flash 8


Actually I didn't ask for help with remoting was just responding.

As far as what you say about hosting, I totally disagree. If you are on a
shared host in a production enviroment you shouldn't be allowed to do beta
tests or anything even remotely close to that, do that on your dev machine
or get your own server for your experiments. It's a production machine and
not just yours but hundreds of other peoples as well and beta and
experiments aren't for production servers, why would you think they are?
Next time your server is crashing just think "oh hey I bet that's someone
testing their beta product or code", I'm sure your customers will be real
happy with that answer when they ask whey their site is going down a lot,
it's bad enough with ppl running bad code.

Personally, I don't think it's off topic because we are talking about a
technical issue and I would be curious to see what others say about it. I
have been on servers that go down a lot and ppl say "oh thats just
coldfusion server" but then I move to an new server and it purrs along with
no problems then I find out it's because someones "experimental" code. Of
course I could be wrong and shame on me for using a shared server and take
the lumps and bumps but if everyone on a server had commen sense and didn't
use it for their personal playground they wouldn't be crashing. If that's
what you want get a dedicated server.

~Dave the disruptor~


~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:233528
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54