You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by "Gregor J. Rothfuss" <gr...@apache.org> on 2003/06/05 14:30:30 UTC
hardcoded publication_id in login
<map:resources>
<!-- FIXME: Factor out to root sitemap -->
<map:resource name="login">
<map:generate type="serverpages" src="../../content/ac/login.xsp"/>
<map:transform src="../../xslt/ac/login.xsl">
<map:parameter name="publication_name" value="UniCMS Publication"/>
<map:parameter name="publication_id" value="lenya-unicms"/>
</map:transform>
<map:serialize type="html"/>
</map:resource>
</map:resources>
why do we have to hardcode the publication_id in the login procedure?
--
Gregor J. Rothfuss
Wyona Ltd. - Open Source Content Management - Apache Lenya
http://wyona.com http://cocoon.apache.org/lenya
gregor.rothfuss@wyona.com gregor@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: hardcoded publication_id in login
Posted by Michael Wechner <mi...@apache.org>.
Gregor J. Rothfuss wrote:
> <map:resources>
> <!-- FIXME: Factor out to root sitemap -->
> <map:resource name="login">
> <map:generate type="serverpages" src="../../content/ac/login.xsp"/>
> <map:transform src="../../xslt/ac/login.xsl">
> <map:parameter name="publication_name" value="UniCMS Publication"/>
> <map:parameter name="publication_id" value="lenya-unicms"/>
> </map:transform>
> <map:serialize type="html"/>
> </map:resource>
> </map:resources>
>
> why do we have to hardcode the publication_id in the login procedure?
The solution is that the names should not be publication_name and
publication_id, but rather authenticator_name and authenticator_id.
Another thing to fix is that these names should be set only once within
the component section.
but it's wip ...
Thanks
Michael
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org