> but it didn't work in my program. 

The example works just fine with embedded server, only need to adjust path
to the template. So you might want to send a minimal example that shows it
doesn't work as you describe.

> It turns out that the correct OnReplaceTag event to assign is the one of 
> the module itself and not of ModuleTemplate, i.e.:

There's on OnReplaceTag in TFPWebModule...

It's very likely that you misunderstood fpWeb application flow.



--
View this message in context: 
http://free-pascal-general.1045716.n5.nabble.com/fptemplate-example-wrong-tp5721613p5721614.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to