...snip...
c; demo2 - demo6
1. "The following package failed to load: lazwebdata" (there are a
lazwebdata.pas and reglazwebdata.pp files in the demo directory, so
that might be something to use somehow)

No, this is the old package name before it was renamed to lazwebextra. I
will check this.

It seems this is just in the .lpi file, when removed in Lazarus from the project as dependency and removed the .rc line from the project source, then demo2 compiles OK.

However, demo2 does not want to display anything in the grid despite writing out the response into a debug file the data seems to be OK. Not only that, the add/save buttons are working because adding a new record and saving, then refreshing the grid the debug file shows the new record. It just doesn't display anything in the grid here. This is interesting because there are virtually no differences between demo and demo2 .html and .js files.

ROUND 2

a; demo
1. xml is working for the first demo, there was no problem, maybe a reboot helped or something.


b; demo, demo1...demo6
1. minor: In the *.js files iconCls are used a few times, however, there are no 'icon-add', 'icon-delete' and 'icon-save' css parts included (and those are not included in the extjs release either) so background images are not shown for the toolbar buttons.
ex. somewhere there should be a
.icon-add
{
  background:url(/images/add.gif) 0 no-repeat !important;
}
etc. or similar defined to see button images (of course the gifs are also needed)


c; demo6
1. in extgrid.ini is that a real user name and password ;)


I will play further and try to figure out why the grid in demo2 doesn't show anything despite the data replied seems OK both with JSON and XML.

AB

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

Reply via email to