Hi Omni,

I'm not 100% but I don't think so because of security concerns in the
browser, i.e. the user must explicitly select any file which is to be
uploaded and the only mechanism to allow selection is by having an
input[file].  

Re restricting selected files to *.pdf or similar: in theory, the input
element has an "accept" attribute that allows you to filter based on MIME
type, but AIUI this is only supported on Opera.

John

On 23/05/2012 07:58, "omrihar" <[email protected]> wrote:

>Hi John,
>
>Is there a way to simply launch the file browse dialog without any
>button? I
>don't mind using my Atom and in the click event simply calling something
>like uploader.getFile() or something similar...
>That way, there is no need to solve the input[type=file] browser
>incompatibility problem.
>
>Thanks,
>Omri
>
>P.S - perhaps this can also allow to limit the file upload to certain
>filetypes (if it is possible to implement), using uploader.getFile("PDF
>Files|*.pdf") or something similar...
>
>--
>View this message in context:
>http://qooxdoo.678.n2.nabble.com/Using-a-qx-ui-basic-Atom-as-a-widget-for-
>the-UploadMgr-tp7569013p7572874.html
>Sent from the qooxdoo mailing list archive at Nabble.com.
>
>--------------------------------------------------------------------------
>----
>Live Security Virtual Conference
>Exclusive live event will cover all the ways today's security and
>threat landscape has changed and how IT managers can respond. Discussions
>will include endpoint security, mobile security and the latest in malware
>threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>_______________________________________________
>qooxdoo-devel mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to