This content has been marked as final. Show 3 replies
I have a class named Foo annotated as seam component (@Name), and a destroy() method annotated with @Remove @Destroy. till here all is fine
When declaring an inner class FooInner within class Foo, suddenly an IDE error will appear in the Problems view saying: Only component class can have @Destroy method "destroy"
I found a workaround for that at http://jira.jboss.com/jira/browse/JBIDE-1295 which seems to be already resolved, the workaround is to set Warning/Ignore for Preferences/JBoss Tools/Web/Seam/Validator/Component life-cycle methods
It would be nice if this similar issue will be resolved as well