[fpc-pascal] Re: FPWebModule: BeforeResponse event?

2012-03-26 Thread leledumbo
> Implement the OnRequest in ModLayout, where a virtual 'GetContent' is defined that tries the webactions. The descendants either implement webactions, or override getcontent. This could be possible. I just need to link descendant modules' OnRequest to ModLayout's one. ModLayout would be able to

[fpc-pascal] Re: DBTestframework compilation on Win64: no postgres sonnector

2012-03-26 Thread Reinier Olislagers
On 26-3-2012 11:13, Reinier Olislagers wrote: > Trying to compile the db test framework on FPC x64 on windows x64 > C:\Development\fpctrunk\packages\fcl-db\tests>ppcx64 dbtestframework.pas > sqldbtoolsunit.pas(11,17) Fatal: Can't find unit pqconnection used by > SQLDBTools Unit > Fatal: Compilati

[fpc-pascal] DBTestframework compilation on Win64: no postgres sonnector

2012-03-26 Thread Reinier Olislagers
Trying to compile the db test framework on FPC x64 on windows x64 *), I get a missing PostgreSQL connector: C:\Development\fpctrunk\packages\fcl-db\tests>ppcx64 dbtestframework.pas Free Pascal Compiler version 2.7.1 [2012/03/26] for x86_64 Copyright (c) 1993-2012 by Florian Klaempfl and others Tar

Re: [fpc-pascal] FPWebModule: BeforeResponse event?

2012-03-26 Thread michael . vancanneyt
On Sat, 24 Mar 2012, leledumbo wrote: I want to do something like this: A base module (call it ModLayout) writes a header, then a descendant module (say Mod1, Mod2 and so on) writes the inner content, ended by ModLayout writes the footer. With this scenario, the header and footer don't need to