You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2021/05/04 08:41:22 UTC

[GitHub] [royale-asjs] asifashfaq opened a new issue #1108: Multiple Files Selection FileReferenceList.

asifashfaq opened a new issue #1108:
URL: https://github.com/apache/royale-asjs/issues/1108


   in Royale we are Unable to Select Multiple Files to upload.
   
   in Flex there was support to select multiple files through FileReferanceList.
   below are the flex and Migrated to royale Codes.
   user needs multiple files selection in Apache Royale as it was in flex.
   need suggestions how can that problem will be resolved.
   
   Flex Code:
   'private function btnUploadClick_EH(event:MouseEvent):void {
   				var docFilter:FileFilter = new FileFilter("Documents", "*.pdf;*.doc;*.docx;*.txt;*.ppt;*.xls;*.xlsx;*.xlsm;*.xltx;*.xltm;*.zip;*.msg");
   				var imagesFilter:FileFilter = new FileFilter("Images", "*.jpg;*.jpeg;*.JPG;*.JPEG;*.tif;*.tiff;*.gif;*.png;*.bmp");
   				
   			        var  strFileRefList:FileReferenceList = new FileReferenceList();
   				strFileRefList.addEventListener(Event.SELECT, selectHandler);	
   				
   				
   				strFileRefList.browse([docFilter,imagesFilter]);
   				
   			}'
   Apache Royale Migrated Code:
   'private function btnUploadClick_EH(event:org.apache.royale.events.MouseEvent):void {
   				var docFilter:mx.net.FileFilter = new mx.net.FileFilter("Documents", "*.pdf;*.doc;*.docx;*.txt;*.ppt;*.xls;*.xlsx;*.xlsm;*.xltx;*.xltm;*.zip;*.msg");
   				var imagesFilter:mx.net.FileFilter = new mx.net.FileFilter("Images", "*.jpg;*.jpeg;*.JPG;*.JPEG;*.tif;*.tiff;*.gif;*.png;*.bmp");
   				
   				strFileRef = new mx.net.FileReference();
   				strFileRef.addEventListener(org.apache.royale.events.Event.SELECT, fn_FileSelect_EH);				
   				strFileRef.browse([docFilter,imagesFilter]);
   			}'
   
   in Migrated code FileReferenceList is replaced by FileReferance.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] asifashfaq commented on issue #1108: Multiple Files Selection FileReferenceList.

Posted by GitBox <gi...@apache.org>.
asifashfaq commented on issue #1108:
URL: https://github.com/apache/royale-asjs/issues/1108#issuecomment-833104293


   Is anyone here to help..
   Waiting For Reply...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [royale-asjs] yishayw commented on issue #1108: Multiple Files Selection FileReferenceList.

Posted by GitBox <gi...@apache.org>.
yishayw commented on issue #1108:
URL: https://github.com/apache/royale-asjs/issues/1108#issuecomment-833254563


   Hi Asif,
   
   As far as I know multiple file upload is not yet supported.
   
   Yishay
   
   From: Asif ***@***.***>
   Sent: Thursday, May 6, 2021 2:05 AM
   To: ***@***.***>
   Cc: ***@***.***>
   Subject: Re: [apache/royale-asjs] Multiple Files Selection FileReferenceList. (#1108)
   
   
   Is anyone here to help..
   Waiting For Reply...
   
   —
   You are receiving this because you are subscribed to this thread.
   Reply to this email directly, view it on GitHub<https://github.com/apache/royale-asjs/issues/1108#issuecomment-833104293>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAQBE7PCIVX5WEJGB45VCRLTMHFKBANCNFSM44CIYX7A>.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org