This content has been marked as final.
Show 4 replies
-
1. Re: Error: "Factory Method ... with a void return type must have an associated @Out/Databinder"
akazakov Apr 12, 2010 8:51 AM (in response to poschd)Hi Daniel,
This is a bug. I've created an issue https://jira.jboss.org/jira/browse/JBIDE-6176
You can desable this validation rule in Preferences -> JBoss Tools -> Web -> Seam -> Validator -> Factories -> Unknown factory name. Or switch it to "warning" instead of "error".
Thank you!
-
2. Re: Error: "Factory Method ... with a void return type must have an associated @Out/Databinder"
poschd Apr 12, 2010 9:09 AM (in response to akazakov)Hi Alexey,
thank you for creating the issue and presenting a workaround.
Regards, Daniel
-
3. Re: Error: "Factory Method ... with a void return type must have an associated @Out/Databinder"
poschd Apr 13, 2010 1:43 AM (in response to poschd)Using the given bean (that I posted above) in a JSF DataTable raises a warning, too. In my application I use RichFaces:
<rich:extendedDataTable value="#{somethings}" var="sth" rendered="#{not empty somethings}"> <rich:column sortBy="#{sth.id}" label="Some Id"> <f:facet name="header">Some Id</f:facet> <h:outputText value="#{sth.id}"/> <!-- WARNING: "id" cannot be resolved --> </rich:column> </rich:extendedDataTable>
Is this a separate issue or is it tied to [#JBIDE-6176]?
-
4. Re: Error: "Factory Method ... with a void return type must have an associated @Out/Databinder"
akazakov Apr 13, 2010 5:42 AM (in response to poschd)This is the same bug.