- see footer for list info -<
Niklas Richardson wrote:

- see footer for list info -<
Is this error caused by doing a listgetat(mylist, 1) when the list
doesn't have a first element?

As Alex said, is there something in application.cfm/.cfc or a config
file that is looking for something in a list?
Well I've cut everything back to :

Application.cfm
<cfapplication name="mine" sessionmanagement="yes">

test.cfm
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
   <title>Mutiple Selects Related Example</title>
</head>

<body>
<cfform method="post" enctype="application/x-www-form-urlencoded" name="thisForm" preloader="yes" format="flash" height="500" width="400" skin="haloorange">
   <cfformitem type="script">
   function currencyDisplay():Void{
var connection:mx.remoting.Connection = mx.remoting.NetServices.createGatewayConnection("http://test.xxxxxx.co.uk/flashservices/gateway/?";);
       var myService:mx.remoting.NetServiceProxy;
       var responseHandler = {};
responseHandler.onResult = function( results: Object ):Void {
           //when results are back, do something
           _root[results.returnField].text = results.numberstring;
       }
responseHandler.onStatus = function( stat: Object ):Void {
           //if there is any error, show an alert
           alert("Error while calling cfc:" + stat.description);
       }

myService = connection.getService("xxxxx.orders.OrderForm", responseHandler );
       myService.currencyFormat(thisValue.text,"DisplayField");
   }
   </cfformitem>
   <cfformgroup type="panel" visible="yes" enabled="yes">
   <cfinput type="text" name="thisValue" size="20" visible="true">
<cfinput type="button" name="View" value="View" onclick="currencyDisplay()">
   <cfinput type="text" name="DisplayField" size="20" visible="true">
   </cfformgroup>
</cfform>
</body>
</html>

The Application.cfm make sure I'm not picking up anything I shouldn't be and the example is simple enough to ensure that it not code related. Trying this on my server it runs correctly. On the client's server I get the "Invalid List index 1." error.

Both servers are using Sun's J2SDK 1.4.2_08, both are on windows 2003 and both are updated to 7,0,1,116466 and both are standard servers.

I did have a physical /flashservices/gateway directory structure, but I've deleted that and still get the same "Invalid List index 1." error.

Stephen
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to