I had the chance to talk to Werner about this issue and he thinks that
the name "name" was used in an older version of the spec. Created
MYFACES-2481 and provided a patch for this.
- Michael
Michael Kurz schrieb:
Hi,
I found a minor issue with client side error and event handling in the
ajax api. According to the spec (14.4.1) the event data payload for the
callback functions passed to addOnEvent and addOnError should contain
the property status with the name of the event. In MyFaces this property
seems to be named "name". Is this on purpose or a bug?
Renaming "name" to "status" in
myfaces._impl.core._jsfImpl.prototype.sendEvent
makes my example work (like in Mojarra).
regards
Michael