[Lazarus] fpWeb and templates
idokan at gmail.com
Fri Dec 17 14:34:52 CET 2010
Can I load sub template inside the main template ?
LINESIP - Opening the source for communication
On Fri, Dec 17, 2010 at 15:30, Michael Van Canneyt
<michael at freepascal.org>wrote:
> On Fri, 17 Dec 2010, ik wrote:
>> 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.
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Lazarus