[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox

2007-08-08 Thread [EMAIL PROTECTED]
Yes. You can't use a set with a selectXXX according to the JSF spec (only array or list). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071900#4071900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071900

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity/ inside h:selectOneMenu

2007-06-08 Thread georges.goebel
Hi, Thanks, I have seen the JIRA Bug. But why does the UI example works with the tag s:convertEntity/??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052504#4052504 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity/ inside h:selectOneMenu

2007-06-08 Thread petemuir
It uses facelets not jsp (use facelets unless you can't for some reason) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052506#4052506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052506

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity/ inside h:selectOneMenu

2007-06-07 Thread petemuir
http://jira.jboss.com/jira/browse/JBSEAM-1187 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4052216#4052216 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4052216 ___ jboss-user

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-06 Thread petemuir
I'm sure Christian can explain this better than me but my (poor) understanding is that: * If you get a persistent object twice from the same EntityManager, then it takes care of returning the same object. Thus, the default equals and hashcode work. * Equals and hashcode are *hard* to get

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
I've tried the entity-query to be running sucessful. So it seem that it is caused by the type. The converter seems to have the problem of judge the type of the object. What should I do to make it run? View the original post :

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
I don't want to use the entity-query because of the limitation of it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043422#4043422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043422

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
Oh, I see. The @DataModel outjected the List as DataModel, so the entityConverter can't judge the type. Should I add an issue for s:convertEntity DataModel not supported? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043423#4043423 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
s:convertEntity doesn't need to know about DataModels, and s:selectItems, which does need to, does know about them. What version of Seam? Add a message component to the h:selectOneMenu and see why it's not submitting. View the original post :

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
I thought I'm misunderstanding it. It isn't caused by datamodel. I use the @Out error again. I'm confused. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043452#4043452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043452

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
The field is annotated as below. I forgot to show here. | @SuppressWarnings(unused) | @DataModel | private ListCategory categoryList; | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043453#4043453 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
is this happening inside a long running conversation? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043454#4043454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043454 ___

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
No View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043456#4043456 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043456 ___ jboss-user mailing list jboss-user@lists.jboss.org

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043459#4043459 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043459 ___

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
Thanks. I make it into long-running conversation and it runs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043461#4043461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043461

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread fhh
Why is the conversation approach recommended. I thought entites do require overwriting equals() anyway because it is used in many other locations as well. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043465#4043465 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
http://hibernate.org/109.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4043466#4043466 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4043466 ___ jboss-user mailing list

[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread fhh
Exactly that was my point. I was refering to the wiki page: anonymous wrote : | Strongly Recommended Ensure that you are in a long-running conversation that spans the both the select list creation and the submission of the form. | I would strongly recommend to implement a proper

[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox

2007-04-06 Thread Vitalik
I have been very surprised when I replace Set with List.Now all works correctly. It is any glitch View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035239#4035239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035239

[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox

2007-04-06 Thread petemuir
Ah, interesting, could you add a JIRA issue for me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035254#4035254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035254 ___

[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox

2007-04-05 Thread petemuir
Please add a test case to JIRA as I can't replicate this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4035055#4035055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4035055 ___