[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-26 Thread drVillo
anonymous wrote : 
  | Quote:
  | Actually I did this since I hadn't managed to get the Converter working 
through faces-config.xml...Is this supposed to be so?
  | 
  | 
  | I don't understand.

I mean that I wasn't able to use the Converter by registering it with

  | converter
  | 
converter-for-classorg.jboss.seam.example.registration.Answer/converter-for-class
  | 
converter-classorg.jboss.seam.example.registration.AnswerConverter/converter-class
  | /converter
  | 

So I had to specify the converter with the converter attribute

  | h:selectOneMenu value=#{register.answer} 
converter=#{ansbean.converter}
  | ...
  | /h:selectOneMenu
  | 

And I don't understand why...


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939441#3939441

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939441


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread [EMAIL PROTECTED]
Looks like a bug in JBoss EJB3. I think I have seen someone else report this. 
Create a simple test case and submit it to EJB3 JIRA.

What happens if you use:

@PersistenceContext
  |  EntityManager em;

And remove (type=EXTENDED)?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939231#3939231

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939231


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread [EMAIL PROTECTED]
Also, please notice that APPLICATION-scoped stateful session beans are 
problematic. SFSBs do not support concurrent access. It is better to use a 
JavaBean component if you need to cache stuff in application scope.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939235#3939235

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939235


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread drVillo
anonymous wrote : 
  | What happens if you use:
  | 
  | Code:
  | 
  | @PersistenceContext
  |  EntityManager em;  
  | 
  | 
  | 
  | And remove (type=EXTENDED)?
  | 

It fails similarly, the same NullPointerException

  | at 
org.jboss.ejb3.entity.ManagedEntityManagerFactory.getNonTxEntityManager(ManagedEntityManagerFactory.java:58)
  | 

Should I wrap a testcase including the seam components?

About the SFSB: I did it this way having looked at the CategoriesBean class in 
the dvd store example app...

Actually I did this since I hadn't managed to get the Converter working through 
faces-config.xml...Is this supposed to be so?






View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939249#3939249

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939249


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread [EMAIL PROTECTED]
anonymous wrote : Should I wrap a testcase including the seam components?

Any *simple* EAR should be fine. But make sure you cut it down to just what is 
required to reproduce the problem. Thanks.

anonymous wrote : About the SFSB: I did it this way having looked at the 
CategoriesBean class in the dvd store example app... 

Ah. I will fix the DVDStore example. Thanks.

anonymous wrote : Actually I did this since I hadn't managed to get the 
Converter working through faces-config.xml...Is this supposed to be so?

I don't understand.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3939274#3939274

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3939274


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user