Ian Bicking [mailto:[EMAIL PROTECTED] wrote:
> There's a little detail (maybe it's documented somewhere, I'm 
> not sure)
> that if you subclass a page, then the PSP file will by 
> default implement
> writeContent instead of writeHTML.  At least, that's what I remember. 
> Having a SitePage is very useful -- I'd recommend making such a class,
> maybe just leaving it empty to start with, and I think that 
> will handle
> your problem.  But this is just from memory, not experience, so send
> another mail if that doesn't work. 

I don't remember any such magic.  I think PSP's always override writeHTML
unless you specify otherwise using <%@ page method="writeContent"%>, no
matter what base class you're using.

If you don't want to have to repeat the same multiple boilerplate lines in
every PSP, then put them into an include file and use <%@ include
file="MyInclude.psp"%>.

- Geoff


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to