gugod,<br><br>It's my understanding that if you:<br><br> $action = Jifty->web->new_action( class => 'AuthenticateOpenID' );<br><br>and a plugin provides an AuthenticateOpenID action, what happens is that class loader builds an application class named:
<br><br> App::Action::AuthenticateOpenID<br><br>that subclasses:<br><br> Jifty::Plugin::OpenID::Action::AuthenticateOpenID<br><br>This was intentional and I've been meaning to go back in and alter the way plugins provide models to mirror this. Is there a problem with this behavior?
<br><br>Cheers,<br>Andrew<br><br><div class="gmail_quote">On Nov 27, 2007 12:33 AM, <<a href="mailto:jifty-commit@lists.jifty.org">jifty-commit@lists.jifty.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Author: gugod<br>Date: Tue Nov 27 01:33:54 2007<br>New Revision: 4545<br><br>Modified:<br> jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm<br><br>Log:<br>Unbreak OpenID plugin with new Jifty::API implementation.<br><br>
Give fully-qualified action class name here because Jifty::API does<br>not resolve action class names to those ones provided by plugins<br>(those under Jifty::Plugin::*::Action namespace) This is maybe a<br>bug, but need further discussion.
<br><br><br>Modified: jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm<br>==============================================================================<br>--- jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm (original)
<br>+++ jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm Tue Nov 27 01:33:54 2007<br>@@ -20,7 +20,7 @@<br><br> before qr'^/openid/login' => run {<br> set action => Jifty->web->new_action(<br>- class => 'AuthenticateOpenID',
<br>+ class => 'Jifty::Plugin::OpenID::Action::AuthenticateOpenID',<br> moniker => 'authenticateopenid'<br> );<br> };<br>@@ -97,7 +97,7 @@<br> redirect '/';<br> }
<br><br>- set action => Jifty->web->new_action( class => 'CreateOpenIDUser', parameters => { openid => Jifty->web->session->get("openid") } );<br>+ set action => Jifty->web->new_action( class => 'Jifty::Plugin::OpenID::Action::CreateOpenIDUser', parameters => { openid => Jifty->web->session->get("openid") } );
<br> set 'next' => Jifty->web->request->continuation ||<br> Jifty::Continuation->new( request => Jifty::Request->new( path => "/" ) );<br> };<br>_______________________________________________
<br>Jifty-commit mailing list<br><a href="mailto:Jifty-commit@lists.jifty.org">Jifty-commit@lists.jifty.org</a><br><a href="http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-commit" target="_blank">http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-commit
</a><br></blockquote></div><br>