I got an error while building a CRUD Application with Zk framework

Asked By 30 points N/A Posted on -
qa-featured

I got this unusual error “Not an Image: Index.zul” while building a CRUD Application with Zk framework. Any ideas how this can be solved?

Not an Image: Index.zul

Error

Not an Image: index.zul

                   OK

SHARE
Answered By 0 points N/A #197690

I got an error while building a CRUD Application with Zk framework

qa-featured

Hello,

For this error to occur, the media file is not an acceptable file. Implement in your code error handlers. Try to add a dialog box before you remove any media item from the storage. Create a button so that the OnClick event connects with dialog error message. Check the way you are using the model class to store data. Namespace should be created so that the ZK framework binds the data with the annotations. Let say you have 5 images that you want to upload, then Fileupload.get(int) needs to be used. I am attaching to this message ZKfr.txt that has an example showing how to upload files.

I hope this is useful.

Login/Register to Answer

Related Questions