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 10, 2011, 3:31 PM
16 Posts

Error Xpage showing parts of calling XPage

  • Category: Other
  • Platform: All
  • Release: 8.5.1
  • Role: Developer
  • Tags: error
  • Replies: 3
I have created an "error" XPage to use to nicely display an error to a user (after a search string that is not understandable has been passed to a view control) to give them a nice link to return to the main XPage. I have set the application properties to use the error XPage.
 
When I  pass a query that is not understandable via the browser, the approach works perfectly. The error XPage displays fine and formatted exactly how it should.
 
When I pass a query that is not understandable via the Notes client, the error XPage still appears but shows bits of the search XPage behind it!!!! The error Xpage and search XPage share no commonly named elements/panels/controls - it just looks like the Notes client "leaves in the background" the calling page when it redirects to the error page. This is making my app look "horrible with a capital horror".
 
Any ideas?

Many thanks
 
Mike
 

Mar 10, 2011, 6:57 PM
149 Posts
Re: Error Xpage showing parts of calling XPage
 
If you not already done so , surround your code with try/catch
 
 
Good Luck
Thomas
Mar 11, 2011, 3:29 PM
16 Posts
Re: Error Xpage showing parts of calling XPage
Thanks Thomas
 
I do have a try/catch around my code where I can log any errors in the code that builds the query string

The concept works perfectly - the error being caught is the query string to the search property of a view panel which is not understandable. The error page displays when it should (and requestScope.error is a VERY useful thing to display!)
 
It's one of those little things that doesn;t quite work in XPiNC as it does in a browser. It is annoying to say the least!!!!

Mike
Jun 19, 2011, 8:29 AM
2 Posts
Re: Error Xpage showing parts of calling XPage
Mike, do you have to do something to get the link (return to Home Page) to work? I have tried a button and a link. When I preview the error page the buttons work. When the page displays as a result of an error they don't.

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