[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-6176) Seam validator doesn't recognize Databinder associated with Factory.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Apr 12 08:46:38 EDT 2010


Seam validator doesn't recognize Databinder associated with Factory.
--------------------------------------------------------------------

                 Key: JBIDE-6176
                 URL: https://jira.jboss.org/jira/browse/JBIDE-6176
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: Seam
    Affects Versions: 3.1.0.GA
            Reporter: Alexey Kazakov
            Assignee: Alexey Kazakov
             Fix For: 3.1.1


The following piece of code causes the error 'Factory Method "somethings" with a void return type must have an associated @Out/Databinder' to be displayed'. But it should not.

@Name("somethingManager")
@Scope(ScopeType.CONVERSATION)
public class SomethingManager implements Serializable {
    @DataModel("somethings")
    @Out
    private List<Something> somethingList;
 
    @DataModelSelection
    @Out(value = "something", required = false, scope = ScopeType.SESSION)
    private Hardware selectedSomething;
 
    @Factory(value = "somethings") // !Error is displayed right here!
    public void findSomething() { //...
    }
}

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

        


More information about the jbosstools-issues mailing list