hello
 
I tried to do my first taglib with this code:

---------
package Axkit::XSP::GmxTaglib;
use strict;
use Apache::AxKit::Language::XSP;
use Apache::AxKit::Language::XSP::TaglibHelper;

my @ISA = ('Apache::AxKit::Language::XSP');
 
my $NS = "http://www.gmx.net/axkit/gmx";;
my @EXPORT_TAGLIB = ( 'username($customerno)' );
sub username { return "testuser"; } #Gmx->new->get_username( @_ ) }
1;
--------
and I get this error message:

[Mon Jun  3 13:41:40 2002] [error] [client 127.0.0.1] [AxKit] [Error] Can't 
locate object method "register" via package "AxKit::XSP::GmxTaglib" (perhaps 
you forgot to load "AxKit::XSP::GmxTaglib"?) at 
/usr/lib/perl5/site_perl/5.6.1/i586-linux/Apache/AxKit/Language/XSP.pm line 
168.

in my httpd.conf I have this line:
AxAddXSPTaglib AxKit::XSP::GmxTaglib

I checked the sources of Param.pm Taglib and I found nothing special which
is missing in my taglib.

in XSP.pm in line 168 it seems to try to call a "register" method from my 
taglib. do I have to provide a "register" method and if that's the case what
do I have to put in such a method?

markus


-- 
Markus Jais
Software Developer
GMX Aktiengesellschaft
Riesstra�e 17, 80992 M�nchen
Phone: +49 89 14 339-514
mailto:[EMAIL PROTECTED]
http://www.gmx.de




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

Reply via email to