[JBoss JIRA] (JBIDE-13419) Support invocation handler binding extension of Deltaspike
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13419?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-13419:
-----------------------------------
Fix Version/s: 4.2.x
(was: 4.1.x)
> Support invocation handler binding extension of Deltaspike
> ----------------------------------------------------------
>
> Key: JBIDE-13419
> URL: https://issues.jboss.org/browse/JBIDE-13419
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: CDI extensions
> Affects Versions: 4.0.0.Final
> Reporter: Viacheslav Kabanovich
> Assignee: Viacheslav Kabanovich
> Labels: new_and_noteworthy
> Fix For: 4.2.x
>
>
> Objects:
> 1. Binding Annotations - annotation type with @InvocationHandlerBinding.
> 2. Partial Beans - abstract classes and interfaces annotated with a binding annotation.
> 3. Invocation Handlers - classes inplementing InvocationHandler and annotated with a binding annotation.
> Validation rules:
> 1. Class annotated with a binding annotation should be either abstract, or interface, or implement InvocationHandler.
> Error text: "Binding annotation %annotationName% can be applied only to abstract classes, interfaces, and classes implementing InvocationHandler."
> 2. There should be no more than one invocation handler for each binding annotation.
> Error text: "Multiple handlers are found for binding annotation %annotationName%."
> 3. Invocation handler class should be normal-scoped.
> Error text: "Invocation handler class should be a normal-scoped bean."
> 4. Each partial bean should be bound to an invocation handler.
> Error text: "Partial bean %className% should have an invocation handler for binding annotation %annotationName%."
> 5. Deltaspike implementation of the extension reads the first binding annotation on a class and ignores the next ones. Hence, they should be marked with a warning:
> "Binding annotation %annotationName% is ignored because class is already annotated with binding annotation %firstAnnotationName%."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months
[JBoss JIRA] (JBIDE-13630) EL code completion/validation is not working with JSF resource bundles from dependent project
by Alexey Kazakov (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13630?page=com.atlassian.jira.plugi... ]
Alexey Kazakov updated JBIDE-13630:
-----------------------------------
Fix Version/s: 4.2.x
(was: 4.1.x)
> EL code completion/validation is not working with JSF resource bundles from dependent project
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-13630
> URL: https://issues.jboss.org/browse/JBIDE-13630
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF
> Affects Versions: 4.1.0.Alpha1
> Reporter: Alexey Kazakov
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.x
>
>
> 1. Create a JSF 1.2 project: JSFProject
> 2. Create a java project: JavaProject
> 3. Add the resource bundle to the JavaProject/src/demo/labels.properties
> 4. Add some properties to this resource bundle
> 5. Add the following reference to the faces.config:
> {code}
> <resource-bundle>
> <base-name>demo.labels</base-name>
> <var>labels</var>
> </resource-bundle>
> {code}
> 6. Add JavaProject to the classpath of JSFProject
> 7. Open any xhtml file in JSFProject
> 8. Try Ctrl+Space on {code}#{labels.|}{code}
> 9. {color:red}FAILURE:{color} There is no any property available via code assist.
> 10. Move the labels.properties to JSFProject source folder.
> 11. {color:red}FAILURE:{color} Code completion for labels is still not working.
> 12. Edit and save labels.properties (in JSFProject)
> 13. Code completion is working.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 6 months