WebFormEventContext.getOwner

Returns the object that owns the event currently being executed. This will be one of:
  • com.ebasetech.xi.api.controls.Control for control level events e.g. button click, hyperlinks, immediate validation
  • Page for page level events e.g. before page, after page
  • WebForm for form level events e.g. before form, after form, on error and client API calls to run a function using executeFunction()

returns WebFormEventOwner