How to add the parameter "none" in the selection box of the playback frame?
So far I have this:
<select size="1" name="object.id"> <option value="">&{'crud.none'}</option> #{list items:someItems, as:'item'} <option value="${item.id}">${item.name}</option> #{/list} </select>
but when I select "none", play creates a new object and tries to save the parent object with a link to the newly created object, resulting in a hibernate org.hibernate.TransientObjectException
Any ideas?
source share