cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <>
Subject [jira] Commented: (COCOON-1268) global variables are not resolved in other component configurations
Date Wed, 14 Feb 2007 07:27:05 GMT


Carsten Ziegeler commented on COCOON-1268:

It's not a bug :)
The component configurations is a per sitemap component configuration like the xconf, therefore
references to input modules (like "global") are not working here. One reason for this is that
an input module might deliver different values on each request (or even each time it's invoked).
Of course this is not acceptable for (static) component configurations.
With newer Cocoon versions, you could use properties instead.

If you agree that this is not a bug, could you please close it? :)

> global variables are not resolved in other component configurations
> -------------------------------------------------------------------
>                 Key: COCOON-1268
>                 URL:
>             Project: Cocoon
>          Issue Type: Bug
>          Components: - Components: Sitemap
>    Affects Versions: 2.1.8
>         Environment: Operating System: other
> Platform: Other
>            Reporter: Jorg Heymans
>         Assigned To: Cocoon Developers Team
> 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>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message