>>>>> "Carl" == Carl Franks <[EMAIL PROTECTED]> writes:

Carl> Ok, I've figured out what was going wrong and how to fix it, however
Carl> it's brought up another issue.

Carl> Firstly, my apologies that the code I posted didn't run - it was
Carl> copy-typed from one machine to another.
Carl> The line:
Carl> my $t = CGI::Prototype::Mech->new( protoapp => "One" );
Carl> should have read:
Carl> my $t = CGI::Prototype::Mecha->new( protoapp => "One" );

The problem here is probably one of documentation.  Your protoapp
doesn't exist, that's why it's broken.  It's not One, because Two
doesn't inherit from One.

You need your app, from which your pages inherit.  Then the
display method gets added into the right place.

Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
cgi-prototype-users mailing list

Reply via email to