Xataface 2.0 - Ajax_Upload Module
Archived from the Xataface Users forum.
tonyvenneri — Mon Nov 12, 2012 2:53 am
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
In edit mode I have the new look with the preview of file
I attach an image edit-view.png
Is this the correct behavior?
shannah — Tue Nov 13, 2012 9:38 am
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.