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

baz do-not-reply at jboss.com
Thu Aug 10 03:00:06 EDT 2006


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, 
  |                facesContext.getViewRoot(), 
  |   >>>>    (String) id <<<<<<<<<
  |             );
  | 

But i have solved my problem. The component does not exist when i do not use it in an html page. So i have to use create=true :-) when i inject the component.
Ciao,
Carsten

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964251#3964251

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964251



More information about the jboss-user mailing list