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

Max Rydahl Andersen (JIRA) jira-events at lists.jboss.org
Mon Jun 14 06:30:56 EDT 2010


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

Max Rydahl Andersen updated JBIDE-6176:
---------------------------------------

    Fix Version/s: 3.2.0.M1
                       (was: 3.2.x)


> Seam validator doesn't recognize Databinder associated with Factory.
> --------------------------------------------------------------------
>
>                 Key: JBIDE-6176
>                 URL: https://jira.jboss.org/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.0.M1
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list