In fact, i've a JAVA http client.. and i can't put some CF to replace it, cause it works as an Applet on client-side, the CF script on server should be able to read the request containg some XML data.
I finally found the solution, under CF 5, there's the function GetHttpRequestData() that can...
hi..
i made an http client in java, it's able to send a GET or POST request..
my problem is.. when i send a POST request, i'm not able to get the request's body under CF. The body does not contains formfields or things like that.. just some XML data.
when i dump cgi vars, CGI.CONTENT_LENGTH is...
i saw another way on an older post...
what's about that way ? does it work in MX ?
<cfset dsn = "c:\my_dbase.mdb">
<cfquery datasource="#dsn#"
dbtype="OLEDB"
provider="Microsoft.Jet.OLEDB.4.0"
providerdsn="#dsn#"...
hi,
most of these HTML editing component are based on the Microsoft's DHTMLEd component that is included in IE 5.0+ .. for older version it is possible to download the component automaticly.. there's a fully documented SDK you can find at this location...
i just finished a tool that imports and exports XML data to and from a database..
i used the XMLFormat function to export .. i don't know which function to call to get the "normal" text back from my XML file..
You just have to put it in a folder that is not shared..
But if you can't ...
you can put this code in your tag
<cfif CGI.SCRIPT_NAME EQ "/myfolder/mycustomtag.cfm">
<cfbreak>
</cfif>
but the best way would be to put it in a mapped folder that is not shared
hi,
you must know that CFContent will only change the "Content-type" of the HTTP header.
So the problem is client side, you should check if there's no missing component for embedding excel into the browser.
Try also other MIME into CFContent such as "application/msexcel"...
2nd try.. just woke up :) hi,
you must know coldfusion is only a server-side language this means it's processed on the server and there's no way to detect something about the client that is not present in the HTTP header.
To detect any plugin you should use JavaScript or VBScript (IE only). You...
hi,
you must know coldfusion is only a server-side language this means it's processed on the server and there's no way to detect something about the client that is not present in the HTTP header.
To detect any plugin you should use JavaScript ou VBScript (IE only). You can find that kind of...
hi
i just saw you had null value for some data other than string you must put NULL in your query instead of nothing it should solve your problem
SQL = "INSERT INTO turnover VALUES ( '10/21/2002', '3rd Shift', 6, 'None.', 'Outstanding for CA.', 'Sorter 4: Cycle Sorter 11: CA-Paid Sorter 12...
Hi,
You can force the download by using the following line
<cfheader NAME="Content-disposition" VALUE="ATTACHMENT">
it will add the Content-disposition to the HTTP answer that will mention the file must be downloaded. Most of the browser support it.. maybe some old browser...
there is the NumberFormat function to fix it...
NumberFormat(number,mask)
just use it that way
#NumberFormat(myvar,"99999")#
this will not display the decimal part of any number
that's one of the simpliest solution i found and it works in almost all browser (including IE, NS4+, NS6)
<html>
<body>
<div id="loading" style="position:absolute;top:100px;left:300px;">
<!--- Your waiting text or image goes here --->
LOADING PLEASE WAIT...
</div>
<!---...
i didn't try but you could use dhtml to do it ..
use <cfflush> to send your dhtml layer.. and then just set the visibility to "hidden" when the query is completed
Thanks.. i'll try this way..
anyway i saw that there's a way to handle objects under cf under mx.. (cf. http://www.cfobjects.com) .. but i think i'll wait for my MX upgrade before handling objects
Hi all,
i was trying to create some "objects" under <cfscript> to see if cfscript supported it.. and i saw the same way than javascript doesn't work, for exemple :
function createDomNode(name,content) {
this.name = name;
this.content = content;
this.type = ""...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.