Community
Participate
Working Groups
The JSWriter has a mechanism that directly connects client event handler functions with client events from the server side. This violates the separation of client and server and is not compatible with the new protocol (bug 311355). The event wiring should now be done completely on the client. The server only needs to inform the client whether a listener is attached to a widget by synchronizing a "hasXxxListener" property. In preparation of the protocol, we should rework those places that still use the old mechanism. This involves calls to these methods: * JSWriter#addListener( ... ) * JSWriter#removeListener( ... ) * JSWriter#updateListener( ... ) and uses of these classes: * JSListenerInfo * JSListenerType Since these methods and classes are public API, they should be kept functional and tested, but marked as deprecated and removed later.
These methods: • JSWriter#addListener( ... ) • JSWriter#removeListener( ... ) • JSWriter#updateListener( ... ) and classes: • JSListenerInfo • JSListenerType are no longer used in RWT and forms.