简体   繁体   English

如何在Smartgwt上选择目录

[英]How to select directory on Smartgwt

I need to add chooser for directory as JFILECHOOSER on SMARTGWT. 我需要在SMARTGWT上将目录选择器添加为JFILECHOOSER。 Any suggestions please? 有什么建议吗? I have tried this but I must select the file. 我已经尝试过了,但是我必须选择文件。

FileItem = new FileItem();

Cheched the docs, for security reasons you can't specify a default path :( 检查文档,出于安全原因,您不能指定默认路径:(

https://www.w3.org/TR/2016/REC-html51-20161101/sec-forms.html#file-upload-state-typefile https://www.w3.org/TR/2016/REC-html51-20161101/sec-forms.html#file-upload-state-typefile

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM