On Wed, 25 Jan 2006, Peter Speltz wrote:

> Your table less class should inherit from your
> base class.  HTH. Just shoot if you have any more questions. P.S. you
> can google to get the whole discussion from the archives maybe. I
> pulled this out of my mail box.

Peter:

Thanks for your help, I appear to have gotten most of the way.

Unfortunately, whenever is_public is tested against my table less model
class (let's assume it's called MyApp::Default) the is_public fails
because $self->can($action) returns nothing, regardless of the fact that
MyApp::Default looks something like this:

package MyApp::Default;
use base 'MyApp::Model::CDBI';

sub action_name : Exported
{
    my ( $self, $r ) = @_;

    $r->{template} = 'home';
}

1;

I somewhat assume that my table less class is not inheriting properly from
my base class.  Would you be able to provide me an example of how to do
this?


Thanks!

Matt
--
Matt Adams <[EMAIL PROTECTED]>


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to