[jboss-user] [JBoss Seam] - Re: touble in richface+ajax4jsf+seam
gringalet
do-not-reply at jboss.com
Mon Jul 9 10:12:42 EDT 2007
hi, thanks, i am a newer for seam. and how can i use injection inside a non-seam component? my component.xml is belows:
| <?xml version="1.0" encoding="UTF-8"?>
| <components xmlns="http://jboss.com/products/seam/components"
| xmlns:core="http://jboss.com/products/seam/core"
| xmlns:security="http://jboss.com/products/seam/security"
| xmlns:drools="http://jboss.com/products/seam/drools"
| xmlns:web="http://jboss.com/products/seam/web"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation=
| "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd
| http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd
| http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd
| http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd
| http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-1.2.xsd">
|
| <component name="org.jboss.seam.core.init">
| <property name="jndiPattern">@jndiPattern@</property>
| </component>
|
| <!-- 120 second conversation timeout -->
| <component name="org.jboss.seam.core.manager">
| <property name="conversationTimeout">120000</property>
| </component>
|
| <component name="entityManager" auto-create="true"
| class="org.jboss.seam.core.ManagedPersistenceContext">
| <property name="persistenceUnitJndiName">java:/wcrmEntityManagerFactory</property>
| </component>
|
| <component class="org.jboss.seam.core.Ejb"
| installed="@embeddedEjb@"/>
|
|
|
| <event type="customerUpdate">
| <action expression="#{customerFinder.refresh}"/>
| </event>
|
| <security:identity authenticate-method="#{authenticator.authenticate}"/>
|
| </components>
|
if it is no way for my hope to use seam database component inside my Library class?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061993#4061993
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061993
More information about the jboss-user
mailing list