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)
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
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
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
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
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!
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
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/
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!
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
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
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
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
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!
+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
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
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.
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
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?
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
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
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/
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
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
cfif cfdocument.currentpagenumber gt 1
//this does not compute!
/cfif
/cfdocumentitem
Any way around this?
~|
Order the Adobe Coldfusion Anthology now!
cfdocumentitem type=header
Try adding evalatprint
ie
cfdocumentitem type=header evalatprint=true
~|
Order the Adobe Coldfusion Anthology now!
26 matches
Mail list logo