title: How to add an event to a Custom Control in Lotus Domino XPages?
body: <p>I'm developing an Lotus XPages solution. I have a Custom Control that I would like to have additional functionality in the form of an event call-back. </p>
  
  <p>Is it possible to create a JavaScript callback or event in a custom control? What I'd really like is to add events to one of my controls, something like OnSomething or querySomething and postSomething, so that when the event is fired, the code at the calling end is properly called.</p>
  
  <p>Can it be done??</p>
  
  <p>Thanks!</p>