I would like to make a page item null when clear button is pressed and refresh all contents so that user can start afresh, leaving aside whatever was entered so far in many page items. All page items derive their values from main page item PX_MAIN and so clearing this should make all other page items null too.
I am using apex.item().setValue() to set the value as a null in the page using DA when a button is pressed. The value disappears and all dependent items show blank too. After this, I have location.reload() which is to reload the page. However, I see that when I reload the page, the value reappears in the page item. Basically setValue has not set the value permanently. What should I do to make it null so that I see a blank page item when I reload it?