-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

(This is being redirected to the mailing list. I seem to have a bad habit of 
NOT sending replies to the mailing list =)

> from PSP.PSPFactory import PSPFactory
>
> # This returns the Python class corresponding to MyPSP.psp
> MyPSP = PSPFactory('MyPSP')
>
> class MyServlet(MyPSP):
>       # override methods here...

Oh hey... I like that idea.

If it worked as expected... you could also use it within PSP..:

<%@ page imports = "PSP.PSPFactory:PSPFactory,
Security.SecureMixIn:SecureMixIn" %>
<% SiteLayout = PSPFactory('layouts/SiteLayout.psp') %>

<% page extends = "SecureMixIn,SiteLayout" %>

Maybe add something like:

<%@ page pspimports = "layouts/SiteLayout.psp" %>

Which would do the same as above import/factory... but a little cleaner

I will see what I can do =)

- - --
Luke Holden
eBI Solutions
Main: (949) 387-5182
Email: [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+HeTC3q5xXfLZTQkRAumOAJ9p1dYyYustpNxBjNUIGvATOiFDXACfXgtd
IbE70jzXCtKt4Ed8BNOndhg=
=pR0Y
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to