]
Alexey Kazakov updated JBIDE-6176:
----------------------------------
Fix Version/s: 3.2.next
(was: 3.1.1)
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: