On Tue, 08 Jan 2008 16:39:16 +0100 Joost van der Sluis <[EMAIL PROTECTED]> wrote:
> Op dinsdag 08-01-2008 om 14:29 uur [tijdzone +0100], schreef Joost van > der Sluis: > > Op dinsdag 08-01-2008 om 14:14 uur [tijdzone +0100], schreef Mattias > > Gärtner: > > > Zitat von Joost van der Sluis <[EMAIL PROTECTED]>: > > > > > > > Hi al, > > > > > > > > If you install the fpWeb package, create a new cgi-application > > > > with a TFPWebModule. You can drop a THTMLEntityProducer on that > > > > module. So far so good. Then you can add an OnWritePage event, > > > > but thereafter the program will nog compile anymore, because > > > > you have to add the 'htmlwriter' unit to your uses clause > > > > manually. > > > > > > > > Question is: how can I do this automatically? Thus that when > > > > you drop a THTMLEntityProducer on a module, add the > > > > 'htmlwriter' unit automatically? > > > > > > The IDE should do this automatically. What package installs > > > THTMLEntityProducer? > > > > components/fpweb/weblaz.lpk > > Well, it is. > > Here with me, locally... > > I thought that I already send in the patch to add it to Lazarus. Seems > like I didn't. Attached is the patch. The THTMLEntityProducer is only > for fpc 2.2.3 and above so I added some ifdefs for fpr 2.0.4 and > 2.2.0. Thanks. Added. Mattias _________________________________________________________________ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives