cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Piroumian" <kpiroum...@apache.org>
Subject Re: extending XSP base call
Date Fri, 30 May 2003 13:17:00 GMT
From: "Geoff Howard" <cocoon@leverageweb.com>
> >Thorsten Mauch wrote:

> >>HI all
> >>I like to add some common methods. As a pure jave programmer
> >>I hate logicsheets ;(
> >>So is it possible to extend the the class XSPGenerator and tell
> >>Cocoon to use this class as a base class for
> >>the XSP ?
> >
> >No. See xsp.xsl
> 
> Would this be a bad feature to add?  It would be a simple xsp:extend
> tag, no?

There's something like this possible in JSP.
I'd suggest to add an attribute like: 
  <xsp:page extends="com.bla.mla.MyClass"/>

Regards,
  Konstantin

> 
> Geoff 
> 
> 

Mime
View raw message