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



Jun 15, 2012, 7:40 AM
25 Posts

Event handling

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1
Hi, How can we implement event handling in xpages. Thanks in advance.
Jun 15, 2012, 8:02 AM
126 Posts
Re: Event handling
Event handling is a very broad term, please explain what it is your trying to achieve and the issue you are facing so that people can help you.
 
To create an eventhandler, select a control in the XPages source and there is a tab along the bottom in domino designer called "Events", this will allow you to add events and gives you many options such as partial refresh, partial execute, do not validate etc. 
 
If you mean you want to handle errors in event handling, select an event handler and in the all properties tab there are 3 properties "onComplete", "onStart", "onError" that are available for you to execute code. 
 
There are many examples of all of these on the web that you will find through google 
 
such as: 

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