Page 1 of 1

Xataface 2.0 - Ajax_Upload Module

PostPosted: Mon Nov 12, 2012 2:53 am
by tonyvenneri
I am using this module to upload file in my application.
I noticed a different behavior in list and edit mode

In list/browse mode I have this sentence if any file is provided:
"View Field Content In New Window (application/vnd.ms-excel; charset=binary)"
I attach an image list-view.png
list-view.png
List Mode
list-view.png (8.55 KiB) Viewed 4803 times


In edit mode I have the new look with the preview of file
I attach an image edit-view.png
edit-view.png
Edit Mode
edit-view.png (13.08 KiB) Viewed 4803 times


Is this the correct behavior?

Re: Xataface 2.0 - Ajax_Upload Module

PostPosted: Tue Nov 13, 2012 9:38 am
by shannah
This is correct. You can override the view for the browse mode using the fieldname__htmlValue() method, to make it more snazzy if you like. The ajax_upload widget doesn't affect the display of the field in the application. It only affects the widget on the form.