SAVE using apex.confirm, and retaining field values
spriyaMar 18 2013 — edited Mar 22 2013Hi,
I saw many threads discussing this, but I could not get my question answered.
I have a SAVE button on page 1. It has 20 different fields. When clicked on SAVE, i get a confirmation pop up using below in Redirect to URL of the button.
javascript:apex.confirm("Click OK to save",{request:"SAVE",showWait:true});
I also have a Page Redirect to the same page 1, when SAVE is clicked. I want to retain the values of all the fileds. Right now, the values get cleared automatically.
1) I tried to Set values on the Branches, by choosing each field and its value. It works great for text fields, but does not work for Shuttle values
2) I tried to change the Source proprerty of each field to "Only when current value in session state is null" --> But the values are always retained, even when i navigate away from the page and come back to the page.
Can you please let me know what i am missing and how i can not clear the values of fields and still do a submit?
Thanks,
Priya