Re: Posting question

2013-01-30 Thread Ken Hammond

Thanks Bruce, will do!  That's just cf-j...@houseoffusion.com right?

Ken Hammond

IT Director
The Salem Group
Phone: 630-873-3018
Fax: 630-932-7010
Email: khamm...@saleminc.com

www.saleminc.com




On Jan 30, 2013, at 2:32 PM, Bruce Sorge  wrote:

> 
> Probably want to post it to cf-jobs
> 
> 
> On Jan 30, 2013, at 3:31 PM, Ken Hammond  wrote:
> 
>> 
>> If I have a project I need someone with experience to work on, can I post it 
>> here?
>> 
>> Ken Hammond
>> 
>> IT Director
>> The Salem Group
>> Phone: 630-873-3018
>> Fax: 630-932-7010
>> Email: khamm...@saleminc.com
>> 
>> www.saleminc.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:354170
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Posting question

2013-01-30 Thread Ken Hammond

If I have a project I need someone with experience to work on, can I post it 
here?

Ken Hammond

IT Director
The Salem Group
Phone: 630-873-3018
Fax: 630-932-7010
Email: khamm...@saleminc.com

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


jquery.validate custom submit handler

2012-03-22 Thread Ken Hammond

All,

Here's what I am looking to do and I believe I can do it with a custom submit 
handler (text from the documentation pasted below) but I don't know how to do 
it exactly.

$(".selector").validate({
   submitHandler: function(form) {
   // do other stuff for a valid form
 form.submit();
   }
})

Let's say I have a web page with a form named MyForm and that page has 1 
viewable DIV and 3 hidden DIVs.  Three of the DIVs have form fields on them.  I 
am using those DIVs as "pages" (the id for each DIV is a page name, page1, 
page2, etc..).  The first DIV has some verbiage and a "Start" link.  The start 
link when they click it, hides that first DIV id="page1" and shows the second 
DIV id="page2" (via my toggle function shown at the end of this email).  Now 
"page2" has some required fields that I am using jquery.validate to validate 
and display the error next to them when they leave the field (standard fare for 
what that plug-in would do)

jQuery(function(){  
jQuery("#LastName").validate({  
expression: "if (VAL) return true; else return false;",
message: " Last Name is a Required field"
}); 
jQuery("#FirstName").validate({
expression: "if (VAL) return true; else return false;",
message: " First Name is a Required field"
});
});

Now, after they complete that "page" - as they go along through the form, it 
shows them if they missed something; however, they still can click the 
"CONTINUE" link even if they don't fill out all required fields and that then 
toggles the next page/DIV.  So now, they've clicked "CONTINUE" and now page2 is 
hidden and page3 is shown.  Now, on page 3, at the bottom we have links that 
toggle each way, "GO BACK" which would hide page3 and show page2 and then 
"CONTINUE" which of course would hide page3 and show page4.  Also on page3 we 
have more fields, none of which are required.  Moving on to page4 we have more 
fields that aren't required and the submit button.  

Now, what I want to do is this: When they click the submit button it currently 
acts as it should because of the jquery.validate plugin.  It prevents 
submission and sets the focus to the first error and highlights all errors they 
had left (and says whatever message I told it to).  What I WANT to have it do 
is hide page4 and show page2, which is the DIV that has the required fields on 
it.  That will allow them to go back to that DIV, fix what they've missed, 
continue through the DIVs and when they click submit which is on page4 for a 
second time, it would submit because everything returns true.  Now, if they 
didn't miss anything the first time through, of course it would also return 
true and none of this would matter.

Raymond and Larry have been helping me through and we've tried many different 
ways (thank you to both of you) and I'm just having a hell of a time finding a 
way that works with this plugin the way I want.  

After laying this out, does anyone have any idea how to make it hide/show DIVs 
using that submithandler? As far as hide/show I am currently using my own 
toggle function (shown below), but I know (as Larry pointed out to me), that I 
could also use .toggle() and just do it on page4 and 2 $("#page4").toggle(); 
and then $("#page2").toggle(); [if that syntax is wrong please let me know].  
The problem is, I don't know how to fire those off onSubmit in a custom submit 
handler through the jquery.validate plugin like I believe I need to do.



function toggle(a,b) {
var ele = document.getElementById(a);
var text = document.getElementById(b);
ele.style.display = "none";
text.style.display = "block";
}

Any and all help is VERY much appreciated!

Ken Hammond

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


Need copy of cf mx 7.02 updater 4 windows. anyone?

2012-03-16 Thread Ken Willis

adobes link to updater is broken and i need the update now and do not feel like 
navagating adobe support system.  can anyone help or know of a link to the 
coldfusion-70-updater2-win.exe file.

thanks in advance 

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


Re: XML and "unicode: 0x1a"

2012-03-01 Thread Ken Hammond

I don't want to sound stupid but how does regex work?  I could use something 
similar to this and always fall flat on my face every time someone mentions 
regex… 

Ken Hammond

IT Director
The Salem Group
Phone: 630-873-3018
Fax: 630-932-7010
Email: khamm...@saleminc.com

www.saleminc.com




On Feb 23, 2012, at 1:04 PM, Leigh wrote:

> 
> Have you tried a regex replace of "\x1a" ? It *might* work. Worth a shot 
> anyway.
> 
>  
> -Leigh
> 
> 

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


Javascript error help!

2012-02-22 Thread Ken Hammond

I am running into this exact problem this guy had and cannot find a fix 
ANYWHERE.

http://www.elliottsprehn.com/cfbugs/bugs/79033

I can show some example code of mine but basically I'm having the same problem 
he is describing.  I have a hidden div with cfinputs that have masks and 
validation and I get the same error he is getting….  I don't have a problem in 
Safari, but I have the problem EVERY TIME in both IE8 and IE9…  

I REALLY need help here!

Ken Hammo

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


Re: Need some perspective...

2011-06-29 Thread Ken Hammond

If it was a gal replying you might be overjoyed? LOL!
 

-Original Message-
From: Peter Boughton 
To: cf-talk 
Date: Wed, 29 Jun 2011 14:45:18 -0400 (EDT)
Subject: Re: Need some perspective...


Heh, whilst I guess I can see :P being exhaustion, it's always been a 
teasing/playful emote for me (which is also how Wikipedia defines it: 
"tongue sticking out, cheeky/playful").

And yeah, I wasn't offended by anything from you - but I did dislike being 
told that I effectively wasn't allowed to post because someone else 
mis-interpreted the tone of one of my replies to you.

Anyway, hopefully that's enough of that nonsense and we can get back to the 
technical stuff.


...wait a second, did you just call me "big boy"!? I am *highly* offended by 
your implication that I am fat! Grrr!

:) 



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


Re: Need some perspective...

2011-06-29 Thread Ken Hammond

A lot of drama
 

-Original Message-
From: Bryan Stevenson 
To: cf-talk 
Date: Wed, 29 Jun 2011 08:32:33 -0700
Subject: Re: Need some perspective...


Wowwhat did I miss?

On Wed, 2011-06-29 at 11:13 -0400, Peter Boughton wrote:

> My reply to Rick was not condescending, since to be so requires intent, 
and there was none.
> 
> My aim with all my responses to this list is to be helpful and try to make 
the web a better place. I try to write replies keeping in mind that the post 
may well be used as a reference by others - erring on the side of lack of 
knowledge is usually the better option since you never know who might later 
be reading it, in addition to the person being responded to.
> 
> 
> At time of writing, the post was four times the average post length, and 
followed on from a focused reply of "I want continuous updates; that's what 
you've got" to wandering across the whole spectrum of the topic being 
covered here. That constitutes long and rambling for me, and - in case you 
missed it - that line was terminated with a big fat tongue, to specifically 
suggest the tone to interpret with.
> 
> I'm not sticking my head in the sand, I'm doing the complete opposite: I'm 
saying "take some time to read about HTML5 from authoritative sources, and 
you'll see it really is becoming all the things you want - a continuous 
standard that the browser vendors are actually working towards implementing; 
we really are in a better place than ten years ago".
> 
> I never said we should not be pressing for better browsers - I very much 
dislike *all* browsers; they all suck in different ways, (and I'd love to 
have the resources to do something about that).
> 
> And yes, these days, even Microsoft have actually been making efforts, 
with IE9 - it's still far from perfect, but compared to previous versions 
it's a great improvement.
> 
> If there's any particular or general view which you (or anyone) feels I 
have missed, please feel free to re-iterate it and I'll address it directly.
> 
> 



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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

9,0,1,274733
 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 14:03:53 -0700 (PDT)
Subject: Re: Finding PDF form field names


What version of CF?




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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

OK, hold the phone!  I'm on a mac so I have been using Preview.  Guess 
what... Preview doesn't show the stuff.  I sent it to a co-worker who uses 
Acrobat Reader on his PC, THE INFO IS THERE.  So, apparently that means 
Preview can't show the entered form field data...  
 

-Original Message-
From: "Ken Hammond" 
To: cf-talk 
Date: Mon, 27 Jun 2011 15:51:54 -0500
Subject: Re: Finding PDF form field names


Yes, I tried the exact code :-/  The file is being created but nothing is in 

the form fields. 
 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 13:47:30 -0700 (PDT)
Subject: Re: Finding PDF form field names


The file has some restrictions, but seems to allow fill ins. You tried the 
exact code and none of the fields are populated? I tested with 9,0,1,274733 
dev edition.

-Leigh





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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

Yes, I tried the exact code :-/  The file is being created but nothing is in 
the form fields. 
 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 13:47:30 -0700 (PDT)
Subject: Re: Finding PDF form field names


The file has some restrictions, but seems to allow fill ins. You tried the 
exact code and none of the fields are populated? I tested with 9,0,1,274733 
dev edition.

-Leigh



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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

No matter what I do to this it will not work :-/  I added full paths and 
still no luck
 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 13:33:50 -0700 (PDT)
Subject: Re: Finding PDF form field names


Yep. I just downloaded the form and filled in a few more values (most of 
yours were blank). Using the exact code posted, all of those values are 
populated in my destination file. 




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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

 Any ideas for those fields with arrays?  LPRAlienNumber and expirationdate.

In my cfdump it shows array

LPRAlienNumber
1 0
2 [empty string]

expiration date
1 [empty string]
2 [empty string]
3 [empty string]
-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 13:27:14 -0700 (PDT)
Subject: Re: Finding PDF form field names


> ... or catch the 1/2 story play by play the next day.

Ah, now the truth comes out ... ;) 
 
> So, I am running into a problem 

I tried a quick test under CF9 (using full paths) and all of the test values 
are populated for me.


   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   




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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

Is that the only thing you changed?  I am also running CF9.
 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 13:27:14 -0700 (PDT)
Subject: Re: Finding PDF form field names


> ... or catch the 1/2 story play by play the next day.

Ah, now the truth comes out ... ;) 
 
> So, I am running into a problem 

I tried a quick test under CF9 (using full paths) and all of the test values 
are populated for me.


   
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
   




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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

LOL!  It was either that or catch the 1/2 story play by play the next day.

So, I am running into a problem that I really have no idea why it's 
happening...  

I am trying to update a PDF form and then save it as a different file (it's 
a federal I9 form).  First, I commented out the 2 fields that have an array; 
I don't know how to access them - the way I did it I get an error (the 
structure I have for the form says LPRAlienNumber is an array, with 2 
items).  Second, The rest continues without error but when I get to the 
output file, nothing has been inserted into it.  I also commented out the 
second sub form that says page4 as it didn't seem to do anything either (it 
was just something I found on the web that said I may need to use another 
sub child inside of the subform for form1 to get to the actual page4).

Any help would be MUCH appreciated!

Link to I9 form: http://www.filedropper.com/test_2

Here's the code:




The pdf is not interactive. No form fields could be 
found.



















































 


 













































 

 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 09:43:05 -0700 (PDT)
Subject: Re: Finding PDF form field names


> ... My wife 
> made me stay up and watch it and then watch the next week's
> episode on HBO 
> GO online after that  

Ahh, I see. Your *wife* made you stay up late ... There goes my sympathy ;) 



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


RE: Need some perspective...

2011-06-27 Thread Ken Hammond

I had the exact same question!
 

-Original Message-
From: "Rick Faircloth" 
To: cf-talk 
Date: Mon, 27 Jun 2011 12:08:39 -0400
Subject: RE: Need some perspective...


Ok, Bryan... time for some questions about AIR.

(I'm reading over the Adobe site concerning AIR, but
wanted to ask an "advocate", as well...)

First question is, how can AIR apps run on iOS?
Isn't the output Flash based, which won't play on iOS?

Rick

-Original Message-
From: Bryan Stevenson [mailto:br...@electricedgesystems.com] 
Sent: Sunday, June 26, 2011 6:17 PM
To: cf-talk
Subject: RE: Need some perspective...


Well Rick...one browser if you will...AIR ;-)

On Sat, 2011-06-25 at 09:46 -0400, Rick Faircloth wrote:

> Thanks for the feedback, Maureen.
> 
> I know how you feel. I wish we could just
> have one browser to rule them all. I don't
> even want to think about how good that would be...
> 
> 
> -Original Message-
> From: Maureen [mailto:mamamaur...@gmail.com] 
> Sent: Saturday, June 25, 2011 2:56 AM
> To: cf-talk
> Subject: Re: Need some perspective...
> 
> 
> Exactly my findings.  There are still enough desktop users with
> non-compliant browsers that HTML/CSS3 are problematic.  I'm currently
> refactoring all my sites for new technologies, attempting to make them
> both fully assessable for screen reader/text browsers and for mobile
> browsers.  I'm doing a lot of detection and loading code and style
> sheets based on what browser is being used, but it's a steady pain to
> keep up with what works and what doesn't.  When I get really grumpy,
> my urge is to just feed a text based site to anyone using IE with a
> note at the top that says if "you want to see the pretty stuff, get a
> real browser".
> 
> On Fri, Jun 24, 2011 at 10:24 PM, Sean Corfield 
> wrote:
> >
> > On Fri, Jun 24, 2011 at 8:05 PM, Rick Faircloth
> >  wrote:
> >> "To us or not to use HTML5 and CSS3" in desktop
> >> and mobile development.
> >
> > This came up in a few sessions at JAXconf this week. The general
> > consensus seemed to be that HTML5 / CSS3 is a solid bet for mobile -
> > because mobile browsers offer solid support already. The same is not
> > true on the desktop, unless you're prepared to "encourage" your users
> > to upgrade / switch browsers.
> 
> 
> 
> 





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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

Wil beat ya to the punch :-)

and... last night was the first night of True Blood Season 4...  My wife 
made me stay up and watch it and then watch the next week's episode on HBO 
GO online after that LOL  Then of course I was awake after that and it took 
forever to fall asleep!
 

-Original Message-
From: Leigh 
To: cf-talk 
Date: Mon, 27 Jun 2011 08:46:26 -0700 (PDT)
Subject: Re: Finding PDF form field names


> For some reason I just can't work that out in my head,
> welcome to Monday 
> right...

I would ask what did you do this weekend? But my brain is not faring much 
better today ;-)

> Just for the example, say the pdf file is test.pdf.







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


Re: Finding PDF form field names

2011-06-27 Thread Ken Hammond

Worked like a charm, thanks!
 

-Original Message-
From: Wil Genovese 
To: cf-talk 
Date: Mon, 27 Jun 2011 10:46:19 -0500
Subject: Re: Finding PDF form field names


Try this





Wil Genovese
Sr. Web Application Developer/
Systems Administrator
CF Webtools
www.cfwebtools.com

wilg...@trunkful.com
www.trunkful.com

On Jun 27, 2011, at 10:35 AM, Ken Hammond wrote:

> 
> I am trying to find the form field names in a PDF.  I was reading through 
> cfpdfform and it says to get the structure do this:
> 
> To verify the structure of a PDF form in ColdFusion, use the read action 
of 
> cfpdfform tag, and then use the cfdump tag to display the result 
structure.
> 
> For some reason I just can't work that out in my head, welcome to Monday 
> right...
> 
> Can someone please help me out here LOL  
> 
> Just for the example, say the pdf file is test.pdf.
> 
> ALSO, if I am going about this incorrectly, please point me in the right 
> direction please LOL
> 
> 
> -K 
> 
> 
> 
> 



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


Finding PDF form field names

2011-06-27 Thread Ken Hammond

I am trying to find the form field names in a PDF.  I was reading through 
cfpdfform and it says to get the structure do this:

To verify the structure of a PDF form in ColdFusion, use the read action of 
cfpdfform tag, and then use the cfdump tag to display the result structure.

For some reason I just can't work that out in my head, welcome to Monday 
right...

Can someone please help me out here LOL  

Just for the example, say the pdf file is test.pdf.

ALSO, if I am going about this incorrectly, please point me in the right 
direction please LOL


-K 



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


Re: cfinput type=datefield won't follow my CSS rules

2011-06-01 Thread Ken Hammond

Ok, I got it to work but not the way I really want to do it... Under my LI, 
I used a table with cell, spacing and borders set to 0, put the label in the 
first td and the div containing the cfinput type datafield inside the second 
td then closed it all.  Turns out just like I wanted, all be it messy lol.

Now the problem I am having is in IE7; the calendar is popping under the 
field below it.  From what I am reading, this is a z-index issue and I have 
to set a z-index on each of my fields or something (not entirely sure how to 
do it...).  Anyone have any idea on this one? It is only in IE; IE8, Safari 
and Firefox work fine.

Image of working form:

http://postimage.org/image/1m31h6rqc/

Image of calendar bleed problem in IE7:

http://postimage.org/image/1m34s9gpw/


Thanks!

Ken
 

-Original Message-
From: "Ken Hammond" 
To: cf-talk 
Date: Wed, 01 Jun 2011 16:19:15 -0500
Subject: Re: cfinput type=datefield won't follow my CSS rules


I've made it a little further by adding a div around each cfinput datefield 
and putting the style "clear:both;"

New image:

http://postimage.org/image/2umskf4hw/

At least now the labels are in the boxes.
 

-Original Message-
From: morgan l 
To: cf-talk 
Date: Wed, 1 Jun 2011 13:07:28 -0500
Subject: Re: cfinput type=datefield won't follow my CSS rules


The datefield type is applying floats to the elements it creates, 'removing'
them from their containers. I don't have an example of a fix, but that bit
of info will hopefully point you at 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:345045
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfinput type=datefield won't follow my CSS rules

2011-06-01 Thread Ken Hammond

I've made it a little further by adding a div around each cfinput datefield 
and putting the style "clear:both;"

New image:

http://postimage.org/image/2umskf4hw/

At least now the labels are in the boxes.
 

-Original Message-
From: morgan l 
To: cf-talk 
Date: Wed, 1 Jun 2011 13:07:28 -0500
Subject: Re: cfinput type=datefield won't follow my CSS rules


The datefield type is applying floats to the elements it creates, 'removing'
them from their containers. I don't have an example of a fix, but that bit
of info will hopefully point you at 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:345035
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: cfinput type=datefield won't follow my CSS rules

2011-06-01 Thread Ken Hammond

Sorry, forgot can't do attachments, here is a link to the image:

http://postimage.org/image/1hk51i4mc/
 

-Original Message-
From: "Ken Hammond" 
To: cf-talk 
Date: Wed, 01 Jun 2011 11:55:04 -0500
Subject: cfinput type=datefield won't follow my CSS rules


I'm having a problem where my cfinputs that have type datefield are 
completely ignoring my CSS.  Attached is a screenshot of what is happening; 
you'll see that my normal cfinputs (name, email, etc...) all follow my CSS 
just fine, but the cfinputs that use type datefield just ignore it 
completely (even though the container still show up, the cfinputs are not in 

them).
 
Ken
 





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


cfinput type=datefield won't follow my CSS rules

2011-06-01 Thread Ken Hammond

I'm having a problem where my cfinputs that have type datefield are 
completely ignoring my CSS.  Attached is a screenshot of what is happening; 
you'll see that my normal cfinputs (name, email, etc...) all follow my CSS 
just fine, but the cfinputs that use type datefield just ignore it 
completely (even though the container still show up, the cfinputs are not in 
them).
 
Ken
 



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


Re: FuseGuard (was: down?)

2011-05-27 Thread Ken Hammond

It says I should get the security checklist for free with purchase, where do 
I find that?


 

-Original Message-
From: Pete Freitag 
To: cf-talk 
Date: Fri, 27 May 2011 13:46:11 -0400
Subject: Re: FuseGuard (was: down?)


Thanks Ken, you rock!

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?




On Fri, May 27, 2011 at 12:41 PM, Ken Hammond  wrote:
>
> I went ahead and bought the spell checker for good measure LOL
>
>
> -Original Message-
> From: Pete Freitag 
> To: cf-talk 
> Date: Fri, 27 May 2011 11:54:55 -0400
> Subject: Re: FuseGuard (was: down?)
>
>
> On Fri, May 27, 2011 at 11:26 AM, Ken Hammond  
wrote:
>>
>> Any chance for a HOF list member discount? :-)
>
> You got it Ken -- 15% discount code for FuseGuard or any Foundeo
> product is: hofrocks (expires July 4th 2011)
>
> --
> Pete Freitag - Adobe Community Professional
> http://foundeo.com/ - ColdFusion Consulting & Products
> http://petefreitag.com/ - My Blog
> http://hackmycf.com - Is your ColdFusion Server Secure
>
>
>
> 



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


Re: FuseGuard (was: down?)

2011-05-27 Thread Ken Hammond

I went ahead and bought the spell checker for good measure LOL
 

-Original Message-
From: Pete Freitag 
To: cf-talk 
Date: Fri, 27 May 2011 11:54:55 -0400
Subject: Re: FuseGuard (was: down?)


On Fri, May 27, 2011 at 11:26 AM, Ken Hammond  wrote:
>
> Any chance for a HOF list member discount? :-)

You got it Ken -- 15% discount code for FuseGuard or any Foundeo
product is: hofrocks (expires July 4th 2011)

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure



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


Re: FuseGuard (was: down?)

2011-05-27 Thread Ken Hammond

Well after reading through all the info, you now have a new customer.  I'll 
be purchasing today.
 

-Original Message-
From: Pete Freitag 
To: cf-talk 
Date: Fri, 27 May 2011 11:54:55 -0400
Subject: Re: FuseGuard (was: down?)


On Fri, May 27, 2011 at 11:26 AM, Ken Hammond  wrote:
>
> Any chance for a HOF list member discount? :-)

You got it Ken -- 15% discount code for FuseGuard or any Foundeo
product is: hofrocks (expires July 4th 2011)

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure



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


Re: FuseGuard (was: down?)

2011-05-27 Thread Ken Hammond

Any chance for a HOF list member discount? :-)
 

-Original Message-
From: Pete Freitag 
To: cf-talk 
Date: Fri, 27 May 2011 11:18:04 -0400
Subject: Re: FuseGuard (was: down?)


Hi Folks,

Just thought I'd chime in about FuseGuard (my company makes it).  The
execution time depends on your server hardware and configuration if
you have a more verbose configuration it will take a bit longer to
execute but you can typically expect it to be below 100ms. The best
way to know is to download the evaluation version:
https://foundeo.com/security/eval/  and give it a spin.

The evaluation version is basically the same as the full version
except it will disable after 30 days and print a evaluation expired
message, the source code is also encoded.

Thanks for the recommendation Jordan, much appreciated.

--
Pete Freitag - Adobe Community Professional
http://foundeo.com/ - ColdFusion Consulting & Products
http://petefreitag.com/ - My Blog
http://hackmycf.com - Is your ColdFusion Server Secure?




On Wed, May 25, 2011 at 8:19 PM, Jenny Gavin-Wear
 wrote:
>
> Hi Brook,
>
> You asked about Fuseguard:-
>
> http://www.cfhour.com/post.cfm/show-57-melting-and-fuseguard
>
> I recommend skipping the first 5 mins of chatter ;)
>
> Jenny
>
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com
> Version: 9.0.901 / Virus Database: 271.1.1/3658 - Release Date: 05/24/11
> 19:34:00
>
>
>
> 



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


Re: Coldfusion 9 and jQuery

2011-05-26 Thread Ken Hammond

I didn't realize.  I thought I had to put it in a folder in my CFIDE folder 
or something.  Thanks Raymond.  On a side note, this would be a supplement 
to my server-side validation correct?  I was going through a couple of your 
blog posts and then following the links and the stuff looks pretty darn good 
so I want to use it (this plug-in as well as other jQuery things).
 

-Original Message-
From: Raymond Camden 
To: cf-talk 
Date: Thu, 26 May 2011 12:40:01 -0500
Subject: Re: Coldfusion 9 and jQuery


You don't really need to "install" jQuery It is one file, jquery.js.
Download it from jquery.com and place it on your web server. You can
put it anywhere, but it has to be under web root.

On Thu, May 26, 2011 at 12:32 PM, Ken Hammond  wrote:
>
> Pretty simple.  I have a Coldfusion 9 install and I want to use jQuery and
> this plug-in:
>
> http://bassistance.de/jquery-plugins/jquery-plugin-validation/
>
> I have never used jQuery but would like to get it installed and using 
this,
> and also keep learning more of it.
>
> I have access to everything on the server (place files, modify anything in
> CF ADMIN, etc...); I just need to know how to install jQuery (or is it 
part
> of CF9) and install this plug-in so I can use it.
>
>
> Thanks in advance!
>
> Ken
>
>
>
> 



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


re: Coldfusion 9 and jQuery

2011-05-26 Thread Ken Hammond

 Thank you.
 

-Original Message-
From: "Jason Fisher" 
To: cf-talk 
Date: Thu, 26 May 2011 10:38:15 -0700
Subject: re: Coldfusion 9 and jQuery


jQuery is all client-side, so it has nothing to do with the ColdFusion 
server at all.  The files just have to be part of the HTML that your users 
use.  You just put the *.js files (the core and any plug-ins) in a 
directory where your website can include them, and then you embed them in 
your user views just like you would any other JavaScript:



or whatever is appropriate to your environment.

----

From: "Ken Hammond" 
Sent: Thursday, May 26, 2011 1:34 PM
To: "cf-talk" 
Subject: Coldfusion 9 and jQuery

Pretty simple.  I have a Coldfusion 9 install and I want to use jQuery and 

this plug-in:

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

I have never used jQuery but would like to get it installed and using this, 

and also keep learning more of it.

I have access to everything on the server (place files, modify anything in 

CF ADMIN, etc...); I just need to know how to install jQuery (or is it part 

of CF9) and install this plug-in so I can use it.

Thanks in advance!

Ken





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


Coldfusion 9 and jQuery

2011-05-26 Thread Ken Hammond

Pretty simple.  I have a Coldfusion 9 install and I want to use jQuery and 
this plug-in:

http://bassistance.de/jquery-plugins/jquery-plugin-validation/

I have never used jQuery but would like to get it installed and using this, 
and also keep learning more of it.

I have access to everything on the server (place files, modify anything in 
CF ADMIN, etc...); I just need to know how to install jQuery (or is it part 
of CF9) and install this plug-in so I can use it.


Thanks in advance!

Ken



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


RE: HOF Site

2011-05-20 Thread Ken Hammond

Unless you mean the advertising.
 

-Original Message-
From: Paul Giesenhagen 
To: cf-talk 
Date: Fri, 20 May 2011 10:32:50 -0500
Subject: RE: HOF Site


Yup ... I'm seeing it


-Original Message-
From: Steve Milburn [mailto:scmilb...@gmail.com] 
Sent: Friday, May 20, 2011 10:20 AM
To: cf-talk
Subject: HOF Site


Just an alert to those who maintain the HOF site (Michael?) - It looks like 
it's been hacked.  Anyone else seeing something unexpected when view the 
main page?  I can navigate to directly to some other pages fine, but the 
front page (www.houseoffusion.com) has been compromised.

Steve





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


Re: HOF Site

2011-05-20 Thread Ken Hammond

Looks normal to me.
 

-Original Message-
From: Steve Milburn 
To: cf-talk 
Date: Fri, 20 May 2011 11:20:21 -0400
Subject: HOF Site


Just an alert to those who maintain the HOF site (Michael?) - It looks
like it's been hacked.  Anyone else seeing something unexpected when
view the main page?  I can navigate to directly to some other pages
fine, but the front page (www.houseoffusion.com) has been compromised.

Steve



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


Re: MySQL install

2011-05-16 Thread Ken Hammond

I have no need for remote access.  I RDP into the machine over VPN already.
 

-Original Message-
From: Russ Michaels 
To: cf-talk 
Date: Mon, 16 May 2011 22:17:39 +0100
Subject: Re: MySQL install


that would depend if you want to open up remote access.
If you do then at least restrict it by IP or use a VPN.
MySQL ports are regularly scanned for and attacked if found open.

On Mon, May 16, 2011 at 8:01 PM, Raymond Camden  wrote:

>
> Not sure I'd recommend phpmyadmin - wouldn't that also imply
> installing PHP? MySQL has free tools for management - why not just use
> them? (And yeah - they kinda suck in terms of UX but you can deal with
> it. :)
>
> On Mon, May 16, 2011 at 12:34 PM, Russ Michaels 
> wrote:
> >
> > You should real the notes on the various install modes/settings to make
> sure
> > you install it configured with the best options for your needs, it isn't
> > really as straight forward as MSSQL.
> > I would suggest you block remote access to mysql in your firewall and 
use
> > phpmyadmin to access it or just login to the server and use the tools
> from
> > there.
> >
> > To setup a DataSource, in the dropdown list for database type, instead 
of
> > selecting "MSSQL" or "Access" you choose "mysql 4/5"
> >
> >
>
> 



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


MySQL install

2011-05-16 Thread Ken Hammond

As suggested by Raymond, I am going to install MySQL server.  Is there 
anything special I need to know security wise?  It's going onto a win2k8 
box.  

How do I setup a datasource in CFAdmin for MySQL?  I've only ever dealt with 
MS SQL, Access, Excel, ODBC connections, etc...
 



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


Coldfusion 9 XML creation and HTML after

2011-05-13 Thread Ken Hammond

Here is what I am running into.  I have a web form that takes in the info I 
need.  I process the form on the next page and it creates an XML document 
that I need (which is being created successfully).  I need to display 
something back to the end user telling them it's been created.  After my end 
tag  if I write any text it throws back the errors 
that there is something after that end tag...  How do I create my XML 
document and still display something back to the end user (or if need be, 
use a cflocation to get them to an acknowledgement page?

The error that comes back in a red box:

This page contains the following errors:

error on line 26 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.


Ken 



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


Model Glue

2011-05-12 Thread Ken Hammond

This question is probably for Raymond but anyone feel free to answer.  What 
database/datasources can be used with Model Glue?  I still use some MS 
Access and ODBC (excel and txt file) datasources.


 



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


Re: Help us Please - CF 5 Server Licenses

2011-05-04 Thread Ken Hammond

HAHA  - I was thinking the same thing!
 

-Original Message-
From: Pete Ruckelshaus 
To: cf-talk 
Date: Wed, 4 May 2011 11:02:05 -0400
Subject: Re: Help us Please - CF 5 Server Licenses


Sounds like your new IT manager is a tool.  I hope he has a plan to rewrite
those legacy apps!

On Wed, May 4, 2011 at 8:58 AM, Ralph B Littleleaf 
wrote:

>
> Our department has several legacy CF servers running CF 5.  They have
> worked great for us which is good since the student workers who developed
> the departmental applications on them have left years ago.
>
> But now we got a new IT manager, and unless we can find the purchasing
> documents, he will wipe the servers.  We have the original CF boxes with 
the
> install CDs and serial numbers.  But he will not accept that as "proof of
> license".  It has been so long ago that we have gone through four 
purchasing
> agents.  Our current one cannot locate the original purchasing documents,
> and the IT manager says that POs do not count.
>
> Unfortunately, our department has been under budget constraints for the
> past three years. We cannot afford to buy new CF licenses even with an
> educational discount nor hire new programmers to modify our legacy CF code
> to work with the lattest CF platform.
>
> Does anyone know where we can purchase CF licenses for past versions of CF
> server?  Or locate something official that states ownership of CF Server
> Software boxes with CDs and Serial Codes are sufficient proof of lincense?
>
> Please help!
>
> Thank-you,
>
> Ralph
> ho...@littleleaf.org
>
> 



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


BlueDragonJX WSDL issues

2011-04-08 Thread Ken Ferguson

Anybody ever experience any problems calling web services with BlueDragon JX. 
I’m on 7.0 awaiting an upgrade to 7.1. When calling a web service, I get the 
following error: “Problem buiding WSDL classes for http...”
 
I’ll share my code below, but the funny thing is that this will work on 
BlueDragon.net, CF8 and CF9. I’ve seen some talk out there about BDJX and 
some axis problems 
(http://code.google.com/p/openbluedragon/issues/detail?id=301), but was 
wondering if anyone else had seen (or even better yet solved) this problem 
themselves...
 
wsObj = createObject(“webservice”, 
“https://www.pathtowsdlurl.com/service.asmx?wsdl”);
ping = wsObj.theMethodInQuestion(arg1=”x”, arg2=”y”);
 
I’ve also broken it down to a cfinvoke call with no luck. I can browse the 
wsdl just fine, I can cfhttp to the wsdl and dump it on the page... I can move 
the exact code over onto a box running the app servers mentioned above and run 
it without any trouble... I even tried to run it with the wsdl2java arguments 
in the createObject and in the cfinvoke (using –a, –w, and both) – no 
dice.
 
Any ideas??
 
Thanks,
Ferg


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


Re: outlook 2007 and cfmail

2011-04-05 Thread Ken Hammond

Actually Russ, 2007 and 2010 use word. They stopped using IE with Outlook 
2003...

As taken from the article below:
"Microsoft Office Outlook 2007 uses the HTML parsing and rendering engine from 
Microsoft Office Word 2007 to display HTML message bodies. The same HTML and 
cascading style sheets (CSS) support available in Word 2007 is available in 
Outlook 2007."

http://msdn.microsoft.com/en-us/library/aa338201(v=office.12).aspx

Ken

Sent from Apple MobileMe

On Apr 5, 2011, at 4:28 PM, Russ Michaels  wrote:

> 
> Outlook 2007 actually does a very good job of rendering HTML emails as it
> uses IE to do the job. Outlook 2010 is the problem as they switched to using
> the word html rendering engine.
> However you need to remember that HTML emails are not rendered the same in
> all email clients, so you need to keep it as simple as possible and only do
> things that will work in most email clients.
> There are a number of sites out there which give you a matrix of which
> tags/CSS rules work and which don't in which email client, if you google the
> topic you will get plenty of results.
> 
> There is also www.campaignmonitor.com which has built in emulators to show
> you how your email will look in all the major clients.
> 
> Russ
> 
> On Tue, Apr 5, 2011 at 9:26 PM,  wrote:
> 
>> 
>> Outlook's HTML rendering engine is garbage. Copy/paste the HTML into Word,
>> tweak it and copy/paste the source back into your app. It isn't pretty.
>> 
>> 
>> http://blogs.sitepoint.com/microsoft-breaks-html-email-rendering-in-outlook/
>> 
>> http://msdn.microsoft.com/en-us/library/aa338200.aspx
>> 
>> 
>> On Apr 5, 2011 3:16pm, Ken Hammond  wrote:
>> 
>> 
>>> I am having the hardest time with outlook 2007 and html/css... If I use a
>> 
>>> smaller font (say 6px-8px) for a command it sits the text right next
>> 
>>> to it, it won't even superscript it. So... I increase the size to
>> 
>>> accommodate that then other mail clients have a HUGE superscripted
>>> services
>> 
>>> mark (sm)
>> 
>> 
>> 
>>> Anyone else have these problems?
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>> 
>> 
>> 
> 
> 

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


Re: outlook 2007 and cfmail

2011-04-05 Thread Ken Hammond

I do all in-line CSS. I use emailonacid.com to check against just about every 
mail client out there :-)

Outlook 2007/2010 are the only clients that have problems, absolutely hate 
them. 

Ken

Sent from Apple MobileMe

On Apr 5, 2011, at 5:30 PM, "Rob Voyle"  wrote:

> 
> Hi Ken
> 
> How are you composing the email and how many email clients are you concerned 
> about. Outlook 2007 is a real bear. I have just spent days tweaking an email 
> newsletter to work on all the mail clients I can find. Its a hodge podge, a 
> little 
> xhtml a little inline css. Don't put the css in the header as it will be 
> stripped out 
> by many web based mail clients. and some clients don't do 

outlook 2007 and cfmail

2011-04-05 Thread Ken Hammond

I am having the hardest time with outlook 2007 and html/css...  If I use a 
smaller font (say 6px-8px) for a  command it sits the text right next 
to it, it won't even superscript it.  So... I increase the size to 
accommodate that then other mail clients have a HUGE superscripted services 
mark (sm) 

Anyone else have these problems?
 



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


cflayout problem - cfloop

2011-03-01 Thread Ken Hammond

I cannot get this code to work, no matter what I do, it returns a blank 
page.  The javascript and ajaxonloads are required to make the accordians 
collapsed on page load.  Any help would be much appreciated.

Code:


   
  
 

   #ListElement# = 
function(){ColdFusion.Layout.collapseAccordion('Accordion#ListElement#','panel#ListElement#');}

 
  
   
   
  
 


  
 #ListElement# - Manager Name, Date Placed, CC, 
Contractor/Company Name, System ID/SSN, Start Date, End Date 
  
  
 
#ListElement# - File1
#ListElement# - File2
#ListElement# - File3
 
  
  
   

 
  
  
 

 
 
 

 



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


Re: cffunction and webservice call question

2010-04-15 Thread Ken Willis

I am trying to hook up with an ATS vendor for one of my clients that is going 
to use the ATS (Applicant Tracking System).  Here is what the prerequisits say 
for the ATS vendor regarding the webservice functionality.  

"The vendor must support the post of HR-XML data via HTTPS both to and from 
their service. We are currently unable to provide other data transfer means, 
such as FTP or SOAP."

How does this change things regarding your SOAP comment?  Are they just sending 
a string of data through url parameters?  I think I need to get a better spec 
sheet from them.  Any Feedback?

Ken Willis


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


cffunction and webservice call question

2010-04-14 Thread Ken Willis

I have created a cfc with a function that can sucessfully be called from a 
cfinvoke from within my intranet.  In the invoke i have to give it a method and 
input attributes.  method calls the function and input is the string sent 
through (xml in this case).  The question is how/what do i tell my potentional 
webservice users how to send to the cfc so that the function is called and the 
string is seen and read?  currently i invoke to a "xmltest.cfc?wdsl" with the 
method and input attributes.  Do they add to the url string?  I am a bit 
confused how this works from a diverse systems point of view.

Thanks for any help 

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


Java library signing problem

2010-04-06 Thread Ken Dunnington

Hi, I'm trying to use several Java libraries that, I believe, are
conflicting with some of the default libraries that come with CF9.
Specifically, I'm trying to load the smack.jar library from Jive
Software (for interacting with an Openfire server.) I've tried two
different methods for loading these - the 'standard' way of adding my
local /libs folder to CF's classpath in the administrator, and the
JavaLoader way of loading them at runtime. In both cases, I can get to
the point where things seem to load without error, but when I use the
library, I get this error:

class "org.jivesoftware.smack.MessageListener"'s signer information
does not match signer information of other classes in the same package

(java.lang.SecurityException)

I'm afraid I only know enough Java to get into trouble, so I'm not
quite sure where to start on this one. The main Java objects I'm using
on this project are being developed by my client, so I do have
flexibility to rearrange libraries and mess with the overall codebase
and builds, but I'm not sure what to tell those devs to try. :) Thanks
for any assistance on this.
 - Ken

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


Re: Coldfusion 8 Webservice Help!

2010-03-26 Thread Ken Willis

thanks, now i can get to the real meat of it.  hopefully some day i can return 
the favor.  thanks, again 

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


Re: Coldfusion 8 Webservice Help!

2010-03-26 Thread Ken Willis

yeah, i am seeing that.  I am creating my first consumable webservice for my 
clients.  i use webservices with several of my vendors and i use cfhttp, so i 
was trying to get it to work that way to make sure that my clients can use my 
webservice.  Having a bit of trouble with the cfhttp, but the invoke works 
fine.  does this mean that my webservice is fine and is usable?  i would really 
like to move on to the deaper programming of the webservice. 

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


Re: Coldfusion 8 Webservice Help!

2010-03-26 Thread Ken Willis

mainly cuz i did not know what i was doing and i read some old cf6 advice.  I 
was able to get it to work fine with creating cfc and invoking from another 
page.  What is not working is if i use cfhttp with httpparam type=xml.  it 
returns a "must end a meta tag" error.  when i dump the raw data it looks like 
it is asking for some sort of authenication and i do not know where this comes 
from.  any thoughts?

thanks

>"i have installed soxml and msxml6"
>
>Why?
>
>Just create a CFC and use access="remote" - now you have a webservice.
>
>mxAjax / CFAjax docs and other useful articles:
>http://www.bifrost.com.au/blog/
>
>
>On 20 March 2010 03:52, Ken Willis wrote:
>
>>
>> I am trying to create a webservice that someone can post to me and then i
>> read it into cf, process and send response.  I am new to this and have been
>> trying to find a solution with specific examples with no luck.  i have
>> installed soxml and msxml6 and have not been able to get it to work.  if i
>> could get my hands on a good example i could probably figure it out (maybe)
>> :)  any help would be appreciated. 

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


Coldfusion 8 Webservice Help!

2010-03-19 Thread Ken Willis

I am trying to create a webservice that someone can post to me and then i read 
it into cf, process and send response.  I am new to this and have been trying 
to find a solution with specific examples with no luck.  i have installed soxml 
and msxml6 and have not been able to get it to work.  if i could get my hands 
on a good example i could probably figure it out (maybe) :)  any help would be 
appreciated. 

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


Re: CFContent and PDF problems

2009-01-21 Thread Ken Willis
I have had this problem before.  My extremely low tech solve was to shutdown 
browser and then remove adobe from memory through the task manager.  hope this 
helps. 

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


view protected pdf

2009-01-21 Thread Ken Willis
I have used cfpdf to protect pdfs on my server.  now i need to be able to show 
those protected pdfs to the user upon request.  Does anyone have a solution to 
this?

thanks in advance


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


Re: CFMail Problem

2008-05-21 Thread Ken Smith
The fix that Chandan described is posted in a technote titled, "Patch for 
CFMail error in ColdFusion 8.01" - http://www.adobe.com/go/kb403683.

Ken Smith
ColdFusion Support
Adobe


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

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


Re: CFMail Problem

2008-05-21 Thread Ken Smith
The fix that Chandan describes below will post in the next few days as a 
technote titled, "Patch for CFMail error in ColdFusion 8.01".
http://www.adobe.com/go/kb403683  

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

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


CF8 on Windows 2008 Web Edition

2008-05-05 Thread Ken Ferguson
Anybody running this combination of CF and OS? We're looking at grabbing a 
couple new servers and might go with Win08. If anybody's had any experience 
with the two together (CF8 is supported on Win08), please let me know.

--Ferg 

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

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


Re: Store Locator - Exporting Importing data - best methods ???

2008-04-23 Thread Ken Willis
I have built many of these for my backend.  I do not do the work so i have 
created templates that allow the modification of information.  this is your 
best avenue.  having said that, you have several other issues to deal with.  
who is going to modify the information (create security logins to the 
template)?  what is the q/c level and issues?  If q/c is high then create 
another table where they can create updates that will be posted after they are 
checked for quality and accuracy.  in any case there are policy issues in 
regards to the data that should be implimented.  i have outside vendors that i 
send them requests and they send them back.  before i release this information 
to my clients i have the information looked at prior to updating my client side 
tables.  a good policy for any core information. 

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

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


cfdocument to pdf fillinallow. cannot generate fillin pdf form. help?

2008-04-23 Thread Ken Willis
I have a template that generates a detailed information for my clients that 
want the information emailed to them.  not a big problem until we got into them 
wanting to modify the document sent to them and return it for processing.  i am 
not locked into using cfdocument or even pdf format.  in fact i was looking at 
excel format first, but since i have more pdf format experience i thought it 
would be quicker - so far not the case.  any guidance? 

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

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


Re: BIG problems with 8.0.1 update

2008-04-11 Thread Ken Smith
Hi,
A hot fix for several cfimage and image functions has been released from 
engineering. A technote, "Patch for CFImage and Image functions in ColdFusion 
8.0.1" with the hot fix will post at http://www.adobe.com/go/kb403411 in the 
next week or so.

Ken Smith
ColdFusion Support
Adobe Systems


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

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


Re: Mail error

2008-04-07 Thread Ken Smith
A new version of the MailSpooler technote should publish in the next few days.  
It is "Controlling the Mail Spool Timeout - Hot Fix for ColdFusion MX 7.0.2"  - 
http://www.adobe.com/go/kb402001. It will clearly indicate that is was updated 
for April 2008 and the new hot fix is hf702-71489. It makes several updates to 
the MailSpool locking and should be installed by all mail users with 7.02.


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

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


Re: context menu in cf8 ajax cfgrid

2008-02-21 Thread Ken Caldwell
> I'm not sure if this is because Ext 1 vs Ext 2, but in CF8 which uses 
> Ext, there's no context menu when right-click on the column header.
> 
> However, Ext doc does have a nice contenxt menu, demo:
> http://extjs.com/deploy/ext/examples/grid/array-grid.html
> 
> Any idea how to enable this for CF8 CFGRID?  I already tried going 
> into cfgrid.js and added "enableColumnHide:true" in var _42 (line 18), 
> but still no luck.
> 
> Any help would be appreciated, thank you!
> 
> 
> Henry 
Have you found a solution for this as yet ??

The attribute you need to set is "enableCtxMenu"
I have tried setting this in an init function and using 
ColdFusion.Grid.getGridObject
But with no luck.

Ken 


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


Re: Odd custom tag issue

2008-01-04 Thread Ken Ferguson
Naming the files identically was a mistake from the start. I copied the 
application to duplicate it for another app and I just forgot to change the 
name. So, this shouldn't actually cause any problems, assuming I don't make the 
same mistake again. I wonder if I'd have had the same problem if the custom 
tags were in a directory under the webroot, anybody know the answer to that? 
What if I had two custom tags, each named custom_tag.cfm in a customtags folder 
under two separate webroots, would the same thing happen? Surely not, right? 

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


Re: Odd custom tag issue

2008-01-04 Thread Ken Ferguson
Alright then, that one falls squarely under the heading of questions you should 
wait 5 more minutes to ask...

Restarted CF and now we're good to go.

Thanks anyway!
--Ferg



> OK, I've got a strange thing happening this AM. I can't seem to figure 
> out why a custom tag is getting executed WHERE it is getting executed.
> 
> 
> I've got an application that lives in a folder; let's call it "myapp", 
> which lives in "C:\apps\myapp". I've got a custom tag path in the CF 
> Administrator set to "C:\extensions\customtags"
> 
> Under that folder, I've got three folders:

> ferguson

> myapp

> myotherapp
> 
> Those three folders have several custom tags each. One of which is 
> display_error.cfm. I noticed that when running the myapp application, 
> when I call  that it gets executed from the 
> ferguson directory. I thought that might be because it just starts in 
> that custom tag path directory and runs the first file called 
> display_error.cfm that it finds and the ferguson directory, 
> alphabetically speaking, is the first one there that contains that 
> file. So to fix this, I renamed that file (in the ferguson directory) 
> to ferg_display_error.cfm. Now when I get to  I 
> get an error message saying, "File not found: 
> C:\extensions\customtags\ferguson\display_error.cfm" Why is it looking 
> there? Why is it not continuing through the folders until it finds 
> C:\extensions\customtags\myapp\display_error.cfm, which is most 
> certainly there?
> 
> I may just be making the stupidest mistake here, but I've backed up 
> all the way across the room and still can't see it.
> 
> Thanks,
> Ferg 


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


Odd custom tag issue

2008-01-04 Thread Ken Ferguson
OK, I've got a strange thing happening this AM. I can't seem to figure out why 
a custom tag is getting executed WHERE it is getting executed.

I've got an application that lives in a folder; let's call it "myapp", which 
lives in "C:\apps\myapp". I've got a custom tag path in the CF Administrator 
set to "C:\extensions\customtags"

Under that folder, I've got three folders:
ferguson
myapp
myotherapp

Those three folders have several custom tags each. One of which is 
display_error.cfm. I noticed that when running the myapp application, when I 
call  that it gets executed from the ferguson directory. I 
thought that might be because it just starts in that custom tag path directory 
and runs the first file called display_error.cfm that it finds and the ferguson 
directory, alphabetically speaking, is the first one there that contains that 
file. So to fix this, I renamed that file (in the ferguson directory) to 
ferg_display_error.cfm. Now when I get to  I get an error 
message saying, "File not found: 
C:\extensions\customtags\ferguson\display_error.cfm" Why is it looking there? 
Why is it not continuing through the folders until it finds 
C:\extensions\customtags\myapp\display_error.cfm, which is most certainly there?

I may just be making the stupidest mistake here, but I've backed up all the way 
across the room and still can't see it.

Thanks,
Ferg 

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


Re: Permutation problem

2007-09-27 Thread Ken Fassman
Very cool - I'm going to take a look at this.  Thanks!  And thanks to all
for the feedback.

To answer the question as to why this problem came up in the first place -
its exactly the reason that Ian mentioned.  The challenge I was given was
essentially:  If you knew that the next lottery ticket would contain a value
from a given set - how many lottery tickets would you need to purchase?


 - Ken



On 9/26/07, Brian Swartzfager <[EMAIL PROTECTED]> wrote:
>
> Hi, Ken,
>
> I recently had to build a permutation generator to generate all the unique
> combinations of a set of
>
> data where (just as in your case) order was not a factor.  So given the
> data set "A,B,C", I needed
>
> to get out:
>
> A,B,C
> A,B
> B,C
> A,C
> A
> B
> C
>
> I looked at my code and was able to modify it to (hopefully) suit your
> purpose.  It requires using recursion, so most of the work is done in a CFC
> function.
>
> Here's the code for the CFC:
>
>  output="false">
>
>  returntype="string" hint="I return a list of all possible combinations of a
> list of items where the order of the items is constant but one or more items
> can be missing">
>  hint="The starting list of items.  The list will grow smaller via
> recursion." />
>  hint="The current list of permutations, which will grow longer." />
>  hint="The list delimiter." />
>  hint="The delimiter for the final list.  Should be different from
> start_delimiter" />
> 
> 
>
> 
>  arguments.perm_delimiter) AND ListLen(arguments.starting_list,",") EQ 6>
>  arguments.perm_delimiter)>
> 
>
> 
>  GT 6>
> 
>  ,gone,arguments.start_delimiter)>
>  method="generatePermutations" returnvariable="p_list" starting_list="#temp#"
> permutation_list="#p_list#" start_delimiter="#arguments.start_delimiter#"
> perm_delimiter="#arguments.perm_delimiter#">
> 
> 
>
> 
>
> 
>
> 
>
>
> And here's the code for a page that you can use to test it:
>
> 
> 
>
> 
> 
>
> 
> inputValues1 is:  #inputValues1#
> 
>
>  starting_list="#inputValues1#" permutation_list="" start_delimiter=","
> perm_delimiter="|" returnvariable="fullPermutationList">
>
> List the permutations:
> 
>delimiters="|">
>  #combo#
>   
> 
>
> 
>
>
> It can render your "1,2,3,4,5,6,7" example pretty quickly, but it
> takes a pretty long time to do something larger like a 12-item set (hence
> the  tag to increase the timeout), and I didn't have the time to
> figure out how much time it would take to process a full 20-item list.
>
> Maybe there's a better way to do it, but hopefully this at least provides
> a starting point.
>
> --
> Brian Swartzfager
> [EMAIL PROTECTED]
>
>
>
> 

~|
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-72&catid=648

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


Permutation problem

2007-09-25 Thread Ken Fassman
Hi,
I have a problem I'm struggling to solve in ColdFusion - I wonder if someone
can help me with.

I am being given a variable length, numeric string (min 6, max 20).  I need
to show all combinations of those values that will result in a unique set of
6.  The resulting output is sorted - so 1,2,3,4,5,6 is the same as
1,2,3,4,6,5.

I'd also like to see if there is an easy way to calculate the expected
number of each in advance.

Just to illustrate what I'm looking to do (in case its not clear from
above):

The input string might be "1,2,3,4,5,6,7" and I'd need to return the
following results:
123456
123457
123467
123567
124567
134567
234567


Any thoughts on this on how to approach this are greatly appreciated.

Thanks!

 - KsF


~|
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-72&catid=648

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


MC SecureCode

2007-06-30 Thread Ken Ferguson
Has anyone had any experience implementing the MasterCard SecureCode auth 
check. It'd be especially helpful to hear from anyone who did it through 
Cybersource. I've got my request going to the CS test server, but I keep 
getting a reason code 102 (invalid field). When I output what's invalid, it 
says that the card_accountNumber is invalid, though it's set as 
, just as the docs say it should be. I've also tried it with 
Maestro, but I get the same results. I'm kind of stuck, so any help would 
certainly be appreciated.

Thanks,
Ferg

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: cfinvoke or CreateObject

2007-05-31 Thread Ken Sykora
I'm not 100% on this but I believe when you use cfinvoke it creates an
instance of the component on ever cfinvoke call. So if you are using
cfinvoke on the same component, you would be better off creating an instance
and invoking the methods that way.

On 5/31/07, Rick Root <[EMAIL PROTECTED]> wrote:
>
> On 5/31/07, Robertson-Ravo, Neil (RX)
> <[EMAIL PROTECTED]> wrote:
> > What about cfinvoking a method in an already persisted object, I.e.
> Using
> > component="#application.foo#"
>
> I personally can't think of any reason to use cfinvoke to call a
> method of an already instantiated object.
>
> You couldj ust go
>
> 
>
> or
>
> 
>   results = application.foo.method();
> 
>
> and either would be prettier than cfinvoke.
>
> IMO ;)
>
> Rick
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Calling ColdFusion Web Service from .NET

2007-05-30 Thread Ken Sykora
It's the way the CFC is handled... in .NET I create an instance of the Shape
object (.NET Object) , and when I invoke the coldfusion web service, .NET
performs serialization and sends it to coldfusion. On the coldfusion end it
becomes deserialized into a CFC. Processing occurs, (in my example I
multiply the length and width by 2) and then the object is returned back to
..NET (CF serializes the cfc and sends it back to .NET which deserializes it
into a .NET Object)

If ColdFusion components are really trying to become an object, then they
should have the ability to serialize so they can be passed (and returned) as
web service parameters, just like Java and .NET do it.

I shouldn't have to serialize on the .NET end and then convert that to an
instance of a string. Like SOAP defines it, i should be passing the complex
type as an xsd:complexType rather than an xsd:string

--Ken

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

-- 
Ken Sykora


~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: Calling ColdFusion Web Service from .NET

2007-05-30 Thread Ken Sykora
Update: The exact same sample code I posted in the initial post can be
invoked using .NET under the latest scorpio beta I'm guessing this
indicates CF7 not being able to handle complex data types in web services...

--Ken

On 5/30/07, Ken Sykora <[EMAIL PROTECTED]> wrote:
>
> Will not work... ever... even though the documentation for the web
> services in livedocs claims that it should work? It says that the component
> types get cast into complex types (xsd:anyType) and the wsdl seems to note
> them correctly:
>
> From the WSDL:
>
> > 
> >http://tempuri.org/";>
> >   http://rpc.xml.coldfusion"/>
> >   http://schemas.xmlsoap.org/soap/encoding/"/>
> >   
> >  
> > 
> > 
> >  
> >   
> >
>
> ...
> >
> 
> >
> >
> 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> > 
> >
> >> name="returnShapeRequest"/>
> >> name="returnShapeResponse"/>
> >> name="CFCInvocationException"/>
> >
> > 
> >
>
> That looks right to me... so what is really going on behind the scenes
> that is preventing this from working? There must be some blog posts
> somewhere or articles about getting complex data to be sent back and forth
> between coldfusion without casting the whole argument structure as a
> string.
>
> --Ken
>
>
> On 5/30/07, Robertson-Ravo, Neil (RX) <
> [EMAIL PROTECTED]> wrote:
> >
> > Yes..in your example. You are trying to pass a complex CF object to .NET
> > which will not work..ever.  There are some wrappers you can use to
> > potentially translate a query into an .NET Dataset but you wont be able
> > to
> > pass a CFC to .NET.
> >
> >
> >
> >
> >
> >
> > -Original Message-
> > From: Ken Sykora [mailto:[EMAIL PROTECTED]
> > Sent: 30 May 2007 15:54
> > To: CF-Talk
> > Subject: Re: Calling ColdFusion Web Service from .NET
> >
> > Thank you for your responses... that is what I feared had to be the case
> > to
> > communicate with .NET. Is this experience any different with CF8? I'm
> > not
> > talking about direct invocation using assemblies, rather communicating
> > via
> > web services.
> >
> > Thanks,
> >
> > --Ken
> >
> > On 5/30/07, Robertson-Ravo, Neil (RX) <
> > [EMAIL PROTECTED]>
> > wrote:
> > >
> > > Yep, pass only string representations of your objects return values
> > and
> > > you
> > > will be fine...
> > >
> > >
> > >
> > > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> > > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed
> > Business,
> > > Registered in England, Number 678540.  It contains information which
> > is
> > > confidential and may also be privileged.  It is for the exclusive use
> > of
> > > the
> > > intended recipient(s).  If you are not the intended recipient(s)
> > please
> > > note
> > > that any form of distribution, copying or use of this communication or
> > the
> > > information in it is strictly prohibited and may be unlawful.  If you
> > have
> > > received this communication in error please return it to the sender or
> >
> > > call
> > > our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> > > this
> > > communication are not necessarily those expressed by Reed
> > Exhibitions."
> > > Visit our website at http://www.reedexpo.com
> > >
> > > -Original Message-
> > > From: Brad Wood
> > > To: CF-Talk
> > > Sent: Wed May 30 00:17:35 2007
> > > Subject: Re: Calling ColdFusion Web Service from .NET
> > >
> > > I think this goes back to the problem of CFC's not being able to be
> > > serialized and or passed around to web services on remote
> > servers.  You
> > > are
> > > passing an instance of a CFC into your web service which is a complex
> > > object
> > > and the C# code has somehow serialized it, but the CF web service
> > doesn't
> > > know how to reconstitute it.  You might have to rethink the inputs to
> > your
> > > C# code to pass in simple data types or at least serializable ones.  I
> >
> > > don't
> > > 

Re: need help with updating date field

2007-05-30 Thread Ken Sykora
Why not just call it with [Date] = getdate() ?

On 5/30/07, Bobby Hartsfield <[EMAIL PROTECTED]> wrote:
>
> Wow... that was just one messed up query I guess heh. I stopped with the
> first error I saw... so to recap class...
>
> UPDATE AdminPersonnel
> SET First_Name = '#form.First_Name#',
> Last_Name = '#form.Last_Name#',
> MI = '#form.MI#',
> Division = '#form.division#',
> Degree = '#form.Degree#',
> Title = '#form.Title#',
> Email = '#form.Email#',
> Phone = '#form.Phone#',
> Fax = '#form.Fax#',
> [Date] = #createODBCdate(Now())#,
> IPAddress = '#CGI.REMOTE_ADDR#'
> WHERE ID = #val(form.ID)#
>
> ---
> DON'T FORGET TO CHANGE ALL THOSE TO CFQUERYPARAMS!
> ---
>
> ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.
> Bobby Hartsfield
> http://acoderslife.com
>
>
> -Original Message-
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 30, 2007 12:28 PM
> To: CF-Talk
> Subject: Re: need help with updating date field
>
> first off, DATE is a reserved word and probably shouldn't be used as a
> column name.  if you can't change it, at least enclose it in brackets
> ([DATE])
>
> in your SQL, remove the single quotes from the #createODBCDate(now())#
> value.
>
> also, look into using  (hey if i didn't say it, somebody
> else would have) :)
>
> On 5/30/07, Imperial, Robert <[EMAIL PROTECTED]> wrote:
> > I know this is probably obvious to most of you here, but I have an error
> > on an update statement that I need some enlightenment on please. I'm
> > using MSSQL2k, CFMX7 and I have an insert statement that works fine
> > using "#createODBCdate(Now())#" but my update bombs on it?? Here's my
> > update:
> >
> > UPDATE AdminPersonnel
> > SET First_Name = '#form.First_Name#',
> > Last_Name = '#form.Last_Name#',
> > MI = '#form.MI#',
> > Division = '#form.division#',
> > Degree = '#form.Degree#',
> > Title = '#form.Title#',
> > Email = '#form.Email#',
> > Phone = '#form.Phone#',
> > Fax = '#form.Fax#'
> > Date = '#createODBCdate(Now())#',
> > IPAddress = '#CGI.REMOTE_ADDR#'
> > WHERE ID = #form.ID#
> >
> > And here is the error
> >
> > Error Executing Database Query.
> >
> > [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC SQL
> > Server Driver][SQL Server]Line 1: Incorrect syntax near 'Date'.   The
> > error occurred in D:\WebNew\domis\admin\actUpdateAdminPersonnel.cfm:
> > line 16: line 1
> > Called from D:\WebNew\index.cfm: line 17
> > 14 :   Date = '#createODBCdate(Now())#',
> > 15 :   IPAddress = '#CGI.REMOTE_ADDR#'
> > 16 :WHERE ID = #form.ID#
> > 17 : 
> >
> > Awaiting your enlightenment ;)
> >
> >
> > Bob
> >
> >
> >
> >
>
>
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Calling ColdFusion Web Service from .NET

2007-05-30 Thread Ken Sykora
Will not work... ever... even though the documentation for the web services
in livedocs claims that it should work? It says that the component types get
cast into complex types (xsd:anyType) and the wsdl seems to note them
correctly:

>From the WSDL:

> 
>http://tempuri.org/";>
>   http://rpc.xml.coldfusion"/>
>   http://schemas.xmlsoap.org/soap/encoding/"/>
>   
>  
> 
> 
>  
>   
>


>

>
>

>
> 
>
> 
>
> 
>
> 
>
> 
>
>name="returnShapeRequest"/>
>name="returnShapeResponse"/>
>name="CFCInvocationException"/>
>
> 
>

That looks right to me... so what is really going on behind the scenes that
is preventing this from working? There must be some blog posts somewhere or
articles about getting complex data to be sent back and forth between
coldfusion without casting the whole argument structure as a string.

--Ken


On 5/30/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> Yes..in your example. You are trying to pass a complex CF object to .NET
> which will not work..ever.  There are some wrappers you can use to
> potentially translate a query into an .NET Dataset but you wont be able to
> pass a CFC to .NET.
>
>
>
>
>
>
> -Original Message-
> From: Ken Sykora [mailto:[EMAIL PROTECTED]
> Sent: 30 May 2007 15:54
> To: CF-Talk
> Subject: Re: Calling ColdFusion Web Service from .NET
>
> Thank you for your responses... that is what I feared had to be the case
> to
> communicate with .NET. Is this experience any different with CF8? I'm not
> talking about direct invocation using assemblies, rather communicating via
> web services.
>
> Thanks,
>
> --Ken
>
> On 5/30/07, Robertson-Ravo, Neil (RX) <
> [EMAIL PROTECTED]>
> wrote:
> >
> > Yep, pass only string representations of your objects return values and
> > you
> > will be fine...
> >
> >
> >
> > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> > Registered in England, Number 678540.  It contains information which is
> > confidential and may also be privileged.  It is for the exclusive use of
> > the
> > intended recipient(s).  If you are not the intended recipient(s) please
> > note
> > that any form of distribution, copying or use of this communication or
> the
> > information in it is strictly prohibited and may be unlawful.  If you
> have
> > received this communication in error please return it to the sender or
> > call
> > our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> > this
> > communication are not necessarily those expressed by Reed Exhibitions."
> > Visit our website at http://www.reedexpo.com
> >
> > -Original Message-
> > From: Brad Wood
> > To: CF-Talk
> > Sent: Wed May 30 00:17:35 2007
> > Subject: Re: Calling ColdFusion Web Service from .NET
> >
> > I think this goes back to the problem of CFC's not being able to be
> > serialized and or passed around to web services on remote servers.  You
> > are
> > passing an instance of a CFC into your web service which is a complex
> > object
> > and the C# code has somehow serialized it, but the CF web service
> doesn't
> > know how to reconstitute it.  You might have to rethink the inputs to
> your
> > C# code to pass in simple data types or at least serializable ones.  I
> > don't
> > know what the equivalent to a struct would be in C#, but it might be a
> > good
> > start.
> > Probably not what you wanted to hear, but just my guess anyway.
> >
> > ~Brad
> >
> > -Original Message-
> > From: Ken Sykora [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, May 29, 2007 6:13 PM
> > To: CF-Talk
> > Subject: Calling ColdFusion Web Service from .NET
> >
> > Hello Everyone.
> >
> > When I run the .NET Program, I get an exception on the invocation line
> [s
> > =
> > service.returnShape(s);]:
> >
> > "org.xml.sax.SAXException: Deserializing parameter 's':  could not find
> > > deserializer for type { http://tempuri.org/}Shape";
> > >
> >
> >
> >
> >
>
>
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Calling ColdFusion Web Service from .NET

2007-05-30 Thread Ken Sykora
Thank you for your responses... that is what I feared had to be the case to
communicate with .NET. Is this experience any different with CF8? I'm not
talking about direct invocation using assemblies, rather communicating via
web services.

Thanks,

--Ken

On 5/30/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> Yep, pass only string representations of your objects return values and
> you
> will be fine...
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of
> the
> intended recipient(s).  If you are not the intended recipient(s) please
> note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or
> call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.com
>
> -Original Message-
> From: Brad Wood
> To: CF-Talk
> Sent: Wed May 30 00:17:35 2007
> Subject: Re: Calling ColdFusion Web Service from .NET
>
> I think this goes back to the problem of CFC's not being able to be
> serialized and or passed around to web services on remote servers.  You
> are
> passing an instance of a CFC into your web service which is a complex
> object
> and the C# code has somehow serialized it, but the CF web service doesn't
> know how to reconstitute it.  You might have to rethink the inputs to your
> C# code to pass in simple data types or at least serializable ones.  I
> don't
> know what the equivalent to a struct would be in C#, but it might be a
> good
> start.
> Probably not what you wanted to hear, but just my guess anyway.
>
> ~Brad
>
> -Original Message-
> From: Ken Sykora [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 29, 2007 6:13 PM
> To: CF-Talk
> Subject: Calling ColdFusion Web Service from .NET
>
> Hello Everyone.
>
> When I run the .NET Program, I get an exception on the invocation line [s
> =
> service.returnShape(s);]:
>
> "org.xml.sax.SAXException: Deserializing parameter 's':  could not find
> > deserializer for type { http://tempuri.org/}Shape";
> >
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Calling ColdFusion Web Service from .NET

2007-05-29 Thread Ken Sykora
Hello Everyone.

I'm running into an issue preventing a .NET Console application from calling
a simple proof-of-concept ColdFusion web service. Here is the ColdFusion web
service component (ReturnShape.cfc):

http://tempuri.org/";>
>
>  output="false">
> 
> 
> s.length = s.length *2;
> s.width = s.width * 2;
> 
> 
> 
>
> 
>

Here is the code for the "Shape" object (Shape.cfc):


>
> 
> 
> 


Here are the steps to reproduce the .NET Error (Visual Studio 2005)

   1. Create the Shape.cfc and ReturnShape.cfc components in a coldfusion
   instance.
   2. Create new Windows Console Application (C# Example below)
   3. Right click ConsoleApplication1, click "Add Web Reference"
   4. in the URL Field, give it the URL to ReturnShape.cfc?wsdl
   5. In my example, the Web reference name is "ksykora.clay" - yours
   will be different... Click "Add Reference"
   6. In the Main function in Program.cs, I use the code:

   clay.ksykora.Shape s = new clay.ksykora.Shape();
   s.length = 1;
   s.width = 2;

   clay.ksykora.ReturnShape service = new
   clay.ksykora.ReturnShape ();
   s = service.returnShape(s);

   Console.WriteLine(s.length + "-" + s.width);
   Console.ReadLine();

When I run the .NET Program, I get an exception on the invocation line [s =
service.returnShape(s);]:

"org.xml.sax.SAXException: Deserializing parameter 's':  could not find
> deserializer for type { http://tempuri.org/}Shape";
>
> "   at 
> System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
> message, WebResponse response, Stream responseStream, Boolean asyncCall)
>
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String
> methodName, Object[] parameters)\r\n
>
at ConsoleApplication1.clay.ksykora.ReturnShape.returnShape(Shape s) in
> C:\\workspace\\ConsoleApplication1\\ConsoleApplication1\\Web
> References\\clay.ksykora\\Reference.cs:line 29\r\n
>
at ConsoleApplication1.Program.Main(String[] args) in
> C:\\workspace\\ConsoleApplication1\\ConsoleApplication1\\Program.cs:line
> 13\r\n
>
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)\r\n
> at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
> assemblySecurity, String[] args)\r\n
>
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()\r\n
>
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)\r\n
>
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
> ContextCallback callback, Object state)\r\n   at
> System.Threading.ThreadHelper.ThreadStart ()"
>

Could anybody with experience calling CFComponents with complex
arguments/return types from a .NET Environment please point me in the right
direction? Thanks in Advance!

-- 
Ken Sykora


~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: Conditiial form requirements

2007-05-25 Thread Ken Wexel
Do you want the field to be locked/unlocked based on the selection,
and do you want to do your validation client side or server side?
Either way is possible, but you'll have to handle your validation
manually, as opposed to via  wrote:
> I am writing a form has a Project Type radio selection.  Values being New or 
> Existing.
> If the Project type is Existing a text field needs to be required with that 
> would contain the existing projects code, if it is a New project that field 
> should not be required.  I'm having trouble figuring this one out.
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: WebServices - XML Object sent as argument not working correct ly

2007-05-24 Thread Ken Sykora
Thank you both for the quick responses. I greatly appreciate your help.

I understand what you're saying with this response, but when I pass over XML
as a string to coldfusion, it converts the xml string in the SOAP message to
an HTML encoded format (i.e. < will become %lt; > will become %gt;) which
just doesn't seem right... Is there any chance you could provide an example
of how I should define the web service and how to call it?

I'm thinking that you mean something along the lines of this, but I'm not
sure:

Webservice Component:








Calling Client:



123
123



ws = createobject("webservice","
http://ksykora.clay/FirstComp/WebService.cfc?wsdl";);
result = ws.XmlToString(xmltext);

WebService Result: #HTMLEditFormat(result)#
Expected Result: #HTMLEditFormat(xmltext)#
SOAP Request: 

Which when run produces this output:

WebService Result:  123
123 
Expected Result:  123
123 
SOAP Request:  http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance";>http://schemas.xmlsoap.org/soap/encoding/";
xmlns:ns1="http://FirstComp";>http://schemas.xmlsoap.org/soap/encoding/"; xsi:type="soapenc:string">
<RootNode> <ChildNode>123</ChildNode>
<AnotherChildNode>123</AnotherChildNode> </RootNode>


Which if you notice pretty well garbles up the idea of an xml SOAP request.
If it's the only workaround I suppose I'll have to deal with it but I'm
guessing that people that are actually publishing web services in production
environments are doing something else, and I would like to know what that
is.

Thanks for your continued help!

--Ken

On 5/24/07, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> Yep, the key is to understand that a ColdFusion XML object is just that...
> A
> ColdFusion one, so in all reality it's useless to anyone else other than
> ColdFusion and even then, only really on your own servers (as I have seen
> remote calls fail as well).
>
> XML is just a well formed string so best to treat it as such and you will
> be
> happily talking to other languages calling your W/S.
>
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of
> the
> intended recipient(s).  If you are not the intended recipient(s) please
> note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or
> call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.com
>
> -Original Message-
> From: Robert Rawlins - Think Blue
> To: CF-Talk
> Sent: Thu May 24 17:35:40 2007
> Subject: RE: WebServices - XML Object sent as argument not working correct
> ly
>
> Yep I'll back Niel on this one,
>
> I pass XML as a string through web services all the time and it works like
> an absolute charm. I talk with all kinds of other apps from JAVA through
> to
> Python and C.
>
> Rob
>
> -Original Message-
> From: Robertson-Ravo, Neil (RX)
> [mailto:[EMAIL PROTECTED]
> Sent: 24 May 2007 17:28
> To: CF-Talk
> Subject: Re: WebServices - XML Object sent as argument not working correct
> ly
>
> There is a bug/feature of ColdFusion web services when passing/returning
> XML
> objects.  It is better practice to pass the data as a string however as it
> leads to better interop.
>
> Bottom line, if you want to pass XML, pass it as a string.
>
>
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of
> the
> intended recipient(s).  If you are not the intended recipient(s) please
> note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or
> call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> this
> comm

WebServices - XML Object sent as argument not working correctly

2007-05-24 Thread Ken Sykora
Hi Everyone - I posted this on the Adobe forums but have so far had no luck 
with any responses.

I'm having trouble with coldfusion web services and am hoping that someone here 
can reproduce this error and provide some insight to this issue.

I'm trying to create a web service, and in the web service it takes an XML 
object as an argument. Inside the web service code I want to convert the XML 
object to a string so I can store it in a database. The problem is that 
whenever I convert the xml object to a string (using the ToString(xmlobj) 
method) in the web service call, it returns the xml string as '[#document: 
null]'. However, when I perform the same operation on the test page that is 
calling the web service, it converts the xml object correctly to a string with 
the raw XML.

I am using ColdFusion MX 7 version 7,0,2,142559

If you can reproduce this error, please let me know. If you have a solution, 
please let me know. This is very frustrating... I've been battling this 
issue for about a day now. 

I can work around this issue by passing the XML as a straight up string and 
then perform an XMLParse() on the web service, but that is borderline 
unacceptable.

Please see the sample code below.

Webservice Component:


   
   
   
   


Test Page:



   123
   123



   ws = 
createobject("webservice","http://ksykora.clay/WebService.cfc?wsdl";);
   xmlObject = xmlparse(xmltext);
   result = ws.XmlToString(xmlObject);

WebService Result: #HTMLEditFormat(result)#
Expected Result: #HTMLEditFormat(ToString(xmlObject))#

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

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


Re: get a list of database servers on network

2007-05-18 Thread Ken Wexel
In CF natively?  Not any way that I'm aware of, but there are a
variety of other apps to use (or code) that can scan for hosts
listening on a given port...

On 5/18/07, Brad Wood <[EMAIL PROTECTED]> wrote:
> Here's a good Friday question.
>
>
>
> In my internal web app, is it possible to populate a dropdown with a
> list of computers on the network running a SQL Server.
>
> Basically, like in SQL enterprise Manager, when you would go to register
> a new database with the wizard it would "search" somehow and give you a
> list of servers to choose from.
>
> How did that work?  Would it just scan the subnet for hosts with port
> 1433 open?
>
> Is that possible with ColdFusion?
>
>
>
> Note: I am not talking about ColdFusion data sources at all here.
>
>
>
> ~Brad
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: zip+4 lookup?

2007-05-11 Thread Ken Wexel
Can you use the "offline" version of the USPS dataset?  Didn't see any
usps-only requirements for that (but just glanced at it)

http://www.usps.com/ncsc/faq/#3



On 5/11/07, Russ <[EMAIL PROTECTED]> wrote:
> We need to do zip+4 lookup for an address.  Does anyone know of a webservice
> or a dataset we can use?  I think we can use USPS webservice, but it's iffy
> if we can do it for this application, as they want it to be only used to
> ship stuff through USPS.
>
>
>
> Russ
>
>
>
>
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: defeating offline form posts

2007-05-09 Thread Ken Wexel
True...it's all relatively relative I supposed :)



On 5/9/07, Tom Chiverton <[EMAIL PROTECTED]> wrote:
> On Wednesday 09 May 2007, Ken Wexel wrote:
> > seems like it would be a lot of work to create the session,
> > load the form, save the form locally, change the post path, spoof the
> > session, etc. just to post it from somewhere else once.
>
> Depends on your threat profile.
> It only takes a geek an hour or so to automate the process and then distribute
> the Perl... :-)
>
> --
> Tom Chiverton
> Helping to apprehensively brand integrated experiences
> on: http://thefalken.livejournal.com
>
> 
>
> This email is sent for and on behalf of Halliwells LLP.
>
> Halliwells LLP is a limited liability partnership registered in England and 
> Wales under registered number OC307980 whose registered office address is at 
> St James's Court Brown Street Manchester M2 2JF.  A list of members is 
> available for inspection at the registered office. Any reference to a partner 
> in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by 
> the Law Society.
>
> CONFIDENTIALITY
>
> This email is intended only for the use of the addressee named above and may 
> be confidential or legally privileged.  If you are not the addressee you must 
> not read it and must not use any information contained in nor copy it nor 
> inform any person other than Halliwells LLP or the addressee of its existence 
> or contents.  If you have received this email in error please delete it and 
> notify Halliwells LLP IT Department on 0870 365 8008.
>
> For more information about Halliwells LLP visit www.halliwells.com.
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: defeating offline form posts

2007-05-09 Thread Ken Wexel
and have an active session with a matching key in the session
scope.seems like it would be a lot of work to create the session,
load the form, save the form locally, change the post path, spoof the
session, etc. just to post it from somewhere else once.  Not
bulletproof, but worked well enough for my needs..

On 5/8/07, Maximilian Nyman <[EMAIL PROTECTED]> wrote:
> But the only thing I have to do to get around that is to hit the
> "live" form, do a View source, get the hidden values and update my
> local form with those hidden value(s).
>
>
>
> On 5/9/07, Ken Wexel <[EMAIL PROTECTED]> wrote:
> > When I ran into this problem previously, I'd set a value into the user
> > session and set the same value as a hidden form field.  On post, if
> > the two didn't match, I knew the posting was invalid.  Can be
> > something as simple as a long numeric value..
> >
> > On 5/8/07, Eric J. Hoffman <[EMAIL PROTECTED]> wrote:
> > > That's where I startedbut the thing is, I think they can spoof that
> > > variable?  Or not?
> > >
> > >
> > > -Original Message-
> > >
> > > From: AJ Mercer [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, May 08, 2007 9:53 PM
> > > To: CF-Talk
> > > Subject: Re: defeating offline form posts
> > >
> > > Have a look at the CGI variables
> > > in particular CGI.HTTP_REFERER
> > > This is the page before the current one - it should have your server
> > > details
> > > in there, other wise discard.
> > >
> > >
> > > On 5/9/07, Eric J. Hoffman <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Curious question here.   If I think about this, if someone takes a
> > > form
> > > > of ours for login, for example, and makes a local copy on their
> > > > machineand they set the post action to be the live server
> > > > authenticate filewhat is the best way to detect this and defeat
> > > it?
> > > > Noone has ever gained access this way as of yet, but we are studying
> > > > possibilities, and this seems to me to be an attack vector.
> > > >
> > > >
> > > >
> > > > Any thoughts?A check to see if the referrer was the domain
> > > > name/login file name?   Or can that be spoofed as well then?
> > > >
> > > >
> > > >
> > > > Thanks~!
> > > >
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

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


Re: defeating offline form posts

2007-05-08 Thread Ken Wexel
When I ran into this problem previously, I'd set a value into the user
session and set the same value as a hidden form field.  On post, if
the two didn't match, I knew the posting was invalid.  Can be
something as simple as a long numeric value..

On 5/8/07, Eric J. Hoffman <[EMAIL PROTECTED]> wrote:
> That's where I startedbut the thing is, I think they can spoof that
> variable?  Or not?
>
>
>
> 
>
>
> Eric J. Hoffman
> Managing Partner
> 2081 Industrial Blvd
> StillwaterMN55082
> mail: [EMAIL PROTECTED]
> www: http://www.ejhassociates.com
> tel: 651.717.4105
> fax: 651.717.4101
> mob: 651.245.2717
> Adobe Solutions Partner
> Microsoft Certified Partner
>
> 
>
> This message contains confidential information and is intended only for 
> [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com you should not 
> disseminate, distribute or copy this e-mail. Please notify [EMAIL PROTECTED] 
> immediately by e-mail if you have received this e-mail by mistake and delete 
> this e-mail from your system. E-mail transmission cannot be guaranteed to be 
> secure or error-free as information could be intercepted, corrupted, lost, 
> destroyed, arrive late or incomplete, or contain viruses. Eric J. Hoffman 
> therefore does not accept liability for any errors or omissions in the 
> contents of this message, which arise as a result of e-mail transmission. If 
> verification is required please request a hard-copy version.
> 
>
> -Original Message-
>
> From: AJ Mercer [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 08, 2007 9:53 PM
> To: CF-Talk
> Subject: Re: defeating offline form posts
>
> Have a look at the CGI variables
> in particular CGI.HTTP_REFERER
> This is the page before the current one - it should have your server
> details
> in there, other wise discard.
>
>
> On 5/9/07, Eric J. Hoffman <[EMAIL PROTECTED]> wrote:
> >
> > Curious question here.   If I think about this, if someone takes a
> form
> > of ours for login, for example, and makes a local copy on their
> > machineand they set the post action to be the live server
> > authenticate filewhat is the best way to detect this and defeat
> it?
> > Noone has ever gained access this way as of yet, but we are studying
> > possibilities, and this seems to me to be an attack vector.
> >
> >
> >
> > Any thoughts?A check to see if the referrer was the domain
> > name/login file name?   Or can that be spoofed as well then?
> >
> >
> >
> > Thanks~!
> >
> > 
> >
> >
> > Eric J. Hoffman
> > Managing Partner
> > 2081 Industrial Blvd
> > StillwaterMN55082
> > mail: [EMAIL PROTECTED]
> > www: http://www.ejhassociates.com
> > tel: 651.717.4105
> > fax: 651.717.4101
> > mob: 651.245.2717
> > Adobe Solutions Partner
> > Microsoft Certified Partner
> >
> > 
> >
> > This message contains confidential information and is intended only
> for
> > [EMAIL PROTECTED] If you are not cf-talk@houseoffusion.com
> you
> > should not disseminate, distribute or copy this e-mail. Please notify
> > [EMAIL PROTECTED] immediately by e-mail if you have received
> this
> > e-mail by mistake and delete this e-mail from your system. E-mail
> > transmission cannot be guaranteed to be secure or error-free as
> information
> > could be intercepted, corrupted, lost, destroyed, arrive late or
> incomplete,
> > or contain viruses. Eric J. Hoffman therefore does not accept
> liability for
> > any errors or omissions in the contents of this message, which arise
> as a
> > result of e-mail transmission. If verification is required please
> request a
> > hard-copy version.
> > 
> >
> >
> >
>
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Table Data

2007-05-04 Thread Ken Wexel
The loop from 1 to 24 probably makes sense if you always want a 24 row
output, regardless of the actual number of rows returnedyou'll
probably have to validate the data as you loop/output to be sure
you're showing the correct data in the correct row and not
accidentally moving everything up a few hours if you have a hole in
the data..

On 5/4/07, Robert Rawlins - Think Blue
<[EMAIL PROTECTED]> wrote:
> Morning Guys,
>
>
>
> I'm a little stumped on how to resolve this problem, hopefully someone will
> have a bright idea on how to achieve it. I have a bunch of table data which
> gets displayed hour on hour for a certain time period. This works absolutely
> perfectly at the moment, however the little annoyance occurs when the user
> is looking at today's information. If they look at any past dates then they
> get a nice full length table with 24 rows (one for each hour) but if they
> look at today's date then it'll only display the records that have been
> published into persistence up until that moment, so if they check it first
> thing in the morning they only get 6 or 7 rows of data.
>
>
>
> This isn't really a big deal, but it looks a little untidy for presentation
> purposes, and what I'd like to do if have a full set of 24 rows there, but
> only populate the ones that have information, then if for some reason the
> system went down for a couple of hours on a particular date it wouldn't end
> up with a funny 22 row table, it would just say 'no data' in the rows that
> it didn't have data for.
>
>
>
> Does that make sense? What's the best way to achieve this? I'm thinking
> perhaps a cfloop from 1 to 24 or something like that.
>
>
>
> Thanks for any ideas,
>
>
>
> Rob
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU

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


Re: URL Stop and then Redirect

2007-04-20 Thread Ken Wexel
Done this exact things many times using the META redir tag...nice
little fudged CF automation :)

On 4/20/07, John Cox <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I am a little stuck on a little problem, and times like these are when there
> is an obvious solution from a non-interested party.  I am writing a dirty
> import script to move thousands of items from one architecture to another.
> What I am doing is basically getting all the information from the old
> database and converting it to the new database (is not a one-to-one
> relationship) structure.  I am just grabbing one item at a time and then
> redirecting back to the script.
>
> What I would like to do is stop and then redirect so I don't end up in an
> infinite loop, but the cflocation tag, doesn't really seem to behave quite
> the way I want.  Is there another tag that would do what I am thinking or
> can someone think of an alternative?  I have about 25k items to do, so I'd
> like to just start the script this afternoon and run it through the night
> tonight.
>
> Thanks for any suggestions!
>
> jc
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

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


Re: form data not being inserted into mssql database

2007-04-18 Thread Ken Wexel
can you post the form code, insert code, and variable values that did
not insert properly?

On 4/18/07, John P <[EMAIL PROTECTED]> wrote:
> Coldfusion updates that were performed were 7.0.1 and 7.0.2
>
> I'm researching but does anyone know if these updates affected session 
> variables?
>
> Thx
>
> John
>
>
>
>
> > Hi All,
> >
> > I'm maintaining a Coldfusion Application which is storing form data in
> > an MSSQL database.
> >
> > We've recently received complaints from users that not all form data
> > is being inserted to the database. The issue appears to be random.
> > I've tested 4 times and found that only one of my fields is not
> > inserting. I've checked the form field name, insert statement, table
> > name and everything checks out there. The field I am attempting to
> > insert is one number. Out of 279 records, only 3 have not inserted
> > into this field. There are a couple of months between each of these
> > insert dates.
> >
> > I've flooded other fields with paragraphs of text, which insert fine.
> >
> >
> > We've recently (within the last month) applied both Microsoft and
> > Coldfusion updates to the server.
> >
> > Any ideas? Thanks a bunch!
>
> 

~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

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


Re: Correct locking / cftransaction

2007-03-29 Thread Ken Wexel
ahhh..true...i shouldn't be responding to posts while working.

Thread from January about the same concepts...

http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:44021




On 3/29/07, James Holmes <[EMAIL PROTECTED]> wrote:
> If this DB defaults to read-committed, that's not always going to
> yield consistent results. Serializable is the only way to be sure.
>
> Of course, with MySQL, this all only applies if the table type is
> InnoDB, since MyISAM doesn't support transactions at all.
>
> On 3/30/07, Ken Wexel <[EMAIL PROTECTED]> wrote:
> > If you are simply inserting a new record, then doing a select max type
> > operation to determine the id, you shouldn't need to specify the
> > isolation level, as the default will work...e.g.
> >
> > 
> >
> > 
> > INSERT INTO(.)
> > 
> >
> > 
> > SELECT MAX(field) AS intNewID
> > FROM someTable
> > 
> >
> > 
> >
> > -Ken
> >
> >
> > On 3/29/07, Matthew Chambers <[EMAIL PROTECTED]> wrote:
> > > Ok, but what CFTRANSACTION type do I use?
> > >
> > > Cheers
> > > Matthew
> > >
> > > >If msql4 supports transactions then you have no problems. That's what
> > > >transactions is all about, multiple queries that rely on one or another
> > > >failing, to summarise it up.
> > > >
> > > >
> > > >On 3/29/07, Matthew Chambers <[EMAIL PROTECTED]> wrote:
> > > >>
> > >
> > >
> >
> >
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: Correct locking / cftransaction

2007-03-29 Thread Ken Wexel
If you are simply inserting a new record, then doing a select max type
operation to determine the id, you shouldn't need to specify the
isolation level, as the default will work...e.g.




INSERT INTO(.)



SELECT MAX(field) AS intNewID
FROM someTable




-Ken


On 3/29/07, Matthew Chambers <[EMAIL PROTECTED]> wrote:
> Ok, but what CFTRANSACTION type do I use?
>
> Cheers
> Matthew
>
> >If msql4 supports transactions then you have no problems. That's what
> >transactions is all about, multiple queries that rely on one or another
> >failing, to summarise it up.
> >
> >
> >On 3/29/07, Matthew Chambers <[EMAIL PROTECTED]> wrote:
> >>
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV

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


Re: Regex

2007-03-27 Thread Ken Wexel
Do you have to use Regex, or can you do it via list/string functions?

On 3/27/07, Richard Cooper <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm really not very good with regex, but I need to extract a list of member 
> numbers. The numbers are contained in a list like this:
>
> John Smith (mid: 1000), Peter Pan (mid: 87), Harry Harrison (mid: 173),
>
> How would I go about doing this?
>
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

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


Re: List of Countries

2007-03-12 Thread Ken Wexel
No prob..I use that as well as my handy-dandy state list (which
thankfully doesn't change) all the time!  ;-)

On 3/12/07, Mike Kear <[EMAIL PROTECTED]> wrote:
> Thanks Ken,I'd have given James the link but its so long ago I had
> forgotten where it was.
>
> But it's not all that bad, its not like there's new countries coming
> along all the time.  However there are more changes than you'd think.
>  Counties changing their official names as politics/coups/regimes
> change mostly rather than countries splitting off or merging.
>
> Cheers
> Mike Kear
> Windsor, NSW, Australia
> Adobe Certified Advanced ColdFusion Developer
> AFP Webworks
> http://afpwebworks.com
> ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
>
>
>
>
> On 3/13/07, Ken Wexel <[EMAIL PROTECTED]> wrote:
> > http://www.unece.org/etrades/download/downindex.htm
> >
> > Down toward the bottom is a country/iso code download link...
> >
> > On 3/12/07, James Edmunds <[EMAIL PROTECTED]> wrote:
> > > Mike,
> > >
> > > I would love to know if you have link to the UN source of the CSV etc., so
> > > that I could download and make my own mods, re-visit periodically to get a
> > > freshened list, etc.
> > >
> > > Thanks in advance,
> > >
> > > James
> > >
> > >
>
> 

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Re: List of Countries

2007-03-12 Thread Ken Wexel
http://www.unece.org/etrades/download/downindex.htm

Down toward the bottom is a country/iso code download link...

On 3/12/07, James Edmunds <[EMAIL PROTECTED]> wrote:
> Mike,
>
> I would love to know if you have link to the UN source of the CSV etc., so
> that I could download and make my own mods, re-visit periodically to get a
> freshened list, etc.
>
> Thanks in advance,
>
> James
>
>
>
> On 3/12/07, Mike Kear <[EMAIL PROTECTED]> wrote:
> >
> > There's an "official" country list - its a UN publication.  It's in
> > CSV and other formats.   The database i have has the fulll country
> > name, the common abbreviations, and I've added the country dialling
> > codes to mine so i can validate phone numbers to an extent.
> >
> > I can send you a copy if you want.
> >
> > Cheers
> > Mike Kear
> > Windsor, NSW, Australia
> > Adobe Certified Advanced ColdFusion Developer
> > AFP Webworks
> > http://afpwebworks.com
> > ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month
> >
> >
> >
> >
> > On 3/13/07, Peter Tanswell <[EMAIL PROTECTED]> wrote:
> > > Hi there
> > >
> > > Just wondering if anyone knew of a source where I can obtain a list of
> > countries.  Hopefully in a format that I can import into a table in a
> > database.
> > >
> > > Thanks in advance.
> > >
> > > P
> > >
> > >
> >
> >
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


Re: PDA Website?

2007-03-12 Thread Ken Wexel
Well, unless they need to carry multiple devices (pda, phone, etc.),
this is a pretty decent smartphone with phone and pda capabilities as
well as pocket ie (or whatever it's called these days).

http://www.utstar.com/pcd/view_phone_details.aspx?mcode=PPC6700&sAct=0



On 3/12/07, Coldfusion <[EMAIL PROTECTED]> wrote:
>
> I have a client who is looking to add PDA access to submit timesheet data
> for the people in the field.
> Thus the ability to login via PDA and submit hours worked for themselves and
> their crew.
>
> Keep in mind: These people are NOT Technical
>
> Questions:
> 1. What PDA would you recommend?
> 2. Would this be a separate website for PDA access?
> 3. What is the best approach, obtain a PDA capable then build the site?
>
> Tips & Suggestions are EXTREMEL welcomed!
>
> TIA!
>
>
>
>
> 

~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Re: Having trouble getting variables from different tables to output

2007-03-12 Thread Ken Wexel
I did indeed - multiple tables, single query of only the related data,
instead of multiples instances of the second query (or some type of
looping and comparison to only display what you want).  This may be a
bit outside of what you were originally asking, but was the first
thing that jumped out at me as I read your question.

On 3/12/07, Mik Muller <[EMAIL PROTECTED]> wrote:
> I think he meant use a single query to join the tables through code, rather 
> than two statements.
>
>
>
> At 05:07 PM 3/12/2007, you wrote:
> >If by join the tables you mean make it one table I'm sure that can't be done 
> >without a HUGE rewrite of the code that drops data into and reads data out 
> >of those two separate tables. And I'm not even up to this task let alone a 
> >complete overhaul of the system...
> >
> >-Original Message-
> >From: Ken Wexel [mailto:[EMAIL PROTECTED]
> >Sent: Monday, March 12, 2007 1:52 PM
> >To: CF-Talk
> >Subject: Re: Having trouble getting variables from different tables to output
> >
> >perhaps i'm reading this wrong, but do you have to do 2 queries for this, or 
> >can you join the tables, then group the output to get what you need?
> >
>
> 
> Michael Muller
> Admin, MontagueMA.net Website
> work (413) 863-0030
> cell (413) 320-5336
> skype: michaelBmuller
> http://www.MontagueMA.net
>
> Eschew Obfuscation
>
>
>
>
> 

~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

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


Re: What is wrong with this?

2007-03-12 Thread Ken Wexel
looks fine...what's the value being returned in your var?

On 3/12/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
> Hi, all...
>
> I'm getting an invalid format mask on this:
>
> Value="#NumberFormat(Get_Property_Details.Sale_Price, "")#"
>
> Why?
>
> Thanks,
>
> Rick
>
>
>
>
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


Re: Having trouble getting variables from different tables to output

2007-03-12 Thread Ken Wexel
perhaps i'm reading this wrong, but do you have to do 2 queries for
this, or can you join the tables, then group the output to get what
you need?

On 3/12/07, Michael Stevens <[EMAIL PROTECTED]> wrote:
> Hey guys!
>
> I'm new to ColdFusion and having some problems altering some old cfm pages
> I've inherited as the new "IT guy." I don't know much about ColdFusion but
> I've been able to stumble around and change a few things but one page
> (actually, two similar pages) in particular is giving me a problem.
>
> We are a print shop and our website is linked to our database through CF.
> We've got several "order" pages that display order numbers, order names,
> stocks, inks, all kinds of print-related information. I've been asked to put
> our reorder information on the order detail page so that customers can look
> up a past order and order with that number and not have to submit artwork
> again.
>
> There are two pertinent tables: QOrdLineItems and QHistRO. The first query
> looks like this:
>
> 
> SELECT OrderNum, Status, MainLine, acct_id, date, po_num FROM
> "QOrdLineItems" WHERE acct_id = '#COOKIE.id#' ORDER BY date DESC
> 
>
> My understanding is this pulls five variables from QOrdLineItems when the
> variable acct_id matches the id in the cookie being set when logged in. I
> have no idea what "ORDER BY date DESC" does.
>
> The new reorder information I need to output is in the QHistRO table and is
> in two different columns called reorder_num and control_num. I've tried a
> bunch of differnet ways to call these variables and none so far have worked,
> although it may be my output statements that aren't working. Currently I
> have this query:
>
> 
> SELECT reorder_num, control_num FROM "QHistRO" WHERE reorder_num =
> '#Recordset1.OrderNum#' OR control_num = '#Recordset1.OrderNum#'
> 
>
> I'm trying to pull the variables from the table only when the
> reorder_num/control_num matches the OrderNum in Recordset1 pulled from
> QOrdLineItems.
>
> I'm outputting the variables with (the startrow & maxrows are defined
> elsewhere and not causing problems):
>
> 
>  maxrows="#MaxRows_Recordset1#">
>  "#Mid(Recordset1.date,5,2)#-#Mid(Recordset1.date,7,2)#-#Mid(Recordset1.date,
> 3,2)#">
> 
> #realdate#
>  #Recordset1.MainLine#
>  title="View Order Details">#Recordset1.Ordernum#  border=0>
>  #stat#
>  #Recordset1.PO_num# 
> 
> #Recordset2.control_num#
> #Recordset2.reorder_num#
> 
> 
>
> I have sucessfully pulled those variables into a different page and got them
> to output using this code (the URL.ID is the order_num variable):
>
> 
> 
> 
> 
> 
> 
>
> 
>  SELECT invoice_num, reorder_num, control_num FROM "QHistRO" WHERE
> reorder_num = '#URL.ID#' or control_num= '#URL.ID#'
> 
>
> Control ##HistRO.control_num#
> Reorder ##HistRO.reorder_num#
>
> I don't know a lot about ColdFusion and I've actually accomplished more than
> I thought I could but I'm hoping someone can help me finish this problem.
>
> Thanks,
>
> Mike
>
>
> 

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


db locking

2007-03-12 Thread Ken
Hi. I have a database table with a single row and following columns:

TotalMembers
RegisteredToday
NewestMember

I update this row everytime someone registers. My question is, how
should i control simultaneous updates/locking/unloking issues?

Please help. Here's what i am doing right now:


UPDATE db_sitestats
SET TotalMemembers = TotalMenbers+1,
RegisteredToday = RegisteredToday+1...



Select * from db_sitestats






Please tell if i need to do anything else. These Stats are always
shown on the homepage of the site.

~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

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


Fwd: Subject: How to invoke a method from inside another method in a cfc

2007-03-11 Thread Ken Wexel
can't you just cfinvoke the method from inside the first method?

-Ken

-- Forwarded message --
From: Mike Oldfield <[EMAIL PROTECTED]>
Date: Mar 11, 2007 4:58 PM
Subject: Subject: How to invoke a method from inside another method in a cfc
To: CF-Talk 


 Hello everybody,
 somebody knows how can I invoke a method from inside another method in a
cfc?
 Please help me!

 I have something like this:
 
 ...
 
  do method 2
 
 
 
 ...
 

 Thanks for your help




~|
ColdFusion MX7 by Adobe®
Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. 
Free Trial. http://www.adobe.com/products/coldfusion

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


Convert and Insert

2007-03-09 Thread Ken
Please help.
I am a getting this error message:
[Macromedia][SQLServer JDBC Driver][SQLServer]Disallowed implicit
conversion from data type text to data type nvarchar, table
'WIW2U.dbo.db_Reso', column 'Category_Id'. Use the CONVERT function to
run this query.

My column is of datatype nvarchar. using mssql 2000.
Can someone tell me how I can use Convert while doing an insert
statement. Please help with an example.

Thanks,
Ken

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


Re: GotCFM.com - Need Opinion on Whether to Approve a Site

2007-03-05 Thread Ken Ketsdever
I don't see the need for including porn.   There are plenty of other examples 
of CF working in a high volume scenario.I see this as an educational site.  
Why have it become controversial over links to porn?  Now the kid making a case 
of CF in his high school class can't access the site because some overzealous 
school official bans the site because there is a link to porn. 
 
I vote no
 
 
 
 
 
Ken Ketsdever 
Associate Programmer Analyst
Department of Pesticide Regulation
(916) 324-2990

>>> [EMAIL PROTECTED] 3/5/2007 12:29 PM >>>

OH! Well done! :o)

Cheers,
Chris

Rey Bango wrote:
> I've added a dropdown which will allow visitors to choose sites by 
> category. Also, the initial load of the list will exclude any mature or 
> adult themed sites. You will need to explicitly select that category to 
> view it.
>
> Rey
>
> Mark A Kruger wrote:
>   
>> No prob :) 
>>
>> -Original Message-
>> From: Rey Bango [mailto:[EMAIL PROTECTED] 
>> Sent: Monday, March 05, 2007 12:57 PM
>> To: CF-Talk
>> Subject: Re: GotCFM.com - Need Opinion on Whether to Approve a Site
>>
>> Absolutely. Thats the type of feedback that I was looking for.
>>
>> Thanks Mark.
>>
>> Rey
>>
>> Mark A Kruger wrote:
>> 
>>> I would prefer a separate category or page for "adult" or "mature" 
>>> themed sites. Here's my reasoning - posted in good humor and with no 
>>> intent to flame or be flamed... (I forgot my asbestos underwear today).
>>>
>>> For me this is less a moral issue than a business issue. The owners of 
>>> the sites that I've submitted (about 10 or 15 sites) would not appreciate or
>>> consent to being listed intermingled with overtly adult content sites...   I
>>> want CF to have a professional and corporate reputation. I don't 
>>> include hooter's girls in my family portrait (though there was the 
>>> year I wore a duck suit) and I don't wish for my good customers to 
>>> have a reason to question my wisdom in posting their links.  Plus 
>>> grouping all the adults sites together allows us to carefully 
>>> scrutinize them so we can be properly outraged.  Can't we evangelize 
>>> without offending?
>>>
>>> -Mark
>>>
>>> -Original Message-
>>> From: Mik Muller [mailto:[EMAIL PROTECTED]
>>> Sent: Monday, March 05, 2007 12:22 PM
>>> To: CF-Talk
>>> Subject: Re: GotCFM.com - Need Opinion on Whether to Approve a Site
>>>
>>> Define "legal" porn, please. Will you have a separate section for 
>>> that?  :-Q
>>>
>>> Mik
>>>
>>>
>>> At 11:57 AM 3/5/2007, Rey Bango wrote:
>>>   
>>>> Hi Janet,
>>>>
>>>> It has to be a site that runs CF in some way but I've reserved the 
>>>> right to not list, or remove, a site if it has no redeeming value to 
>>>> the CF community. I mentioned in a previous post that I'm very 
>>>> lenient but some things just won't get posted. This includes:
>>>>
>>>> * Bogus websites
>>>> * Spam
>>>> * Sites that contain any type of inappropriate content such as 
>>>> racism, hate-groups, illegal porn and that sort of stuff
>>>> * Link bait
>>>>
>>>> So I'm going to continue to be flexible in what gets submitted but if 
>>>> I see a site, for example, that has 50 .Net pages and 1 CF page, that 
>>>> site won't get added.
>>>>
>>>> Rey...
>>>>
>>>> Janet MacKay wrote:
>>>> 
>>>>> Rey,
>>>>>
>>>>> I confess I haven't read anything about gotCFM.com (other than this
>>>>>   
>>> thread).
>>>   
>>>>> So my question is what are the requirements for sites listed on
>>>>>   
>>> gotCFM.com?  Does a site only have to run CF (whether they have _one_ 
>>> cfm page or a thousand) or does the site have to contain an 
>>> _application_ that is powered (in whole or in part) by CF? Or none of the 
>>> above ..?
>>>   
>>>>> Janet
>>>>>
>>>>>
>>>>>   
>>>
>>>   
>>
>>
>> 
>
> 



~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade & see new features.
http://www.adobe.com/products/coldfusion

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


CF Report Builder

2007-02-23 Thread Ken K
Does CF report Builder only run on a Windows? (see requirements link)

http://www.adobe.com/products/coldfusion/productinfo/systemreqs/#reportbuilder

~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2

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


Re: strange IE7 style issue.

2007-02-21 Thread Ken Ferguson
What???

*
Ken Ferguson
214.636.6126
*






Bhasker Konakanchi wrote:
>>> Passing the dsn to the CFC in the create object?? Is this correct or
>>>   
>> should
>> 
>>> I change my ways?
>>>   
>
> I think it depends on your requirements and personal taste.  I have done
> exactly the same thing, but now I also need to pass not just the DSN but
> also the database I'm currently working on.  I chose to create a
> Datasource component and call Datasource.getDSN() and
> Datasource.getDatabase().  This way I only have to pass that as one
> argument and only one place to change if I ever need to.
>
> Rich Kroll
>
> 

~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

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


Re: webservice invoke issue

2007-02-14 Thread Ken
Here's my cfc code:








On 2/14/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> You have set the CFC to be access="remote"?
>
>
> :-)
>
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of the
> intended recipient(s).  If you are not the intended recipient(s) please note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.com
>
> -Original Message-
> From: Ken
> To: CF-Talk
> Sent: Wed Feb 14 18:00:32 2007
> Subject: Re: webservice invoke issue
>
> I am able to get to the component explorer if i browse to the cfc. It
> then shows the component after putting the password.
>
>
> On 2/14/07, Robertson-Ravo, Neil (RX)
> <[EMAIL PROTECTED]> wrote:
> > Then either the URL is wrong/unreachable or your web service hosed!
> >
> > What happens if you browse to the CFC direct with no WSDL? Do you get the
> > compnonent explorer?
> >
> >
> >
> >
> >
> >
> >
> >
> > "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> > Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> > Registered in England, Number 678540.  It contains information which is
> > confidential and may also be privileged.  It is for the exclusive use of
> the
> > intended recipient(s).  If you are not the intended recipient(s) please
> note
> > that any form of distribution, copying or use of this communication or the
> > information in it is strictly prohibited and may be unlawful.  If you have
> > received this communication in error please return it to the sender or
> call
> > our switchboard on +44 (0) 20 89107910.  The opinions expressed within
> this
> > communication are not necessarily those expressed by Reed Exhibitions."
> > Visit our website at http://www.reedexpo.com
> >
> > -Original Message-
> > From: Ken
> > To: CF-Talk
> > Sent: Wed Feb 14 17:45:51 2007
> > Subject: Re: webservice invoke issue
> >
> > Ok... i tried this as suggested by Dave:
> > http://localhost/lcms/wiwapi/hwtester.cfc?wsdl";
> > method="get" result="myresult">
> >
> > Got no results. Browser timed out after about 5 mins.
> >
> >
> > On 2/14/07, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> > > > Ok. In my cf admin, there are no urls in the web services section. I
> > > > believe the webservice has to be invoked successfully at least once
> > > > for the url to start showing in the cfadmin.
> > > > But i did re-start the CF service, and it made NO difference at all.
> > > > Same error message.
> > >
> > > Yes...the first time the webservice is invoked, CF is supposed to
> > auto-register
> > > it in CF Admin.  I'm guessing because you've never successfully invoked
> > it, it's
> > > not in there.
> > >
> > > Perhaps try adding it manually and see if thaqt gets you anywhere.  This
> > > definately is heading towards to "odd" side of things.
> > >
> > > Good luck
> > >
> > > 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.
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


Re: webservice invoke issue

2007-02-14 Thread Ken
I am able to get to the component explorer if i browse to the cfc. It
then shows the component after putting the password.


On 2/14/07, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Then either the URL is wrong/unreachable or your web service hosed!
>
> What happens if you browse to the CFC direct with no WSDL? Do you get the
> compnonent explorer?
>
>
>
>
>
>
>
>
> "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant,
> Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business,
> Registered in England, Number 678540.  It contains information which is
> confidential and may also be privileged.  It is for the exclusive use of the
> intended recipient(s).  If you are not the intended recipient(s) please note
> that any form of distribution, copying or use of this communication or the
> information in it is strictly prohibited and may be unlawful.  If you have
> received this communication in error please return it to the sender or call
> our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
> communication are not necessarily those expressed by Reed Exhibitions."
> Visit our website at http://www.reedexpo.com
>
> -Original Message-
> From: Ken
> To: CF-Talk
> Sent: Wed Feb 14 17:45:51 2007
> Subject: Re: webservice invoke issue
>
> Ok... i tried this as suggested by Dave:
> http://localhost/lcms/wiwapi/hwtester.cfc?wsdl";
> method="get" result="myresult">
>
> Got no results. Browser timed out after about 5 mins.
>
>
> On 2/14/07, Bryan Stevenson <[EMAIL PROTECTED]> wrote:
> > > Ok. In my cf admin, there are no urls in the web services section. I
> > > believe the webservice has to be invoked successfully at least once
> > > for the url to start showing in the cfadmin.
> > > But i did re-start the CF service, and it made NO difference at all.
> > > Same error message.
> >
> > Yes...the first time the webservice is invoked, CF is supposed to
> auto-register
> > it in CF Admin.  I'm guessing because you've never successfully invoked
> it, it's
> > not in there.
> >
> > Perhaps try adding it manually and see if thaqt gets you anywhere.  This
> > definately is heading towards to "odd" side of things.
> >
> > Good luck
> >
> > 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.
> >
> >
> >
> >
>
>
>
> 

~|
Upgrade to Adobe ColdFusion MX7 
Experience Flex 2 & MX7 integration & create powerful cross-platform RIAs 
http:http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

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


  1   2   3   4   5   6   7   8   9   10   >