[jbosstools-issues] [JBoss JIRA] (JBIDE-10393) Resource bundle varible not getting resolved in xhtml editor

Max Rydahl Andersen (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 8 04:33:40 EST 2011


    [ https://issues.jboss.org/browse/JBIDE-10393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12649130#comment-12649130 ] 

Max Rydahl Andersen commented on JBIDE-10393:
---------------------------------------------

My thinking is he did not install the jboss tools maven integration - just the abridged tools which in M4 did not include Maven; in M5 it does/will.

Vimal - please install JBoss Maven integration form the updatesite you should then get all the needed plugins and the configuration should "just work".

You might need to right click on your project and choose Maven > Update Project Configuration to trigger the first setup.
                
> Resource bundle varible not getting resolved in xhtml editor
> ------------------------------------------------------------
>
>                 Key: JBIDE-10393
>                 URL: https://issues.jboss.org/browse/JBIDE-10393
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: JSF, maven
>    Affects Versions: 3.3.0.M4
>            Reporter: Vimal Kansal
>            Assignee: Fred Bricon
>         Attachments: .project, .project, .project
>
>
> I used the maven archetype "jboss-javaee6-webapp-blank-archetype" to create a blank project. I have created a messages.properties file as /src/main/java/com.corejsf/messages.properties. In my faces-config.xml, I have configured :
> <application>
>    <resource-bundle>
>       <base-name>com.corejsf.messages</base-name>
>       <var>msgs</var>
>    </resource-bundle>
> </application>
> Now, when I create a new .xhtml page and want the auto-completion to automatically resolve an expression like #{msgs.  i.e after typing #{msgs. when I press CTRL+SPACE, I don't see the list of properties defined in the resource bundle. However, CTRL+SPACE stuff works if I refer to any CDI bean.

--
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