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 2020/02/19 08:07:13 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

pashminakazi opened a new issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Inventory from Select in Menu
   Go to Misc -> Oracle Integration from Setups in Menu
   File : com/dbz/modules/Common/dbzOraIntConfigSetup.mxml
   
   In the second tab "Account Code" there are 13 fields in this tab.All fields are MaskedTextInput like 
   `<cc:MaskedTextInput id="setupColumn8" width="360" tabIndex="10" x="194" y="97" maxChars="80" inputMask="###-###-###-###-####-######-#######-###-#####-##-####" />`
   these all fields are having input mask and these fields should be look like :
   ![image](https://user-images.githubusercontent.com/42200979/74813892-e7691c00-5317-11ea-8435-2597676c8bf5.png)
   
   but Royale is showing all fields blank
   ![image](https://user-images.githubusercontent.com/42200979/74813917-f780fb80-5317-11ea-98b6-35a1a5531e55.png)
   
   so when i save a record,An exception thrown on java side and record doesn't saved.
   When i click on any field and press **any key from keyboard** then it will look like flex MaskedTextInput,but it should look like flex by default,not on Clicking field and pressing any key
   
   After clicking on 2 fields and press any button from keyboard,it looks like flex
   ![image](https://user-images.githubusercontent.com/42200979/74814259-b0473a80-5318-11ea-85c9-f1a26f667973.png)
   
   
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui closed issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589544143
 
 
   Check now,record was saved,now i delete the record from this setup now every field is blank and Account Code tab fields should have - - - - - - instead of blank

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-590239731
 
 
   I have tried adding
   ```
   override public function addedToParent():void
   {
       super.addedToParent();
       updateDisplayList(width,height);
   }
   ``` 
   at the same time calling invalidateDisplayList() from set inputMask and also without invalidateDisplayList()
   
   OR
   
   ```
   override public function addedToParent():void
   {
       updateDisplayList(width,height);
   }
   
   ```
   at the same time calling invalidateDisplayList() from set inputMask and also without invalidateDisplayList()
   
   But it doesn't work

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui closed issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589510109
 
 
   I went to that screen and it had the dashes in the correct places.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-590443410
 
 
   Calling updateDisplayList from "set inputMask" clearly caused a problem, so I would not do that.
   
   You must call the super.addedToParent or else lots of things will not work.
   
   I can't tell if you tried that combination or not.  It is best to only change one thing at a time.
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi opened a new issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
pashminakazi opened a new issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Inventory from Select in Menu
   Go to Misc -> Oracle Integration from Setups in Menu
   File : com/dbz/modules/Common/dbzOraIntConfigSetup.mxml
   
   In the second tab "Account Code" there are 13 fields in this tab.All fields are MaskedTextInput like 
   `<cc:MaskedTextInput id="setupColumn8" width="360" tabIndex="10" x="194" y="97" maxChars="80" inputMask="###-###-###-###-####-######-#######-###-#####-##-####" />`
   these all fields are having input mask and these fields should be look like :
   ![image](https://user-images.githubusercontent.com/42200979/74813892-e7691c00-5317-11ea-8435-2597676c8bf5.png)
   
   but Royale is showing all fields blank
   ![image](https://user-images.githubusercontent.com/42200979/74813917-f780fb80-5317-11ea-98b6-35a1a5531e55.png)
   
   so when i save a record,An exception thrown on java side and record doesn't saved.
   When i click on any field and press **any key from keyboard** then it will look like flex MaskedTextInput,but it should look like flex by default,not on Clicking field and pressing any key
   
   After clicking on 2 fields and press any button from keyboard,it looks like flex
   ![image](https://user-images.githubusercontent.com/42200979/74814259-b0473a80-5318-11ea-85c9-f1a26f667973.png)
   
   
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589549415
 
 
   In this setup there is only one record can be saved because there's no new
   and delete button in this setup.
   In VDI when you open this setup record was already saved so the field were
   - - - - - - - - - -
   now i delete this record from database and now everything is blank,so now
   you can test this issue.
   In Flex, If there is no record in this setup but still "Account Code" tab
   fields have - - - - by default
   In Royale,there is blank field so when i save record with these blank field
   record couldn't be saved and then i have to click on these field and press
   any key from keyboard to produce - - - - - - - in these records and then
   record saved
   
   On Fri, Feb 21, 2020 at 1:18 PM aharui <no...@github.com> wrote:
   
   > I will connect to the VDI, but seeing the problem isn't always helpful. I
   > usually need to know what code ran that resulted in the problem in order to
   > determine what code is not working properly.
   >
   > —
   > You are receiving this because you modified the open/close state.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/royale-asjs/issues/721?email_source=notifications&email_token=AKB67E6LRLPN6PX5JMZ23CLRD6E6NA5CNFSM4KXUAN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMR4TQY#issuecomment-589547971>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AKB67E327XKJGJWFGUIP2MDRD6E6NANCNFSM4KXUAN5A>
   > .
   >
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589806068
 
 
   Most of the MaskedTextInputs have their updateDisplayList called because the init code sets text.  No text seems to be set on these MaskedTextInputs.  You could try calling updateDisplayList instead of invalidateDisplayList in the inputMask setter, or maybe override addedToParent() and call it there.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589548673
 
 
   The VDI is not at this screen.  It is the Voucher screen.  I am disconnecting and will try again tomorrow if you can provide a set of steps to reproduce the problem.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589547971
 
 
   I will connect to the VDI, but seeing the problem isn't always helpful.  I usually need to know what code ran that resulted in the problem in order to determine what code is not working properly.

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui closed issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui closed issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721
 
 
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi opened a new issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
pashminakazi opened a new issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Inventory from Select in Menu
   Go to Misc -> Oracle Integration from Setups in Menu
   File : com/dbz/modules/Common/dbzOraIntConfigSetup.mxml
   
   In the second tab "Account Code" there are 13 fields in this tab.All fields are MaskedTextInput like 
   `<cc:MaskedTextInput id="setupColumn8" width="360" tabIndex="10" x="194" y="97" maxChars="80" inputMask="###-###-###-###-####-######-#######-###-#####-##-####" />`
   these all fields are having input mask and these fields should be look like :
   ![image](https://user-images.githubusercontent.com/42200979/74813892-e7691c00-5317-11ea-8435-2597676c8bf5.png)
   
   but Royale is showing all fields blank
   ![image](https://user-images.githubusercontent.com/42200979/74813917-f780fb80-5317-11ea-98b6-35a1a5531e55.png)
   
   so when i save a record,An exception thrown on java side and record doesn't saved.
   When i click on any field and press **any key from keyboard** then it will look like flex MaskedTextInput,but it should look like flex by default,not on Clicking field and pressing any key
   
   After clicking on 2 fields and press any button from keyboard,it looks like flex
   ![image](https://user-images.githubusercontent.com/42200979/74814259-b0473a80-5318-11ea-85c9-f1a26f667973.png)
   
   
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589546603
 
 
   You do not have to do something..
   only open this setup on VDi and see the problem.
   
   On Fri, Feb 21, 2020 at 1:13 PM aharui <no...@github.com> wrote:
   
   > I am not clear on how to reproduce the problem. What record are you
   > referencing? That sounds different from the original problem which was
   > about initialization.
   >
   > Please provide a better explanation of the steps involved. I will try it
   > some other day.
   >
   > —
   > You are receiving this because you modified the open/close state.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/royale-asjs/issues/721?email_source=notifications&email_token=AKB67E5LZAKR2T4EK7ZSJKLRD6EKNA5CNFSM4KXUAN5KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMR4FMQ#issuecomment-589546162>,
   > or unsubscribe
   > <https://github.com/notifications/unsubscribe-auth/AKB67EYZ4BJYOCBJX4OXVRTRD6EKNANCNFSM4KXUAN5A>
   > .
   >
   

----------------------------------------------------------------
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


With regards,
Apache Git Services

[GitHub] [royale-asjs] aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #721: MaskedTextInput inputMask is working after pressing any key on TextField
URL: https://github.com/apache/royale-asjs/issues/721#issuecomment-589546162
 
 
   I am not clear on how to reproduce the problem.  What record are you referencing?  That sounds different from the original problem which was about initialization.
   
   Please provide a better explanation of the steps involved.  I will try it some other day.

----------------------------------------------------------------
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


With regards,
Apache Git Services