myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Kurz <michi.k...@gmx.at>
Subject [MyFaces 2] Ajax API issue
Date Fri, 08 Jan 2010 14:31:12 GMT
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

Mime
View raw message