[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1258) Actually auto-complete resource bundle keys for org.jboss.seam.international.messages (and resource bundles in faces-confg)

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Apr 1 09:16:16 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBIDE-1258?page=comments#action_12406151 ] 
            
Viacheslav Kabanovich commented on JBIDE-1258:
----------------------------------------------

Class SeamMessagesComponent extending SeamComponent and implementing ISeamMessages is added to Seam model to implement Seam 1.2 component "org.jboss.seam.core.messages".

> Actually auto-complete resource bundle keys for org.jboss.seam.international.messages (and resource bundles in faces-confg)
> ---------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-1258
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-1258
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>            Reporter: Gavin King
>         Assigned To: Viacheslav Kabanovich
>             Fix For: 2.1
>
>
> Max tells my that, today, when a resource bundle is defined using f:loadBundle, we can actually look inside the .properties file and find the keys.
> Well, thats awesome, except that f:loadBundle is semi-deprecated, and the following approaches are preferred:
> * For Seam projects, use the built-in component, and do #{messages.foo} to get "foo" from messages_xx.properties
> * For any JSF project, look at resource bundles defined in faces-config.xml
> By the way, at present it looks like the resource bundle stuff is a bit confused about the classpath, and thinks that if the bundle.properties file is in src/model, then the name of it is "model.bundle", when in fact it is just "bundle". This is a bug.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list