Another quick update to CFJS

2009-10-19 Thread Chris Jordan

Hey folks,

I've made another quick update to the DateFormat function in CFJS. You can
read about it on my blog if you like (http://cjordan.us/index.cfm/CFJS).

It's at version 1.1.12, and as always is available from
http://cfjs.riaforge.org.

Cheers!
Chris


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327333
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Inspecting a digital certificate (programmatically)

2009-06-29 Thread Chris Jordan

Hi folks,

I've got the need to programmatically inspect a digital certificate for
certain things (has it been revoked, has it expired, who is the issuer,
etc.), but I don't know how to get a handle on the certificate in order to
check these things.

I've been googling and trying various things for a couple of days now, but
I'm not really getting anywhere. The best I've come up with is that I may
need to use classes in java.security.cert, but I don't know how to use them.
I've looked up the docs on them, but they're not helping too much.

Has anyone ever had to do this? How does one go about downloading a digital
certificate in order to inspect it?

I kinda thought that if I did a cfhttp GET request, that I might get the
certificate back to verify amongst the variables returned by cfhttp, but
that didn't appear to be the case.

I'm really, really stuck and could use any help I can get. :o(

Thanks,
Chris


~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:324053
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-26 Thread Chris Jordan
I'd like to hit the list up again on this subject if I could. Ezra helped me
immensley, but I'm still having trouble.

First, just so Ezra knows, this authHeader business you gave me worked just
fine. I'm authenticating and am able to call methods.

 BUT, it's not working like I expected -- or even like the getIPAddress()
example earlier in this thread. I take for my example another relatively
simple method call: getYears(). This method takes exactly one argument: a
string representing the CountryCode (U = United States, C = Canada, B =
Both).

Now the C# example shows something like:

ws.getYears(U)

Wouldn't it be lovely if that's all *I* had to do, too? But no. When I look
up the Years element in the WSDL I find:

s:element name=Years
  s:complexType
s:sequence
  s:element minOccurs=0 maxOccurs=1 name=sCountryCode
type=s:string/
/s:sequence
  /s:complexType
/s:element

It's a complex type. Well, thanks to Ezra I know that this means a CF
structure. So I create a structure with a member called 'sCountryCode' and I
set it to U. So my code becomes:

cfscript
  wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
  portname = UsedCarWS1;
  portname = UsedCarWS;
  ws = CreateObject(webservice, wsurl, portname);

  authHeader = xmlNew();
  authHeader.UserCredentials = xmlElemNew(authHeader,
http://localhost/webservices/UsedCarWS;, UserCredentials);

  // authHeader stuff here... ommitted for space...

  args = structNew();
  args.sCountryCode = U;
  response = ws.getYears(args);
/cfscript
cfdump var=#response#

So, response is now an object of type
localhost.webservices.UsedCarWS.YearsResponse that contains several
functions. Just like in the getIPAddress() example there was a method that
required no arguments that allowed me to get the returned data. In this case
it's called getYearsResult().

Here comes the problem. When I run getYearsResult(), instead of getting back
some sort of data structure with all of the available years in it, I get
another object with methods like:

equals(java.lang.Object)
getDeserializer(java.lang.String, java.lang.Class,
javax.xml.namespace.QName)
getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)
getTypeDesc()
get_any()
hashCode()
set_any(org.apache.axis.message.MessageElement[])

This confuses me even more. I have verified with the web service provider
that I am authenticting correctly and that the function is getting called. I
can't tell what data is coming back, but it is running and wouldn't do so if
I didn't authenticate correctly, so that's not the issue.

Any ideas what I'm doing wrong (other than trying to consume a SOAP based
web service)? This is obviously much, much easier in a .NET environment.

Thanks,
Chris

On Sat, Jan 24, 2009 at 12:50 PM, Ezra Parker e...@cfgrok.com wrote:

 You're welcome, I'm glad that helped. As far as authentication goes,
 it looks like this needs to be submitted as a SOAP header. I'm not too
 familiar with that aspect of web services, but here is my stab at it:

 cfscript
   wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
portname = UsedCarWS;
ws = CreateObject(webservice, wsurl, portname);

authHeader = xmlNew();
   authHeader.UserCredentials = xmlElemNew(authHeader,
 http://localhost/webservices/UsedCarWS;, UserCredentials);

   authHeader.UserCredentials.userid = xmlElemNew(authHeader, userid);
   authHeader.UserCredentials.userid.xmlText = userid; //plug in
 your userid value here

   authHeader.UserCredentials.password = xmlElemNew(authHeader, password);
   authHeader.UserCredentials.password.xmlText = password; //plug in
 your password value here

   authHeader.UserCredentials.company = xmlElemNew(authHeader, company);
   authHeader.UserCredentials.company.xmlText = company; //plug in
 your company value here

   authHeader.UserCredentials.producttype = xmlElemNew(authHeader,
 producttype);
   authHeader.UserCredentials.producttype.xmlText = producttype;
 //plug in your producttype value here

   authHeader.UserCredentials.returncode = xmlElemNew(authHeader,
 returncode);
   authHeader.UserCredentials.returncode.xmlText = 0; //this needs
 to be an integer

   authHeader.UserCredentials.returnmessage = xmlElemNew(authHeader,
 returnmessage);
   authHeader.UserCredentials.returnmessage.xmlText = returnmessage;
 //can this be an empty string?

   addSOAPRequestHeader(ws, ignored, ignored, authHeader);
   body = structNew();

   response = ws.getAllStates(body);
 /cfscript

 cfdump var=#response#

 I'm creating the header as an XML document (there may be a less
 verbose way of dealing with this -- if so, I'd love to hear it), and
 using the namespace indicated in the examples listed here:

 https://www.blackbookws.com/UsedCarWS.asmx?op=AllStates

 You will need to plug in the correct values for userid, password,
 etc., of course. I cannot tell if this works, as I obviously do not
 have the authentication credentials, but it does not thrown an error,
 and returns what 

Re: How do I traverse XML using ColdFusion?

2009-01-26 Thread Chris Jordan
bump? :o/

On Mon, Jan 26, 2009 at 1:49 PM, Chris Jordan chris.s.jor...@gmail.comwrote:

 I'd like to hit the list up again on this subject if I could. Ezra helped
 me immensley, but I'm still having trouble.

 First, just so Ezra knows, this authHeader business you gave me worked just
 fine. I'm authenticating and am able to call methods.

 ... BUT, it's not working like I expected -- or even like the
 getIPAddress() example earlier in this thread. I take for my example another
 relatively simple method call: getYears(). This method takes exactly one
 argument: a string representing the CountryCode (U = United States, C =
 Canada, B = Both).

 Now the C# example shows something like:

 ws.getYears(U)

 Wouldn't it be lovely if that's all *I* had to do, too? But no. When I look
 up the Years element in the WSDL I find:

 s:element name=Years
   s:complexType
 s:sequence
   s:element minOccurs=0 maxOccurs=1 name=sCountryCode
 type=s:string/
 /s:sequence
   /s:complexType
 /s:element

 It's a complex type. Well, thanks to Ezra I know that this means a CF
 structure. So I create a structure with a member called 'sCountryCode' and I
 set it to U. So my code becomes:

 cfscript
   wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
   portname = UsedCarWS1;
   portname = UsedCarWS;
   ws = CreateObject(webservice, wsurl, portname);

   authHeader = xmlNew();
   authHeader.UserCredentials = xmlElemNew(authHeader,
 http://localhost/webservices/UsedCarWS;, UserCredentials);

   // authHeader stuff here... ommitted for space...

   args = structNew();
   args.sCountryCode = U;
   response = ws.getYears(args);
 /cfscript
 cfdump var=#response#

 So, response is now an object of type
 localhost.webservices.UsedCarWS.YearsResponse that contains several
 functions. Just like in the getIPAddress() example there was a method that
 required no arguments that allowed me to get the returned data. In this case
 it's called getYearsResult().

 Here comes the problem. When I run getYearsResult(), instead of getting
 back some sort of data structure with all of the available years in it, I
 get another object with methods like:

 equals(java.lang.Object)
 getDeserializer(java.lang.String, java.lang.Class,
 javax.xml.namespace.QName)
 getSerializer(java.lang.String, java.lang.Class, javax.xml.namespace.QName)
 getTypeDesc()
 get_any()
 hashCode()
 set_any(org.apache.axis.message.MessageElement[])

 This confuses me even more. I have verified with the web service provider
 that I am authenticting correctly and that the function is getting called. I
 can't tell what data is coming back, but it is running and wouldn't do so if
 I didn't authenticate correctly, so that's not the issue.

 Any ideas what I'm doing wrong (other than trying to consume a SOAP based
 web service)? This is obviously much, much easier in a .NET environment.

 Thanks,
 Chris


 On Sat, Jan 24, 2009 at 12:50 PM, Ezra Parker e...@cfgrok.com wrote:

 You're welcome, I'm glad that helped. As far as authentication goes,
 it looks like this needs to be submitted as a SOAP header. I'm not too
 familiar with that aspect of web services, but here is my stab at it:

 cfscript
   wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
portname = UsedCarWS;
ws = CreateObject(webservice, wsurl, portname);

authHeader = xmlNew();
   authHeader.UserCredentials = xmlElemNew(authHeader,
 http://localhost/webservices/UsedCarWS;, UserCredentials);

   authHeader.UserCredentials.userid = xmlElemNew(authHeader, userid);
   authHeader.UserCredentials.userid.xmlText = userid; //plug in
 your userid value here

   authHeader.UserCredentials.password = xmlElemNew(authHeader,
 password);
   authHeader.UserCredentials.password.xmlText = password; //plug in
 your password value here

   authHeader.UserCredentials.company = xmlElemNew(authHeader, company);
   authHeader.UserCredentials.company.xmlText = company; //plug in
 your company value here

   authHeader.UserCredentials.producttype = xmlElemNew(authHeader,
 producttype);
   authHeader.UserCredentials.producttype.xmlText = producttype;
 //plug in your producttype value here

   authHeader.UserCredentials.returncode = xmlElemNew(authHeader,
 returncode);
   authHeader.UserCredentials.returncode.xmlText = 0; //this needs
 to be an integer

   authHeader.UserCredentials.returnmessage = xmlElemNew(authHeader,
 returnmessage);
   authHeader.UserCredentials.returnmessage.xmlText = returnmessage;
 //can this be an empty string?

   addSOAPRequestHeader(ws, ignored, ignored, authHeader);
   body = structNew();

   response = ws.getAllStates(body);
 /cfscript

 cfdump var=#response#

 I'm creating the header as an XML document (there may be a less
 verbose way of dealing with this -- if so, I'd love to hear it), and
 using the namespace indicated in the examples listed here:

 https://www.blackbookws.com/UsedCarWS.asmx?op=AllStates

 You will need to plug in the correct values for userid, password,
 etc

Re: How do I traverse XML using ColdFusion?

2009-01-26 Thread Chris Jordan
Ezra! Bless you for responding with even a stab in the dark. If this is it,
I'll scream because I thought I tried that already, but I'm gonna give it a
go right now. Stay tuned... :o)

Chris

On Mon, Jan 26, 2009 at 4:27 PM, Ezra Parker e...@cfgrok.com wrote:

 This is a bit of a stab in the dark, as I believe that I am seeing an
 empty response due to the fact that I am not authenticated, but give
 this a try (continuing from the last line of your script block):

 response = ws.getYears(args);

 result = response.getYearsResult().get_any();

 At this point, result will be an array containing two Java objects of
 the class org.apache.axis.message.MessageElement. Try dumping one or
 both, and investigating the methods they expose:

 cfdump var=#result[1]#
 cfdump var=#result[2]#

 In my case, I note that result[1].getName() returns schema (which
 sounds promising), result[1].getAttribute(javacast(string, id))
 returns NewDataSet (sounds even more promising), and that
 result[1].getValue() returns NULL (therefore I think this is an empty
 result set).

 I hope that is helpful...

 --
 Ezra Parker

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318573
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-24 Thread Chris Jordan
Ezra, that was the missing piece to my puzzle! It worked just like you said!
I think the only thing I need to work out now is how to authenticate so that
I can run the protected functions in UsedCarWS (as opposed to
UsedCarWSSoap12). If you have any insight on that I'd welcome it!

I owe you a beer Ezra! THANK YOU!!

Chris

On Fri, Jan 23, 2009 at 8:55 PM, Ezra Parker e...@cfgrok.com wrote:

 Hi Chris,

 I have been following this thread out of curiosity, and I think I
 might be able to help in pointing you in the right direction.

 The key bit here is the fact that the getIPAddress method has an input
 parameter, identified in the dump of the stub as:

 localhost.webservices.UsedCarWS.IPAddress

 In the WSDL, this is defined as:

 s:element name=IPAddress
s:complexType/
 /s:element

 So it's a complex type, but has no child elements, which corresponds
 to an empty CF structure. Therefore, if you change your code snippet
 to:

 cfscript
   wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
   portname = UsedCarWSSoap12;
   ws = CreateObject(webservice, wsurl, portname);
ip = StructNew();
 /cfscript

 cfdump var = #ws#
 cfdump var = #ws.getIPAddress(ip)#

 The second dump will display the object returned by the method call,
 which in turn has a getIPAddressResult() method that returns the IP of
 the CF server calling the web service:

 cfscript
   wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
   portname = UsedCarWSSoap12;
   ws = CreateObject(webservice, wsurl, portname);
ip = StructNew();
   response = ws.getIPAddress(ip);
 /cfscript

 cfdump var = #response.getIPAddressResult()#

 Hope that helps.

 --
 Ezra Parker



 On Fri, Jan 23, 2009 at 5:54 PM, Chris Jordan chris.s.jor...@gmail.com
 wrote:
  Brad,
 
  I tried passing the authentication stuff via the addSOAPRequestHeader,
 but
  there's something else going on here.
 
  What I've learned in the last couple of hours is that when using
  CreateObject to call a web service you can pass it a portname. I know
 from
  looking at the wsdl itself, that there are several portnames associated
 with
  this particular web service.
 
  The author of the web service suggested that I start by using the
  getIPAddress() method as it requires NO AUTHENTICATION. So I do this:
 
  cfscript
 wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
 portname = UsedCarWSSoap12;
 ws = CreateObject(webservice, wsurl, portname);
  /cfscript
 
  cfdump var = #ws#
  cfdump var = #ws.getIPAddress()#
 
  Try the code above. You'll see that dumping ws *does indeed* show you the
  available methods. There is exactly one available method: getIPAddress().
  I've verified this also using SOAPUI (http://www.soapui.org/).
 
  when I run the code above the last dump statement causes the error:
  *Web service operation getIPAddress with parameters *{}* cannot be
 found.*
 
  So, as an experiment I searched the web for some other free soap web
 service
  that wouldn't require some sort of login. I found geocoder.us (
  http://geocoder.us/dist/eg/clients/GeoCoderPHP.wsdl). I looked at some
  sample php code, and could easily see how it translated over to
 ColdFusion.
  My code became:
 
  cfscript
 address = 1600 Pennsylvania Av, Washington, DC;
 wsurl = http://geocoder.us/dist/eg/clients/GeoCoderPHP.wsdl;;
 ws = CreateObject(webservice, wsurl);
 //I found the geocode_address() method by looking at the dump
 //of the ws object returned by the previous line...
 geo = ws.geocode_address(address);
  /cfscript
 
  cfdump var = #ws#
  cfdump var = #geo[1].getLat()# , #geo[1].get_long()#
 
  This web service worked like a champ for me! :o) So, I'm not sure what's
 up
  with the other one.
  As far as the dumping thing goes, I will admit that there are a few
 things
  I'm not seeing, like the UserCredentials thing (which is a complexType...
  maybe that has something to do with it).
 
  You're right that the Stub functions in the parent class have nothing to
 do
  with the web service itself. Those are functions that CF uses under the
 hood
  I think to deal with the web services... I think.
 
  Anyway, I'm still stumped as to why my example using geocoder.us worked
  while my very similar example with blackbookusa.com isn't working...
 
  I've contacted the developer at blackbook, but probably won't hear from
 him
  until Monday. I would love to figure this out this weekend if I could.
 
  Thanks for sticking with me and for continuing to offer suggestions. :o)
 
  Chris

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318477
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user

How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
I've got a SOAP response in xml format, and I need to know how to traverse
it. I found that I should be able to use XmlSearch(xmlDoc, xPathString) to
return an array of nodes, but this just isn't working for me.

cfsavecontent variable=soapRequest
soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
xmlns:used=http://localhost/webservices/UsedCarWS;
   soapenv:Header
  used:UserCredentials
 !--Optional:--
 used:useridx/used:userid
 !--Optional:--
 used:passwordx/used:password
 !--Optional:--
 used:producttypeW/used:producttype
  /used:UserCredentials
   /soapenv:Header
   soapenv:Body
  used:Years
 !--Optional:--
 used:sCountryCodeU/used:sCountryCode
  /used:Years
   /soapenv:Body
/soapenv:Envelope
/cfsavecontent

cfhttp url=https://www.blackbookws.com/UsedCarWS.asmx?WSDL; method=POST
resolveurl=NO useragent=Axis/1.1
cfhttpparam type=xml name=body value=#soapRequest#
/cfhttp

cfset soapresponse = XMLParse(cfhttp.FileContent) /
cfset YearNodes =
xmlSearch(soapresponse,/Envelope/Body/YearsResponse/YearsResult/diffgram/modelyears/years/year/XmlText)

cfdump var=#YearNodes#
cfdump var=#soapresponse#

The dump of soapresponse shows me the structure of the xmlDocument, but the
dump of YearNodes just isn't working. It's always empty. What could I be
doing wrong?

Thanks,
Chris

-- 
http://cjordan.us


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318429
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
I was having trouble doing that Ray, and asked the list about it yesterday,
but go no response. So, I'm building it by hand because at least then I'm
getting somewhere. Though, I am stuck again. :o(

See my thread entitled Need Help with SOAP request. I hit my CFUG up for
help with this one too, and got a basic answer of maybe you'll have to
build it by hand.

I would love to be able to just call the SOAP methods I need. To be honest,
I was trying to use cfscript do do it and not cfinvoke, but both should work
similarly right?

Chris

On Fri, Jan 23, 2009 at 1:07 PM, Raymond Camden rcam...@gmail.com wrote:

 Kind of OT, but why are you making/parsing SOAP when CF can do that
 for you with cfinvoke?

 On Fri, Jan 23, 2009 at 12:31 PM, Chris Jordan chris.s.jor...@gmail.com
 wrote:
  I've got a SOAP response in xml format, and I need to know how to
 traverse
  it. I found that I should be able to use XmlSearch(xmlDoc, xPathString)
 to
  return an array of nodes, but this just isn't working for me.
 
  cfsavecontent variable=soapRequest
  soapenv:Envelope xmlns:soapenv=
 http://schemas.xmlsoap.org/soap/envelope/;
  xmlns:used=http://localhost/webservices/UsedCarWS;
soapenv:Header
   used:UserCredentials
  !--Optional:--
  used:useridx/used:userid
  !--Optional:--
  used:passwordx/used:password
  !--Optional:--
  used:producttypeW/used:producttype
   /used:UserCredentials
/soapenv:Header
soapenv:Body
   used:Years
  !--Optional:--
  used:sCountryCodeU/used:sCountryCode
   /used:Years
/soapenv:Body
  /soapenv:Envelope
  /cfsavecontent

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318436
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
Yeah, just replied to Ray on that same theme... Tried that all day on
Wednesday with no success. I wrote this group looking for help and between
then and today, I've gotten no responses. :o(

Chris

On Fri, Jan 23, 2009 at 1:19 PM, b...@bradwood.com wrote:

 You may have a really good reason for using cfhttp to consume the web
 service, but just to make sure-- did you know that cfinvoke or
 createobect will let you consume SOAP web services really easy and you
 don't have to mess wtih any of the messy XML.   You just get back the
 data in a native CF format.

 ~Brad

    Original Message 
  Subject: How do I traverse XML using ColdFusion?
  From: Chris Jordan chris.s.jor...@gmail.com
  Date: Fri, January 23, 2009 12:31 pm
  To: cf-talk cf-talk@houseoffusion.com

  I've got a SOAP response in xml format, and I need to know how to
 traverse
  it. I found that I should be able to use XmlSearch(xmlDoc, xPathString)
 to
  return an array of nodes, but this just isn't working for me.






 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318437
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
Okay, so I've been messing around with my SOAP response and I've gotten a
little further, but not much. The response I get back looks like this:

soap:Envelope
XmlText
XmlAttributes
struct
soap:Header
XmlText
UserCredentials
XmlText
XmlAttributes
struct
userid
myUserID
password
myPassword
producttype
W
returncode
0
soap:Body
YearsResponse
YearsResult
diffgr:diffgram
modelyears
years
year
2010
year
2009
year
2008
year
2007
year
2006
year
2005

I would assume (I guess wrongly so) that my xPathString should be:
/soap:Envelope/soap:Body/YearsResponse/YearsResult/
diffgr:diffgram/modelyears/years/year

but this doesn't work. an xPathString of just /soap:Envelope/soap:Body/ does
work, but I should be able to dig deeper shouldn't I?

Thanks,
Chris

On Fri, Jan 23, 2009 at 12:31 PM, Chris Jordan chris.s.jor...@gmail.comwrote:

 I've got a SOAP response in xml format, and I need to know how to traverse
 it. I found that I should be able to use XmlSearch(xmlDoc, xPathString) to
 return an array of nodes, but this just isn't working for me.

 cfsavecontent variable=soapRequest
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:used=http://localhost/webservices/UsedCarWS;
soapenv:Header
   used:UserCredentials
  !--Optional:--
  used:useridx/used:userid
  !--Optional:--
  used:passwordx/used:password
  !--Optional:--
  used:producttypeW/used:producttype
   /used:UserCredentials
/soapenv:Header
soapenv:Body
   used:Years
  !--Optional:--
  used:sCountryCodeU/used:sCountryCode
   /used:Years
/soapenv:Body
 /soapenv:Envelope
 /cfsavecontent

 cfhttp url=https://www.blackbookws.com/UsedCarWS.asmx?WSDL;
 method=POST resolveurl=NO useragent=Axis/1.1
 cfhttpparam type=xml name=body value=#soapRequest#
 /cfhttp

 cfset soapresponse = XMLParse(cfhttp.FileContent) /
 cfset YearNodes =
 xmlSearch(soapresponse,/Envelope/Body/YearsResponse/YearsResult/diffgram/modelyears/years/year/XmlText)

 cfdump var=#YearNodes#
 cfdump var=#soapresponse#

 The dump of soapresponse shows me the structure of the xmlDocument, but
 the dump of YearNodes just isn't working. It's always empty. What could I
 be doing wrong?

 Thanks,
 Chris

 --
 http://cjordan.us




-- 
http://cjordan.us


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318438
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
Though, if folks could see their way to helping me, I'd rather do this stuff
via CreateObject and have to only deal with native CF structures and arrays
and such. :o/

Thanks!
Chris

On Fri, Jan 23, 2009 at 1:59 PM, Raymond Camden rcam...@gmail.com wrote:

 I would think so. Again, if you can post the XML itself, we can try it
 ourselves, right? :)


 On Fri, Jan 23, 2009 at 1:22 PM, Chris Jordan chris.s.jor...@gmail.com
 wrote:
  Okay, so I've been messing around with my SOAP response and I've gotten a
  little further, but not much. The response I get back looks like this:
 
  soap:Envelope
 XmlText
 XmlAttributes
 struct
 soap:Header
 XmlText
 UserCredentials
 XmlText
 XmlAttributes
 struct
 userid
 myUserID
 password
 myPassword
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318442
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
I've kind of solved my problem with the following xPath selector in my
xPathString:

cfset YearNodes = XmlSearch(xmlData,//*[local-name()='year']/)/

This allows me to reference YearNodes[i].XmlText which contains the actual
string of data that I want. This seems kinda hokey to me though. I'd like to
just get back an array of years (2010,2009,2008,... etc.)

Also, I'm not too pleased that it seems so damned difficult to do it the
easy way by letting CF do all the soap stuff for me with
CreateObject(webservice,
https://blah.com/blah.aspx?wsdl;). It seems like that should work, but all
I get back are a bunch of stub methods that I don't know how to use, and on
which I cannot seem to find proper documentation that is actually of any
help at all.

I totally feel let down by ColdFusion in this instance. :o(


On Fri, Jan 23, 2009 at 12:31 PM, Chris Jordan chris.s.jor...@gmail.comwrote:

 I've got a SOAP response in xml format, and I need to know how to traverse
 it. I found that I should be able to use XmlSearch(xmlDoc, xPathString) to
 return an array of nodes, but this just isn't working for me.

 cfsavecontent variable=soapRequest
 soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope/;
 xmlns:used=http://localhost/webservices/UsedCarWS;
soapenv:Header
   used:UserCredentials
  !--Optional:--
  used:useridx/used:userid
  !--Optional:--
  used:passwordx/used:password
  !--Optional:--
  used:producttypeW/used:producttype
   /used:UserCredentials
/soapenv:Header
soapenv:Body
   used:Years
  !--Optional:--
  used:sCountryCodeU/used:sCountryCode
   /used:Years
/soapenv:Body
 /soapenv:Envelope
 /cfsavecontent

 cfhttp url=https://www.blackbookws.com/UsedCarWS.asmx?WSDL;
 method=POST resolveurl=NO useragent=Axis/1.1
 cfhttpparam type=xml name=body value=#soapRequest#
 /cfhttp

 cfset soapresponse = XMLParse(cfhttp.FileContent) /
 cfset YearNodes =
 xmlSearch(soapresponse,/Envelope/Body/YearsResponse/YearsResult/diffgram/modelyears/years/year/XmlText)

 cfdump var=#YearNodes#
 cfdump var=#soapresponse#

 The dump of soapresponse shows me the structure of the xmlDocument, but
 the dump of YearNodes just isn't working. It's always empty. What could I
 be doing wrong?

 Thanks,
 Chris

 --
 http://cjordan.us




-- 
http://cjordan.us


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318448
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
John, I'll try that when I get through with lunch here. I hadn't thought of
dumping the stubs.

On Jan 23, 2009 3:58 PM, John M Bliss bliss.j...@gmail.com wrote:

 all I get back are a bunch of stub methods that I don't know how to use
What happens when you cfdump those stub methods?  Something like cfdump
var=#myWebServiceObject.StubMethod()#

In my experience, as long as the webservice is developed by a sane person,
you'll be able to figure out how to use it by cfdumping those stub methods
and whatever's inside of those methods...

It's up to the webservice developer to document how the webservice works.
It's not CF's fault...


On Fri, Jan 23, 2009 at 3:16 PM, Chris Jordan chris.s.jor...@gmail.com
wrote:

 I've kind of solved my problem with the following xPath selector in my 
xPathString:   cfset ...



~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318454
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
Brad,

The problem is that the methods made available by the web service (
https://www.blackbookws.com/UsedCarWS.asmx?WSDL) are not what I get back
when I do:

ws = CreateObject(webservice,
https://www.blackbookws.com/UsedCarWS.asmx?WSDL;);

so instead of getting functions like:
getAllProvinces
getAllStates
applyCanadianAdjustments
applyUSAdjustments
getStyles
getColors

(just to name a few...)

I get:
_createCall()
_getCall()
_getProperty(java.lang.String)
_getPropertyNames()
_getService()
_setProperty(java.lang.String, java.lang.Object)
addAttachment(java.lang.Object)
clearAttachments()
clearHeaders()
extractAttachments(org.apache.axis.client.Call)
getAttachments()

none of which the developer of the web service recognizes (I've called him
and spoke with him).

I'm just really, really confused. :o(

On Fri, Jan 23, 2009 at 4:25 PM, b...@bradwood.com wrote:

 What method of the web service do you wish to call?

 It should just be:
 myWS = CreateObject(webservice,https://blah.com/blah.aspx?wsdl;);
 results = myWS.yourDesiredMethod();

 Also, if I recall, I was thinking your post to the user group list last
 week mentioned this was a special type of web service rather than plain
 SOAP.  You didn't mention that here on the talk list though.

 Can you post the actual URL to the WSDL, or the WSDL itself.  It is
 viewable in a browser, and it tells you what methods you can call.

 For reference, here is the docs for it:
 http://www.cfquickdocs.com/#createobjectf

 I'll admit the example there is pretty basic, but then again that's
 usually all you need to successfully consume a web service.

 ~Brad


  Original Message 
 Subject: Re: How do I traverse XML using ColdFusion?
 From: Chris Jordan chris.s.jor...@gmail.com
 Date: Fri, January 23, 2009 3:16 pm
 To: cf-talk cf-talk@houseoffusion.com

 I've kind of solved my problem with the following xPath selector in my
 xPathString:

 cfset YearNodes = XmlSearch(xmlData,//*[local-name()='year']/)/

 This allows me to reference YearNodes[i].XmlText which contains the
 actual
 string of data that I want. This seems kinda hokey to me though. I'd
 like to
 just get back an array of years (2010,2009,2008,... etc.)





 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318460
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
John,

The stub methods I'm referring to are part of apache Axis which are part of
some parent class that get's created when I do:

ws = CreateObject(webservice, 
https://www.blackbookws.com/UsedCarWS.asmx?WSDL;, UsedCarWS);

I'm passing the portname UsedCarWS now whereas I wasn't before and so CF
was just getting the first available one for me. Even still I cannot call
any of the methods that this object contains except for the stub methods
which are part of org.apache.axis.client.Stub class.

Try the above line of code yourself, you'll see what I'm talking about.
Another thing I can't figure out about any of this is where I'm supposed to
authenticate. When creating the soap request by hand, it's done in the
soap:Header of the soap:Envelope.

I'm still confused.

Chris

On Fri, Jan 23, 2009 at 3:56 PM, John M Bliss bliss.j...@gmail.com wrote:

  all I get back are a bunch of stub methods that I don't know how to use

 What happens when you cfdump those stub methods?  Something like cfdump
 var=#myWebServiceObject.StubMethod()#

 In my experience, as long as the webservice is developed by a sane person,
 you'll be able to figure out how to use it by cfdumping those stub
 methods
 and whatever's inside of those methods...

 It's up to the webservice developer to document how the webservice works.
 It's not CF's fault...


 On Fri, Jan 23, 2009 at 3:16 PM, Chris Jordan chris.s.jor...@gmail.com
 wrote:

  I've kind of solved my problem with the following xPath selector in my
  xPathString:
 
  cfset YearNodes = XmlSearch(xmlData,//*[local-name()='year']/)/
 
  This allows me to reference YearNodes[i].XmlText which contains the
 actual
  string of data that I want. This seems kinda hokey to me though. I'd like
  to
  just get back an array of years (2010,2009,2008,... etc.)
 
  Also, I'm not too pleased that it seems so damned difficult to do it the
  easy way by letting CF do all the soap stuff for me with
  CreateObject(webservice,
  https://blah.com/blah.aspx?wsdl;). It seems like that should work, but
  all
  I get back are a bunch of stub methods that I don't know how to use, and
 on
  which I cannot seem to find proper documentation that is actually of any
  help at all.
 
  I totally feel let down by ColdFusion in this instance. :o(
 
 
  On Fri, Jan 23, 2009 at 12:31 PM, Chris Jordan chris.s.jor...@gmail.com
  wrote:
 
   I've got a SOAP response in xml format, and I need to know how to
  traverse
   it. I found that I should be able to use XmlSearch(xmlDoc, xPathString)
  to
   return an array of nodes, but this just isn't working for me.
  
   cfsavecontent variable=soapRequest
   soapenv:Envelope xmlns:soapenv=
  http://schemas.xmlsoap.org/soap/envelope/;
   xmlns:used=http://localhost/webservices/UsedCarWS;
  soapenv:Header
 used:UserCredentials
!--Optional:--
used:useridx/used:userid
!--Optional:--
used:passwordx/used:password
!--Optional:--
used:producttypeW/used:producttype
 /used:UserCredentials
  /soapenv:Header
  soapenv:Body
 used:Years
!--Optional:--
used:sCountryCodeU/used:sCountryCode
 /used:Years
  /soapenv:Body
   /soapenv:Envelope
   /cfsavecontent
  
   cfhttp url=https://www.blackbookws.com/UsedCarWS.asmx?WSDL;
   method=POST resolveurl=NO useragent=Axis/1.1
   cfhttpparam type=xml name=body value=#soapRequest#
   /cfhttp
  
   cfset soapresponse = XMLParse(cfhttp.FileContent) /
   cfset YearNodes =
  
 
 xmlSearch(soapresponse,/Envelope/Body/YearsResponse/YearsResult/diffgram/modelyears/years/year/XmlText)
  
   cfdump var=#YearNodes#
   cfdump var=#soapresponse#
  
   The dump of soapresponse shows me the structure of the xmlDocument, but
   the dump of YearNodes just isn't working. It's always empty. What could
 I
   be doing wrong?
  
   Thanks,
   Chris
  
   --
   http://cjordan.us
  
 
 
 
  --
  http://cjordan.us
 
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318461
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
Yeah, I saw that the other day. I didn't understand a word. :o( I'll give it
another look see, but I'm still lost.

Have you ever consumed a SOAP web service with CF using CreateObject? Did
you have to authenticate? How did you do that?

On Fri, Jan 23, 2009 at 5:48 PM, Dave Watts dwa...@figleaf.com wrote:

 You might find this useful:
 
 http://corfield.org/blog/index.cfm/do/blog.entry/entry/Tom_Jordahl_Rocks__How_to_consume_web_services_in_ColdFusion
 

 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!

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318463
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: How do I traverse XML using ColdFusion?

2009-01-23 Thread Chris Jordan
Brad,

I tried passing the authentication stuff via the addSOAPRequestHeader, but
there's something else going on here.

What I've learned in the last couple of hours is that when using
CreateObject to call a web service you can pass it a portname. I know from
looking at the wsdl itself, that there are several portnames associated with
this particular web service.

The author of the web service suggested that I start by using the
getIPAddress() method as it requires NO AUTHENTICATION. So I do this:

cfscript
wsurl = https://www.blackbookws.com/UsedCarWS.asmx?WSDL;;
portname = UsedCarWSSoap12;
ws = CreateObject(webservice, wsurl, portname);
/cfscript

cfdump var = #ws#
cfdump var = #ws.getIPAddress()#

Try the code above. You'll see that dumping ws *does indeed* show you the
available methods. There is exactly one available method: getIPAddress().
I've verified this also using SOAPUI (http://www.soapui.org/).

when I run the code above the last dump statement causes the error:
*Web service operation getIPAddress with parameters *{}* cannot be found.*

So, as an experiment I searched the web for some other free soap web service
that wouldn't require some sort of login. I found geocoder.us (
http://geocoder.us/dist/eg/clients/GeoCoderPHP.wsdl). I looked at some
sample php code, and could easily see how it translated over to ColdFusion.
My code became:

cfscript
address = 1600 Pennsylvania Av, Washington, DC;
wsurl = http://geocoder.us/dist/eg/clients/GeoCoderPHP.wsdl;;
ws = CreateObject(webservice, wsurl);
//I found the geocode_address() method by looking at the dump
//of the ws object returned by the previous line...
geo = ws.geocode_address(address);
/cfscript

cfdump var = #ws#
cfdump var = #geo[1].getLat()# , #geo[1].get_long()#

This web service worked like a champ for me! :o) So, I'm not sure what's up
with the other one.
As far as the dumping thing goes, I will admit that there are a few things
I'm not seeing, like the UserCredentials thing (which is a complexType...
maybe that has something to do with it).

You're right that the Stub functions in the parent class have nothing to do
with the web service itself. Those are functions that CF uses under the hood
I think to deal with the web services... I think.

Anyway, I'm still stumped as to why my example using geocoder.us worked
while my very similar example with blackbookusa.com isn't working...

I've contacted the developer at blackbook, but probably won't hear from him
until Monday. I would love to figure this out this weekend if I could.

Thanks for sticking with me and for continuing to offer suggestions. :o)

Chris


On Fri, Jan 23, 2009 at 7:10 PM, Brad Wood b...@bradwood.com wrote:

 A web service is not like a CFC where you can cfdump it out and get all the
 methods.  Those underlying methods you are seeing aren't going to help you
 at all.

 The actual methods you can call are documented in the WSDL itself.  I
 glanced through it and holy cow it is long.  Didn't the web service vendor
 provide some documentation on calling it?
 I must say I've never really passed authentication info via the header
 before.  Chances are, you will need to use the AddSOAPRequestHeader
 function
 (http://livedocs.adobe.com/coldfusion/8/htmldocs/functions_a-b_03.html)

 I would try to fool around and get a working example, but I'm not too good
 at deciphering WSDL's and I don't have a username/pass anyway.

 ~Brad

 - Original Message -
 From: Chris Jordan chris.s.jor...@gmail.com
 To: cf-talk cf-talk@houseoffusion.com
 Sent: Friday, January 23, 2009 5:36 PM
 Subject: Re: How do I traverse XML using ColdFusion?


  John,
 
  The stub methods I'm referring to are part of apache Axis which are part
  of
  some parent class that get's created when I do:


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318473
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: ColdFusion Components: Setting dynamic arguments dynamically

2008-12-31 Thread Chris Jordan
Scott don't know if this is what you're looking for but you can do this at
the top of your cffunction:

cffunction name=somename returntype=somereturntype
cfscript
var my = structNew(); // or var my = {}; if you're running cf8
for(my.key in arguments){
my.#my.key# = arguments[my.key];
}
/cfscript
/cffunction

Doing this would do a deep copy of your arguments struct into your local
*var'd* variable my. Using this method, you wouldn't need to use
cfargument at all though it can make handling argument defaults a bit of a
pain, but no less doable.

Is this the kind of thing you were looking for?

Chris

On Wed, Dec 31, 2008 at 9:18 AM, Scott Stewart saste...@email.unc.eduwrote:

 Confused programmer is confused (just because the title sounds like
 LOLSpeak)

 I've got this little piece of code that dynamically creates and
 populates a structure key pair, based on what's sent from a form with a
 dynamically
 generated set of fields (javascript add row)

 For (i=1;i LTE Form.PE_Counter; i=i+1)

 if(StructKeyExists(FORM,'play_'i)){
session.NODA09_formStruct['play_'i] = form['play_'i];

}

 I know that the arguments in a cf function are very particular about
 their placement, can I use similar code to create and populate arguments?

 --
 Scott Stewart
 ColdFusion Developer

 Office of Research Information Systems
 Research amp; Economic Development
 University of North Carolina at Chapel Hill

 Phone:(919)843-2408
 Fax: (919)962-3600
 Email: saste...@email.unc.edu



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317304
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: Anyone willing to help me build an AJAX/jQuery/CF8 modal login for pay or gifts?

2008-12-12 Thread Chris Jordan
Rick,

Consider using jQueryUI for your modal window needs. Don't know if the demo
you're studying (the one Matt built) is using jQueryUI, but I think in
general jQueryUI is a great way to go for stuff like this.

Chris

On Fri, Dec 12, 2008 at 8:17 PM, Rick Faircloth r...@whitestonemedia.comwrote:

 Thanks, Tony... Matt Williams has already built a demo
 that I'm studying now.

 Thanks, however!

 Rick


  -Original Message-
  From: Tony Bentley [mailto:t...@tonybentley.com]
  Sent: Friday, December 12, 2008 9:02 PM
  To: cf-talk
  Subject: Re: Anyone willing to help me build an AJAX/jQuery/CF8 modal
 login for pay or gifts?
 
  No problem. I can do it using either cfwindow or jquery's window. Send me
 a message and I'll help
 you
  build it.
 



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:316732
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: Invitation to Test OpenBD Linux Installer

2008-10-07 Thread Chris Jordan
Jordan,

Sorry it's taken me so long to get back to you. I really appreciate your
responses. I'll will back things up prior to doing this install just in
case, but it sounds like everything should go fine.

I'll be giving the installation script a go this weekend (10/10 - 10/12).

Thanks again!
Chris

On Fri, Oct 3, 2008 at 5:08 PM, Jordan Michaels [EMAIL PROTECTED]wrote:

 Hi Chris,

 Thank you so much for being willing to help! I've responded to your
 message in-line below:

 Chris Jordan wrote:
  I'd love to test it. I have a couple of questions first though. Does the
  download contain everything I need? Or are there prerequisites that I
 would
  need to have installed first. For instance it seemed to me that your
 wording
  indicated that it expects Apache to already be installed and running.

 The installer contains Tomcat, OpenBD, and a JRE. That's enough to run a
 server if you don't want to run Apache. Tomcat will run on port 8080 by
 default though, so extra configuration will be required if you want to
 run a production server run on port 80 without Apache.

 If you don't have Apache installed, just say No when it asks you if
 you want it to install the Apache adapter for you (mod_jk). If you *DO*
 have Apache installed, it will prompt you for the locations of certain
 files (config file, etc), but you should be able to use the defaults if
 you're installing on CentOS 5. The default locations work perfectly on
 CentOS 4 and 5.

 The script itself uses basic shell script commands - all of which should
 be present on even a minimal Linux install.

  Secondly, what existing files does it change? My CentOS 5 box runs Apache
  and is doing lots of virtual host stuff. Will this script overwrite any
  settings having to do with my current Apache settings? Does the installer
  assume that I'm setting up a brand new box or does it take into account
 that

 Theoretically, it should be okay to install on a production box, but
 this is *only* based on the testing that I've done personally. That's
 why I'm hoping to get more folks to take a look at it - so I can address
 any problems that the public finds. However, internally, everything went
 just fine when I tested it. Even so, you'll probably want to backup your
 httpd.conf file just to be on the safe side.

 The installer copies the mod_jk.so file to the Apache modules directory,
 then appends the connector configuration information to the Apache
 config file. It also attempts to restart Apache so that the
 configuration takes effect right away - very similar to how CF7 and CF8
 do it.

 If you run the uninstaller, I used sed to do a pattern match and
 remove the lines that get added to the Apache config during the install.
 In my tests, the uninstall process ignored any VirtualHosts I had added
 after the install and simply removed the mod_jk config and CFM mappings.

 If you choose to have the installer configure OpenBD to start at boot
 time, the installer will copy the OpenBD start script to your
 /etc/init.d/ directory, and use the chkconfig program to set
 Tomcat/OpenBD to start on system boot.

 Those should be the only things the script modifies outside the actual
 install location. (/opt/openbd/ by default)

  I may be installing OpenBD onto an existing web server that is currently
  hosting pages that use other server side languages like PHP? Basically, I
  want to be sure that I'm not going to bring down the functionality of my
  existing server by adding this.

 Again, I would be careful about installing on a production box, but in
 theory it should be fine. In my tests, PHP files were unaffected by the
 installation and continued to run flawlessly.

  Also, I've been trying to install OpenBD by hand (unsuccsessfully), so
 I've
  got a copy of OpenBD and Tomcat on there already. Is it advisable to
 remove
  those prior to running the installer?

 Only if the previous installation of Tomcat is running. You don't want
 the old installation to be running at the same time as the new
 installation is running - otherwise you'll run into conflicts.

 Lastly, I forgot to mention that after the install you'll need to update
 Tomcat's server.xml file to identify your sites to Tomcat so it knows
 how to process them. The file is located in
 /opt/openbd/tomcat/conf/server.xml by default and is commented. You just
 need to tell Tomcat what domain name you'll be using and what directory
 your CFM files are located in for that site.

 I do have that part covered in the documentation:

 http://openbd.viviotech.net/downloader.cfm/id/49/file/openbd_tomcat-apache_install-INCOMPLETE.pdf

 Although I haven't had time yet to write down how to configure Tomcat
 manually, so the documentation is still a bit incomplete.

 Please let me know if there's anything I can do to help you test! Can't
 wait to hear how it goes.


 Warm regards,
 Jordan Michaels
 Vivio Technologies
 http://www.viviotech.net/
 Open BlueDragon Steering Committee
 Adobe Solution Provider

Re: Invitation to Test OpenBD Linux Installer

2008-10-03 Thread Chris Jordan
Jordan,

I'd love to test it. I have a couple of questions first though. Does the
download contain everything I need? Or are there prerequisites that I would
need to have installed first. For instance it seemed to me that your wording
indicated that it expects Apache to already be installed and running.

Secondly, what existing files does it change? My CentOS 5 box runs Apache
and is doing lots of virtual host stuff. Will this script overwrite any
settings having to do with my current Apache settings? Does the installer
assume that I'm setting up a brand new box or does it take into account that
I may be installing OpenBD onto an existing web server that is currently
hosting pages that use other server side languages like PHP? Basically, I
want to be sure that I'm not going to bring down the functionality of my
existing server by adding this.

Also, I've been trying to install OpenBD by hand (unsuccsessfully), so I've
got a copy of OpenBD and Tomcat on there already. Is it advisable to remove
those prior to running the installer?

Thanks!
Chris

On Fri, Oct 3, 2008 at 1:39 PM, Jordan Michaels [EMAIL PROTECTED]wrote:

 As a member of the OpenBD Steering Committee I've been trying to come up
 with a way to allow new users of OpenBD to get a working installation of
 OpenBD up and running right away with less of a learning curve then
 OpenBD requires right now. For both new and existing CFML developers,
 having to set up a J2EE server then deploy a CFML processor is above and
 beyond their normal job requirements.

 To ease the learning curve required to get OpenBD up and running, I've
 written an installer for Linux - which is very similar to the
 command-line installers for CF7, CF8, or BD JX. If you've ever installed
 any of those on Linux before, this should be familiar to you.

 You can download the installer here (about 55 MB):
 http://openbd.viviotech.net/downloader.cfm/id/48/file/openbd_rhel.sh

 and just run it using the following command as root:
 # sh openbd_rhel.sh

 I've tested it on CentOS 4 and 5 and it works without issue with a
 default install of Apache.

 It installs a dedicated JVM, a pre-configured installation of Tomcat,
 and if you tell it to, it will do some of the system configuration for
 you as well (starting OpenBD at boot, configuring the Apache adapter, etc).

 Once the OpenBD Administrator is ready (it's *VERY* close) I'll package
 that up with this installer as well. For the moment though, I didn't
 include it.

 I'd *REALLY* like to get some feedback on this - if there's enough
 interest, I can work on a Windows installer as well.

 So, if you're inclined, please give this a look and let me know what you
 think. If you run into any problems, please let me know that too.

 Thank you in advance!

 --
 Warm regards,
 Jordan Michaels
 Vivio Technologies
 http://www.viviotech.net/
 Open BlueDragon Steering Committee
 Adobe Solution Provider

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313439
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: I need some help figuring this out...

2008-09-05 Thread Chris Jordan
*bump*... anyone? Thoughts?

Thanks,
Chris

On Fri, Aug 29, 2008 at 3:17 PM, Chris Jordan [EMAIL PROTECTED]wrote:

 Hi folks,

 I need some help figuring something out, and after searching the web a bit
 on my own, and posting this question to my local CFUG, I thought I'd pose
 the problem to everyone here on CFTalk to see what came of it.

 Okay, so I need to write a program that checks an email account which will
 be receiving emails with PDF attachments. That part is no problem. The
 program then needs to embed an image onto the PDF in a specific physical
 location on the document. Technically speaking this will be an image of
 someone's signature, but for the sake of discussion it can be any image I
 want. Once the signature (image) has been affixed to the PDF, it is then
 saved and reprinted and then someone faxes that final printing to the end
 recipient.

 I don't have too much control (*read: basically none*) over the PDF before
 it gets to me. The reason being is that it starts life out as an *actual
 paper document* which is then faxed to a service (efax corporate, I
 think). That faxed image is turned into a PDF file and emailed to a
 predetermined email address.

 Is this going to be possible for me to do programmatically? The idea is
 that the person who needs to sign the document logs into the web based app.,
 selects the document they want to sign, and the program takes care of
 putting the right signature in the right place on the document and re-saving
 it.

 My client currently accomplishes this by carrying around a tablet PC. They
 then check their email, save the attachment, open the PDF with Adobe Acrobat
 Pro, and sign using the touch screen. They want to be able to do this from a
 Treo 755p instead. That's where the web based app. with passwords and
 pre-captured signatures comes in.

 I got a suggestion from my boss that I try to use the CF Report Builder to
 build a report that would contain two generic objects: A PDF (to be passed
 in) and a signature (to be passed in). This generic report would allow me to
 position each of the generic objects as I want, and then I'd call the report
 passing it an original PDF and a signature image. He has apparently done
 this sort of thing before in FoxPro's in-built report writer.

 I've played around with that last idea a bit this afternoon, but I can't
 seem to figure out a way to get CF Report Builder to do what I want. I'm
 wondering if something like Crystal Reports would allow me to do what I'm
 wanting. The problem there is that I've never used Crystal, and my client
 would have to purchase a copy even though I don't know that it would allow
 me to do what I'm wanting to do any more than CF Report Builder.

 Attached is an image of one of these signed PDF files with some sensitive
 information blurred out.

 Any and all help is much appreciated.

 Cheers!
 Chris


 --
 http://cjordan.us




-- 
http://cjordan.us


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

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


Re: Visual Ajax IDE?

2008-03-20 Thread Chris Jordan
Aptana = Aptana + 1 ;o)

Chris

Steve Brownlee wrote:
 +1 for Aptana. 

 -Original Message-
 From: Joel Watson [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, March 19, 2008 4:14 PM
 To: CF-Talk
 Subject: Re: Visual Ajax IDE?

   
 Hi:
 Dreamweaver is the best html/cfm editor I have ever used. I wonder if 
 there is a good one for AJAX? Do you know one? If it has some visual 
 tools like the ones in DW.
 Thanks
 Ali
 

 For my money (well, actually, it's absolutely free), you can't beat Aptana.


 Joel 


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: Bluedragon = open source

2008-03-11 Thread Chris Jordan
Let's give this announcement some link love!

http://www.dzone.com/links/open_source_cfml_engine_on_the_way.html

http://digg.com/software/New_Atlanta_announces_free_open_source_BlueDragon_edition

I'm sure there are others out there. Let's talk this up!

On Tue, Mar 11, 2008 at 1:14 PM, Tanguy Rademakers 
[EMAIL PROTECTED] wrote:

 But it will be up to New Atlanta and the BlueDragon Open Source
 Steering Committee whether your suggestions will be accepted. Open
 source does not mean that everyone can just pile in and change the
 source. Sure, you could modify your *own* copy to add features - but
 that will just create lots of incompatible engines. Everyone will need
 to work with the process, like Sun's JCP and all the other successful
 open source projects out there.

 Or, if you feel strongly enough about it, you fork the project:

 http://ask.slashdot.org/comments.pl?sid=133716cid=11167571

 (watch the wrap)

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: Signature Capture

2008-02-25 Thread Chris Jordan
I'm about to do a project where we'll be capturing signatures, and one 
member of the team says that he found a java applet that will capture 
signatures. We'll be running it on a PDA. I know nothing else about it 
(not even what it's called), I just know that my guy says he's found one.

The point of this being that you may just want to look for something 
like what I'm describing here as another alternative.

Good luck!
Chris

Dave Watts wrote:
 Has anyone come up with any good solutions that would let you 
 embed a signature capture field in a form?  This is for 
 ColdFusion 8.  The widget would appear at the bottom of a 
 form contract and the hope would be that after the form was 
 submitted it could be saved to  a file on the server or made 
 a part of a pdf.   There is also talk of using something like 
 this to draw basic diagrams to attach to a contact's record.
 

 You would need to use a PDF form to capture the signature. The PDF form
 containing the signature field can be appended to another PDF form
 containing the other form fields, if you want to do that, using CFPDFFORM.
 To work effectively with signatures, your PDF would have to post itself, not
 just the form data it contains, to your CF server. Then, in the action page,
 you'd be able to reference the PDF scope.

 This exact thing is covered in this class:
 http://training.figleaf.com/Courses/movingtocoldfusion8.cfm

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

 Fig Leaf Training: Adobe/Google/Paperthin Certified Partners
 http://training.figleaf.com/

 WebManiacs 2008: the ultimate conference for CF/Flex/AIR developers!
 http://www.webmaniacsconference.com/

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: proximity searches

2008-02-19 Thread Chris Jordan
I suppose someone could provide this as a web service, but in the end **
somebody** is going to be making the calculations to determine
latitude/longitude proximity.

Chris

On Feb 19, 2008 10:03 AM, Bryan Stevenson [EMAIL PROTECTED]
wrote:

 Thanks Rick,

 I'll have a lookguess sometimes the best way is still the old way
 eh ;-)

 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

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.


 On Tue, 2008-02-19 at 07:55 -0500, Rick Root wrote:
  On 2/18/08, Bryan Stevenson [EMAIL PROTECTED] wrote:
  
   My last time involved postal code data with lat/long values.  An
   equation was run to get all lat/longs inside the search radius and
 then
   you could grab all your records with postal cods that matched thse
 lat6
   longs (or something along these lines).
  
   So what are folks using now? web services? some Google/MS API? other?
 
  postal code data.  The fastest and most reliable way to do it.  You
  can integrate it into your queries.  Can't do that with a web
  service/API call.
 
  We're basically using a variation of this code in our application here
 at Duke:
 
  http://www.opensourcecf.com/1/2007/02/Determining-Zip-Code-Proximity.cfm
 
  There's also a link on that page to a $5 zip code lat/long database that
 we use.
 
  Rick
 
 



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: proximity searches

2008-02-18 Thread Chris Jordan
Iv'e got a CFC that some guy wrote which does all this stuff for you. Gimme
a little bit to dig around for it, and I'll pass it on.

Chris

On Feb 18, 2008 4:14 PM, Bryan Stevenson [EMAIL PROTECTED]
wrote:

 Hey All,

 It's been about 6-7 years since I had to do one of these and I'm sure
 (or hope) the options have increased since then.

 My last time involved postal code data with lat/long values.  An
 equation was run to get all lat/longs inside the search radius and then
 you could grab all your records with postal cods that matched thse lat6
 longs (or something along these lines).

 So what are folks using now? web services? some Google/MS API? other?

 I'm mainly interested in Canada and the US at this point

 TIA

 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

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: proximity searches

2008-02-18 Thread Chris Jordan
Okay, I couldn't find the code hanging around on my machine, but I
remembered the name was zipfinder.cfc and it's pretty nifty. I did a google
for it and found the original
codehttp://www.webmonkey.com/webmonkey/05/32/index4a_page7.html?tw=programming(click
on the 'sample code' link to download).

If you read the entire article (only part of which I've linked to above)
you'll learn more than you ever wanted to know about zip code proximity
searches. This CFC provides you with three different methods of finding the
zip codes (really you're finding longitude/latitude coordinates) in
proximity to some other zip code (long/lat coordinate). He discusses the
pros and cons of each in his article. Mostly, the issues are speed versus
accuracy.

If I'm not mistaken, the download that I've pointed you to comes with a zip
code database for you to use, but if not, there are several free ones. I
started a discussion a year or more ago on this very subject when I was in
your shoes, and there were lots of suggestions. In the end I ended up
purchasing a professional one for about thirty-bucks, but later I found
out that I could have gotten one free and I think another person mentioned
one that he found for five-bucks. My main concern was completeness of data,
and I rationalized that if I bought the thing from some company and there
turned out to be some incompleteness, then I had someone to complain to...
but really, I'd already spent the money. :o)

Good luck, and let us know if you have questions. Like I said, this topic
has come up on this list before so there's definitely folks here who can
help. Of course you can search for previous discussions, but I'm not going
to tell you that you have to (I hate when people tell me to do that...) :o)

Chris

On Feb 18, 2008 4:44 PM, Chris Jordan [EMAIL PROTECTED] wrote:

 Iv'e got a CFC that some guy wrote which does all this stuff for you.
 Gimme a little bit to dig around for it, and I'll pass it on.

 Chris


 On Feb 18, 2008 4:14 PM, Bryan Stevenson [EMAIL PROTECTED]
 wrote:

  Hey All,
 
  It's been about 6-7 years since I had to do one of these and I'm sure
  (or hope) the options have increased since then.
 
  My last time involved postal code data with lat/long values.  An
  equation was run to get all lat/longs inside the search radius and then
  you could grab all your records with postal cods that matched thse lat6
  longs (or something along these lines).
 
  So what are folks using now? web services? some Google/MS API? other?
 
  I'm mainly interested in Canada and the US at this point
 
  TIA
 
  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
 
  Notice:
  This message, including any attachments, is confidential and may contain
  information that is privileged or exempt from disclosure. It is intended
  only for the person to whom it is addressed unless expressly authorized
  otherwise by the sender. If you are not an authorized recipient, please
  notify the sender immediately and permanently destroy all copies of this
  message and attachments.
 
 
 
 
  

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: Holy Grail? Hosting?

2008-02-16 Thread Chris Jordan
+1 for CrystalTech. I've been using them for quite a while. Very nice host.

Chris

On Feb 15, 2008 6:24 PM, William Seiter [EMAIL PROTECTED] wrote:

 Recently I have found a great need to find a new hosting company and have
 been looking for my personal 'Holy Grail' of shared hosting offers.

 I was wondering if anyone here has had any good or bad experiences with
 this
 company so that I don't take the wrong road.

 My criteria for 'Holy Grail' is: Inexpensive (always important), Multiple
 domain names can be served from same hosting and appear to be unique,
 allows
 access to cfobject and other CFC tags, preferably CF8.

 In my research the most often come across issue was the multiple domains
 to
 a single hosting account.  The few that had it, disabled the cfobject tags
 and functions. Except this one:  CrystalTech

 http://www.crystaltech.com/coldfusion8.aspx

 It's inexpensive (starting at $17/mo), is CF8, has extra domains, only has
 cfschedule/cfregistry/cfexecute restricted in their admin (spoke with tech
 support for this info).  I can't find the kick in the pants.  Anyone know
 them, or know of them?

 William


 --
 William E. Seiter

 Have you ever read a book that changed your life?
 Go to: www.winninginthemargins.com
 Enter passkey: goldengrove

 Web Developer / ColdFusion Programmer
 http://William.Seiter.com


 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: Holy Grail? Hosting?

2008-02-16 Thread Chris Jordan
Weird...

On Feb 16, 2008 12:35 AM, Dave l [EMAIL PROTECTED] wrote:

 sure you can get a cheap server there and get 0 support. And when you do
 need support (talking about crystal tech) they will ream the crap out of you
 in charges.


Crystal Tech has never charged *me* for support, and every time I've had to
call (which isn't often) I've gotten someone competent on the line who's
willing to help me out.

-- 
http://cjordan.us


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: Holy Grail? Hosting?

2008-02-16 Thread Chris Jordan
oops... I got over zealous with the delete key there. I originally went on
to say that I pay roughly $200/year

Chris

On Feb 16, 2008 11:17 PM, Chris Jordan [EMAIL PROTECTED] wrote:

 Weird...

 On Feb 16, 2008 12:35 AM, Dave l [EMAIL PROTECTED] wrote:

  sure you can get a cheap server there and get 0 support. And when you do
  need support (talking about crystal tech) they will ream the crap out of you
  in charges.
 

 Crystal Tech has never charged *me* for support, and every time I've had
 to call (which isn't often) I've gotten someone competent on the line who's
 willing to help me out.

 --
 http://cjordan.us




-- 
http://cjordan.us


~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: SOT: Holy Grail? Hosting?

2008-02-16 Thread Chris Jordan
On Feb 16, 2008 3:28 AM, Dave l [EMAIL PROTECTED] wrote:

  They have an excellent customer knowledgebase and support information
 and support ticket system but would clearly rather limit human interaction
 to a minimum.

 Actually they don't, one of my partners still has a dedicated box there
 and I have to deal with them all the time and they are a complete nightmare.
 I would sure like to know what this excellent support system is Last
 week he had an issue and asked me to call them and see what the deal was but
 I didn't have the ticket # and their excellent support system couldn't
 even look it up by the customer account and after making it quite clear to
 me in a very unprofessional manner that I couldn't expect them to and I told
 him that HMS has no such problems and it is a rather easy thing for them to
 do and the idiot hung up on me... nice service. So 5 hours later when his
 plane landed and he got to his hotel and got into his email and got me the
 ticket # and another 45 minutes on the phone with another idiot and a $150
 charge to his account they were actually able to restart the server. Great
 service, I wish I had them


Actually, it sounds like you may have gotten back what you gave. What
constructive purpose does it serve to start throwing some other hosting
company's name around, and saying, Well... so-and-so doesn't have a problem
with yadda-yadda-yadda.

After having been in the support center service myself in the past
(thankfully no longer), I've come to realize that I don't get much of
anywhere if I act like an asshole on the phone.

I've had none of these bad experiences with CT tech support. Never had
problems with ticket numbers either. Can't say as I ever had to have one. If
I did, then to the best of my knowledge, the guy on the phone opened the
ticket for me, handled the call and was done with it.

I still say +1 for CrystalTech, but as is obvious with pretty much
*anything* YMMV. ;o)

Chris




 To this end they have a very feature-rich, constantly evolving control
 panel, one that allows me to perform many tasks that I might otherwise
 have
 to submit a request for.
 I have been in that panel and its ok but still not as nice as others.

 I honestly have no idea what you're talking about... one of the
 fundamental
 aspects of CrystalTech (and many other hosts) is that YOU run your
 business.
 They do everything they can to ensure that your customers are NOT aware
 that
 you're hosting at CrystalTech.  They're customer control centers are
 generically branded as all customer-facing services - they abstract
 themselves out of the picture as a feature.

 LOL, you don't know what I am talking about?
 Ok so lets say you get on a plane to hawaii and soon as you board the
 plane your server goes down, well guess what.. its down for for quite a long
 time before you have any idea and so your customers sites are down as well
 and nothing can be done until you land and someone tells you which could be
 12 hours later. Now that might be ok for you Jim, but its not ok for me!

 I make it a HUGE deal to my customers to let them know who and where is
 hosting their site and I make sure they have all the info they need in case
 they can't find me but can call the host to get something fixed. Personally,
 I want them them to know WTF is going on with their site and have abilities
 to get things fixed if something goes wrong and I can't be contacted. After
 all, it is THEIR web site and they are paying the bills. IMO, there is
 absolutely no reason in the world to not add that extra layer of protection.
 To me the way you do it is just another way for you to make money off of
 your clients, while that is good for you it's not so good for customers. I
 pay the extra money and pocket less out of the hosting to ensure things are
 going right. Now you might not have had any problems or maybe you have, i
 dunno but we just don't agree on biz models.

 and criticizing them for it seems silly.
 So for example last week derricks server goes down and since its at ct he
 cant get it restarted and it takes them several hours to get it back up and
 going, thats just damn silly aint it Jim. Not to mention all the damn hoops
 we had to jump through just to verify the account, now maybe it is just me
 but it shouldnt matter who the hell calls it in, if the damn server is down
 then get it back on, which was something that their techs just couldnt
 understand.

 But problem is that when people on here ask for hosting opinions they dont
 usually ask if the plans are managed or unmanaged.

 I know you love CT but I have yet to have a good experience with them, I
 havent dealt with them a lot but the 30 or so times I have were nightmarish.

 I can only relay my personal experience... and my personal experience has
 been excellent.

 And I will respect that Jim.
 And I can only relay my personal experience and that of approx 15 other
 ppl that I know who have used them and have had detailed 

Re: SOT: Holy Grail? Hosting?

2008-02-16 Thread Chris Jordan
On Feb 16, 2008 10:04 PM, Dave l [EMAIL PROTECTED] wrote:

 I'm not trying to win jerry, just showing that myself along with lots of
 other people on here have had issues with them above and beyond what would
 be acceptable.
 The only people I have seen who speak up for ct are on their own boxes,
 you don't see many people on their shared servers speak up at all.


I'm on a shared server, and I love 'em. Sorry Dave.


 And when people come on and ask for cheap hosting...

Remember that the original poster *asked about CrystalTech specifically*.
His post, also indicated (to me at least) that he'd done some research
already on his own and kept coming up with CrystalTech.


 and people come on and give recommendations of cheap servers but don't
 give any info on that fact that yes they are cheap but they also don't
 include any support and really anyone who is looking for cheap hosting
 probably will need all the support that they can get in which case a cheap
 server really isn't in there best interest. you can get a plain jane cheap
 unmanaged server anywere, it's the support when you need it that in my book
 is where I prefer to be covered.


Well, that' your book. The original poster said *nothing* about support in
his criteria for his own personal holy grail of hosting. I (again this
could just be me) take that to mean that William is a big boy and can take
care of his own support.

He also *specifically* mentioned that he wanted shared hosting. So all this
talk about unmanaged, dedicated boxes is not really what he was looking for,
right?

Or like I said before... if i cant be reached and there is a problem I want
 my customers to know they are covered.


again, not one of the original poster's concerns. He listed his concerns
very clearly. This wasn't one of them.


 Now would you host with someone would tell you that they are running mysql
 server 2000 and not just once as in a oopsy but as in several times, even
 after informing them that no such product exists and all that after waiting
 over 45 minutes on hold to talk to them?


So, you've never misspoken before? Wow, you're really super critical. Did
you also correct the reps. grammar while you were at it?

Not too mention most of the actual coldfusion team will not host there, too
 me that says something.


What do you mean by that? Who is the actual coldfusion team. I'm assuming
this an eat-your-own-dog-food thing... what's your source?


 While what Jim does is great for him I don't think it would be good for
 someone who needs hand holding on a server.


What makes you judge the original poster in this way? At what point did you
decide that he needed his hand held? His list of what he was looking for in
a hosting company was, again, very clear... and hand holding was not
mentioned. Sounds to me like the guy knows how to take care of himself.

Obviously, he can recommend whatever he wants but he should also add the
 facts to it because most people will assume that ct's ded boxes are
 comparable to hms ded boxes and they aren't, one includes support one
 doesn't but the average person asking doesn't know that. And personally, if
 i took jims recommendation and went to ct and signed a contract  and then
 found out I had no support I would be pissed as hell at jim.


If you took one person's suggestion without doing anymore homework, or if
you asked for suggestions on a host and support was *really* important to
you, but you failed to mention that, then I'd say you were the fool and
should be pissed at yourself for not doing more homework. Do you like,
*work* for HMS?

Also, Jim never once in any of this compared Crystal Tech to HMS. You did
that.


 So if by losing you mean that if someone reads this and has a boner over
 a $120 a month dedicated box (which I would also assume jim has a cfm
 license for which isnt included in that cost) and it helps keep them from
 getting into a major mess, then I am fine with that. I would rather have the
 facts out there to help them out see how has the cheapest server... and
 after all.. you get what what you pay for.


You keep talking about 'facts', but you're only using anecdotal evidence
(which is what we are all doing), but when someone else's experience differs
from yours you dismiss what they said as 'non-fact', and instead substitute
your own anecdotal evidence as fact. Which is exactly what Jim was getting
at when he said, As we've come to expect all other opinions are incorrect
because you're experience differs.

I'm afraid that's how you're coming across even if you don't mean to.

Also, there's nothing to win in this. We should all just grow-up a bit.

*steps off soapbox*

Chris




 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299226

Re: SOT: Holy Grail? Hosting?

2008-02-16 Thread Chris Jordan
On Feb 16, 2008 9:46 PM, William Seiter [EMAIL PROTECTED] wrote:



 Sorry to you if I offended.  This topic has appeared to be a sensitive,
 controversial or inflammatory subject for some of the people on this list.
 I personally have been trying to keep out of the 'hot' stuff and stay more
 in the Joe Friday 'Just the facts, ma'am' arena of things.


Good for you William. I'm curious: who did you say didn't have
weekend/evening support?

Chris



 William

 --
 William E. Seiter

 Have you ever read a book that changed your life?
 Go to: www.winninginthemargins.com
 Enter passkey: goldengrove

 Web Developer / ColdFusion Programmer
 http://William.Seiter.com
 -Original Message-
 From: Gerald Guido [mailto:[EMAIL PROTECTED]
 Sent: Saturday, February 16, 2008 7:38 PM
 To: CF-Talk
 Subject: Re: SOT: Holy Grail? Hosting?

 Your comment?

 On 2/16/08, William Seiter [EMAIL PROTECTED] wrote:
 
  Gerald,
 
  What was snarky?
 
  William
 
  --
  William E. Seiter
 
  Have you ever read a book that changed your life?
  Go to: www.winninginthemargins.com
  Enter passkey: goldengrove
 
  Web Developer / ColdFusion Programmer
  http://William.Seiter.com
  -Original Message-
  From: Gerald Guido [mailto:[EMAIL PROTECTED]
  Sent: Saturday, February 16, 2008 6:02 PM
  To: CF-Talk
  Subject: Re: SOT: Holy Grail? Hosting?
 
  Now that I think about it. That was rather snarky.
 
  On 2/16/08, William Seiter [EMAIL PROTECTED] wrote:
  
   Thank you Gerald.
  
   I called tech support to find out what tags they restrict from the
 admin
   and
   was told that they don't know anything about the coldfusion, and that
  they
   could have the senior engineer call me back next week when he comes
 in.
  
   William
  
  
  
   --
   William E. Seiter
  
   Have you ever read a book that changed your life?
   Go to: www.winninginthemargins.com
   Enter passkey: goldengrove
  
   Web Developer / ColdFusion Programmer
   http://William.Seiter.com
   -Original Message-
   From: Gerald Guido [mailto:[EMAIL PROTECTED]
   Sent: Saturday, February 16, 2008 8:32 AM
   To: CF-Talk
   Subject: Re: SOT: Holy Grail? Hosting?
  
   There is no holy grail of hosting.
  
   With that said, you might want to look at Sozo. They are still on CF
 7.
  I
   donno about cfobject either, you can ask.
  
   My limited experience with tech support was good. Pretty snappy.
   The good:
   Unlimited domains (I think) for $20
   H-sphere control panel. IMO based on years of expereince and RD is
 the
   best
   hosting CP I have worked with. It is as close to a dedicated box or
 VPS
  as
   you can get in a shared hosting environment.
   You have control over:
   file extensions
   FTP
   DNS (full control - very nice)
   user accounts
   Databases - Mysql and MSSQL Access
   Sub domains
   etc
   Fast pipe
  
   And if you want to do resellers hosting Hsphere is definitely the way
 to
   go.
  
   The bad:
   IT doesn't do CF DSN's on the fly - you have to wait untill they set
 it
   up.
   That never took more than an hour or so.
  
   No experience with mission critical - shit hitting the fan - type
   situation's- So no opinion there.
  
   Best of luck
   G
  
   On Feb 15, 2008 7:24 PM, William Seiter [EMAIL PROTECTED] wrote:
  
Recently I have found a great need to find a new hosting company and
   have
been looking for my personal 'Holy Grail' of shared hosting offers.
   
I was wondering if anyone here has had any good or bad experiences
  with
this
company so that I don't take the wrong road.
   
My criteria for 'Holy Grail' is: Inexpensive (always important),
   Multiple
domain names can be served from same hosting and appear to be
 unique,
allows
access to cfobject and other CFC tags, preferably CF8.
   
In my research the most often come across issue was the multiple
  domains
to
a single hosting account.  The few that had it, disabled the
 cfobject
   tags
and functions. Except this one:  CrystalTech
   
http://www.crystaltech.com/coldfusion8.aspx
   
It's inexpensive (starting at $17/mo), is CF8, has extra domains,
 only
   has
cfschedule/cfregistry/cfexecute restricted in their admin (spoke
 with
   tech
support for this info).  I can't find the kick in the pants.  Anyone
   know
them, or know of them?
   
William
   
   
--
William E. Seiter
   
Have you ever read a book that changed your life?
Go to: www.winninginthemargins.com
Enter passkey: goldengrove
   
Web Developer / ColdFusion Programmer
http://William.Seiter.com
   
   
   
  
  
  
  
 
 
 
 



 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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

Re: listGetAT problem...

2008-01-09 Thread Chris Jordan
Yeah, that's a known issue... if you want a buddy of mine wrote a little
UDF called listFix http://www.cflib.org/udf.cfm?id=507. It's available on
cflib.org. Just pass your list to this function before running the rest of
your code.

Chris

On Jan 9, 2008 4:17 PM, Bryan Stevenson [EMAIL PROTECTED]
wrote:

 and in case you want to know why and just not a fix ;-)

 the problem is CF doesn't recognize empty list elements...so you can
 replace all instances of  || with | | in the list and then parse things out

 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

 Notice:
 This message, including any attachments, is confidential and may contain
 information that is privileged or exempt from disclosure. It is intended
 only for the person to whom it is addressed unless expressly authorized
 otherwise by the sender. If you are not an authorized recipient, please
 notify the sender immediately and permanently destroy all copies of this
 message and attachments.



 Todd wrote:
  Yeah, sorry... If you're on CF8, which you should be, if you're not...
  sorry.
 
  On Jan 9, 2008 5:07 PM, Charlie Griefer [EMAIL PROTECTED]
 wrote:
 
 
  that assumes he's on CF8, no?
 
  (which he may be... i'm not sure) :)
 
  On Jan 9, 2008 2:00 PM, Todd [EMAIL PROTECTED] wrote:
 
  Use ListToArray(*list* [, *delimiters*, *includeEmptyFields*])
 instead.
 
 
 
 
 

 

~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

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


Re: cfdocument: How to design a PDF excactly the way I want?

2007-12-11 Thread Chris Jordan
Try using CF Report Builder. It's a snap. :o)

Chris

On Dec 11, 2007 7:45 AM, Rupesh Kumar [EMAIL PROTECTED] wrote:

 Hi Henry,
 The problem is that you did not define the margin space for header and
 footer. By default the top and bottom margin is 0.5 inch and that is where
 it will try to fit your content. And since you have specified absolute
 positions, it did not even get scaled.
 I changed your code a little as shown below just to give an example.

 cfdocument format=pdf Unit=cm Orientation=portrait PageType=A4
 fontembed=no margintop=5 marginbottom=2
cfdocumentitem type=header
div style=position: absolute; top: 0.4cm; left: 0.5cm;
img src=BE_HEADER.png alt= border=0 style=width:
 15cm;
/div
/cfdocumentitem
div style=position: absolute;left: 2.3cm;
font style=font-family: 'Century Gothic'; font-size: 12pt;
bTitle/b
brbr
Test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test
Test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test
Test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test
Test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test test test test test test test test test test test test test test test
 test
/font

/div
cfdocumentitem type=footer
div style=position: absolute;left: 2.0cm;
img src=BE_FOOTER.png alt= border=0 style=width: 13.9cm
 ;
/div
/cfdocumentitem

 /cfdocument


 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294527
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 

Re: Function Issue Resolved

2007-11-06 Thread Chris Jordan
Thanks for letting us know that you solved your problem. However, it
would have been nice if you'd done it in the same thread (imho). I
just responded to the original thread not knowing that you'd already
solved your own issue. :o)

Chris

On Nov 6, 2007 11:29 AM, Bruce Sorge [EMAIL PROTECTED] wrote:
 Seems that in order to get a return value from a function, you need to
 have a CFPROCRESULT in your CFSTOREDPROC tag. LOL. Also removed the
 returntype variable from the function since I keep forgetting that it is
 only needed when the function is used as a webservice.

 Thanks,

 Bruce


 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: CFC Not acting like I expect

2007-11-06 Thread Chris Jordan
It seems to me from looking at the code that propID is just a string:
foo. That's not a query, and you have your return type set to
query. Change your return type to string or any and the error
will go away.

Chris

On Nov 6, 2007 10:43 AM, Bruce Sorge [EMAIL PROTECTED] wrote:
 I have a CFC that both inserts a series of field variables and returns
 the ID number that was just created. I am getting an error that states
 the value returned from the insertProposal function is not of type
 query. Here is the function:

 cffunction name=insertProposal access=public returntype=query
 cfargument name=BidType type=string required=yes
 cfargument name=Number type=string required=yes
 cfargument name=Description type=string required=yes
 cfargument name=Contact_Name type=string required=yes
 cfargument name=Contact_Phone type=string required=yes
 cfargument name=Contact_Email type=string required=yes
 cfargument name=Job_Walk_Date type=string required=yes
 cfargument name=Job_Walk_Time type=string required=yes
 cfargument name=Status type=numeric required=yes
 cfargument name=Create_Date type=date required=yes
 cfargument name=Create_Time type=string required=yes
 cfset propID=foo
 cfstoredproc procedure=pr_InsertRFP
 datasource=#Request.dsn#
 cfprocparam cfsqltype=cf_sql_varchar
 dbvarname=BidType type=in value=#Arguments.BidType#
 cfprocparam cfsqltype=cf_sql_varchar
 dbvarname=Number type=in value=#Arguments.Number#
 cfprocparam cfsqltype=cf_sql_longvarchar
 dbvarname=Description value=#Arguments.Description#
 cfprocparam cfsqltype=cf_sql_varchar
 dbvarname=Contact_Name type=in value=#Arguments.Contact_Name#
 cfprocparam cfsqltype=cf_sql_varchar
 dbvarname=Contact_Phone type=in value=#Arguments.Contact_Phone#
 cfprocparam cfsqltype=cf_sql_varchar
 dbvarname=Contact_Email type=in value=#Arguments.Contact_Email#
 cfprocparam cfsqltype=cf_sql_date
 dbvarname=Job_Walk_Date type=in value=#Arguments.Job_Walk_Date#
 cfprocparam cfsqltype=cf_sql_time
 dbvarname=Job_Walk_Time type=in value=#Arguments.Job_Walk_Time#
 cfprocparam cfsqltype=cf_sql_integer
 dbvarname=Status type=in value=#Arguments.Status#
 cfprocparam cfsqltype=cf_sql_date
 dbvarname=Create_Date type=in value=#Arguments.Create_Date#
 cfprocparam cfsqltype=cf_sql_time
 dbvarname=Create_Time type=in value=#Arguments.Create_Time#
 /cfstoredproc
 cfreturn propID
 /cffunction

 When I run the page, the insert query works. I captured the SP in SQL
 Profiler, copied it into a new query in SQL Server Manager, and it
 inserts the information and returns the newly created ID as it should,
 so I am baffeled. Perhaps I need another pair of eyes to see what might
 end up being a glaringly obvious error on my part.

 Thanks,

 Bruce

 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Re: ajaxcfc dump results

2007-11-04 Thread Chris Jordan
I personally couldn't live without this dump function:
http://www.netgrow.com.au/files/javascript_dump.cfm

It looks *exactly* like a cfdump, but for JavaScript instead! :o)

-Chris

On 11/3/07, James Holmes [EMAIL PROTECTED] wrote:

 I'll second this. This is so useful it is part of the mxAjax distribution.

 On Nov 4, 2007 9:45 AM, Jim Davis [EMAIL PROTECTED] wrote:
   -Original Message-
   From: Ioannis Papanikolaou [mailto:[EMAIL PROTECTED]
   Sent: Saturday, November 03, 2007 9:04 PM
   To: CF-Talk
   Subject: ajaxcfc dump results
  
   Hello to everyone
  
   I am sure this will be an  easy answer to the experienced ajaxcfc
   users.
  
   The AjaxCFC debugger is displaying only object Object wich most
   likely is the array.
 
  Assuming you're talking about the client side you can see this
 information
  with my debugging/dump library here:
 
 
 http://www.depressedpress.com/Content/Development/JavaScript/Extensions/DP_D
  ebug/Index.cfm
 
  Works in IE, FF and Opera and doesn't require an install.


 --
 mxAjax / CFAjax docs and other useful articles:
 http://www.bifrost.com.au/blog/

 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: ajaxcfc dump results

2007-11-04 Thread Chris Jordan
There are two versions of this function. a jQuery one and a non-jQuery one.
The non-jQuery one came first. There are some improvements in the jQuery one
(which, if I'm honest, is the one I use). I knew about the out of memory
crashes, but for dumping a query result set like the original author was
talking about, this is a very good tool (imo).

It would be nice if it didn't try to expand every single section but instead
allow for lazy loading of those pieces that the user wants to click on to
expand. I figure that would take care of some instances of the out of memory
crashes (which I rarely run into, unless I'm trying to dump top or document
or window,etc.).

Chris

On 11/4/07, Jim Davis [EMAIL PROTECTED] wrote:

  -Original Message-
  From: Chris Jordan [mailto:[EMAIL PROTECTED]
  Sent: Sunday, November 04, 2007 10:29 AM
  To: CF-Talk
  Subject: Re: ajaxcfc dump results
 
  I personally couldn't live without this dump function:
  http://www.netgrow.com.au/files/javascript_dump.cfm
 
  It looks *exactly* like a cfdump, but for JavaScript instead! :o)

 Cool - I'd never seen this one before.  I took a deeper look (yeah, mostly
 to see how I could improve mine).

 It identifies several more object types (Dom Element, RegEx, etc) than
 mine
 and abstracts some objects very nicely (functions, dom objects, etc).  At
 the same time it doesn't seem to have an option to NOT abstract them (for
 example it only shows four properties for DOM Elements when they actually
 have several hundred).

 It can't handle circular/recursive references.  It crashes with an out of
 memory error.

 For example:

 Person1.Spouse = Person2;
 Person2.Spouse = Person1;
 Family = [Person1, Person2];

 This will crash when you try to dump Family (it generates an endless
 loop).  This was actually one of the most difficult challenges to overcome
 for me.

 Also there's no ability to control depth of recursion (for example deep,
 complex objects like document create an out of memory crash).  With mine
 you can control the recursive depth (although if you don't my component
 crashes in exactly the same way).

 Now, that said, I also noticed that my extension can't handle regular
 expressions.  It doesn't crash, but it also doesn't display them (it just
 displays blank).

 So it looks like between the both of them all the bases are covered!  ;^)

 Jim Davis


 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Doctor's appt on Monday

2007-10-25 Thread Chris Jordan
That's good to know, Andy. I hope everything is okay. did you intend to send
that to the entire CF-Talk list? ;o)

Chris

On 10/25/07, Andy Matthews [EMAIL PROTECTED] wrote:

 Hey Aaron...

 Just wanted to let you know in advance that I have a Drs. appt on Monday
 at
 9am.

 

 Andy Matthews
 Senior ColdFusion Developer

 Office:  877.707.5467 x747
 Direct:  615.627.9747
 Fax:  615.467.6249
 [EMAIL PROTECTED]
 www.dealerskins.com http://www.dealerskins.com/



 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: What can PHP do that CF can't?

2007-10-21 Thread Chris Jordan
I emailed Michale D. directly and asked him to take care of it. All I can do
now is hope he does. I'm washing my hands of this 'spam' now, but I sure
hope it doesn't continue to fill up my inbox. :o(

Chris

On 10/21/07, Bobby Hartsfield [EMAIL PROTECTED] wrote:

 Anyone NOT coming here to talk about Cobol, Qbasic, BASIC, DOS, etc...

 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
 Bobby Hartsfield
 http://acoderslife.com

 -Original Message-
 From: Will Tomlinson [mailto:[EMAIL PROTECTED]
 Sent: Saturday, October 20, 2007 10:23 PM
 To: CF-Talk
 Subject: Re: What can PHP do that CF can't?

 Can we please get this worthless thread moved to CFCommunity, Michael?
 Please?
 
 Chris

 Worthless to who?



 

~|
Enterprise web applications, build robust, secure 
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps

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


Re: What can PHP do that CF can't?

2007-10-20 Thread Chris Jordan
Can we please get this worthless thread moved to CFCommunity, Michael?
Please?

Chris

On 10/20/07, Eric Roberts [EMAIL PROTECTED] wrote:

 Qbasic was the IBM version...

 -Original Message-
 From: William Seiter [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 19, 2007 2:52 PM
 To: CF-Talk
 Subject: RE: What can PHP do that CF can't?

 BASIC? ( I guess today it is called QBASIC)
 Lasso?

 --
 William E. Seiter

 Have you ever read a book that changed your life?
 Go to: www.winninginthemargins.com
 Enter passkey: goldengrove

 Web Developer
 http://William.Seiter.com

 -Original Message-
 From: Claude Schneegans [mailto:[EMAIL PROTECTED]
 Sent: Friday, October 19, 2007 12:22 PM
 To: CF-Talk
 Subject: Re: What can PHP do that CF can't?

 never learned perl? T-SQL?

 nope.

 Unary and dereferencing in C?

 These are operators, not included in the variable name.

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






 

~|
Check out the new features and enhancements in the
latest product release - download the What's New PDF now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

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


Re: DEATH to HOMESITE

2007-10-19 Thread Chris Jordan
LOL! :o)

On 10/19/07, Charlie Griefer [EMAIL PROTECTED] wrote:

 richard, meet cfeclipse.  cfeclipse, meet richard.

 this is going to be the start of a beautiful relationship.

 On 10/19/07, Richard Colman [EMAIL PROTECTED] wrote:
  F*cking HomeSite+ wiped out my file on the server (AGAIN). I do a file
  write, it hangs, and I have to kill HomeSite. When I start homesite
  again, guess what, the file is gone from the server.
 
  What a piece of crap.
 
  Rick Colman
 
 

 

~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72catid=648

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


Re: Report Builder Questions

2007-10-18 Thread Chris Jordan
Becky,

I had this same problem. The answer was to put the concatenation inside the
field. What I mean is just put the field on the report. Then double-click it
to bring up the expression editor (I think that's what it's called). In
there you can put;
   Trim(query.AreaFull)   Area !--- notice the leading space ---

Then when report builder renders the report, the whole field comes out
right.

Hope that helps.
Chris

On 10/18/07, Becky McDermott [EMAIL PROTECTED] wrote:

 I have been playing around with the MX7 Report Builder and I have a few
 questions.  I have a dynamic field which is defined by the following:

 query.AreaFull  Area

 When the report is rendered, there is a big space between the two
 concatenated strings.  For example, the text gets rendered as Tucson
 Area instead of Tuscon Area.  If I make the field's width smaller, then
 it can be cut-off.  Any suggestions how I can make this appear correctly?

 The second question I have is how can I shade alternating rows in the
 report?

 Finally, are there any good books or documentation out there regarding the
 report builder?  Are people actually using it or using 3rd party tools for
 reports?

 Thank You,

 Becky

 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


Re: open source eCommerce application

2007-10-15 Thread Chris Jordan
Nick,

The first sentence on cfCommerce.org says, cfCommerce aims to be an Open
Source based online shop e-commerce solution.

do you mean, ... Open Source ColdFusion based...?

Chris

On 10/14/07, Nick Tong [EMAIL PROTECTED] wrote:

 Hi all,
 I've started the ball rolling on getting a eCommerce solution
 developed - more information here:

 http://www.succor.co.uk/index.cfm/2007/10/14/cfCommerceorg--a-free-coldfusion-eCommerce-solution

 Please post any thoughts on the blog post - many thanks.
 Nick

 --
 Nick Tong

 web: http://talkwebsolutions.co.uk
 blog: http://succor.co.uk
 f..works:http://cfframeworks.com
 short urls:  http://wapurl.co.uk
 green link: http://wapurl.co.uk/?4Z2YDLX

 

~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finderproductID=1522loc=en_us

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


Re: Need an active Javascript discussion group

2007-10-08 Thread Chris Jordan
I know this probably isn't what you're looking for, but the jQuery general
mailing list is **extremely** active, and it's all about JavaScript. Of
course, it's centered around the jQuery library, but that doesn't mean that
people don't ask plain ol' JavaScript questions now and then... :o)

Chris

On 10/8/07, Cutter (CFRelated) [EMAIL PROTECTED] wrote:

 Javascript mailing list
 [EMAIL PROTECTED]
 http://lists.evolt.org/mailman/listinfo/javascript

 Steve Cutter Blades
 Adobe Certified Professional
 Advanced Macromedia ColdFusion MX 7 Developer
 _
 http://blog.cutterscrossing.com

 [EMAIL PROTECTED] wrote:
  Does anyone know a good site with activity like here on
 houseoffusion.com?
 
  Thanks
 
  D
 
 

 

~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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