Announcement Announcement Module
No announcement yet.
Running multiple SequenceEvents without a Trigger Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Running multiple SequenceEvents without a Trigger

    Is it possible to run a sequence of events that do not have Triggers? For example:

    var sequence:EventSequence = new EventSequence();
    sequence.addSequenceEvent(FirstSequenceEvent, someParam);
    sequence.addSequenceEvent(SecondSequenceEvent, someParam);
    sequence.addSequenceEvent(ThirdSequenceEvent, someParam);
    The documentation led me to believe this is possible. From Event Sequences What if the command does not update the model locator:

    "The command then has do decide when its action is finished and unregister itself"
    With an example:
    Using this technique, I found the FirstSequenceEvent is fired and the FirstSequenceCommand unregisteres itself. After which the remaining sequence events do not fire. In the EventSequence class, the next event is triggered by the change of a Property. It appears the unregistering of the command does not Trigger the next sequence.

    Am I missing something obvious here?

  • #2
    this might be a bug

    hey there,

    this sounds like a bug to be honest. If you're able to create a simple test situation that showcases the problem than please post this as a bug in the JIRA system:

    Spring AS Cairngorm issues

    That way the appropriate person will be notified and will be able to investigate.