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 18, 2011, 12:23 PM
38 Posts

Re: Error handling in XPage

  • Category: Debugging
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: xpages,error handling
  • Replies: 4
If I put someting in requestScope then it should persist in the for atleast one request i.e. from "ErrorThrowingPage.xsp" TO "CustomErrorPage.xsp". So it should persist for that one request. Got this from XPages tutorial: http://www-10.lotus.com/ldd/ddwiki.nsf/dx/Tutorial-Introduction-to-XPages-Exercise-9. Am I right on this one?
 
The reason I want to aviod putting error in sessionScope is that it will  persist for entire user's session which is not required and what if another error occurs in the same session.
 
Mar 18, 2011, 12:34 PM
22 Posts
Re: Error handling in XPage
 Not sure Naveen, but it seems that the requestScope is acting less persistent then you require.
Surely you can just clear the sessionScope variable once it has been displayed? 
Mar 18, 2011, 12:34 PM
22 Posts
Re: Error handling in XPage
 Not sure Naveen, but it seems that the requestScope is acting less persistent then you require.
Surely you can just clear the sessionScope variable once it has been displayed? 

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