[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-1764) If @Factory method is getter and doesn't have "value" then use JavaBean property name as name of context variable for this factory.
Max Andersen (JIRA)
jira-events at lists.jboss.org
Wed Apr 9 06:06:04 EDT 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1764?page=all ]
Max Andersen updated JBIDE-1764:
--------------------------------
Fix Version/s: 2.1.0.beta1
(was: 2.1)
batch update of issues with 2.1 fix instead of the correct 2.1.b1
> If @Factory method is getter and doesn't have "value" then use JavaBean property name as name of context variable for this factory.
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-1764
> URL: http://jira.jboss.com/jira/browse/JBIDE-1764
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Seam
> Affects Versions: 2.0.0.GA
> Reporter: Alexey Kazakov
> Assigned To: Viacheslav Kabanovich
> Fix For: 2.1.0.beta1
>
>
> For example:
> @Factory()
> public Object getUser() {
> ...
> }
> "user" is a name of context variable for this factory.
> Testcase:
> EXECUTE: Create seam project.
> EXECUTE: Open Authenticator.java
> EXECUTE: Add @Factory() public String getUserName() { return "Vasya Pupkin"; }
> EXECUTE: Open home.xhtml
> EXECUTE: Add #{}
> EXECUTE: Ctrl+Space on #{|
> ASSERT: There is "userName" string among proposals.
--
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