Hello everyone.
I'm trying to understand how fpweb works.
At the moment I have created an HTTPserver application connected to a TDBF table.
Using an HTMLEntityProducer and an HTMLDatasetFormGridProducer in which I defined two controls (one per column in the table) I can see the data of one column but not the second.
Can you explain why or refer me to a manual or a complete CRUD example based on HTTPserver? (no CGI)
Thanks so much
procedure TFPWebModule1.HTMLEntityProducer1WriteEntity(
Sender: THTMLContentProducer; aWriter: THTMLWriter);
begin
with aWriter do
begin;
startHeader;
Meta('','Content-Type','text/html; charset=ISO-8859-1');
title('Mia Pagina');
EndHeader;
Startbody;
paragraph('Un po di testo');
HTMLDatasetFormGridProducer1.WriteContent(aWriter);
end;
end;