The onevent attribute of &lt;f:ajax&gt; can be used to specify a JS function to monitor Ajax calls, which is all well and good. However, the data payload (I&#39;m not sure why we have to refer to it as a payload), seems strange because:<br>
<br>1. data.type is always &quot;event&quot;. What&#39;s the point of that?!?<br>2. <a href="http://data.name">data.name</a> is really the status of the Ajax request. Using &quot;name&quot; for the property seems meaningless. Name of what?<br>
3. does it make sense to give the page author access to the actual XMLHttpRequest object via the data payload? data.xhr, for example?<br><br>Thanks,<br><br><br>david<br><br>