[jbosstools-issues] [JBoss JIRA] (JBIDE-13630) EL code completion/validation is not working with JSF resource bundles from dependent project

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Jul 8 16:07:20 EDT 2013


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

Alexey Kazakov updated JBIDE-13630:
-----------------------------------

    Description: 
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}
<application>
  <resource-bundle>
  	<base-name>demo.labels</base-name>
  	<var>labels</var>
  </resource-bundle>
  ...
</application>
{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.

  was:
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.


    
> 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}
> <application>
>   <resource-bundle>
>   	<base-name>demo.labels</base-name>
>   	<var>labels</var>
>   </resource-bundle>
>   ...
> </application>
> {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


More information about the jbosstools-issues mailing list