Greetings all,
I'm using change language selector on navigation bar using this method
https://supphachai.medium.com/enabling-a-multilingual-support-for-oracle-apex-applications-3b09b9d7b3a2
which uses :FSP_LANGUAGE_PREFERENCE and
and process that fire when REQUEST=LANG
BEGIN
apex_util.redirect_url(p_url => '&APP_PAGE_ALIAS.'||'?session='||'&APP_SESSION.');
END;
my use case scenario : suppose you editing form page and you want to change the language of the application
it will end to clear all page items of this form
I tried to change the process to this
apex_util.redirect_url(p_url => '&APP_PAGE_ALIAS.'||'?session='||'&APP_SESSION.'|| '&cs='|| '&APP_REQUEST_DATA_HASH.');
but the problem I'm getting new request hash
i tried this also but didn't work
apex_util.redirect_url(p_url => '&APP_PAGE_ALIAS.'||'&P0_URL.');
P0_URL is global page item and it's value is getting from this JS
const queryString = window.location.search;
apex.item ("P0_URL").setValue(queryString);