[fpc-devel] fpWeb recursive tag replace

Leonardo M. Ramé martinrame at yahoo.com
Tue Jun 8 01:40:21 CEST 2010


Hi, when I use html templates with tags that contains inner tags, the ReplaceTag event is fired only once, for the 1st order tag, but not for the inner tags.
Example, a home page containing a header (a tag) and a body which contains another tag like, for example {+search_form+}. The search_form tag, also contains some {+tags+} to be replaced by the main program.
Is there an "official" way to handle this use case?

Leonardo M. Ramé

http://leonardorame.blogspot.com




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100607/34646698/attachment.html>


More information about the fpc-devel mailing list