Is there a showFileSaveDialog ???

Questions and answers on developing, deploying and using plugins and JavaBeans

Is there a showFileSaveDialog ???

Postby gstein » Sun Jan 23, 2005 10:47 am

Is there a plugin with a showFileSaveDialog ?

We are storing files in the DB and need a way for the users to tell us where they want to copy the file to. I have it working with the a showFileOpenDialog for the time being -- but is not the functionality that the user would expect to see (Save file in the title instead of Open File and a Save button instead of an Open button).
gstein
 
Posts: 210
Joined: Tue Jul 27, 2004 2:38 pm

Postby automazione » Sun Jan 23, 2005 11:31 am

Have you seen Kydome Menus Plugin? Probably can help you. http://forum.servoy.com/viewtopic.php?t=3680
Enrico Arata
Servoy Italia
automazione
 
Posts: 366
Joined: Thu Apr 24, 2003 11:37 am
Location: Torino, Italy

Postby gstein » Sun Jan 23, 2005 11:41 am

I don't need a menu -- I need a SaveFileDialog. As far as I can tell;, the Kydome Menus Plugin doesn't deal with this at all.
gstein
 
Posts: 210
Joined: Tue Jul 27, 2004 2:38 pm

Postby automazione » Sun Jan 23, 2005 12:33 pm

OK, sorry, I did not realized what your problem really was.

Have you tried with:

application.showFileSaveDialog()

If the behavior of showFileSaveDialog is not what you want.. then probably you will need to modify the standard java component. The way it is displayed is platform and L&F dependant.
Enrico Arata
Servoy Italia
automazione
 
Posts: 366
Joined: Thu Apr 24, 2003 11:37 am
Location: Torino, Italy

Postby gstein » Sun Jan 23, 2005 1:15 pm

Yes. That should do it. Thanks.

I was thinking it would be part of the file plugin and didn't even look there.

Thanks for your help!
gstein
 
Posts: 210
Joined: Tue Jul 27, 2004 2:38 pm


Return to Plugins and Beans

Who is online

Users browsing this forum: No registered users and 40 guests

cron