Hi,

WinXP 32, FPC and Lazarus latest SVN checkout.

I was trying to play a little bit with the promising new fcl-web webdata features to see how JSON/EXTJS works with FPC/Lazarus and came up with the following problems in the first demo example

...fpcdir...\packages\fcl-web\examples\webdata\demo\

1. The project source files in there contains a line something like:

{$IFDEF WINDOWS}{$R somethinghere.rc}{$ENDIF}

This gives an error message during compile in Lazarus that the .rc file is not found. When commented out, they compile OK.


2. When loading the extgrid-json.html into my browser, the grid comes up, but only says "No data to display" and the data.xml debug file contains

"{ "success" : false, "message" : "Unknown web data input adaptor name: \"\"" }"

(the CGI program has access to the users.dbf file, in fact this dbf file is regenerated every time the html page is loaded)


3. When loading the extgrid-xml.html , there is a popup error message with the same 'Unknown web data input adaptor name: ""' message. The data.xml debug file has
"
<?xml version="1.0"?>
<dataset success="false">
  <success>false</success>
  <message>Unknown web data input adaptor name: ""</message>
</dataset>
"

in it.

I could not yet figure out what the problem is due to limited time at the moment (2:00AM), any suggestions would be welcomed to find the solution/fix.

Thanks,

AB

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to