The OnGetParam and OnReplaceTag are two totally different ways to handle templates. The former is the original version found in FPC packages, the latter is the newer, more Delphi-like - although enhanced - way to do templates. The two are mutually exclusive and controlled by the AllowTagParams flag (false -> old way, true -> new way).

The fptemplate.txt file under the FPC sources, .../packages/fcl-base/texts/fptemplate.txt might help a little.

All the examples should work, BTW, with the new way, under .../packages/fcl-web/examples/fptemplate/...


AB

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

Reply via email to