Re: displayAsPassword attribute does not work
Hi T-San, Sounds like a cache problem somewhere. I’m guessing you are using an IDE. The IDE is pointing to a set of SWCs usually from some frameworks/libs or frameworks/js/libs folder. But often those SWCs are loaded at IDE startup and not reloaded after compiling a library project, and also the compilation of a library project from the IDE may not copy the SWC from the library project’s target folder to the libs folder. When you get around to testing the code, a common mistake is to not clean out the bin and bin-debug and other output folders when compiling the application. HTH, -Alex From: Takeshita Shoichiro Reply-To: "users@royale.apache.org" Date: Wednesday, December 11, 2019 at 8:53 PM To: "users@royale.apache.org" Subject: Re: displayAsPassword attribute does not work Alex, I did the following: 1. Copy mx’s displayAsPasswod section of TextInput.as to the end of spark’s TextInout.as. 2. Add override in front of public function get displayAsPassword() and public function set displayAsPassword(). 3. Add import org.apache.royale.html.accessaries.PasswordInputBead. It seems these functions are not overdriven. When moving the mouse over the dusplayAsPassword attribute, the pop up still points SkinnableTextBase. And the password column in the HTML field is not yet masked. Did I miss something? Thanks. 2019年12月6日(金) 7:17 Alex Harui mailto:aha...@adobe.com>>: Thanks in advance for trying. You can try following the “Squashing Bugs” instructions https://royale.apache.org/get-involved/<https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Froyale.apache.org%2Fget-involved%2F=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198453679=TGKAAc4TUb85qqXxBjxY1RFENvradun8vZGXVCBZHPc%3D=0> Let us know if the instructions need improvement as well. -Alex From: Takeshita Shoichiro mailto:jl03...@gmail.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" mailto:users@royale.apache.org>> Date: Thursday, December 5, 2019 at 2:05 PM To: "users@royale.apache.org<mailto:users@royale.apache.org>" mailto:users@royale.apache.org>> Subject: Re: displayAsPassword attribute does not work Alex, OK. I will try. I need some time to understand the process. Do I need to create an issue for this error? I think I should do the FORK before doing the work at my terminal, correct? Thanks. ST On Fri, Dec 6, 2019 at 1:53 AM Alex Harui mailto:aha...@adobe.com>> wrote: It hasn’t been implemented in Spark TextInput yet. You should be able to copy the code from MX TextInput into Spark TextInput (as an override of SkinnableTextBase’s displayAsPassword). It would be good if you can learn how to modify the framework code and provide pull requests. Then you will be less dependent on other volunteers in the future. Thanks, -Alex From: Takeshita Shoichiro mailto:jl03...@gmail.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" mailto:users@royale.apache.org>> Date: Thursday, December 5, 2019 at 4:12 AM To: "users@royale.apache.org<mailto:users@royale.apache.org>" mailto:users@royale.apache.org>> Subject: displayAsPassword attribute does not work Hi, displayAsPassword attribute does not work with the following markup. Did I miss something? === http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198453679=AjCz70aTx3QTXhd96qcJDObAfOJWvdc6ayt2knJHX4g%3D=0>" xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198463675=%2BMw%2F68uQqAswkw29IaI%2F6FjQlwg5Kk%2FgPsjboCdWv04%3D=0>" xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7C18d8eb29d66a4d4141e008d77ebf3d9e%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637117232198474147=enmcPpgalyTgCP5da%2BphPk0sLvNC3RlydrGua0y9q%2FI%3D=0>" minWidth="1024" minHeight="768"> S. Takeshita -- Shoichiro Takeshita 武下 祥一郎 -- Shoichiro Takeshita 武下 祥一郎
Re: displayAsPassword attribute does not work
Alex, I did the following: 1. Copy mx’s displayAsPasswod section of TextInput.as to the end of spark’s TextInout.as. 2. Add override in front of public function get displayAsPassword() and public function set displayAsPassword(). 3. Add import org.apache.royale.html.accessaries.PasswordInputBead. It seems these functions are not overdriven. When moving the mouse over the dusplayAsPassword attribute, the pop up still points SkinnableTextBase. And the password column in the HTML field is not yet masked. Did I miss something? Thanks. 2019年12月6日(金) 7:17 Alex Harui : > Thanks in advance for trying. > > > > You can try following the “Squashing Bugs” instructions > https://royale.apache.org/get-involved/ > > > > Let us know if the instructions need improvement as well. > > > > -Alex > > > > *From: *Takeshita Shoichiro > *Reply-To: *"users@royale.apache.org" > *Date: *Thursday, December 5, 2019 at 2:05 PM > *To: *"users@royale.apache.org" > *Subject: *Re: displayAsPassword attribute does not work > > > > Alex, OK. I will try. I need some time to understand the process. > > > > Do I need to create an issue for this error? > > I think I should do the FORK before doing the work at my terminal, correct? > > > > Thanks. > > > > ST > > > > On Fri, Dec 6, 2019 at 1:53 AM Alex Harui wrote: > > It hasn’t been implemented in Spark TextInput yet. You should be able to > copy the code from MX TextInput into Spark TextInput (as an override of > SkinnableTextBase’s displayAsPassword). It would be good if you can learn > how to modify the framework code and provide pull requests. Then you will > be less dependent on other volunteers in the future. > > > > Thanks, > > -Alex > > > > *From: *Takeshita Shoichiro > *Reply-To: *"users@royale.apache.org" > *Date: *Thursday, December 5, 2019 at 4:12 AM > *To: *"users@royale.apache.org" > *Subject: *displayAsPassword attribute does not work > > > > > Hi, > > > > displayAsPassword attribute does not work with the following markup. Did > I miss something? > > > > > === > > > > > > > > > > http://ns.adobe.com/mxml/2009 > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533207662=69QRKSk2rJDVORZpsnxFtk7jnZIqgnKTGNCKW0jphug%3D=0> > " > > > >xmlns:s="library://ns.apache.org/royale/spark > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533207662=UtpF2G0Y2lOyhhOgmQwVWyc6KHL2k6vBbCXCVqpNl3A%3D=0> > " > > > >xmlns:mx="library://ns.apache.org/royale/mx > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533217616=6DqvgnYKZUx69PxHyFor5qGybwm8NjW32QmOvE40k5Q%3D=0> > " minWidth="1024" minHeight="768"> > > > > > > > > > > > > > > > > > > > > > > > > > > > text="royale007" > > > > editable="true" > > > > displayAsPassword="false" > > > > maxChars="10" /> > > > > > > > displayAsPassword="true" /> > > > > > > > > > > > > > > > > > > > > S. Takeshita > > > > > > > -- > > Shoichiro Takeshita > 武下 祥一郎 > -- Shoichiro Takeshita 武下 祥一郎
Re: displayAsPassword attribute does not work
Thanks in advance for trying. You can try following the “Squashing Bugs” instructions https://royale.apache.org/get-involved/ Let us know if the instructions need improvement as well. -Alex From: Takeshita Shoichiro Reply-To: "users@royale.apache.org" Date: Thursday, December 5, 2019 at 2:05 PM To: "users@royale.apache.org" Subject: Re: displayAsPassword attribute does not work Alex, OK. I will try. I need some time to understand the process. Do I need to create an issue for this error? I think I should do the FORK before doing the work at my terminal, correct? Thanks. ST On Fri, Dec 6, 2019 at 1:53 AM Alex Harui mailto:aha...@adobe.com>> wrote: It hasn’t been implemented in Spark TextInput yet. You should be able to copy the code from MX TextInput into Spark TextInput (as an override of SkinnableTextBase’s displayAsPassword). It would be good if you can learn how to modify the framework code and provide pull requests. Then you will be less dependent on other volunteers in the future. Thanks, -Alex From: Takeshita Shoichiro mailto:jl03...@gmail.com>> Reply-To: "users@royale.apache.org<mailto:users@royale.apache.org>" mailto:users@royale.apache.org>> Date: Thursday, December 5, 2019 at 4:12 AM To: "users@royale.apache.org<mailto:users@royale.apache.org>" mailto:users@royale.apache.org>> Subject: displayAsPassword attribute does not work Hi, displayAsPassword attribute does not work with the following markup. Did I miss something? === http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533207662=69QRKSk2rJDVORZpsnxFtk7jnZIqgnKTGNCKW0jphug%3D=0>" xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533207662=UtpF2G0Y2lOyhhOgmQwVWyc6KHL2k6vBbCXCVqpNl3A%3D=0>" xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7Ce35286b0539246b0a33b08d779cf4ac0%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111803533217616=6DqvgnYKZUx69PxHyFor5qGybwm8NjW32QmOvE40k5Q%3D=0>" minWidth="1024" minHeight="768"> S. Takeshita -- Shoichiro Takeshita 武下 祥一郎
Re: displayAsPassword attribute does not work
Alex, OK. I will try. I need some time to understand the process. Do I need to create an issue for this error? I think I should do the FORK before doing the work at my terminal, correct? Thanks. ST On Fri, Dec 6, 2019 at 1:53 AM Alex Harui wrote: > It hasn’t been implemented in Spark TextInput yet. You should be able to > copy the code from MX TextInput into Spark TextInput (as an override of > SkinnableTextBase’s displayAsPassword). It would be good if you can learn > how to modify the framework code and provide pull requests. Then you will > be less dependent on other volunteers in the future. > > > > Thanks, > > -Alex > > > > *From: *Takeshita Shoichiro > *Reply-To: *"users@royale.apache.org" > *Date: *Thursday, December 5, 2019 at 4:12 AM > *To: *"users@royale.apache.org" > *Subject: *displayAsPassword attribute does not work > > > > > Hi, > > > > displayAsPassword attribute does not work with the following markup. Did > I miss something? > > > > > === > > > > > > > > > > http://ns.adobe.com/mxml/2009 > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474494211=4EMdfTN0BI%2B9JfSlzmnrHKJe6NZqZ8%2BQayi8wa3IBRs%3D=0> > " > > > >xmlns:s="library://ns.apache.org/royale/spark > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474504205=aAYt52lyZIvj5PwzyUtcpj%2FM%2BdvYWY2VNpZr4TIIC%2Fo%3D=0> > " > > > >xmlns:mx="library://ns.apache.org/royale/mx > <https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474504205=xaEmgbIrZbW4xg%2FozIClXf1gvAVXS9eFMqo5E1A%2BWX0%3D=0> > " minWidth="1024" minHeight="768"> > > > > > > > > > > > > > > > > > > > > > > > > > > > text="royale007" > > > > editable="true" > > > > displayAsPassword="false" > > > > maxChars="10" /> > > > > > > > displayAsPassword="true" /> > > > > > > > > > > > > > > > > > > > > S. Takeshita > > > -- Shoichiro Takeshita 武下 祥一郎
Re: displayAsPassword attribute does not work
It hasn’t been implemented in Spark TextInput yet. You should be able to copy the code from MX TextInput into Spark TextInput (as an override of SkinnableTextBase’s displayAsPassword). It would be good if you can learn how to modify the framework code and provide pull requests. Then you will be less dependent on other volunteers in the future. Thanks, -Alex From: Takeshita Shoichiro Reply-To: "users@royale.apache.org" Date: Thursday, December 5, 2019 at 4:12 AM To: "users@royale.apache.org" Subject: displayAsPassword attribute does not work Hi, displayAsPassword attribute does not work with the following markup. Did I miss something? === http://ns.adobe.com/mxml/2009<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.adobe.com%2Fmxml%2F2009=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474494211=4EMdfTN0BI%2B9JfSlzmnrHKJe6NZqZ8%2BQayi8wa3IBRs%3D=0>" xmlns:s="library://ns.apache.org/royale/spark<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fspark=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474504205=aAYt52lyZIvj5PwzyUtcpj%2FM%2BdvYWY2VNpZr4TIIC%2Fo%3D=0>" xmlns:mx="library://ns.apache.org/royale/mx<https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fns.apache.org%2Froyale%2Fmx=02%7C01%7Caharui%40adobe.com%7C04a0de9cd9114f9fafba08d7797c63e6%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637111447474504205=xaEmgbIrZbW4xg%2FozIClXf1gvAVXS9eFMqo5E1A%2BWX0%3D=0>" minWidth="1024" minHeight="768"> S. Takeshita
displayAsPassword attribute does not work
Hi, displayAsPassword attribute does not work with the following markup. Did I miss something? === http://ns.adobe.com/mxml/2009; xmlns:s="library://ns.apache.org/royale/spark" xmlns:mx="library://ns.apache.org/royale/mx" minWidth="1024" minHeight="768"> S. Takeshita