FolderChooser and setSelectedFolder

This is the forum for JIDE Common Layer which is open sourced at https://github.com/jidesoft/jide-oss. Please note, JIDE technical support doesn't monitor this forum as often as other forums. Please consider subscribe for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

Moderator: JIDE Support

Forum rules
Community driven forum for open source JIDE Common Layer. JIDE technical support doesn't monitor this forum as often as other forums. If you only use JIDE Common Layer, please consider subscribing for technical support for JIDE Common Layer so that you can use customer only forum to get a timely response.

FolderChooser and setSelectedFolder

Postby firewyre » Sun May 20, 2012 4:30 pm

For those trying to set the directory that will appear as selected when FolderChooser opens, use setCurrentDirectory() rather than setSelectedFolder(). SetSelectedFolder() only seems to set a variable local to FolderChooser, while what's displayed in the navigation page actually relies on the current directory. I was confused by this at first, and figured maybe someone else would be as well.
firewyre
 
Posts: 1
Joined: Sun Apr 01, 2012 9:35 am

Re: FolderChooser and setSelectedFolder

Postby JIDE Support » Mon May 21, 2012 12:04 pm

Thanks for sharing your experience with other users.

Thanks,
JIDE Software Technical Support Team
JIDE Support
Site Admin
 
Posts: 36468
Joined: Sun Sep 14, 2003 10:49 am


Return to JIDE Common Layer Open Source Project Discussion (Community Driven)

Who is online

Users browsing this forum: No registered users and 6 guests

cron