YES! I would love an answer to this also. I know you can use this one to click on a tab (this is to open the List tab):
session = service.webclientsession();
newEvent = WebClientEvent("click", "results", "", None, None, None, -1, session);
session.queueEvent(newEvent);
Unfortunately the linked java doc does seem to give a list of valid values for the "type" parameter...harvesting from the Maximo code, looks like the following may also work (java syntax here):
WebClientEvent("dialogclose", this.app.getCurrentPageId(), "NOREFRESH", this.clientSession)
WebClientEvent("dialogok", this.app.getCurrentPageId(), null, this.clientSession)
WebClientEvent("dialogcancel", this.app.getCurrentPageId(), null, this.clientSession)
WebClientEvent("searchmore", this.app.getId(), null, this.clientSession)
WebClientEvent("dolongop", this.app.getCurrentPageId(), null, this.clientSession)
--these look like they references a method in AppInstance
AppInstance prevApp = this.clientSession.getPreviousApp();
WebClientEvent("applinkreturn", prevApp.getId(), null, this.clientSession);
WebClientEvent("changetab", getTabGroupName(), getAllTabs()[this.processTabOrder], this.clientSession)
WebClientEvent("gototab", this.clientSession.getCurrentAppId(), "list", this.clientSession)
WebClientEvent currentEvent = this.clientSession.getCurrentEvent();
Object[] newEventValue = { currentEvent, "PMCOMSR_LAUNCHENTRY" };
WebClientEvent newEvent = new WebClientEvent("LAUNCHENTRY", currentEvent.getTargetId(), newEventValue, this.clientSession);
WebClientEvent("changetabcond", getWebClientSession().getCurrentAppId(), request.getParameter("changetab"), getWebClientSession());
PageInstance pi = this.clientSession.findDialog(dialogId);
String dSource = pi.getDataSource();
new WebClientEvent("initialize", dSource, null, this.clientSession));
WebClientEvent("resetwizard", this.app.getCurrentPageId(), null, this.clientSession)
WebClientEvent("setFocus", renderId, null, this.clientSession)
It looks like the WebClientEvent MIGHT be able to invoke any "action-type-thing" w/in it's context...I really don't know...
------------------------------
Jade Warren
Great River Energy
------------------------------