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

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Tue Apr 20 10:18:49 EDT 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-6176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich resolved JBIDE-6176.
------------------------------------------

    Resolution: Done


> 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: Viacheslav Kabanovich
>             Fix For: 3.2.next
>
>
> 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