filechooser using auto lookandfeel on Mac

Image previewer add-on.
jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

filechooser using auto lookandfeel on Mac

Post 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?
Attachments
JFU-browse on Mac.png
(57.39 KiB) Not downloaded yet

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: filechooser using auto lookandfeel on Mac

Post 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.

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: filechooser using auto lookandfeel on Mac

Post 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?

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: filechooser using auto lookandfeel on Mac

Post by support »

Which JFileUpload license do you have? Pro or Enterprise?

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: filechooser using auto lookandfeel on Mac

Post by jmarcv »

JSAPI 2.8a Enterprise

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: filechooser using auto lookandfeel on Mac

Post by support »

Drop an email to support(at)jfileupload(dot)com and they will provide Enterprise version of QQLnF

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: filechooser using auto lookandfeel on Mac

Post 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.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: filechooser using auto lookandfeel on Mac

Post 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?

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: filechooser using auto lookandfeel on Mac

Post 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

jmarcv
Posts: 26
Joined: Sun Nov 07, 2010 4:21 pm

Re: filechooser using auto lookandfeel on Mac

Post 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?

Post Reply