Solved

cfgrid type="xml" not working... or using correctly?

Posted on 2007-04-04
4
379 Views
Last Modified: 2013-12-24
Hi,

I cannot get this to work.  I am using Coldfusion 7.0. Any ideas?
___________________________________________________________

<cfquery name="obtain" datasource="esp">
SELECT #form.querystructure#
FROM tbl_pav2

</cfquery>

<cfform>
<cfgrid format="xml" query="obtain" name="obtain" width="100%" height="700" >
</cfgrid>
0
Comment
Question by:esphelpdesk
  • 3
4 Comments
 

Author Comment

by:esphelpdesk
ID: 18851519
The query has data in it, and works perfectly when I use the applet or the flash format.  Is this a bug in the application?  This is the source code that is returning:



______________________________________________________________________________________






<script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
<script type="text/javascript">
<!--
function _CF_checkCFForm_1(_CF_this)
{
//reset on submit
_CF_error_exists = false;
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;


//display error messages and return success
if( _CF_error_exists )
{
if( _CF_error_messages.length > 0 )
{
// show alert() message
_CF_onErrorAlert(_CF_error_messages);
// set focus to first form error, if the field supports js focus().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }

}
return false;
}else {
return true;
}
}
//-->
</script>














<form name="CFForm_1" action="/reports/rpt_PAV_select_p2.cfm" method="post" onsubmit="return _CF_checkCFForm_1(this)">

















<div><input type="hidden" name="__CFGRID__CFForm_1__obtain" value="" /></div>
</form>

0
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 18852828
not sure but i think you must specify xml as the format for your cfform as well

0
 

Author Comment

by:esphelpdesk
ID: 18859802
No... that isn't it.  I am thinking the tag doesn't work.  I am looking for a confirmation on this.
0
 

Author Comment

by:esphelpdesk
ID: 19315705
I wish to close this ticket.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now