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



Mar 26, 2011, 8:23 PM
4 Posts

requestscope variable are null when access from data table object

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags: data table,request scope variable
  • Replies: 1
 
I'm trying to create a search page that will take search terms entered on an Xpage, full text search one or more external databases, and display the results (with links) on the Xpage.  I've got a data table control setup to display the results and java script in the data table to do the search and return the results.  I'm trying to use request scope variables in the java script to get the search terms from the Xpage, but all the request scope variables are null in the java script.
 
I've also tried putting the same java script code on a button on the Xpage.  In this case, I can get the values from the request scope variables, run the search, and return results, however, I don't now how to get the results to a data table object or repeat object.
 
Any ideas?

thanks,
 
chuck
Mar 30, 2011, 1:10 PM
4 Posts
Re: requestscope variable are null when access from data table object
Switched to viewScope variables.  This is working better.

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