pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ducciovigolo@tagetik.com" <ducciovig...@tagetik.com>
Subject Re: How to pre-set saveAs TextInput in FileBrowserSheet
Date Tue, 22 Jun 2010 17:41:21 GMT
John,
	thank for your response: unfortunately I'm using Pivot 1.4 and I can confirm 
that the suggested code does not work...

duccio

-------- Original Message --------
Subject: Re: How to pre-set saveAs TextInput in FileBrowserSheet
From: JohnRodey <timothyddaly@yahoo.com>
To: user@pivot.apache.org
Date: 22/06/2010 18:26

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


Mime
View raw message