<CFGRID> Tag - ColdFusion
>> Return to ColdFusion Tag Index
<CFGRID> Comments from Macromedia LiveDocs
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
I found a specific solution on Adobe's website, but since their website was down, i viewed it through the Google Cache... I tested it and it works. Here it is:
http://www.adobe.com/go/96d12f19
And the actual text if you also can't reach Adobe's website.
To avoid the issue, edit thecf_root/lib/neo-runtime.xml file and change the following:
<var name='CFFormCodeBaseUrl'><string>http://java.sun.com/products/
plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0</string></var>
to:
<var name='CFFormCodeBaseUrl'><string>https://java.sun.com/</string></var>
This will have no effect on non-SSL requests as https://java.sun.com/ is a valid Sun URL to load the Java Plug-in.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
This is the solution. We added the parameter and everything works fine now.
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19418
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
Coldfusion always generates the code below for cftree (applet) and cfgrid
codebase="http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0"
which when used on a encrypted site forces a dialog box to appear stating that the page contains non-secure items.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
If a row has no changes, it is not in the array.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
With this statement Form.employee_grid.rowstatus.action you can loop and know which rows were delete, updated, or inserted. But if there a way to know which rows remain the same, the rows that the user did not edit, insert, or delete??
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
How does someone select the first index of a cfgrid, code-wise? Meaning, I want to have a preselected value on the grid when the page loads.
Thanks
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
I couldn't find it in our bug database. Can you please report it through http://www.macromedia.com/support/email/wishform/main.cgi, along with a reproducible case?
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
hi there ,
I am trying to insert a row in a table, with one field that gets its data from the application and not by the user....
I am looking for a "default value" in the cfgridcolumn tag, but with no luck.
Specifying only one value in the "values" list displays the value for each existing row, but not for an inserted one...
Any idea?
thanks!
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
When closing a cfgridcolumn tag the proper way " />" the column displays twice. Is this a known issue?
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
I am trying to find a direct way to assign a variable from a grid displayed through cfgrid when selectMode="browse", and the highlight bar is on a particular row. I have tried using #GridName#.#columnName#, etc. but to no avail. Any suggestions would be much appreciated!
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
It would be nice if autowidth did a 'best fit' on the columns - including the row headers.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
Setting SORT to NO doesn't stop the user sorting the data by clicking on a column header. It just stops the sort buttons appearing.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
Ive had loads of problems with having two grids on the same page. I think ive solved the problem by putting the second grid in an IFrame on the first page, so they display together but are actually on different pages. Ive had very inconsistant results with different versions of the java VM as well. Can anyone tell me the best version to use?
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
Watch out -- you can't put more than one of these on a page without them messing up -- scrollbars disappear, grids blank out, etc. I talked with a coulple of Macromedia tech support guys about this. It's a known problem that they aren't going to fix.
LiveDocs Comments - coldfusion - 6.1 - htmldocs - tags-p46.htm
ColdFusion uses 5 ASCII characters to separate the cfgrid data: SEPARATOR, COLUMN_DESCRIPTOR_SEPARATOR, COLUMN_SEPARATOR, ROW_SEPARATOR, NULL. These are the same separators for all of the applets in CF (CFTREE, CFGRID, CFSLIDER, and CFTEXTINPUT)
Here is a js function that has them defined and a sample of using one of them.
<script language="JavaScript">
function validationFunction(a,b,c){
var SEPARATOR = String.fromCharCode(2);
var COLUMN_DESCRIPTOR_SEPARATOR = String.fromCharCode(1);
var COLUMN_SEPARATOR = String.fromCharCode(2);
var ROW_SEPARATOR = String.fromCharCode(1);
var NULL = String.fromCharCode(3);
//split the string by the separator
alert( c.split(SEPARATOR) );
return false;
}
</script>
[Top]
Recommended Books
COLDFUSION MX Web Application Construction Kit (5th Edition)
Authors: Ben Forta and Nate Weiss
1500 pages
[Top]
Web Sites
Macromedia
The makers of ColdFusion/ColdFusion MX.
ColdFusion Developer's Journal
Forta.com (ColdFusion Section)
Ben Forta is Macromedia's Senior Technical Evangelist. Here on his site find useful ColdFusion information.
Flash CFM
Flash and ColdFusion Development.
Handling file uploads without CFFILE
BLOG post by "Sam" on REWINDLIFE.COM gives insight into how to upload a file on your site if you are not allowed to use the CFFILE tag.
[Top]
Copyright © 2003- 2008, Orville Paul Chomer, All Rights Reserved
Home Page
Blog
How To
Chomer TV
The Show
Webcam Videos
Freeware
•
VB Mahjongg
Coding
•
ColdFusion
•
Javascript
•
Visual Basic
Other Places
Acoustic Eidolon
History Singers
Scobleizer
Beach Walks
Freshtopia
CSS Zen Garden