"RF_TimeZoneList" control does not update as expected
Whenever user selects a value from the dropdown, it changes back to the default value.
Steps to Reproduce
1. Create a section inside a modal window to populate the operator details on click of operator ID present inside repeating grid.
2. Use "RF_TimeZoneList" control to populate timezone option for user.
3. Select any value in that control and save the changes.
4. In DB, the updated value is saved but in UI, the default, America/Newyork, is displayed.
A software use or operation error.
User is using a clipboard page to populate the operator details but "RF_TimeZoneList" control looks for the step page to get operators timezone details.
User is creating the page through activity and using the page reference to populate the details in a section,so step page at run time is null.
Perform the following local-change:
Create a custom control with the changes as mentioned below:
Instead of "String timeZone= tools.getStepPage().getString(propertyName);" as present in "RF_TimeZoneList" use "String timeZone= tools.getActive().getParentPage().getString(propertyName);" in the custom control to get timezone detail.
0% found this useful