Re: CFPDF can not flatten liveCycle Forms - so how do you?
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 with form created in Adobe LiveCycle 8.0 It's actually the setFormFlattening property which performs flattening. You need to set it TRUE. I hope this helps. cfset inputFile = c:\path to my source form\myform.pdf cfset OutputFile1 = c:\path to my output file unflattened\out1.pdf cfset OutputFile2 = c:\path to my output file flattened\out2.pdf cfscript savedErrorMessage = ; // cfSearching: All file paths are relative to the current directory fullPathToInputFile = inputFile; fullPathToOutputFile1 = OutputFile1; fullPathToOutputFile2 = OutputFile2; try { // we create a reader for a certain document pdfReader1 = createObject(java, com.lowagie.text.pdf.PdfReader).init(fullPathToInputFile); //cfSearching: fill in the form fields but do not flatten the form outputStream1 = createObject(java, java.io.FileOutputStream).init(fullPathToOutputFile1); pdfStamper1 = createObject(java, com.lowagie.text.pdf.PdfStamper).init(pdfReader1, outputStream1); form1 = pdfStamper1.getAcroFields(); //Populating Form Fields //form1.setField(formfield1, value1); //form1.setField(formfield2, value2); //Flatening the form parameter - keeping it value false will not flaten the form pdfStamper1.setFormFlattening(false); //cfSearching: fill in the form fields AND flatten the form pdfReader2 = createObject(java, com.lowagie.text.pdf.PdfReader).init(fullPathToInputFile); outputStream2 = createObject(java, java.io.FileOutputStream).init(fullPathToOutputFile2); pdfStamper2 = createObject(java, com.lowagie.text.pdf.PdfStamper).init(pdfReader2, outputStream2); form2 = pdfStamper2.getAcroFields(); //Populating form fileds for fomr2 //form2.setField(form2field1, myValue); //form2.setField(form2field2, myValue2); //Flatening the form parameter - keeping it value true will flaten the form pdfStamper2.setFormFlattening(true); WriteOutput(Finished!); } catch (java.language.Exception de) { savedErrorMessage = de; } // cfSearching: close the stamper and output stream objects pdfStamper1.close(); outputStream1.close(); pdfStamper2.close(); outputStream2.close(); /cfscript Regards, Arsalan -- From: Brook Davies cft...@logiforms.com Sent: Wednesday, September 02, 2009 9:52 PM To: cf-talk cf-talk@houseoffusion.com Subject: RE: CFPDF can not flatten liveCycle Forms - so how do you? Come on Arsalan, you say then let me tell you ... it's not much of a big deal :) you can use iText java So then, please do tell me, or show me the code that makes this possible? Brook -Original Message- From: Brook Davies [mailto:cft...@logiforms.com] Sent: September-01-09 1:49 PM To: cf-talk Subject: RE: CFPDF can not flatten liveCycle Forms - so how do you? It does not seem to be possible to do flatten XFA forms, even directly via itext. We've tried -Original Message- From: Arsalan Tariq Keen [mailto:arsalk...@hotmail.com] Sent: September-01-09 4:28 AM To: cf-talk Subject: Re: CFPDF can not flatten liveCycle Forms - so how do you? if you people are concerned about flattening LiveCucle Forms (xml based pdf forms) using coldfusion ... then let me tell you ... it's not much of a big deal :) you can use iText java library pre-installed with CF (Adobe CF/Railo/Bluedragon) directly for this purpose :) Regards, Arsalan -- From: Paul Hastings p...@sustainablegis.com Sent: Tuesday, September 01, 2009 3:58 PM To: cf-talk cf-talk@houseoffusion.com Subject: Re: CFPDF can not flatten liveCycle Forms - so how do you? might ask on the iTex list, it will be amusing anyway. ~| 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:325971 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting UDF's into a custom tag.
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 specific, my preference would be to pass in a reference to the object. 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'm curious to know what the udf is and what the custom tag is doing though, perhaps there is a more sensible approach that bypasses the dilemma alltogether. Dominic 2009/9/2 Gerald Guido gerald.gu...@gmail.com I have a custom tag to display my views, basically an encapsulated cfinclude, and I have a cfm that holds a set of common utility functions (I am debating whether or not to put them into a CFC). What would be the best way(s) to make the UDF's available in side the custom tags? Put them in a struct and pass them in as a variable? Put them in the application or the request scope? Any thoughts on the matter? As always, many TIA. G? -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| 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:325972 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Cookie and Browser
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? ~| 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:325973 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Determining CF8's UNIX Account
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 command reports that user foo is in three groups: foo, alpha and beta. Notice that there is a group named foo. The group beta has rwx access on the offending folder and the user foo is in the group beta. drwxrwxr-xbeta beta Jun 23 14:22 offending_folder To further confuse things, there's a user account called beta. Don't ask me why this was set up like this. I had the application echo the target folder where it would write the uploaded file and it is exactly where it should be pointing: the offending folder. This is a local mount. We can access the file system from our Windows workstations via Samba/Windows Shares. The exact same code works fine on our test server. But, permissions/users/groups are somewhat different. Just as a test, I changed the permissions on the offending folder from rwxrwxr-x to rwxrwxrwx and the app works just fine. We see the uploaded file in the directory listing. Therefore, whatever account CF is running under, it is not seen as owner or part of the accessible group with write permissions. Wait a minute now, Robert Nurse is the OP. I think Rick was just chiming in with his config... Robert said CF has been starting with a user called foo however he also said they have been starting CF manually as well. Robert, we need you to be more specific. Does the file write work when you start it manually? When you start CF manually, _how_ are you starting it? Like, what specifically do you run from the command line to start it. If you you are running a bash script that has the foo user inside it then it is running under foo. If you are directly invoking Jrun, then it is using your current user. Can you please grep the process list and find out. We can only make wild assumptions until then. And lest we get carried away on grepping and psing, can you back up a little and confirm that the directory you are trying to write in is actually the location you think you are using? If you are using expand path or a relative path, you may be actually pointing somewhere else and not be realizing it. Also, is this on a local mount? Writes to Samba shares to a file server introduce a new level of permission problems. Tell us, has this code ever worked, or did it just now stop working? I would step through the code and figure out if you are really writing where you think you are, and chmod the folder to 777 just to see and take small steps. You've got to systematically eliminate your problems. I still think there's a chance you might be pointed at the wrong directory if there is no exception being thrown. ~Brad Yup, that's your issue. Either chmod -R 777 on the dir where you want to save files (maybe not so good) or change that line to RUNTIME_USER=foo and you should be on your way! If you do change the RUNTIME_USER ensure your other dirs have correct permissions too or you will have bigger problems! I am running Coldfusion 7 Standard under CentOS Linux This line is in /etc/init.d/coldfusionmx7 RUNTIME_USER=nobody Rick ~| 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:325974 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cookie and Browser
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 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? ~| 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:325975 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Display Windows Log on ID
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 Thanks ~| 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:325976 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Display Windows Log on ID
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 Thanks ~| 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:325977 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Getting UDF's into a custom tag.
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 is and what the custom tag is doing though, perhaps there is a more sensible approach that bypasses the dilemma alltogether. It is just a collection of utility func's for misc chores like creating SES urls, creating zebra stripes etc. Like I said, I am not sure if I want to put them in a CFC at this juncture. I am not sure what that would buy me. The custom tag is (literally) just a glorified cfinclude, except that it is encapsulated so the variables and queries that you pass it stay in Vegas, as it were. So you can have multiple includes on a view and there won't be any cross talk. cf_include template = views/whatever.cfm variables=#MyStrcut# query=#get_whatever# 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 specific, my preference would be to pass in a reference to the object. Interesting. I hadn't considered that. It is part of a larger methodology that would be used in many apps so I would want to keep them separate from the tags. Although they would be used in the views most of the time, but you never know. Maybe I could include the UDF in the custom tag. Another thing I did not think of. I am just thinking out loud, trying to think things through and I thought I would solicit other ppl's opinions. Thanx for the help. Much appreciated. G! On Thu, Sep 3, 2009 at 4:27 AM, Dominic Watson watson.domi...@googlemail.com wrote: 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 specific, my preference would be to pass in a reference to the object. 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'm curious to know what the udf is and what the custom tag is doing though, perhaps there is a more sensible approach that bypasses the dilemma alltogether. Dominic -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| 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:325978 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Display Windows Log on ID
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 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 Thanks ~| 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:325979 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting UDF's into a custom tag.
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 helpers.string.abbreviate(). The helpers scope is then available to any views and controller methods - pretty neat. Anyways, doing what you are doing I would have like: cf_include template = views/whatever.cfm variables=#MyStrcut# helpers=#helpers# query=#get_whatever# OR have the 'helpers' object in the variables struct that you pass. In this example I almost certainly would not put the UDFs in the custom tag as your tag is really a framework type thing and not a standalone tag to be plugged in any place. Putting all the udfs into a component can have the benefit of being app scoped and so not processed every request. This can be done without the udfs being in a component, but is more of a faff I think. HTH Dominic 2009/9/3 Gerald Guido gerald.gu...@gmail.com 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 is and what the custom tag is doing though, perhaps there is a more sensible approach that bypasses the dilemma alltogether. It is just a collection of utility func's for misc chores like creating SES urls, creating zebra stripes etc. Like I said, I am not sure if I want to put them in a CFC at this juncture. I am not sure what that would buy me. The custom tag is (literally) just a glorified cfinclude, except that it is encapsulated so the variables and queries that you pass it stay in Vegas, as it were. So you can have multiple includes on a view and there won't be any cross talk. cf_include template = views/whatever.cfm variables=#MyStrcut# query=#get_whatever# 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 specific, my preference would be to pass in a reference to the object. Interesting. I hadn't considered that. It is part of a larger methodology that would be used in many apps so I would want to keep them separate from the tags. Although they would be used in the views most of the time, but you never know. Maybe I could include the UDF in the custom tag. Another thing I did not think of. I am just thinking out loud, trying to think things through and I thought I would solicit other ppl's opinions. Thanx for the help. Much appreciated. G! On Thu, Sep 3, 2009 at 4:27 AM, Dominic Watson watson.domi...@googlemail.com wrote: 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 specific, my preference would be to pass in a reference to the object. 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'm curious to know what the udf is and what the custom tag is doing though, perhaps there is a more sensible approach that bypasses the dilemma alltogether. Dominic -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| 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:325980 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Display Windows Log on ID
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 Subject: Display Windows Log on ID 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 Thanks ~| 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:325981 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Display Windows Log on ID
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 Subject: Display Windows Log on ID 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 Thanks ~| 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:325982 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting UDF's into a custom tag.
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 ~| 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:325983 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
CFFILE UPLOAD
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 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:325984 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Getting UDF's into a custom tag.
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 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 -- Gerald Guido http://www.myinternetisbroken.com To invent, you need a good imagination and a pile of junk. -- Thomas A. Edison ~| 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:325985 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Cookie and Browser
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 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:325986 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: CFFILE UPLOAD
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 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 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:325987 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ColdFusion Client Variables - HITCOUNT
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 visit? If so, exactly how does CF determine a 'return' visit? ~| 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:325988 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cookie and Browser
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 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? ~| 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:325989 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFPDF can not flatten liveCycle Forms - so how do you?
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 ~| 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:325990 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: ColdFusion Client Variables - HITCOUNT
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 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 visit? If so, exactly how does CF determine a 'return' vis ~| 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:325991 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Determining CF8's UNIX Account
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 owning group of that folder to the PRIMARY group for your foo user (use the GID in the /etc/passwd file), OR change the foo user's primary group to beta. According to Sun's docs, the group only applies for users who have that group as their primary group. foo user has beta group as a secondary group, but I think it is being ignored for file permissions since foo users primary group is foo which doesn't have any ownership to that folder. http://docs.sun.com/app/docs/doc/801-6628/6i108op89?l=zh_twa=view Setting Up Groups Section Some applications, like the file system, look only at the user's primary group. For example, ownership of files accounting data reflect the primary group, not any secondary groups. ~Brad Original Message Subject: Re: Determining CF8's UNIX Account From: Robert Nurse rnu...@gmail.com Date: Thu, September 03, 2009 8:09 am To: cf-talk cf-talk@houseoffusion.com Ok, we start CF manually with the command: ./jrun -nohup -start -childVM foo ~| 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:325992 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Cookie and Browser
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 request to a page secured by a login using cookies for authentication in any browser other than IE. http://swfupload.org/forum/generaldiscussion/383 ~Brad Original Message Subject: Re: Cookie and Browser From: Don L do...@yahoo.com Date: Thu, September 03, 2009 8:56 am To: cf-talk cf-talk@houseoffusion.com 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 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:325993 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Cookie and Browser
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 request to a page secured by a login using cookies for authentication in any browser other than IE. http://swfupload.org/forum/generaldiscussion/383 ~Brad Thank you for your input, Brad, 'fortunately' I'm not using Flash for login/security stuff... ~| 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:325994 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CFFTP Connection Error
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. ~| 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:325995 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4