[jboss-user] [JBoss Seam] - Re: Managed(Hibernate)Entity usage question

2006-08-10 Thread baz
Hello, Thanks for your answer. anonymous wrote : you should not convert the id to a string. if i do not convert, i get a class cast exception. This is due to this codefragment from getInstance return (Serializable) idConverter.getAsObject( |facesContext, |

[jboss-user] [JBoss Seam] - Re: Managed(Hibernate)Entity usage question

2006-08-09 Thread [EMAIL PROTECTED]
For a start, you should not convert the id to a string. Second, make sure that the outjection actually *happens*. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964180#3964180 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=repl

[jboss-user] [JBoss Seam] - Re: Managed(Hibernate)Entity usage question

2006-08-09 Thread baz
Hello, anonymous wrote : The only difference is that bazProject is used in an html page while bazExperiment is not. That is the difference. I accessed bazExperiment in a html page and.. voila it is injected. If i do not access such a component in a html page it won't be injected. Gavin can you he