[fpc-pascal] fptemplate example wrong?

leledumbo leledumbo_cool at yahoo.co.id
Sat Apr 18 07:54:36 CEST 2015


> 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.



More information about the fpc-pascal mailing list