Daniel Posch [
http://community.jboss.org/people/poschd] created the discussion
"Error: "Factory Method ... with a void return type must have an associated
@Out/Databinder""
To view the discussion, visit:
http://community.jboss.org/message/536834#536834
--------------------------------------------------------------
Hi everyone,
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.
However, in my opinion there's nothing wrong. Actually, everything works. Is this an
expected behavior?
Best Regards, Daniel
@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 findHardware() { //...
}
}
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/536834#536834]
Start a new discussion in JBoss Tools at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]