Menu Events

The menu can send events to the Open Client at any time. An event is sent to the Open Client by sending a message (see Plugin Messages section for more details). The OpenAjax Hub Publish function sends messages and has two parameters.

OpenAjax Hub Publish Function

 

 

Purpose

Sends messages to PROIV Open Client.

Parameters

name is the string ‘proiv.menu.OBJECTID.event’ where OBJECTID is replaced by the ‘objectId’ parameter supplied in the constructor function.

message is the object that must contain an id property that is the ID of the menu action.

Remarks

 

Example

OpenAjax.hub.publish(‘proiv.embeddedObject.OBJECTID.event’,{id:ACTIONID});

Comment on this topic

Topic ID: 800066

 
 
 

Table of Contents

Index

Glossary

-Search-

Back