Hi
Sure, what i did was to overload the menu button.
As i sayed, including the MUploadButton wasn't enought.
We need to overload _onKeyPress handler with an empty new function.
Here is the result
qx.Class.define("xx.UploadMenuButton",{
extend:qx.ui.menu.Button,
include:com.zenesis.qx.upload.MUploadButton,
members:{
// _onClick:function(){},
_onKeyPress:function(){}
}
});
Regards
2013/1/14 John Spackman <john-li...@zenesis.com>
> Hi Benjamin
>
> Thanks for looing at this – it's been on my todo list last week. Do you
> have a patch or example I can include in thje congtrib?
> Regards
> John
>
> From: Benjamin Dreux <dreux.benja...@uqam.ca>
> Reply-To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
> Date: Friday, 11 January 2013 18:26
> To: qooxdoo Development <qooxdoo-devel@lists.sourceforge.net>
> Subject: Re: [qooxdoo-devel] Issue with uploadmgr
>
> Hi
> I've found the problem
> It's due to the implmentation of the menubutton.
> In it there is a listener on keypress event.
> The only thing to do is to override the handler. Then the uploader will
> working fine again.
>
> Regards
>
> 2013/1/11 Benjamin Dreux <dreux.benja...@uqam.ca>
>
>> Hi
>>
>> I've just tried to use an atom to make the upload widget.
>> I worked just fine. Also i tried to use uploadButton founded in the
>> contrib. It also working great.
>> Is that possible that it isn't possible to use a menu button to use it to
>> upload files from local file system?
>>
>>
>>
>> Regards
>>
>> 2013/1/11 Benjamin Dreux <dreux.benja...@uqam.ca>
>>
>>> Hi
>>> I'm having issue with UploadMgr, when using firefox.
>>> I've tested the demo with
>>> http://demo.qooxdoo.org/contrib/demobrowser/#UploadMgr~trunk%2Fdefault%2F1.5%2Findex.html
>>>
>>> In my case i've created a UploadMenuButton the same way the upload
>>> button was created.
>>>
>>> qx.Class.define("xx.ui.UploadMenuButton",{
>>> extend:qx.ui.menu.Button,
>>> include:com.zenesis.qx.upload.MUploadButton,
>>> members:{}
>>> });
>>>
>>> Then i'm trying to fire a macos finder when clicking on the menu button.
>>> But with firefox nothing happen, with chrome and opera it's working
>>> great.
>>>
>>> Is here how the upload button is created
>>>
>>>
>>> var btn = new ifsr.ui.UploadMenuButton();
>>> btn.set({
>>> label:this.tr("Get a PDF copy of the analysis with a PDF
>>> annexe"),
>>> icon:"ifsr/icons/page-full-red-add.png",
>>> cursor:"pointer"
>>> });
>>> var uploader = new com.zenesis.qx.upload.UploadMgr(btn, "xx.html");
>>>
>>> Is there something that i'm doing wrong.
>>> Regards
>>>
>>> --
>>> Benjamin Dreux
>>> Analyste-Programmeur
>>> Chaire de logiciel libre-Finance Social et solidaire
>>> UQAM
>>> Montréal
>>>
>>
>>
>>
>> --
>> Benjamin Dreux
>> Analyste-Programmeur
>> Chaire de logiciel libre-Finance Social et solidaire
>> UQAM
>> Montréal
>>
>
>
>
> --
> Benjamin Dreux
> Analyste-Programmeur
> Chaire de logiciel libre-Finance Social et solidaire
> UQAM
> Montréal
> ------------------------------------------------------------------------------
> Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much
> more. Get web development skills now with LearnDevNow - 350+ hours of
> step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99
> this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122812_______________________________________________qooxdoo-devel
> mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. SALE $99.99 this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122412
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
--
Benjamin Dreux
Analyste-Programmeur
Chaire de logiciel libre-Finance Social et solidaire
UQAM
Montréal
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel