Xataface 2.0 - Ajax_Upload Module

A place for users and developers of the Xataface to discuss and receive support.

Xataface 2.0 - Ajax_Upload Module

Postby 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
list-view.png
List Mode
list-view.png (8.55 KiB) Viewed 4543 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 4543 times


Is this the correct behavior?
tonyvenneri
 
Posts: 10
Joined: Sun Jan 15, 2012 4:13 pm

Re: Xataface 2.0 - Ajax_Upload Module

Postby 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.
--
Steve Hannah
@shannah78 (on twitter)
sjhannah.com blog
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 34 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved