[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-9761) JSF Tools should provide code completion for @ManagedBean(name="")
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Wed Sep 21 15:08:26 EDT 2011
[ https://issues.jboss.org/browse/JBIDE-9761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12629716#comment-12629716 ]
Alexey Kazakov commented on JBIDE-9761:
---------------------------------------
In case of name=" " code completion inserts " " as a name of bean which is not correct.
I tested beans with spaces in the name in JBoss AS 7 and it doesn't complain but it seems to impossible to use such a name in EL.
So maybe we should validate such names and add a warning if a name has spaces.
Let's create a separate issue for that.
> JSF Tools should provide code completion for @ManagedBean(name="")
> ------------------------------------------------------------------
>
> Key: JBIDE-9761
> URL: https://issues.jboss.org/browse/JBIDE-9761
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: JSF
> Affects Versions: 3.3.0.M3
> Reporter: Alexey Kazakov
> Assignee: Alexey Kazakov
> Priority: Critical
> Fix For: 3.3.0.M4
>
>
> The following beans has the same name "user":
> {code}
> @MamanedBean
> public class User {}
> {code}
> {code}
> @MamanedBean(name="user")
> public class AnotherUser {}
> {code}
> {code}
> @MamanedBean(name="")
> public class User {}
> {code}
--
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