pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From JohnRodey <timothydd...@yahoo.com>
Subject Re: How to pre-set saveAs TextInput in FileBrowserSheet
Date Tue, 22 Jun 2010 16:26:16 GMT

I asked a similar question and was shown that it can be done like such:

if (fileBrowserSheetMode == FileBrowserSheet.Mode.SAVE_AS) { 
    fileBrowserSheet.setSelectedFile(new
File(fileBrowserSheet.getRootDirectory(), "NewFile.txt")); 
} 

This shouldn't save the file until the users selects to save it.

Note, I believe this can't be done prior to 1.5
-- 
View this message in context: http://apache-pivot-users.399431.n3.nabble.com/How-to-pre-set-saveAs-TextInput-in-FileBrowserSheet-tp914461p914583.html
Sent from the Apache Pivot - Users mailing list archive at Nabble.com.

Mime
View raw message