Re: CFPDF can not flatten liveCycle Forms - so how do you?

2009-09-03 Thread Arsalan Tariq Keen
Brook, Please find the code below with inline comments :) This code is working fine... just set the variables of for input output files according to your need and also the form field population part. This should do it... I just tested the code too and it works fine. I have tested this code

Re: Getting UDF's into a custom tag.

2009-09-03 Thread Dominic Watson
For me it kinda depends on the scope of the custom tag. Is it something you would potentially use in other, non related applications? If so, I'd want it not to need to use those functions at all if possible or, if not, the tag could contain the udf so that it was entirely independent. If app

Cookie and Browser

2009-09-03 Thread Don L
I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available for Firefox 3.5 or vice verse. It appears cf cookie set is not browser specific, however, when I extended a cf cookie for firefox 3.5, IE7 did not recognize it. Am I missing something here?

Re: Determining CF8's UNIX Account

2009-09-03 Thread Robert Nurse
Ok, we start CF manually with the command: ./jrun -nohup -start -childVM foo ps -ef reports (under foo login): foo ... ./jrun -nohup -start -childVM foo (here, foo is the name of the service) Notice that there is a user account named foo. Logging in as foo, the groups

Re: Cookie and Browser

2009-09-03 Thread Scott Stroz
You cannot read a cookie set in FireFox with Internet Explorer and vice versa. Cookies are browser specific. On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote: I'm wondering for coldfusion8 if a cf cookie set for IE7 would be available for Firefox 3.5 or vice verse.  It appears cf

Display Windows Log on ID

2009-09-03 Thread Damo Drumm
Hi Im trying to display the Windows log on ID using coldfusion, im using cgi.REMOTE_USER at the minute but its displaying the Domain also, is there something i can use which will only display the log on ID, or else some way of deleting the domain which is the first 12 characters of the text

Display Windows Log on ID

2009-09-03 Thread Damo Drumm
Hi Im trying to display the Windows log on ID using coldfusion, im using cgi.REMOTE_USER at the minute but its displaying the Domain also, is there something i can use which will only display the log on ID, or else some way of deleting the domain which is the first 12 characters of the text

Re: Getting UDF's into a custom tag.

2009-09-03 Thread Gerald Guido
However, neither approach (app scope / passing in object) will bite you in the ass so I guess it boils down to how you feel about it. I kinda figured that. Just want some other eyeballs looking at it to make sure I was not missing something stupid. Thanx. I'm curious to know what the udf

RE: Display Windows Log on ID

2009-09-03 Thread Dawson, Michael
Use the listLast() function with / or \ as the delimiter. You may need to use both as the delimiter because both are allowed. mike _ From: Damo Drumm [mailto:damien.dr...@quinn-group.com] Sent: Thu 9/3/2009 8:18 AM To: cf-talk Subject: Display Windows Log on ID Hi Im trying to

Re: Getting UDF's into a custom tag.

2009-09-03 Thread Dominic Watson
That example makes all the difference. Have you used Model Glue? It auto generates a 'helpers' scope and any files in a helpers folder (user defined) get processed and their functions / methods get put in the helpers scope, so: helpers_folder - string.cfm --- function abbreviate()... becomes

Re: Display Windows Log on ID

2009-09-03 Thread Damo Drumm
Cheers Mike That worked perfect Thanks Use the listLast() function with / or \ as the delimiter. You may need to use both as the delimiter because both are allowed. mike _ From: Damo Drumm [mailto:damien.dr...@quinn-group.com] Sent: Thu 9/3/2009 8:18 AM To: cf-talk

Re: Display Windows Log on ID

2009-09-03 Thread Damo Drumm
Cheers Mike That worked perfect Thanks Use the listLast() function with / or \ as the delimiter. You may need to use both as the delimiter because both are allowed. mike _ From: Damo Drumm [mailto:damien.dr...@quinn-group.com] Sent: Thu 9/3/2009 8:18 AM To: cf-talk

Re: Getting UDF's into a custom tag.

2009-09-03 Thread Gerald Guido
OR have the 'helpers' object in the variables struct that you pass Perfect. Thank you sir! G! -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison

CFFILE UPLOAD

2009-09-03 Thread Jenny Gavin-Wear
I'm using cffile to upload .mp3 files (among others). An error is thrown: String index out of range: -1 All other file formats I have tried work fine, does anyone know why mp3 would fail? Thanks, Jenny ~| Want to reach the

Re: Getting UDF's into a custom tag.

2009-09-03 Thread Gerald Guido
And thank you Agha... You suggested that at the beginning. I just needed to think it out and get it straight in my head. Again, thanx all that helped. G! On Thu, Sep 3, 2009 at 9:55 AM, Gerald Guido gerald.gu...@gmail.com wrote: OR have the 'helpers' object in the variables struct that you

Re: Cookie and Browser

2009-09-03 Thread Don L
You cannot read a cookie set in FireFox with Internet Explorer and vice versa. Cookies are browser specific. On Thu, Sep 3, 2009 at 9:07 AM, Don Ldo...@yahoo.com wrote: ... ok, thank you. ~| Want to reach the

RE: CFFILE UPLOAD

2009-09-03 Thread Jenny Gavin-Wear
the weird thing is, the file actually uploads, but still the error ... -Original Message- From: Jenny Gavin-Wear [mailto:jenn...@fasttrackonline.co.uk] Sent: 03 September 2009 14:58 To: cf-talk Subject: CFFILE UPLOAD I'm using cffile to upload .mp3 files (among others). An error is

ColdFusion Client Variables - HITCOUNT

2009-09-03 Thread Bob Hendren
Here's an oldie but a goodie: I long ago drank the Kool-Aid on Client variables being stored in a DB and disabling global client variable updates. No problems there. But I'm just wondering when exactly are HITCOUNT and LVISIT updated in this situation? Is it on the first page of a return

RE: Cookie and Browser

2009-09-03 Thread Jenny Gavin-Wear
IE and Firefox use different directories to store cookies, so they can't see each others. -Original Message- From: Don L [mailto:do...@yahoo.com] Sent: 03 September 2009 14:07 To: cf-talk Subject: Cookie and Browser I'm wondering for coldfusion8 if a cf cookie set for IE7 would be

Re: CFPDF can not flatten liveCycle Forms - so how do you?

2009-09-03 Thread Leigh
From: Arsalan Tariq Keen This code is working fine... That only works for older LiveCycle forms. I believe there were changes in either 8.1 or 8.2(?). Afaik, the only way to flatten the newer forms is to use LiveCycle. -Leigh

Re: ColdFusion Client Variables - HITCOUNT

2009-09-03 Thread Cameron Childress
Since you have turned off global client variable updates, never. On Thu, Sep 3, 2009 at 10:06 AM, Bob Hendrenbhend...@listingware.com wrote: Here's an oldie but a goodie: I long ago drank the Kool-Aid on Client variables being stored in a DB and disabling global client variable updates.  No

RE: Determining CF8's UNIX Account

2009-09-03 Thread brad
Robert, thanks for the additional info. I think some flavors of Unix automatically create a group named the same as the user and set it as the user's primary group. I'm not sure why, but that might be why you have a bunch of groups named after users. Can you try something for me? Change the

RE: Cookie and Browser

2009-09-03 Thread brad
Just to make your head spin-- there is one annoying little caveat to this. Cookies sent to a Flash request in IE will be sent by Flash in FF because the Flash VM shares the same memory space for cookies between browsers. This doesn't bode very well if you need to have a Flash object make a

Re: Cookie and Browser

2009-09-03 Thread Don L
Just to make your head spin-- there is one annoying little caveat to this. Cookies sent to a Flash request in IE will be sent by Flash in FF because the Flash VM shares the same memory space for cookies between browsers. This doesn't bode very well if you need to have a Flash object make a

Re: CFFTP Connection Error

2009-09-03 Thread Tomy Saman
What I discovered is that your FTP get/put file has this attribute: STOPONERROR = No And the file you try to get/put is actually not there but since you set not to stop on error, CF keep going. And too many file not found error kills cfftp and resulting this error.