Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: working with Cold Fusion
iz
Junior Member

Posts: 2
Registered: 7/25/2003
Member Is Offline
posted on 7/25/2003 at 05:43 AM Reply With Quote
working with Cold Fusion


Just bought tables Pro. Need to know if there is a way to make it work with Cold Fusion. I see the record set is to be included in table.cont0.js. Unfortunately coldfusion needs a .cfm file so that the cfquery tag can be used to generate the content dynamically from our database. For example, create a list of all our customers and filter results by state, city and zip. How can this work??
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 7/25/2003 at 07:55 AM Reply With Quote

JavaScript files don't need to have *.js extension. That's why table.cont0.js can be easily renamed to table.cont0.cfm. But don't remember to write properly link to this file on the page where tables are built.
View User's Profile View All Posts By User U2U Member
iz
Junior Member

Posts: 2
Registered: 7/25/2003
Member Is Offline
posted on 7/25/2003 at 03:13 PM Reply With Quote

Any chance of an example? I tried this, but doesn't work.
<script language="JavaScript" src="ttp_files/table.js"></script>
<script language="JavaScript" src="ttp_files/table.tpl0.js"></script>
<!--- The cfinclude tag links the file to this page ---> <cfinclude template="ttp_files/table_content.cfm">
<SCRIPT LANGUAGE="JavaScript">
Ttable_init(TABLE_CAPT0, TABLE_CONTENT0, TABLE_LOOK0);
</SCRIPT>

When I run just the query file, copy and paste the results into a js file and link the js file, it works fine, but it won't take the cfm file include.
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Simple
XP-styled
3D designed
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004