Re: Unable to load library cfx_imagecr3

2012-03-20 Thread Joel Black

Did you ever find a solution? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350490
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Unable to load library cfx_imagecr3

2012-03-20 Thread Joel Black

Did you ever find a solution? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:350489
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Wordpress password encryption decrypt with ColdFusion

2011-08-25 Thread Joel Black

Billy, thank you for that.  Instead of trying to make 1 use the others system, 
try and make them both use a 3rd system.  Im going to look into that. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347009
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Wordpress password encryption decrypt with ColdFusion

2011-08-25 Thread Joel Black

I have a website I am building that will be a 2 piece solution.  It will have a 
blog built with Wordpress, but the main website and store will be built with 
ColdFusion.  We want the user to be able to log into the blog, and log into 
their shopping cart with the same username and password. 

So my question is how do I decrypt the password from the Wordpress style 
encryption.  Also, I will have to encrypt the password to the Wordpress style 
if a user registers for an account in the checkout process. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:347006
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: wireframe for developers

2011-01-18 Thread Joel Watson

Yeah, clients are always going to want to know what it's going to "look like." 
However, I've found it extremely helpful to segregate the wireframing from the 
design. 

In my experience, most clients put the cart before the horse, concentrating way 
too much (or too early, or both) on the aesthetics without giving much thought 
to how their site/app/whatever needs to work, how information will be 
delivered, etc.  But what they don't realize is that it is, in fact, the 
information/content/etc. that should be driving the design, not the other way 
around.

So then, I take it as a bit of personal responsibility to guide the client into 
asking these important questions, even if these aren't questions they would 
normally think to ask.

>That's true.  However, before my client's decide they
>always want to know "what is this going to look like?"...



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:340976
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Excel File Parser for ColdFusion

2010-11-29 Thread Joel Rivera

:):):) 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339581
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Excel File Parser for ColdFusion

2010-11-29 Thread Joel Rivera

Hi Dan,
We are just converting our cf4.5 code to cf8 and are having issues with closing 
an excel file. Since cfusion_disable_dbconnections is function is obsolete from 
cf 8, do you have a code that closes the excel connection?
Joel
jriv...@volt.com 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339580
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Excel File Parser for ColdFusion

2010-11-29 Thread Joel Rivera

> I have a function that will do just that, its only like 22 lines of 
> code.
> 
> You have to be careful because if you don't close the resource and 
> the
> connection you have to restart your coldfusion services... so you may 
> want
> to throw in a try/catch that does that.
> 
> With this code you don't have to install any additional software or
> anything... its all built-in coldfusion.  I would copy/paste the code 
> but it
> would likely mangle some characters so just copy/paste from the blog 
> site.
> 
> 
> http://baughmansoft.com/index.
cfm/20> 09/5/19/Pulling-an-Excel-file-into-a-query-struct-in-21-lines-of-code
> 
> 
> 
> On Fri, Aug 7, 2009 at 10:59 AM, Donnie Carvajal <
> donnie.carva...@transformyx.com> wrote:
> 
> >
> > Hi Dan,
> >
> > Yes.  Currently I am reading the uploaded CSV file with CFHTTP 
> which
> > returns the data in a query.
> >
> > Thanks,
> >
> > Donnie
> >
> > >The end goal is to convert the file into a query-like struct that 
> you can
> > >loop through taking action on the contents of each line?
> > >
> > >On Fri, Aug 7, 2009 at 10:41 AM, Donnie Carvajal <
> > >donnie.carva...@transformyx.com> wrote:
> > >
> > >>
> >
> > 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339578
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Excel File Parser for ColdFusion

2010-11-29 Thread Joel Rivera

> I have a function that will do just that, its only like 22 lines of 
> code.
> 
> You have to be careful because if you don't close the resource and 
> the
> connection you have to restart your coldfusion services... so you may 
> want
> to throw in a try/catch that does that.
> 
> With this code you don't have to install any additional software or
> anything... its all built-in coldfusion.  I would copy/paste the code 
> but it
> would likely mangle some characters so just copy/paste from the blog 
> site.
> 
> 
> http://baughmansoft.com/index.
cfm/20> 09/5/19/Pulling-an-Excel-file-into-a-query-struct-in-21-lines-of-code
> 
> 
> 
> On Fri, Aug 7, 2009 at 10:59 AM, Donnie Carvajal <
> donnie.carva...@transformyx.com> wrote:
> 
> >
> > Hi Dan,
> >
> > Yes.  Currently I am reading the uploaded CSV file with CFHTTP 
> which
> > returns the data in a query.
> >
> > Thanks,
> >
> > Donnie
> >
> > >The end goal is to convert the file into a query-like struct that 
> you can
> > >loop through taking action on the contents of each line?
> > >
> > >On Fri, Aug 7, 2009 at 10:41 AM, Donnie Carvajal <
> > >donnie.carva...@transformyx.com> wrote:
> > >
> > >>
> >
> > 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339577
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Joel Black

Gerald,  was the key.  I didnt even have to savecontent or 
anything else.  I simply added this to my custom tag and it does just what its 
supposed to!

Never even knew this tag existed, thanks a million! 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339398
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Variable before query, rereplace or javascript to change title

2010-11-19 Thread Joel Black

>Your title  -
>#Yourvaraible#
> 
>
>This will put  #pageTitle# in the head of the document.
>
>
>
>On Thu, Nov 18, 2010 at 4:05 PM, Joel Black wrote:
>
>> 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339397
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black

Wrap the custom tag in a cfsavecontent tag at the top of the page:


I tried to do this, but the query.title doesnt read the query within the save 
content.  I also tried to set a variable within the custom tag and pull that 
out...but no success there either.  What if i set an application variable?  Im 
gonna try it. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black

>Wrap the custom tag in a cfsavecontent tag at the top of the page:
>
I gave this a try, but when I wrap it in the savecontent, its not reading the 
query when I put it in the title 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339381
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Variable before query, rereplace or javascript to change title

2010-11-18 Thread Joel Black

I created a custom tag I can reuse, which runs a news manager.  I would like to 
optimize it for search engines, but here is my issue:

1. The query and output are in the custom tag, which goes in the main content 
of the page
2. I want the news title to be in the page title, but I cant put an output 
before a query that I know of
3. Not sure if an ReReplace will work in this situation either
4. I know I can do it with javascript, but javascript is client side and will 
not change the title in time for a search engine to catch it will it?

Any input would be greatly appreciated.  Example: 
http://desconsultants.com/news.cfm?newsId=84 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339372
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CFSpreadSheet and Custom Colors

2010-10-23 Thread Joel Watson

> > So my question is, how do I achieve a custom color with RGB
> > values above 127?
> 
> If memory serves, I _believe_ you can just deduct -256 whenever the 
> value is greater than 127. The result can then be cast as a "byte". Of 
> course if my memory is faulty, you could also use: javacast("int", 
> yourValue).byteValue()
> 
> 
> -Leigh
> 
> 
> 
> 
  
Thanks Leigh--I tried the latter (javacast("int",yourValue).byteValue()) and it 
worked splendidly.  Thanks again!


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338510
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Merge cells using cfspreadsheet

2010-10-23 Thread Joel Watson

Did you look at SpreadsheetMergeCells()?
http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6734.html

In my own experience, there appear to be some formatting limitations to merged 
cells, but this method will definitely do the trick of merging cells across 
both cells and rows. 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338509
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


CFSpreadSheet and Custom Colors

2010-10-21 Thread Joel Watson

I'm trying to create some custom colors to use in my formatting objects for a 
spreadsheet I'm developing with cfspreadsheet.  According to to POI docs, you 
can do something like this to achieve a custom color:


  excel = spreadsheetnew("My Worksheet",false);
  palette = excel.getworkbook().getcustompalette();
  palette.setcoloratindex(41,218,218,218);

http://poi.apache.org/spreadsheet/quick-guide.html#CustomColors

When I try this, I get an out-of-bounds error for the bytes I'm trying to pass 
into the method:

"The cause of this exception was that: 
coldfusion.runtime.Cast$OutOfBoundsException: Cannot convert the value 218.0 to 
byte because it cannot fit inside a byte."

Same results when I simply try to do a straight javacast() to byte on the value 
218.

This error, of course, is not unexpected, since the Java docs clearly state 
that the max size of a byte is 127.

So my question is, how do I achieve a custom color with RGB values above 127?


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338461
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: totaling items in a recordset

2010-10-20 Thread Joel Black

You can query the database to extract the records you want, then query the 
query for a total.  This example actually gets the total if there are multiple 
quantity for each item



SELECT SUM(PriceSold*Quantity) AS TheTotal
FROM cart
 


~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:338386
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Need suggestion to achieve this functionality

2010-10-01 Thread Joel Watson

What is the purpose for putting the tree in the grid?

Personally, I would suggest Sencha's (ExtJS) tree.  There is a pretty robust 
OOTB tree with checkbox support.  I've used it numerous times in the past, and 
it's super simple to integrate with CF.

Here's the link: http://dev.sencha.com/deploy/dev/examples/tree/check-tree.html 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337763
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Java Object Web Service Issue

2010-09-22 Thread Joel Spriggs

I've found the issue.  It turns out the java code given by Avalara is compiled 
with Axis 1.2.  The CF9 server was a bit of a decoy, bc it had a compatible 
Axis jar.  

The problem was with the server running CF9.  The other developer working on 
this and myself are both running CF9 on a jrun server for development, the base 
JRun 4 server in its lib directory had a webservices.jar file that was a 
compilation of Axis 1.1.x, jaxrpc and saaj.  

After we removed that jar file, copied all dependent jars from the Avalara 
compile and removed the Axis jars we'd put into cfusion/lib, it picked up and 
started working fine.

Not the first time I've had Axis issues with cf and web services.  Probably 
won't be the last.

Thanks,
Joel 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337319
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Java Object Web Service Issue

2010-09-22 Thread Joel Spriggs

I'm attempting to use the Avalara Tax Java SDK in a CF9 application.  The code 
works fine as a standalone java app.  But when we start to bring it into CF as 
a jar where we instantiate the classes using createObject we get some failures. 
 The main error I tend to see is

 AXIS ERROR org.apache.axis.configuration.EngineConfigurationFactoryFinder - 
Unable to locate a valid EngineConfigurationFactory
 The stack trace looks like this:

java.lang.NullPointerException at 
org.apache.axis.client.Service.getEngineConfiguration(Service.java:801) at 
org.apache.axis.client.Service.getAxisClient(Service.java:143) at 
org.apache.axis.client.Service.(Service.java:152) at 
com.avalara.avatax.services.address.AddressSvcLocator.(AddressSvcLocator.java:48)
 at AddressValidateSample.getAddressSvc(AddressValidateSample.java:101) at 
AddressValidateSample.isValidAddress(AddressValidateSample.java:31) at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597) at 
coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:97) at 
coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2360) at 
cfTax2ecfc2111713232$funcVALIDATEADDRESS.runFunction(/Applications/JRun4/servers/...

Has anyone seen this kind of error before trying to use a java based Soap 
wrapper in CF9?  I was starting on the path of a mixed version of Axis, since 
I've been burned on that path before, but it's not panning out like I had 
expected.

Thanks
Joel 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:337309
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Call cfabort with java methods

2010-06-02 Thread Joel Watson

This is more a question of curiosity than of anything else...but is there a way 
in CF8 to call something equivalent to  using the exposed java 
methods?  Or maybe another way, what is it that  is actually doing? 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334232
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: jquery $.ajax - need help with json syntax

2010-04-29 Thread Joel Watson

If "dat" is already an object literal (as below), why do you need to serialize 
it? Doesn't the the ajax() data take care of that for you if passing an object? 
 


> If I use serialize I get nothing passed as a post argument. I am 
> requiring all args and I get the error as normal, "...required but not 
> passed in".
> 
>   var dat = {
>   'OBJ': obj,
>   'VAL': val,
>   'ATTR': attr,
>   'TIMESTAMP': time
>   };
>   return $.ajax({
>   url: "mycfc.cfc?method=dbupdate",
>   dataType: 'json',
>   data: $("dat").serialize(),
>   type: 'post',
>   success: callBack
>   });
> 
> Serialize() seems to return nothing. 


~|
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:333246
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: Why .Net is on its last legs

2010-01-21 Thread Joel Watson

There is plenty of "sloppy code" in the .Net-i-verse...like you said, it's 
ultimately about the developer, not the platform. 

~|
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:329988
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Coldfusion Encrypt and Insert quotation mark issue

2009-10-15 Thread Joel Black

I am using the encrypt function to encrypt passwords going into and out of my 
database.  I ran into an issue on a password that was one of the characters was 
encrypted to a ", which messed up my insert.

"#encrypt(form.password,0)#"

ended up as 

"19$h#1".y "

The extra " ended my string too early, which threw an error.  Any idea how to 
keep this from happening? 


~|
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:327260
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black

Great idea, but could not get a replace() to work.  There is nother there to 
replace? 

~|
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:321693
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black

Thanks for the suggestion.  I tried it, but got the same outcome. 

~|
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:321692
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black

Both very good solutions, but neither is working.  I tried doing a replace() 
while processing, but there is nother there to replace.  I tried \r\n, \r.  
Didnt get an error, but got the same outcome.  I also tried supressing white 
space, with processing directive, same outcome.  The generated XML is clean, 
cant figure out why I would have to open it and save it with a mac thought, it 
doesnt make sense.

the XML






]>


2008 48 Hour Film Project Entry
Production Company Unit One Productions
Director Lauren Giovanonni
*Winner of BEST CINEMATOGRAPHY

Assets/thumbs/108sm.jpg
../../Assets/flv/108.flv

 

~|
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:321691
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


cffile action="write" file as XML. Put spacing in lines, but resave file on mac spaces disappear

2009-04-16 Thread Joel Black

I have a very strange issue and need someone to tell me im not crazy.  I an 
querying a database, saving the content , and writing it to an xml file.  The 
formatting is all perfect to the format we had testing the xml file.  By the 
way, flash is reading the XML.  The strange part, the application writes the 
XML file, and the spacing is there.  You open the xml with windows, resave it, 
and try to load it again in flash, same spacing problem.  If you open the XML 
with Mac, resave it exactly the same, reload it to the flash and the spacing is 
perfect.  If you open and resave the XML with mac dreamweaver, it works, 
otherwise it puts spaces between the lines.  here is the code, and a link to 
the site with spaces.

http://blackbeardesign.com/temp/resave-with-mac.jpg
http://blackbeardesign.com/temp/save-from-cf-or-windows.jpg








]>


#data.comments#

Assets/thumbs/#data.image#
../../Assets/flv/#data.flv#
  







~|
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:321653
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: 525339 C-A-N-A-D-l-A-N P-H-A-R-M-A-C-Y

2009-03-24 Thread Joel Polsky

Now this is getting too much.. the LIST is being spammed, not just me! And
gee.. Why are the links "jakerziz" and not msn.com or microsoft.com

On Mon, Mar 23, 2009 at 9:18 PM, cftalk  wrote:

>
> About this mailing:
> You are receiving this e-mail because you subscribed to MSN Featured
> Offers. Microsoft respects your privacy. If you do not wish to receive this
> MSN Featured Offers e-mail, please click the "Unsubscribe" link below. This
> will not unsubscribe you from e-mail communications from third-party
> advertisers that may appear in MSN Feature Offers. This shall not constitute
> an offer by MSN. MSN shall not be responsible or liable for the advertisers'
> content nor any of the goods or service advertised. Prices and item
> availability subject to change without notice.
>
> ©2009 Microsoft | Unsubscribe at http://jakreziz.cn | More news at
> http://jakreziz.cn | Prvacy at http://jakreziz.cn
> Microsoft Corporation, One Microsoft Way, Redmond, WA 98052
>
> 

~|
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:320856
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: php help (i know, offlist if you can... thanks!)

2009-03-10 Thread Joel Polsky

And people think CF is so out dated, and PHP is all that and a bag of
chips..

Ha!

Not that I have the answer, BUT I'm sure the answer to the problem would
have been much easier if it was a CF application...






On Tue, Mar 10, 2009 at 6:56 PM, Rastafari  wrote:

>
> NEVERMIND :) i think i fixed it!!
> but im not sure of the security of the fix.
> but it works so far.  ill be hardening it up if i need
> to... thanks!
> tony
>
> On Tue, Mar 10, 2009 at 6:52 PM, Rastafari  wrote:
> > Yuliang... if you can go to this page:
> > http://www.morgantownpatiosunrooms.com/fileExists.php
> > you will see that the file exists.  the code is simple. then...
> > the next link below... takes you to a page that has
> > the code below in it...
> >
> > so, i can detect the files presence but not read it??
> >
> > http://www.morgantownpatiosunrooms.com/readfile.php
> > (notice the error)
> >
> >  > $filename = 'c:\inetpub\wwwroot\morgantownpatiosunrooms\morgantown1.xml';
> >
> > if (file_exists($filename))
> > {
> >$fd = fopen(basename($filename),'r');
> >while(!feof($fd))
> >{
> >$contents .= fgets($fd,1024);
> >}
> >fclose($fd);
> > }
> > else
> > {
> >err("No  data file foundPlease upload the data xml
> > file ".$filename);
> > }
> >
> > ?>
> >
> >
> > thanks!!
> > tony
> >
> > On Tue, Mar 10, 2009 at 7:37 PM, Yuliang Ruan 
> wrote:
> >>
> >> so there is a "garagerefacing.xml" in the same directory as that php
> file that's running?   it might also be something like a environment
> variable PATH or something.  or the php file is not in the same directory as
> that XML file and there was a path variable set up before but now doesn't
> exist.
> >>
> >>
>
> 

~|
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:320344
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.Window.create problems..

2009-03-06 Thread Joel Polsky

Morgan,
Would this be correct implimentation?

function doLogin(x,y)
{
var posx = 0;
var posy = 0;
if (!e) var e = window.event;
if (e.pageX || e.pageY)
{
posx = e.pageX;
posy = e.pageY;
}
else if (e.clientX || e.clientY)
{
posx = e.clientX + document.body.scrollLeft
+ document.documentElement.scrollLeft;
posy = e.clientY + document.body.scrollTop
+ document.documentElement.scrollTop;
}
ColdFusion.Window.create('loginwindow','Members Only Area:
Login','/industry/includes/member-login.cfm',{modal:true,height:160,width:300,
x:x+0,y:y+50});
}

On Fri, Mar 6, 2009 at 4:10 PM, morgan l  wrote:

>
> This is the js I am currently using, courtesy of quirksmode.com:
> var posx = 0;
> var posy = 0;
> if (!e) var e = window.event;
> if (e.pageX || e.pageY) {
> posx = e.pageX;
> posy = e.pageY;
> }
> else if (e.clientX || e.clientY) {
> posx = e.clientX + document.body.scrollLeft
> + document.documentElement.scrollLeft;
> posy = e.clientY + document.body.scrollTop
> + document.documentElement.scrollTop;
> }
> // posx and posy contain the mouse position relative to the document
> // Do something with this information
>
> On Fri, Mar 6, 2009 at 2:58 PM, Milburn, Steve <
> steven.milb...@acps.k12.md.us> wrote:
>
> >
> > I'm pretty sure that event.pageX and event.pageY are not supported in
> > Internet Explorer.  You may have to look at other options such as
> > event.clientX and event.clientY.
> >
> > Perhaps somebody else can shed more light on this, but I tried using the
> > same code you have and could not get it to work correctly in IE.  After
> some
> > research I found out about IE's lack of support for event.pageX and
> > event.pageY
> >
> > Steve
> >
> > 
> > From: Joel Polsky [polskystud...@gmail.com]
> > Sent: Friday, March 06, 2009 3:32 PM
> > To: cf-talk
> > Subject: ColdFusion.Window.create problems..
> >
> > Hi,
> > I'm trying implement the sample on this page, which controls where a
> > cfwindow appears based on the x/y click .
> >
> >
> http://www.coldfusionjedi.com/index.cfm/2007/11/29/ColdFusion-8-and-AjaxBased-Login
> >
> > Here's where my latest code:
> > 
> > function doLogin(x,y) {
> >   ColdFusion.Window.create('loginwindow','Members Only Area:
> >
> >
> Login','/industry/includes/member-login.cfm',{modal:true,height:160,width:300,
> > x:x+0,y:y+50});
> > }
> > 
> > MEMBER LOGIN
> >
> > It seems to work in FF, but NOT in IE7.
> >
> > Thanks,
> > Joel
> >
> >
> >
> >
> >
>
> 

~|
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:320189
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


ColdFusion.Window.create problems..

2009-03-06 Thread Joel Polsky

Hi,
I'm trying implement the sample on this page, which controls where a
cfwindow appears based on the x/y click .
http://www.coldfusionjedi.com/index.cfm/2007/11/29/ColdFusion-8-and-AjaxBased-Login

Here's where my latest code:

function doLogin(x,y) {
   ColdFusion.Window.create('loginwindow','Members Only Area:
Login','/industry/includes/member-login.cfm',{modal:true,height:160,width:300,
x:x+0,y:y+50});
}

MEMBER LOGIN

It seems to work in FF, but NOT in IE7.

Thanks,
Joel


~|
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:320183
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IIS6 / CFIDE configuration problems

2009-03-03 Thread Joel Polsky

Thank for the help mark -- I was following a tutorial and it sort of didn't
clearly state that there is a application.cfm involved plus a few other
files that were critical the page / tutorial  functioning. (Thus causing the
CFIDE scripts to be loaded.)

Appreciate the assistance.

Joel

On Tue, Mar 3, 2009 at 5:00 PM, Mark Kruger  wrote:

>
> Joel,
>
> And you also have cfajaximport or one of the "special" tags that gets the
> script written? Or maybe I don't understand your problem.
>
> -Mark
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Joel Polsky [mailto:polskystud...@gmail.com]
> Sent: Tuesday, March 03, 2009 3:13 PM
> To: cf-talk
> Subject: Re: IIS6 / CFIDE configuration problems
>
>
> Hi Mark,
> Thanks for the reply.
> I already have this in the CF Admin for the * Default ScriptSrc Directory
> *:
> /CIDE/scripts/
>
> It's weird, because a folder like this locally works:
>
>  SITE1/folder/floder/index.cfm
>
>
>
>
>
>
>
>
> On Tue, Mar 3, 2009 at 1:42 PM, Mark Kruger 
> wrote:
>
> >
> > Joel,
> >
> > You can set the scripts directory in the CF Admin (look on the "settings"
> > tab). The setting goes from the root of your web site... So, for
> > example, You could use a virtual map called "cfscripts" that points to
> > the /cfide/scripts/ directory - and then add /cfscripts/ to your
> > default script src directory in the CF Admin.
> >
> > The second thing is, the  only shows up
> > if you call a <cf> tag that needs it or you use CFAJAXIMPORT to
> specifically
> > identify the tag libraries you want.   So in your example below you
> cannot
> > expect the script include to appear because you haven't done anything
> > to specifically call it.
> >
> > Hope this helps :)
> >
> > -Mark
> >
> >
> > Mark A. Kruger, CFG, MCSE
> > (402) 408-3733 ext 105
> > www.cfwebtools.com
> > www.coldfusionmuse.com
> > www.necfug.com
> >
> > -Original Message-
> > From: Joel Polsky [<a  rel="nofollow" href="mailto:polskystud...@gmail.com">mailto:polskystud...@gmail.com</a>]
> > Sent: Tuesday, March 03, 2009 12:31 PM
> > To: cf-talk
> > Subject: IIS6 / CFIDE configuration problems
> >
> >
> > Hi,
> > I'm having a problem with the CFIDE folder being accessible and CF is
> > throwing errors, because of it.
> >
> > Here's how I have my *LocalHost *system configured.
> >
> > In the directory tree in IIS6 I see the following folders:
> > (globe) Default Website
> > +SITE1
> > +SITE2
> > +CFIDE
> >
> > When i try something such as this i get a JavaScript error:
> >
> > <script type="text/javascript">
> > function doLogin() {
> >
> >
> > ColdFusion.Window.create('loginwindow','Login','login.cfm',{center:tru
> > e,moda
> > l:true});
> > }
> > 
> > Login
> >
> > When I view the page's code, there are no references to any CFIDE
> > folders such as this:  > "/CFIDE/scripts/ajax/package/cfajax.js">
> >
> > When I add a Virtual Directory and click on the "Test Settings", I see
> > an error for the Authorization stating *"Cannon verify access to path
> > (c:\inetpub\wwwroot\CFIDE)." *along with this
> > message:
> >
> > *The server is configured to use pass-through authentication with a
> > built-in account to access the specified physical path. However, IIS
> > Manager cannot verify whether the built-in account has access. Make
> > sure that the application pool identity has Read access to the
> > physical path. If this server is joined to a domain, and the
> > application pool identity is NetworkService or LocalSystem, verify
> > that \$ has Read access to the physical path.
> > Then test these settings again.*
> > *
> > Any ideas of what's wrong?*
> >
> >
> > Thanks!
> > Joel
> >
> >
> >
> >
> >
>
>
>
> 

~|
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:320083
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: IIS6 / CFIDE configuration problems

2009-03-03 Thread Joel Polsky

Hi Mark,
Thanks for the reply.
I already have this in the CF Admin for the * Default ScriptSrc Directory *:
/CIDE/scripts/

It's weird, because a folder like this locally works:

  SITE1/folder/floder/index.cfm








On Tue, Mar 3, 2009 at 1:42 PM, Mark Kruger  wrote:

>
> Joel,
>
> You can set the scripts directory in the CF Admin (look on the "settings"
> tab). The setting goes from the root of your web site... So, for example,
> You could use a virtual map called "cfscripts" that points to the
> /cfide/scripts/ directory - and then add /cfscripts/ to your default script
> src directory in the CF Admin.
>
> The second thing is, the  only shows up if you
> call a <cf> tag that needs it or you use CFAJAXIMPORT to specifically
> identify the tag libraries you want.   So in your example below you cannot
> expect the script include to appear because you haven't done anything to
> specifically call it.
>
> Hope this helps :)
>
> -Mark
>
>
> Mark A. Kruger, CFG, MCSE
> (402) 408-3733 ext 105
> www.cfwebtools.com
> www.coldfusionmuse.com
> www.necfug.com
>
> -Original Message-
> From: Joel Polsky [<a  rel="nofollow" href="mailto:polskystud...@gmail.com">mailto:polskystud...@gmail.com</a>]
> Sent: Tuesday, March 03, 2009 12:31 PM
> To: cf-talk
> Subject: IIS6 / CFIDE configuration problems
>
>
> Hi,
> I'm having a problem with the CFIDE folder being accessible and CF is
> throwing errors, because of it.
>
> Here's how I have my *LocalHost *system configured.
>
> In the directory tree in IIS6 I see the following folders:
> (globe) Default Website
> +SITE1
> +SITE2
> +CFIDE
>
> When i try something such as this i get a JavaScript error:
>
> <script type="text/javascript">
> function doLogin() {
>
>
> ColdFusion.Window.create('loginwindow','Login','login.cfm',{center:true,moda
> l:true});
> }
> 
> Login
>
> When I view the page's code, there are no references to any CFIDE folders
> such as this:  "/CFIDE/scripts/ajax/package/cfajax.js">
>
> When I add a Virtual Directory and click on the "Test Settings", I see an
> error for the Authorization stating *"Cannon verify access to path
> (c:\inetpub\wwwroot\CFIDE)." *along with this
> message:
>
> *The server is configured to use pass-through authentication with a
> built-in
> account to access the specified physical path. However, IIS Manager cannot
> verify whether the built-in account has access. Make sure that the
> application pool identity has Read access to the physical path. If this
> server is joined to a domain, and the application pool identity is
> NetworkService or LocalSystem, verify that \$ has
> Read access to the physical path. Then test these settings again.*
> *
> Any ideas of what's wrong?*
>
>
> Thanks!
> Joel
>
>
>
>
> 

~|
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:320074
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


IIS6 / CFIDE configuration problems

2009-03-03 Thread Joel Polsky

Hi,
I'm having a problem with the CFIDE folder being accessible and CF is
throwing errors, because of it.

Here's how I have my *LocalHost *system configured.

In the directory tree in IIS6 I see the following folders:
(globe) Default Website
 +SITE1
 +SITE2
 +CFIDE

When i try something such as this i get a JavaScript error:


function doLogin() {

ColdFusion.Window.create('loginwindow','Login','login.cfm',{center:true,modal:true});
}

Login

When I view the page's code, there are no references to any CFIDE folders
such as this: 

When I add a Virtual Directory and click on the "Test Settings", I see an
error for the Authorization stating
*"Cannon verify access to path (c:\inetpub\wwwroot\CFIDE)." *along with this
message:

*The server is configured to use pass-through authentication with a built-in
account to access the specified physical path. However, IIS Manager cannot
verify whether the built-in account has access. Make sure that the
application pool identity has Read access to the physical path. If this
server is joined to a domain, and the application pool identity is
NetworkService or LocalSystem, verify that \$ has
Read access to the physical path. Then test these settings again.*
*
Any ideas of what's wrong?*


Thanks!
Joel


~|
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:320067
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: FireFox & getElementById issue

2009-02-18 Thread Joel Polsky

I'm not a javascript expert..but try  instead of