This content has been marked as final.
Show 2 replies
-
1. Re: Get folder path + filename from rich:fileUpload
ilya_shaikovsky Sep 4, 2009 5:01 AM (in response to oneworld95)UploadItem item = event.getUploadItem();
item.getFileName()
could be used in listener as at richfaces-demo.
the only problem that different browsers adds different information. Some provides full path to file and some inly fileName. And we could not override that. -
2. Re: Get folder path + filename from rich:fileUpload
oneworld95 Sep 4, 2009 8:16 AM (in response to oneworld95)Thank you, Ilya. Is it possible to use a client-side solution with JavaScript to get the value or will I run into the same cross-browser issue with the path?