UVAshley / krank

Automatically exported from code.google.com/p/krank
0 stars 0 forks source link

patch for optional ManyToOne assocation #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I have an entity with an optional ManyToOne association. Using crank's
built-in support for drop-downs
(http://code.google.com/p/krank/wiki/UsingCranksBuiltInManyToOne), I kept
getting a conversion error if I try to update the entity and left this menu
on "select one".

I'm pretty new to JSF, but I believe I found the problem is in
EntityConverter. Take a look at the attached patch and let me know what you
think. Thanks!

Original issue reported on code.google.com by eho...@gmail.com on 7 Mar 2008 at 8:39

Attachments: