Solved

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

Posted on 2007-04-04
4
408 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

740 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