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



Jan 10, 2012, 6:25 PM
14 Posts
topic has been resolvedResolved

Problems with javascript in xpages

  • Category: Other
  • Platform: All
  • Release: 8.5.3
  • Role:
  • Tags: combobox,javascript
  • Replies: 1
Maybe bad luck when I think but it does not work.
Deletes a document in an iFrame, after deletion, I open another message page in iframe that shows what has been done.
Want the entire page, not just part of the iFrame is also updated when the parent message page is opened. How do I do that, Tested with window.parent.reload (). that does not work. Where should I put any JS
 
I wonder also how to validate a ComboBox?

Regards
Willy
Jan 11, 2012, 12:21 PM
31 Posts
Re: Problems with javascript in xpages
If a understand you correct, use this
 
<?xml version="1.0" encoding="UTF-8"?>
<xp:view xmlns:xp="http://www.ibm.com/xsp/core">
      <script language="Javascript">
            XSP.addOnLoad(function (){parent.location.href = parent.location.href} );
      </script>
</xp:view>

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