At 03:34 AM 1/14/2004, Matt Sergeant wrote:

Just put that class as a .pm file in your perl modules directory and it all should "just work".

Hmm. I guess that "just work" part is the trick... I'm trying a very simple test case based on your snippets:


package WAC::TestPage;
use Apache::AxKit::Language::XSP;
use base qw(Apache::AxKit::Language::XSP::Page);
@WAC::TestPage::ISA = ('Apache::AxKit::Language::XSP::Page');
1;

...but I keep getting "Can't locate object method "cache_params" via package . . . " errors when I hit the page. The page itself is equally simple, and works fine if I take out the base-class line in xsp:page.

The part that has me confused is that I get the same error no matter what I put in the base-class line - even gibberish. I wrote a simple .pl script that uses WAC::TestPage and it is found in the include path, so that doesn't seem to be the issue.

Am I missing something? Seems like this should be working... I could really use it, some of my .xsp pages have gotten enormous...

Thanks,
Nate



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to