cfdocument not displaying arabic font

2010-10-28 Thread safo 2000
hi, i am trying the following code: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; cfprocessingdirective pageencoding = windows-1256 cfset SetEncoding(form,windows-1256)

Re: cfdocument not displaying arabic font [spamtrap bayes][spamtrap heur]

2010-10-28 Thread Paul Hastings
On 10/28/2010 12:58 PM, safo 2000 wrote: ARABIC TEXT PRINT TEST © ظ„ط ˆ ظ¯ ظ‡ ظپظٹ ط ¬ طˆ ظ„ظ § ط © ظ…ط μ ط¨ ظ… ط § ط¸ ظ†ط getting that w/out cfdocument. don't have that font or more likely your text is not encoded as windows arabic. works fine as

CF 9.0 Schedule Tasks didn't execute.

2010-10-28 Thread Ian Skinner
Schedule tasks that have been running for weeks, months, or years decided not to exectute this week. I can see in the Schedule Task log that they all executed Monday , then somewhere between Tuesday and Wednesday, the entire list just did not execute. For every task I can see it running

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Carl Von Stetten
Rick, I have shared CF variables with JavaScript too. What I usually do is this: If I have to do any processes to define the CF variables, I put them at the top of the document, above the head section. Then, in the head section of my CFM page, I add a cfoutput inside a script tag and pass

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Carl Von Stetten
Rick, I have shared CF variables with JavaScript too. What I usually do is this: If I have to do any processes to define the CF variables, I put them at the top of the document, above the head section. Then, in the head section of my CFM page, I add a cfoutput inside a script tag and pass

Re: CF 9.0 Schedule Tasks didn't execute.

2010-10-28 Thread Claude Schneegans
Any suggestions on anything else I can look at, or what steps I can try? Have you checked the date on the server? It might have been reset to 1998 or so. ~| Order the Adobe Coldfusion Anthology now!

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
Interesting approach, Carl! Haven't thought about that. I'll definitely give that a try! Thanks for the tip! Rick -Original Message- From: Carl Von Stetten [mailto:cmvon...@hotmail.com] Sent: Thursday, October 28, 2010 11:19 AM To: cf-talk Subject: Re: Question about using javascript

Re: Text Similarity Algorithm

2010-10-28 Thread Michele Filannino
You can use my new Similarity Algorithm based on WikipediA (SAWA): http://tinyurl.com/sawa-filannino Try it and say me what do you think! I'd love to try it but got 404'd. You can also use this URL: http://193.204.187.223:8080/sawa/

OT Windows Command line HTTP request

2010-10-28 Thread Ian Skinner
In the simplest manner possible. What ways can one make a Windows DOS Command line HTTP request. TIA Ian ~| Order the Adobe Coldfusion Anthology now!

RE: OT Windows Command line HTTP request

2010-10-28 Thread Andy Matthews
You could check if Curl exists in DOS. Andy -Original Message- From: Ian Skinner [mailto:h...@ilsweb.com] Sent: Thursday, October 28, 2010 11:58 AM To: cf-talk Subject: OT Windows Command line HTTP request In the simplest manner possible. What ways can one make a Windows DOS

Re: OT Windows Command line HTTP request

2010-10-28 Thread Dave Watts
 In the simplest manner possible.  What ways can one make a Windows DOS Command line HTTP request. Use a program like wget or cURL. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA

Re: OT Windows Command line HTTP request

2010-10-28 Thread Ian Skinner
On 10/28/2010 10:00 AM, Dave Watts wrote: Use a program like wget or cURL. Any suggestions for where to get wget? My first search attempts ended up in ancient (1997) ports and broken links. TIA Ian ~| Order the Adobe

Re: OT Windows Command line HTTP request

2010-10-28 Thread Alan Rother
I have the code for doing it in VB Script... Can you use DOS to call a VB Script? URL = http://www.someaddress.com; Set WshShell = WScript.CreateObject(WScript.Shell) Set http = CreateObject(Microsoft.XmlHttp) http.open GET, URL, FALSE http.send set WshShell = nothing set http = nothing

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Michael Grant
I'll +1 that. I generally only use CF to set js vars at the top of the head too. That way your js can stay pure js. On Thu, Oct 28, 2010 at 12:04 PM, Rick Faircloth ric...@whitestonemedia.com wrote: Interesting approach, Carl! Haven't thought about that. I'll definitely give that a try!

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Dave Merrill
+1 On Thu, Oct 28, 2010 at 2:06 PM, Michael Grant mgr...@modus.bz wrote: I'll +1 that. I generally only use CF to set js vars at the top of the head too. That way your js can stay pure js. On Thu, Oct 28, 2010 at 12:04 PM, Rick Faircloth ric...@whitestonemedia.com wrote: Interesting

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
Yes, I definitely like the idea. I didn't like having to mix cf with the js. So, is this as simple as: cfset jsVar = myCFVar and then using jsVar in the js? I haven't tried any of this or even searched for an answerjust being lazy. Example? Rick -Original Message- From: Michael

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Michael Grant
No, more like this cfset jsVar = myCFVar / cfoutput script var jsVar = '#jsVar#'; /script /cfoutput script src=srcJS.js/script On Thu, Oct 28, 2010 at 2:19 PM, Rick Faircloth ric...@whitestonemedia.comwrote: Yes, I definitely like the idea. I didn't like having to mix cf with the js.

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
Alright, good deal. I'll put that to use right away and strip out my CF from the JS from now on. Thanks for the tip, everyone! Rick -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, October 28, 2010 2:30 PM To: cf-talk Subject: Re: Question about using

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
Question: What about using onApplicationStart in application.cfc to set global cf to js variables for the site and using onRequestStart in application.cfc to set specific page cf to js variables for a page. Gives me only one place to change variables. Any drawbacks to that approach?

Re: Question about using javascript in .cfm files...

2010-10-28 Thread Michael Grant
Well the thing is that the js variables need to be part of the DOM. You can your cf vars in both of those functions and then just reference them in your display templates when you set up the js vars. That would also give you a chance to override them on a per page basis. On Thu, Oct 28, 2010 at

RE: Question about using javascript in .cfm files...

2010-10-28 Thread Rick Faircloth
Alright, thanks! -Original Message- From: Michael Grant [mailto:mgr...@modus.bz] Sent: Thursday, October 28, 2010 3:47 PM To: cf-talk Subject: Re: Question about using javascript in .cfm files... Well the thing is that the js variables need to be part of the DOM. You can your cf vars

Re: OT Windows Command line HTTP request

2010-10-28 Thread Leigh
Any suggestions for where to get wget?  My first search attempts ended up in ancient (1997) ports and broken links. Google sent me here. I did not try them, but the files seem pretty recent. http://www.gnu.org/software/wget/

Re: OT Windows Command line HTTP request

2010-10-28 Thread Dave Watts
Any suggestions for where to get wget?  My first search attempts ended up in ancient (1997) ports and broken links. The GNU wget link that Leigh sent is the right one. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned

Re: OT Windows Command line HTTP request

2010-10-28 Thread Dave Watts
I have the code for doing it in VB Script... Can you use DOS to call a VB Script? You can call VBScript programs from a command prompt, using the cscript.exe or wscript.exe commands. Strictly speaking, though, you can't use DOS to call VBScript, because there's no such thing as DOS in Windows

cfdocumentitem type=header

2010-10-28 Thread Tony Bentley
cfdocumentitem type=header cfif cfdocument.currentpagenumber gt 1 //this does not compute! /cfif /cfdocumentitem Any way around this? ~| Order the Adobe Coldfusion Anthology now!

Re: cfdocumentitem type=header

2010-10-28 Thread Leigh
cfdocumentitem type=header Try adding evalatprint ie cfdocumentitem type=header evalatprint=true ~| Order the Adobe Coldfusion Anthology now!