You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by yi...@apache.org on 2019/07/20 09:07:22 UTC

[royale-asjs] branch file_proxy_refactor updated: FileModel is now an unprivileged bead, so needs to be specified.

This is an automated email from the ASF dual-hosted git repository.

yishayw pushed a commit to branch file_proxy_refactor
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/file_proxy_refactor by this push:
     new 8799a80  FileModel is now an unprivileged bead, so needs to be specified.
8799a80 is described below

commit 8799a80c02e1343b7ce9cb66ba11611deff56f55
Author: DESKTOP-RH4S838\Yishay <yi...@hotmail.com>
AuthorDate: Sat Jul 20 12:07:09 2019 +0300

    FileModel is now an unprivileged bead, so needs to be specified.
---
 examples/royale/FileProxy/src/main/royale/FileProxy.mxml          | 1 +
 frameworks/projects/Network/src/main/resources/basic-manifest.xml | 1 +
 2 files changed, 2 insertions(+)

diff --git a/examples/royale/FileProxy/src/main/royale/FileProxy.mxml b/examples/royale/FileProxy/src/main/royale/FileProxy.mxml
index 11b30c6..39f318a 100644
--- a/examples/royale/FileProxy/src/main/royale/FileProxy.mxml
+++ b/examples/royale/FileProxy/src/main/royale/FileProxy.mxml
@@ -23,6 +23,7 @@ limitations under the License.
 	<fx:Declarations>
 		<js:FileProxy id="myFileProxy" modelChanged="modelChangedHandler(event)">
 			<js:beads>
+				<js:FileModel/>
 				<js:FileBrowser id="myBrowser"/>
 				<js:FileLoader id="myLoader"/>
 			</js:beads>
diff --git a/frameworks/projects/Network/src/main/resources/basic-manifest.xml b/frameworks/projects/Network/src/main/resources/basic-manifest.xml
index 52ab687..ae33d91 100644
--- a/frameworks/projects/Network/src/main/resources/basic-manifest.xml
+++ b/frameworks/projects/Network/src/main/resources/basic-manifest.xml
@@ -32,4 +32,5 @@
     <component id="FileUploader" class="org.apache.royale.file.beads.FileUploader"/>
     <component id="FileUploaderWithResponseData" class="org.apache.royale.file.beads.FileUploaderWithResponseData"/>
     <component id="FileLoaderAndUploader" class="org.apache.royale.file.beads.FileLoaderAndUploader"/>
+    <component id="FileModel" class="org.apache.royale.file.beads.FileModel"/>
 </componentPackage>