[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9087) Support of Bundles bean in CDI projects with Seam International module.

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Thu Jun 30 13:53:23 EDT 2011


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

Viacheslav Kabanovich commented on JBIDE-9087:
----------------------------------------------

To know if cdi project has Seam3 international extension use this code
String runtimeClassName = "org.jboss.seam.international.status.TypedStatusMessageBundleExtension";
boolean result = CDICorePlugin.getCDI(project, true).getExtensionManager().isCDIExtensionAvailable(runtimeClassName);

> Support of Bundles bean in CDI projects with Seam International module.
> -----------------------------------------------------------------------
>
>                 Key: JBIDE-9087
>                 URL: https://issues.jboss.org/browse/JBIDE-9087
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: cdi (jsr-299)
>            Reporter: Alexey Kazakov
>            Assignee: Victor Rubezhny
>              Labels: new_and_noteworthy
>             Fix For: 3.3.0.M3
>
>
> This support means: Code completion, OpenOns, Validation for EL like #{bundles.*}
> We should create a new EL resolver which will be enabled only if the project has Seam International module in the project classpath.
> EXECUTE: Import Seam-booking example (See http://seamframework.org/Seam3/Contribute for details how to get this example from Seam git repository.
> EXECUTE: Open src/main/webapp/home.xhtml
> ASSERT: Ctrl+Space for #{bundles.messages.|} should show proposals for messages_*.properties resource bundle.

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