PDA

View Full Version : Form.getValues() not retrieving updated values



lavanyav
23 Feb 2009, 10:12 PM
Fucntionality:
Based on the selection from the combo box the check boxes are checked and unchecked.ex if the combo box is selected as ‘select all MFG’ the boxes under ‘manufacturing’ i.e active, prod fixed & cancel entry are checked.
When ‘update display status filter’ button is clicked the records with that status will be displayed.
Issue:
1)
For the first time every thing works fine i.e after selecting the value from combo and clicking ‘update display status filter’ button the records are displayed properly(the grid is reloaded). But when trying to select for the second time from combo, the selected value is not displayed in the combo.
2)
Also when trying to get the values of check boxes using
param1 = comboForm.getForm().getValues(true); the updated values are not retrieved, the old values still persist. But the corresponding check boxes are checked based on the value selected from the combo box.

unable to attach UI screen shot . the code snippet is attached.
The grid and formpanel put in panel and the panel is displayed.
As they are in same panel should the form be refreshed after the grid reload if so please suggest how?


Thanks in advance in your help!

lavanyav
24 Feb 2009, 3:05 AM
I even tried to reset the form by using
comboForm.getForm().reset();
but no luck.

Could some one help!...


Thanks,
Lavanya

lavanyav
24 Feb 2009, 8:59 PM
Hi All,

Any resolution related to this issue will help me.

Regards,
Lavanya