I am opening custom web window from the Xpage. I am trying to access the parent xpage elements in the child window.
alert(window.opener.XSP) is returning Object object.
when i try to access using window.opener.XSP.getElementById("#{id:field}") , it is not returning corresponding object to access value.
window.opener.document.getElementById("view:_id1:field").value is returning correct value, but i dont want to hard code view:_id1
Thanks in advance.