gugod,<br><br>It&#39;s my understanding that if you:<br><br>&nbsp; $action = Jifty-&gt;web-&gt;new_action( class =&gt; &#39;AuthenticateOpenID&#39; );<br><br>and a plugin provides an AuthenticateOpenID action, what happens is that class loader builds an application class named:
<br><br>&nbsp; App::Action::AuthenticateOpenID<br><br>that subclasses:<br><br>&nbsp; Jifty::Plugin::OpenID::Action::AuthenticateOpenID<br><br>This was intentional and I&#39;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,  &lt;<a href="mailto:jifty-commit@lists.jifty.org">jifty-commit@lists.jifty.org</a>&gt; 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> &nbsp; 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 &nbsp; (original)
<br>+++ jifty/trunk/lib/Jifty/Plugin/OpenID/Dispatcher.pm &nbsp; Tue Nov 27 01:33:54 2007<br>@@ -20,7 +20,7 @@<br><br>&nbsp;before qr&#39;^/openid/login&#39; =&gt; run {<br> &nbsp; &nbsp; set action =&gt; Jifty-&gt;web-&gt;new_action(<br>- &nbsp; &nbsp; &nbsp; &nbsp;class &nbsp; =&gt; &#39;AuthenticateOpenID&#39;,
<br>+ &nbsp; &nbsp; &nbsp; &nbsp;class &nbsp; =&gt; &#39;Jifty::Plugin::OpenID::Action::AuthenticateOpenID&#39;,<br> &nbsp; &nbsp; &nbsp; &nbsp; moniker =&gt; &#39;authenticateopenid&#39;<br> &nbsp; &nbsp; );<br>&nbsp;};<br>@@ -97,7 +97,7 @@<br> &nbsp; &nbsp; &nbsp; &nbsp; redirect &#39;/&#39;;<br> &nbsp; &nbsp; }
<br><br>- &nbsp; &nbsp;set action =&gt; Jifty-&gt;web-&gt;new_action( class =&gt; &#39;CreateOpenIDUser&#39;, parameters =&gt; { openid =&gt; Jifty-&gt;web-&gt;session-&gt;get(&quot;openid&quot;) } );<br>+ &nbsp; &nbsp;set action =&gt; Jifty-&gt;web-&gt;new_action( class =&gt; &#39;Jifty::Plugin::OpenID::Action::CreateOpenIDUser&#39;, parameters =&gt; { openid =&gt; Jifty-&gt;web-&gt;session-&gt;get(&quot;openid&quot;) } );
<br> &nbsp; &nbsp; set &#39;next&#39; =&gt; Jifty-&gt;web-&gt;request-&gt;continuation ||<br> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Jifty::Continuation-&gt;new( request =&gt; Jifty::Request-&gt;new( path =&gt; &quot;/&quot; ) );<br>&nbsp;};<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>