Gertjan There are several situations where it makes sense to sub-class the standard Cach� classes even if you don't immediately think you'll need to. %CSP.Page is definitely one of them.
Basing your application on a sub-class of %CSP.Page gives you the opportunity in the future to make change globally that you didn't originally anticipate (eg security patches). It's a lot easier if you already have the structure for this in place. Data type classes are my other favourite place for sub-classing, if only because of the non-failsafe default behaviour of %Library.String. Regards George George James Software VC/m - The force of change www.georgejames.com +44-1932-252568 > -----Original Message----- > From: Gertjan Klein [mailto:[EMAIL PROTECTED] > Posted At: 26 August 2004 09:44 > Posted To: Cach� Newsgroup > Conversation: Job command and licenses > Subject: Re: CSP development > > > Matthew Gage wrote: > > [CSP defaulting to application/xhtml+xml] > > >You mean something like subclassing %CSP.Page and overriding the > >CONTENTTYPE parameter. > > Yes, that would do it. I would be nice if you didn't have to > subclass, though, especially in cases where you have no need > for a custom CSP superclass otherwise. But you're right, this > is relatively easy. > > Gertjan. > > -- > Gertjan Klein >
