You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2012/05/09 02:05:56 UTC

[jira] [Resolved] (GERONIMO-5487) myfaces listener installed in every web app from the tld

     [ https://issues.apache.org/jira/browse/GERONIMO-5487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks resolved GERONIMO-5487.
------------------------------------

    Resolution: Fixed

seems to work, even if not ideal.
                
> myfaces listener installed in every web app from the tld
> --------------------------------------------------------
>
>                 Key: GERONIMO-5487
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5487
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: myfaces, web
>    Affects Versions: 3.0
>            Reporter: David Jencks
>            Assignee: David Jencks
>             Fix For: 3.0
>
>
> Right now the myfaces listener is getting installed in jsf apps by the MyFacesModuleBuilderExtension, which is fine, but it's getting installed (again) in every web app because the global tld scanning finds the myfaces tld which includes it as a <listener> element.
> Ideally I think we would keep the jasper global tld scan from finding this tld unless the app was actually using jsf.  Then the MyFacesModuleBuilderExtension wouldn't need to add the listener "by hand".
> I don't see how to do this at the moment.  So, I'm adding an excludedListenerNames property to JasperModuleBuilderExtension so we can manually exclude the myfaces listener.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira