[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-101) @Factory does not work for POJO components

Gavin King (JIRA) jira-events at jboss.com
Tue Nov 21 04:22:47 EST 2006


     [ http://jira.jboss.com/jira/browse/JBSEAM-101?page=all ]

Gavin King closed JBSEAM-101.
-----------------------------


> @Factory does not work for POJO components
> ------------------------------------------
>
>                 Key: JBSEAM-101
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-101
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Core
>            Reporter: Christian Bauer
>            Priority: Blocker
>
> In a POJO component. This works:
> @DataModel
> public List<Category>rootCategoryList;
> @DataModelSelection
> public Category category;
> @Factory("rootCategoryList")
> public void findRootCategories() { ...  }
> This doesn't:
> @Out(scope = EVENT, required = false)
> public TreeNode categoryTree;
> @Out(scope = EVENT, required = false)
> public TreeNode node;
> @Factory("categoryTree")
> public void initializeTree() { ... }
> Caused by: java.lang.NoSuchMethodException: org.hibernate.ce.auction.seam.noejb.BrowseCategories$$EnhancerByCGLIB$$d5838cdf.initializeTree()
> at java.lang.Class.getMethod(Class.java:1581)
> at org.jboss.seam.Component.callComponentMethod(Component.java:926)
> at org.jboss.seam.Component.getInstanceFromFactory(Component.java:887)
> at org.jboss.seam.Component.getInstance(Component.java:850)
> at org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:43)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list