This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



May 26, 2013, 4:00 PM
6 Posts

accessing xsp elements in custom web page

  • Category: Dojo and Client Side JavaScript
  • Platform: All
  • Release: 8.5.3
  • Role:
  • Tags: XSP.getelementbyid
  • Replies: 0
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.  

This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal