[Lazarus] fpWeb and templates
Michael Van Canneyt
michael at freepascal.org
Fri Dec 17 14:30:11 CET 2010
On Fri, 17 Dec 2010, ik wrote:
> Hello,
>
> I'm trying to Create a template that only the content changes inside, like I do with Sinatra
> and Rails, using fpWeb.
>
> In Sinatra for example you have a file called layout.erb that contains the layout, and inside
> there is a yield for the content.
> How can I do the same using fpWeb ?
In much the same way, I expect ?
In an action, configure the template property:
- Set filename
- In the OnReplaceTag event, set the content.
Michael.
More information about the Lazarus
mailing list