[jbosstools-issues] [JBoss JIRA] Updated: (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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Aug 16 19:39:24 EDT 2011


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

Alexey Kazakov updated JBIDE-8280:
----------------------------------

    Labels: jsf2 new_and_noteworthy  (was: jsf2)


> 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: Alexey Kazakov
>              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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list