Thread Rating:
  • 342 Vote(s) - 2.94 Average
  • 1
  • 2
  • 3
  • 4
  • 5
choose-file の default-location が効かない
04-02-2014, 10:15 AM,
#1
choose-file の default-location が効かない
下記コードで、ファイル選択ダイアログを開くと、default-location で指定しているCドライブではなく、
「前回保存したフォルダ」が初期表示されるようになるのですが、
同じような現象をご経験された方はいらっしゃいますか?

マシンによっては正常にCドライブが表示されるものもあるので、
環境に依存しているとは思うのですが・・・。

Code:
{curl 8.0 applet}
{curl-file-attributes character-encoding = "utf8"}
{def path = "C:\\\\test.xml"}
{value {parse-url path}}
{CommandButton
    {on Action do
        def default-file-url = {parse-url path}
        {choose-file
            style = FileDialogStyle.save-as,
            default-location = default-file-url
        }
    }
}


Messages In This Thread
choose-file の default-location が効かない - by umemura - 04-02-2014, 10:15 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  View.get-default-owner が取得できない? umemura 1 3,382 12-02-2014, 02:32 PM
Last Post: tdeng
  choose-file で初期提案ファイル名を指定したい umemura 5 5,581 10-25-2013, 03:27 PM
Last Post: Sunny754569
  curl command to set file property nazia 1 4,700 04-22-2013, 03:47 PM
Last Post: heavybugtracker
  file:/// を省略したい umemura 1 2,766 02-08-2013, 06:42 PM
Last Post: umemura
Forum Jump:


Users browsing this thread:
1 Guest(s)

MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1017 - Can't find file: 'mybb_threadviews' (errno: 2)
Query:
INSERT INTO mybb_threadviews (tid) VALUES('1061')