| Summary: | DirectoryDialog missing in RAP | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Jeffery Yuan <yuanyun.kenny> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | yuanyun.kenny |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Jeffery Yuan
Which file system should be displayed by this dialog? The client's file system is not accessible due to security restrictions. Exposing the server's file system to clients would be a security hole that the platform should not open. DirectoryDialog should be used to show client's file system. This request is based on 250697, it requests to develop FileDialog to let user select a file in client file system. I took it for granted that, it would be easy to implement a DirectoryDialog to select a directory in client file system. But after google search, seems there is no easy solution to open a DirectoryDialog in web application yet. After a second thought, seems that in web application there is no good reason to let user select file in client system except to upload a file - In this case, we can use Upload Widget in RAP application. and no good reason to select directory in client system except to download file. in my rap application, user should enter the directory path in server side. yes, as you said, it's unsafe to expose server's file system. So a text box suffices in my RAP version. So I would close this defect. Thanks very much for your quick answer. |