In my application I have an Image object, that contains several String fields and a field that contains the actual content (byte).
I have written an HTML form that will allow me to edit such an Image object. This form is processed by a SimpleFormController. Everything works fine, except that when editing my image I always need to upload the image again. If I don't than the column in the database holding the actual image, is set to null.
Is there some way I can check if no image was uploaded and in that case only modify the other fields and leave my original image data intact?
Thanks for any help,