Hi Benjamin
Glad you got it working; I've just committed changes to remove the new lint
warnings
John
From: Benjamin Dreux <[email protected]>
Reply-To: qooxdoo Development <[email protected]>
Date: Monday, 19 November 2012 14:17
To: qooxdoo Development <[email protected]>
Subject: Re: [qooxdoo-devel] UploadMgr and last version of chrome
Hi
I've found my problem.
Before that i have to say, once the migration is complete, there is no more
warning message
But there is this message:
Could not determine current revision of "UploadMgr/trunk"
But it compile and as i sayed it works fine.
Here is my last modification
var btn = new ifsr.ui.UploadMenuButton();
btn.set({
label:this.tr <http://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, "X");
var downloadWindow;
uploader.addListener("addFile", function(event){
var file = event.getData();
file.addListener("changeResponse",function(){
downloadWindow = window.open("Y","_blank");
});
});
return btn;
Maybe that could help others
Regars
2012/11/19 Benjamin Dreux <[email protected]>
> Hi
>
> I just make the migration, and during compilation process, i have some warning
> mesage:
>
> - Warning: com.zenesis.qx.upload.XhrHandler (138,29): Unknown global
> symbol used: 'FileReader'
> - Warning: com.zenesis.qx.upload.XhrHandler (95,21): Unknown global
> symbol used: 'FormData'
> - Warning: com.zenesis.qx.upload.XhrHandler (95,54): Unknown global
> symbol used: 'FormData'
> - Warning: com.zenesis.qx.upload.XhrHandler (96,24): Unknown global
> symbol used: 'FormData'
>
> It looks like the error is due the recent changes on the lint module.
> I also noticed that the UploadMgr use an old version of qooxdoo.
>
> In my app, i use
> com.zenesis.qx.upload.MUploadButton
> And add it to Menu button to create my upload button.
>
> Then i did this
>
>
> var btn = new ifsr.ui.UploadMenuButton();
> btn.set({
> label:this.tr <http://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, "X");
> var downloadWindow;
> btn.addListener("click",function(event){
> downloadWindow = window.open(null,"_blank");
> });
> uploader.addListener("addFile", function(event){
> var file = event.getData();
> file.addListener("changeResponse",function(){
> downloadWindow.location = "Y";
> });
> });
>
> return btn;
>
> Here my issue is that the finder is not opened, and the addFile handeler is
> never called.
>
> I don't understand what is wrong in my use of uploadMgr
>
> Regards
>
> 2012/11/13 Benjamin Dreux <[email protected]>
>> Hi John
>>
>> I've tryed with the link you gave.
>> All works as expected.
>>
>> So te problem must come from my usage of the contrib.
>>
>> I'll dig deeper.
>>
>> Regards
>>
>> 2012/11/13 John Spackman <[email protected]>
>>> Hi Benjamin
>>>
>>> I can't reproduce this on Chrome on the Mac or on XP, with exactly that
>>> version number. Please can you try the demo at [1] and see how you get on.
>>>
>>> [1]
>>> http://demo.qooxdoo.org/contrib/demobrowser/#UploadMgr~trunk%2Fdefault%2F2.0
>>> .1%2Findex.html
>>>
>>> Thanks
>>> John
>>>
>>> From: Benjamin Dreux <[email protected]>
>>> Date: Tuesday, 13 November 2012 15:23
>>> To: qooxdoo Development <[email protected]>, John
>>> Spackman <[email protected]>
>>> Subject: UploadMgr and last version of chrome
>>>
>>> Hi
>>>
>>> I'm using UploadMgr contrib.
>>> It's working great.
>>> But this morning i noticed that my upload button doesn't work anymore with
>>> the last version of chrome (23.0.1271.64)
>>> I checked with firefox 16.02 version and it still work fine.
>>> Is this a known issue? Is there a better way to ask question about this??
>>>
>>> Regards
>>>
>>> --
>>> Benjamin Dreux
>>> Analyste-Programmeur
>>> Chaire de logiciel libre-Finance Social et solidaire
>>> UQAM
>>> Montréal
>>>
>>> ----------------------------------------------------------------------------
>>> --
>>> Monitor your physical, virtual and cloud infrastructure from a single
>>> web console. Get in-depth insight into apps, servers, databases, vmware,
>>> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
>>> Pricing starts from $795 for 25 servers or applications!
>>> http://p.sf.net/sfu/zoho_dev2dev_nov
>>> _______________________________________________
>>> qooxdoo-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>>>
>>
>>
>>
>> --
>> 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
----------------------------------------------------------------------------
-- Monitor your physical, virtual and cloud infrastructure from a single web
console. Get in-depth insight into apps, servers, databases, vmware, SAP,
cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from
$795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov________________________________________
_______ qooxdoo-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel