Page 1 of 2

filechooser using auto lookandfeel on Mac

Posted: Mon Oct 03, 2011 6:11 pm
by jmarcv
Since D&D is broken on Macs, more of our users are using the Browse.
Browsing from a classic multipart upload form, the user is used to seeing a neat file selection Dialogue.

Image Attached is what it looks like with JFU

What the issue is is that it is being opened in the user
folder (which is good) BUT being shown a bunch of files that the Mac system
usually hides. (all those files with a period in front of them). Mac users
NEVER see that.

Is there a way to see a 'friendlier' view?

Re: filechooser using auto lookandfeel on Mac

Posted: Mon Oct 03, 2011 9:06 pm
by support
You may try to add QQLnF add-on which enables native file chooser for MacOSX.
http://www.jfileupload.com/products/tools/index.html

Before installing, try it online at:
http://www.jfileupload.com/products/dem ... acosx.html
and see if it fits to your needs.

Re: filechooser using auto lookandfeel on Mac

Posted: Thu Oct 06, 2011 4:38 pm
by jmarcv
The online demo does indeed do what I want. Installing it on our system fails:

Exception in thread "thread applet-jfileupload.upload.client.JSMApplet.class-4" java.lang.NoClassDefFoundError: jfileupload/transfer/client/core/G
....
Caused by: java.lang.ClassNotFoundException: jfileupload.transfer.client.core.G

These I assume are the 2 lines that determine this mode?

Code: Select all

document.writeln('<PARAM NAME="transferui" VALUE="jfileupload.transfer.client.mac.QQTransferUI">');
	document.writeln('<PARAM NAME=ARCHIVE VALUE="lib/jfileupload.jar,lib/httpimpl.jar,lib/chttpclient.jar,lib/clogging.jar,lib/jsapi.jar,lib/ifilter.jar,lib/previewui.jar,lib/quaqua-filechooser.jar,lib/qqlnf.jar">');
My lib dir does contain the files:

Code: Select all

[/home/ssb/public_html/x_tools/JFU2.8a]# ls lib
./   chttpclient.jar  cnet.jar     httpimpl.jar  jfileupload.jar  previewui.jar  quaqua-filechooser.jar
../  clogging.jar     ftpimpl.jar  ifilter.jar   jsapi.jar        qqlnf.jar
XCan you see what I am doing wrong?

Re: filechooser using auto lookandfeel on Mac

Posted: Fri Oct 07, 2011 6:16 am
by support
Which JFileUpload license do you have? Pro or Enterprise?

Re: filechooser using auto lookandfeel on Mac

Posted: Fri Oct 07, 2011 2:33 pm
by jmarcv
JSAPI 2.8a Enterprise

Re: filechooser using auto lookandfeel on Mac

Posted: Tue Oct 11, 2011 7:56 pm
by support
Drop an email to support(at)jfileupload(dot)com and they will provide Enterprise version of QQLnF

Re: filechooser using auto lookandfeel on Mac

Posted: Mon Oct 24, 2011 11:33 pm
by jmarcv
Who supports this addon? It has bugs.
#1 - select a dir. suddenly hidden folders are visible.
#2 - preview pane is disabled
#3 - Using image preview does not open dialogue longer, resulting in a file chooser with only about 2 lines visible.

Re: filechooser using auto lookandfeel on Mac

Posted: Wed Oct 26, 2011 7:24 pm
by support
It is based on QuaQua look and feel which is the only one to support extended file chooser from MacOX: http://www.randelshofer.ch/quaqua/
File chooser provided by the runtime is limited.

I see an update for MacOSX Lion, are you using Lion?

Re: filechooser using auto lookandfeel on Mac

Posted: Mon Nov 07, 2011 6:26 pm
by jmarcv
> are you using Lion?
Not sure why you ask. I am sure that ONE of our thousands of clients is.

PS also getting this. Seems to be on YOUR end?
Warning: class ch.randelshofer.quaqua.osx.OSXFile couldn't load library "quaqua64". java.lang.UnsatisfiedLinkError: no quaqua64 in java.library.path
... and ....
Warning: class ch.randelshofer.quaqua.osx.OSXFile couldn't load library "quaqua". java.lang.UnsatisfiedLinkError: no quaqua in java.library.path

... and ....
Warning: SidebarTreeModel uses default user items.


See this:
http://stackoverflow.com/questions/1296 ... -libraries
and this
http://www.jthink.net/jaikozforum/posts/list/852.page

Re: filechooser using auto lookandfeel on Mac

Posted: Tue Nov 08, 2011 12:56 am
by jmarcv
Also, you have not addressed thefact that the preview pane is disabled with this lib. I would think that is an issue on YOUR end?