You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2004/09/18 11:51:55 UTC
DO NOT REPLY [Bug 31285] New: -
global variables are not resolved in other component configurations
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31285>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=31285
global variables are not resolved in other component configurations
Summary: global variables are not resolved in other component
configurations
Product: Cocoon 2
Version: Current CVS 2.1
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: sitemap components
AssignedTo: dev@cocoon.apache.org
ReportedBy: jh@domek.be
Below does not work. If i change the global variable usage in the redirect-to
with the plain URL then everything works. I'm not sure if this is a bug, but
it's a least counter-intuitive.
<map:component-configurations>
<global-variables>
<LOGON_ENTRY>cocoon://logon.html</LOGON_ENTRY>
</global-variables>
<authentication-manager>
<handlers>
<handler name="pon_auth_handler">
<!-- THIS DOES NOT GET RESOLVED -->
<redirect-to uri="{global:LOGON_ENTRY}"/>
<authentication authenticator="a.b.c.CocoonAuthenticator"/>
</handler>
</handlers>
</authentication-manager>
</map:component-configurations>