0

I can find tons of off-the-shelf GWT widgets that let me select browse directories and select files but I can't find a single GWT widget that'll help me select a directory (similar to how Google drive does it).

Can any one here help me out with this ?

shantanusinghal
  • 714
  • 1
  • 8
  • 17

1 Answers1

0

That's not possible in GWT, because there's (currently) no browser agnostic way to do this with HTML/JavaScript.

See this related question:

Directory Chooser in HTML page


However, there apparently is a way to get this working in just Chrome (or more specifically webkit) as discussed here:

How to get folder directory from HTML input type "file" or any other way?

Community
  • 1
  • 1
Baz
  • 36,440
  • 11
  • 68
  • 94