How can I send an event to all running clients of my application in order to let them invoke a specific action?

asked 05.04.2011 at 11:31

Philipp%20Haslinger's gravatar image

Philipp Hasl...
(suspended)
accept rate: 100%


You can do this with a system event, see the chapter in the documentation.

Here some example code to send system events:

import ch.ivyteam.ivy.event.SystemEvent;
import ch.ivyteam.ivy.event.SystemEventCategory;

String parameter = "I am the event parameter";
SystemEvent event = new SystemEvent(SystemEventCategory.THIRD_PARTY,
         "MyEventId",parameter);
ivy.wf.getApplication().sendSystemEvent(event);

The event can be catched by the normal Rich Dialog event element.

link

answered 06.04.2011 at 05:47

Thomas%20Zehetner's gravatar image

Thomas Zehetner
(suspended)
accept rate: 50%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×40
×4

Asked: 05.04.2011 at 11:31

Seen: 2,246 times

Last updated: 05.04.2011 at 11:31