Cheers for the quick reply.
My components.xml
| <components>
|
| <component name="referenceSession"
| class="org.jboss.seam.core.ManagedHibernateSession"/>
|
| <component name="hibernateSessionFactory"
| class="org.jboss.seam.core.HibernateSessionFactory"/>
|
| </components>
|
Components.xml from jboss-seam.jar
| <!DOCTYPE components PUBLIC
| "-//JBoss/Seam Component Configuration DTD 1.1//EN"
| "http://jboss.com/products/seam/components-1.1.dtd">
|
| <components>
| <factory scope="stateless" auto-create="true"
name="actor" value="#{org.jboss.seam.core.actor}"/>
| <factory scope="stateless" auto-create="true"
name="applicationContext"
value="#{org.jboss.seam.core.applicationContext}"/>
| <factory scope="stateless" auto-create="true"
name="businessProcess"
value="#{org.jboss.seam.core.businessProcess}"/>
| <factory scope="stateless" auto-create="true"
name="businessProcessContext"
value="#{org.jboss.seam.core.businessProcessContext}"/>
| <factory scope="stateless" auto-create="true"
name="conversation" value="#{org.jboss.seam.core.conversation}"/>
| <factory scope="stateless" auto-create="true"
name="conversationContext"
value="#{org.jboss.seam.core.conversationContext}"/>
| <factory scope="stateless" auto-create="true"
name="conversationList"
value="#{org.jboss.seam.core.conversationList}"/>
| <factory scope="stateless" auto-create="true"
name="conversationStack"
value="#{org.jboss.seam.core.conversationStack}"/>
| <factory scope="stateless" auto-create="true"
name="eventContext" value="#{org.jboss.seam.core.eventContext}"/>
| <factory scope="stateless" auto-create="true"
name="events" value="#{org.jboss.seam.core.events}"/>
| <factory scope="stateless" auto-create="true"
name="expressions" value="#{org.jboss.seam.core.expressions}"/>
| <factory scope="stateless" auto-create="true"
name="facesContext" value="#{org.jboss.seam.core.facesContext}"/>
| <factory scope="stateless" auto-create="true"
name="facesMessages"
value="#{org.jboss.seam.core.facesMessages}"/>
| <factory scope="stateless" auto-create="true"
name="httpError" value="#{org.jboss.seam.core.httpError}"/>
| <factory scope="stateless" auto-create="true"
name="interpolator" value="#{org.jboss.seam.core.interpolator}"/>
| <factory scope="stateless" auto-create="true"
name="isUserInRole" value="#{org.jboss.seam.core.isUserInRole}"/>
| <factory scope="stateless" auto-create="true"
name="locale" value="#{org.jboss.seam.core.locale}"/>
| <factory scope="stateless" auto-create="true"
name="localeSelector"
value="#{org.jboss.seam.core.localeSelector}"/>
| <factory scope="stateless" auto-create="true"
name="messages" value="#{org.jboss.seam.core.messages}"/>
| <factory scope="stateless" auto-create="true"
name="jbpmContext" value="#{org.jboss.seam.core.jbpmContext}"/>
| <factory scope="stateless" auto-create="true"
name="pageContext" value="#{org.jboss.seam.core.pageContext}"/>
| <factory scope="stateless" auto-create="true"
name="pageflow" value="#{org.jboss.seam.core.pageflow}"/>
| <factory scope="stateless" auto-create="true"
name="pojoCache" value="#{org.jboss.seam.core.pojoCache}"/>
| <factory scope="stateless" auto-create="true"
name="pooledTask" value="#{org.jboss.seam.core.pooledTask}"/>
| <factory scope="stateless" auto-create="true"
name="pooledTaskInstanceList"
value="#{org.jboss.seam.core.pooledTaskInstanceList}"/>
| <factory scope="stateless" auto-create="true"
name="processInstance"
value="#{org.jboss.seam.core.processInstance}"/>
| <factory scope="stateless" auto-create="true"
name="redirect" value="#{org.jboss.seam.core.redirect}"/>
| <factory scope="stateless" auto-create="true"
name="resourceBundle"
value="#{org.jboss.seam.core.resourceBundle}"/>
| <factory scope="stateless" auto-create="true"
name="sessionContext"
value="#{org.jboss.seam.core.sessionContext}"/>
| <factory scope="stateless" auto-create="true"
name="switcher" value="#{org.jboss.seam.core.switcher}"/>
| <factory scope="stateless" auto-create="true"
name="taskInstance" value="#{org.jboss.seam.core.taskInstance}"/>
| <factory scope="stateless" auto-create="true"
name="taskInstanceList"
value="#{org.jboss.seam.core.taskInstanceList}"/>
| <factory scope="stateless" auto-create="true"
name="taskInstanceListForType"
value="#{org.jboss.seam.core.taskInstanceListForType}"/>
| <factory scope="stateless" auto-create="true"
name="timeZone" value="#{org.jboss.seam.core.timeZone}"/>
| <factory scope="stateless" auto-create="true"
name="timeZoneSelector"
value="#{org.jboss.seam.core.timeZoneSelector}"/>
| <factory scope="stateless" auto-create="true"
name="transition" value="#{org.jboss.seam.core.transition}"/>
| <factory scope="stateless" auto-create="true"
name="uiComponent" value="#{org.jboss.seam.core.uiComponent}"/>
| <factory scope="stateless" auto-create="true"
name="userPrincipal"
value="#{org.jboss.seam.core.userPrincipal}"/>
|
| <factory scope="stateless" auto-create="true"
name="currentTime"
value="#{org.jboss.seam.framework.currentTime}"/>
| <factory scope="stateless" auto-create="true"
name="currentDate"
value="#{org.jboss.seam.framework.currentDate}"/>
| <factory scope="stateless" auto-create="true"
name="currentDatetime"
value="#{org.jboss.seam.framework.currentDatetime}"/>
|
| <factory scope="stateless" auto-create="true"
name="theme" value="#{org.jboss.seam.theme.theme}"/>
| <factory scope="stateless" auto-create="true"
name="themeSelector"
value="#{org.jboss.seam.theme.themeSelector}"/>
|
| <factory scope="stateless" auto-create="true"
name="queueSession" value="#{org.jboss.seam.jms.queueSession}"/>
| <factory scope="stateless" auto-create="true"
name="topicSession" value="#{org.jboss.seam.jms.topicSession}"/>
| </components>
|
Bit more info.
In the Component.getInstanceFromFactory() the String name passed in is
org.jboss.seam.core.localeSelector
Which is then used to call
init.getFactory()/getFactoryMethodBinding()/getFactoryValueBinding(). I am guessing that
the getFactoryValueBinding() should return something. The map factoryValueBindings in
Init is populated but the keys are the short versions e.g. localeSelector, so null is
returned from all 3 methods.
Any specific info I can give to track this down please let me know.
Cheers.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991376#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...