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 09:50:11 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #722: mx:List valueCommit function is not being triggered

pashminakazi opened a new issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Sales from Select in Menu
   Go to Incentive Scheme from Setups in Menu
   File : com/dbz/modules/SAL/dbzIncentiveSchemeSetup.mxml
   
   In Incentive scheme setup there's a **mx:List** right after **Exclude Customer Label**
   When you click on it and select any record from picklist and click ok nothing will be shown in mx:List because valueCommit of mx:list isn't triggered.
   ```
   <mx:List id="inc_Cust_DescList"  x="209" y="408"  showDataTips="true" rowCount="10" width="386" 
   					 rowHeight="15" enabled="true" editable="false" visible="false" valueCommit="fn_SetDesc();" height="81"/> 
   ```
   ```
   private function fn_SetDesc():void{
   				inc_Cust_Desc.text="";
   				for(var j:int = 0; j < inc_Cust_DescList.dataProvider.length; j++){
   					inc_Cust_Desc.text+=inc_Cust_DescList.dataProvider[j]+ "\r" ;
   					
   				}
   			}
   ```
   I am posting a small video here for better understanding that you can see the steps and the function call,valueCommit function is not called in royale :
   ![list valuecommit](https://user-images.githubusercontent.com/42200979/74822447-f4d9d280-5326-11ea-9269-dae54a5f2e6c.gif)
   
   

----------------------------------------------------------------
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 #722: mx:List valueCommit function is not being triggered

Posted by GitBox <gi...@apache.org>.
pashminakazi commented on issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722#issuecomment-589507162
 
 
   In Flex,valueCommit is working for mx:List

----------------------------------------------------------------
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 #722: mx:List valueCommit function is not being triggered

Posted by GitBox <gi...@apache.org>.
aharui closed issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722
 
 
   

----------------------------------------------------------------
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 #722: mx:List valueCommit function is not being triggered

Posted by GitBox <gi...@apache.org>.
aharui closed issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722
 
 
   

----------------------------------------------------------------
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 #722: mx:List valueCommit function is not being triggered

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722#issuecomment-589506906
 
 
   valueCommit is not a public event.  Use "change" event instead

----------------------------------------------------------------
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 #722: mx:List valueCommit function is not being triggered

Posted by GitBox <gi...@apache.org>.
pashminakazi opened a new issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722
 
 
   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Sales from Select in Menu
   Go to Incentive Scheme from Setups in Menu
   File : com/dbz/modules/SAL/dbzIncentiveSchemeSetup.mxml
   
   In Incentive scheme setup there's a **mx:List** right after **Exclude Customer Label**
   When you click on it and select any record from picklist and click ok nothing will be shown in mx:List because valueCommit of mx:list isn't triggered.
   ```
   <mx:List id="inc_Cust_DescList"  x="209" y="408"  showDataTips="true" rowCount="10" width="386" 
   					 rowHeight="15" enabled="true" editable="false" visible="false" valueCommit="fn_SetDesc();" height="81"/> 
   ```
   ```
   private function fn_SetDesc():void{
   				inc_Cust_Desc.text="";
   				for(var j:int = 0; j < inc_Cust_DescList.dataProvider.length; j++){
   					inc_Cust_Desc.text+=inc_Cust_DescList.dataProvider[j]+ "\r" ;
   					
   				}
   			}
   ```
   I am posting a small video here for better understanding that you can see the steps and the function call,valueCommit function is not called in royale :
   ![list valuecommit](https://user-images.githubusercontent.com/42200979/74822447-f4d9d280-5326-11ea-9269-dae54a5f2e6c.gif)
   
   

----------------------------------------------------------------
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 #722: mx:List valueCommit function is not being triggered

Posted by GitBox <gi...@apache.org>.
aharui commented on issue #722: mx:List valueCommit function is not being triggered
URL: https://github.com/apache/royale-asjs/issues/722#issuecomment-589513132
 
 
   Of course it worked in Flex, but we are not going to emulate 100% of Flex.  Internal, undocumented events and APIs are a low priority for emulation, especially if there is an alternative.

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