[jbosstools-issues] [JBoss JIRA] (JBIDE-8280) Content assist for JSF 2 should not add managed beans annotated with @ManagedBean when faces-config at metadata-complete="true" in WEB-INF/faces-config.xml

Isaac Rooskov (JIRA) jira-events at lists.jboss.org
Sun Apr 22 18:23:18 EDT 2012


     [ https://issues.jboss.org/browse/JBIDE-8280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Isaac Rooskov updated JBIDE-8280:
---------------------------------

    Release Notes Docs Status: Documented as Feature Request
                       Writer: irooskov
           Release Notes Text: 
JavaServer Faces 2 has been updated with a new feature called metadata-complete. The metadata-complete attribute defines whether the JSF application is complete and the class files available to and packaged with this application should be examined for configuration annotations. If metadata-complete is not
specified or is set to a value of false, the JavaServer Faces runtime must examine the class files of the application
for annotations, as specified by the specification.

    
> Content assist for JSF 2 should not add managed beans annotated with @ManagedBean when faces-config at metadata-complete="true" in WEB-INF/faces-config.xml
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-8280
>                 URL: https://issues.jboss.org/browse/JBIDE-8280
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: JSF
>    Affects Versions: 3.2.0.CR1, 3.3.0.M1
>            Reporter: Denis Golovin
>            Assignee: Viacheslav Kabanovich
>              Labels: jsf2, new_and_noteworthy
>             Fix For: 3.3.0.M3
>
>
> According faces-config 2.0 scheme:
> "Attribute : metadata-complete
> The metadata-complete attribute defines whether this JavaServer Faces application is complete, or 
>  whether the class files available to this module and packaged with this application should be examined 
>  for annotations that specify configuration information. This attribute is only inspected on the application 
>  configuration resource file located at "WEB-INF/faces-config.xml". The presence of this attribute on any 
>  application configuration resource other than the one located at "WEB-INF/faces-config.xml", including any 
>  files named using the javax.faces.CONFIG_FILES attribute, must be ignored. If metadata-complete is set 
>  to "true", the JavaServer Faces runtime must ignore any annotations that specify configuration 
>  information, which might be present in the class files of the application. If metadata-complete is not 
>  specified or is set to "false", the JavaServer Faces runtime must examine the class files of the application 
>  for annotations, as specified by the specification. If "WEB-INF/faces-config.xml" is not present, the 
>  JavaServer Faces runtime will assume metadata-complete to be "false". The value of this attribute will 
>  have no impact on runtime annotations such as @ResourceDependency or @ListenerFor.
> Data Type : boolean
> Enumerated Values : 
> 	- true
> 	- false"

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

        


More information about the jbosstools-issues mailing list