[jboss-user] [JBoss Seam] - Re: Problem with entityconverter

quilleashm do-not-reply at jboss.com
Thu Mar 22 15:03:08 EDT 2007


I've just had a similar problem.  I have a value binding on a selectOneMenu to a hibernate nested object.  I use a converter to convert a hibernate entity to class + id string and back again.  During the rendering of the menu item the JSF renderer tries to match the current selected value to one of the options.  The selected value is a proxy (it uses the EL) whereas the select items are fully instantiated objects.

This gives an ELException when it calls coerceToType on the ExpressionFactory to try and coerce an object to it's proxy.  I think in this instance it is a JSF problem rather than a Seam problem but it might be related, seems similar.

I can supply for detail if it would be useful.

Cheers.

Mike.


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

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



More information about the jboss-user mailing list