coldfusion

ColdFusion Java Method Not Found Exception

99封情书 提交于 2019-12-23 16:55:51
问题 This problem has been driving me mad. I'm trying to use Java in ColdFusion to create a Document object. When I do this: nd = createObject("java","javax.xml.parsers.DocumentBuilder"); I can dump nd and see that it correctly loaded all the methods: object of javax.xml.parsers.DocumentBuilder Class Name javax.xml.parsers.DocumentBuilder Method / Return Type getDOMImplementation() / org.w3c.dom.DOMImplementation getSchema() / javax.xml.validation.Schema isNamespaceAware() / boolean isValidating()

FaxServer Alternative for Windows Server 2008

為{幸葍}努か 提交于 2019-12-23 16:45:01
问题 To send a fax internally, we have been using the following Coldfusion code to create the object that handles the fax: <cfobject type="COM" action="Create" name="objFaxServer" class="FaxServer.FaxServer.1"> While we are remaining on ColdFusion 8, we are moving our server to Windows Server 2008, which is a 64-bit system. As a result, we are now unable to call COM objects, such as FaxServer, to handle such requests. I'm looking for an internal alternative (no 3rd party like InterFax.net) but I

Working example Coldfusion and Linkedin API [closed]

此生再无相见时 提交于 2019-12-23 16:19:52
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . Has anyone managed to get the LinkedIn API working from within a coldfusion application? There are some threads in the Linkedin Developer's community, but any actual working examples or complete code are missing. In the end I'm looking for a solution to import LinkedIn profiles to our recruitment solution - and

Grabbing long text from SQL Database with ColdFusion, output truncated

被刻印的时光 ゝ 提交于 2019-12-23 16:06:32
问题 I have a SQL database with a ntext field which holds page content. I am using ColdFusion to query the information and deliver it to a form. The form utilises ckeditor for this particular field, the field at present contains around 4000 characters. When looking in the ckeditor window it appears some of the text is missing. However, when I look at the database data the text is not truncated at all; it is completely intact. I thought this might be a character limitation with ckeditor, so I

Coldfusion and Pagination

ぃ、小莉子 提交于 2019-12-23 15:25:04
问题 First I am very new to ColdFusion, but am learning pretty quickly. So I am trying to build a large database that originally displays all results with 25 lines per page and have a next/prev link to navigate through the pages. That all works fine, but when I perform a search, and when the new results display of about a couple of pages worth, the pagination links don't work. When I click on the "next" link it goes back to the original all records display. How can I fix this or what do I need to

Coldfusion CFC Return JSON display in Jquery, how do I handle multiple records from CFC and display in Jquery?

半世苍凉 提交于 2019-12-23 14:49:13
问题 I need a way to grab the json return from coldfusion and display it in jquery I can display the first result fine, but if more that one record comes back I am stuck Here is my cfc <cfquery name="users" datasource="#thedb#"> In this query I can get 1 record to 25 or even more results </cfquery> Here is my out put to jquery, not sure if this is a good way to do this, but.... this is how I handle mutliple records right now. <cfset var user = structNew()/> <cfset thenumber = 1> <cfloop query=

Is there a difference with the HTMLEditFormat function in ColdFusion CF9 versus CF10?

我只是一个虾纸丫 提交于 2019-12-23 14:02:32
问题 I'm seeing a difference in how HTMLEditFormat works in CF9 and CF10. HTMLEditFormat(">") In CF9: showing up as ">" (no difference) In CF10: showing up as "&gt;" (double-escaped, which seems correct to me) I've looked through the CF10 notes and reviewed the HTMLEditFormat documentation, but cannot find any mention of there being a difference in how this function works. Does anyone know of a difference, or know of documentation that proves there is no difference? ...Or know of any other

Can Coldfusion components share methods without being descendants of the same super class

送分小仙女□ 提交于 2019-12-23 13:02:14
问题 We have used a homegrown version of object oriented coldfusion for a while and I'm just starting to experiment with cfc's and how it "should" be done... If I understand correctly, cfinterface defines the signature of functions, and any class that implements that interface must have their own functions to do whats defined in the interface. I'm kind of trying to do the opposite - the interface doesn't just define the function's signature, but also defines the logic of the function and anything

How to call a php function within <script> tag from coldfusion 9

孤街醉人 提交于 2019-12-23 13:01:35
问题 I have this nice big Dev Kit written in PHP, but the application I'm currently developing is in CFML. In an attempt to avoid rewriting the PHP, I'm going to try to just wrap the PHP in CF <script> tags and call the PHP functions when I need them. Does anyone have any idea how to call one of those PHP functions inline in CF? 回答1: There's no built-in way to do this, but using CFGroovy (which allows you to inline any Java Scripting API-compliant language implementation) and Quercus (a PHP

coldFusion jvm Garbage Collection not

五迷三道 提交于 2019-12-23 12:56:15
问题 I have a cfc method that is looping through a list and making a series of SOAP calls via cfhttp. Then inserts the result into a database. The process itself works great the problem is that the java memory slowly fills up and eventually (depending on the number of elements in the records being returned) just stops working. There is no error or anything visible it just stops. If I look at the application log file via the coldfusion admin I see one or both of the following errors: GC overhead