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/06/25 09:26:20 UTC

[GitHub] [royale-asjs] pashminakazi opened a new issue #875: RadioButton selection Issue

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


   Project Details are :
   https://paste.apache.org/cpo8y
   Test case is available on VDI.
   Go to Inventory from Select in Menu
   Go to PSSM -> Orifice Metering from Setups in Menu
   File : com/dbz/modules/Common/dbzPlannimetryMaster.mxml
   
   Click on Plus(+) button popup will be opened, In this Popup **From Field** and **To Field** **AM/PM** is separated,but i am unable to select 2 radio buttons **AM** or **PM** for **from field** and **AM** or **PM** for **To field**.
   It is necessary to select one radioButton from **From Field** and one radioButton from **To Field**
   System is allowing to select only one radio button from these 4
   ![image](https://user-images.githubusercontent.com/42200979/85691290-cbbeb980-b6ed-11ea-8799-d665220ab80f.png)
   ![image](https://user-images.githubusercontent.com/42200979/85691583-13454580-b6ee-11ea-8286-83860068c1cd.png)
   
   We are using our custom File dbzDateTimePicker for radiobuttons in dbzPlannimetryDetail.mxml like
   
   ```
   s:Label id="FromTimeLabel" text=" From Time" x="60" y="37" verticalAlign="middle" height="20" width="111" textAlign="right"/>
   <s:Label id="ToTimeLabel" text="To Time " x="60" y="68" verticalAlign="middle" height="20" width="111" textAlign="right"/>
   <components:dbzDateTimePicker id="setupDetailTime1" x="138" y="34" tabIndex="2" height="26" width="234">
   </components:dbzDateTimePicker>
   <components:dbzDateTimePicker id="setupDetailTime2" x="138" tabIndex="3" y="65" height="26">
   </components:dbzDateTimePicker> 
   ```
   
   these radiobuttons are in our library file : dbzDateTimePicker.mxml which is in DbizLib
   Path : D:/DbizLib/src/com/dbz/modules/components/dbzDateTimePicker,mxml
   File : https://paste.apache.org/t6aiq
   
   
   


----------------------------------------------------------------
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] aharui commented on issue #875: RadioButton selection Issue

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


   We could try to fix that, but it is probably easier if you adjust your code to choose a custom groupName for each instance of dbzDateTimePicker.  


----------------------------------------------------------------
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] aharui commented on issue #875: RadioButton selection Issue

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


   I guess I wasn't clear enough.  The browser is has different uniqueness rules than Flash.  A RadioButton's group is effectively registered at the browser level, not the MXML document level as it is in Flash/Flex.  So if you have more than one copy of a RadioButton group in Royale there browser sees it as one.
   
   I think a simple workaround is to add a "groupName" property to your dbzDateTimePicker and use that groupName as the groupName for the RadioButtons.  You might  be able to use the "id" property as the groupName for the RadioButtons.


----------------------------------------------------------------
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] pashminakazi commented on issue #875: RadioButton selection Issue

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


   Are you saying me to create 2 different mx:RadioButtonGroup?
   1 for AM RadioButton and 1 for PM RadioButton


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