Ticket #5350 (closed enhancement: fixed)

Opened 7 months ago

Last modified 7 months ago

Difficult to extend/handle the ext field in cometd

Reported by: gregwilkins Owned by: gregwilkins
Priority: normal Milestone:
Component: Dojox Version: 1.0
Severity: normal Keywords: cometd
Cc:

Description

The ext field is intended for extensions, but there are no simple extension points that allows easy adding of methods that can fill in or handle ext field.

Some extension methods need to be added

Change History

Changed 7 months ago by gregw

  • status changed from new to closed
  • resolution set to fixed

(In [11780]) fixes #5350 with restructure to allow extensions

Changed 7 months ago by gregwilkins

I have committed a fix for this that:

+ creates dojox/cometd directory for extensions + moves dojox/_cometd/cometd.js to dojox/cometd/_cometd.js + adds the concepts of dojox.cometd._extendInList and dojox.cometd._extendOutList

to extend incoming and outgoing messages.

+ adds dojox/cometd/timestamp.js as an exemplar of an extension.

Note: See TracTickets for help on using tickets.