<div class="gmail_quote">On Fri, Sep 4, 2009 at 2:46 PM, Andy Schwartz <span dir="ltr">&lt;<a href="mailto:andy.schwartz@oracle.com">andy.schwartz@oracle.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Finally read through this thread.</blockquote><div><br>I&#39;m finally returning to it ;) It&#39;s been a good volley.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
An alternative that I believe we could implement in the JSF layer without any changes to the EL spec would be to provdie access to an implicit &quot;event&quot; object during event delivery.  The page author would specify:<br>

<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
#{bb.valueChangeListener(event, myparam)}<br>
</blockquote>
<br>
<br>
Where bb.valueChangeListener is bound to:<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
public void valueChangeListener(ValueChangeEvent ev, String myparam) {}<br>
</blockquote>
<br></div>
And the &quot;event&quot; implicit object is set up by JSF to point to the ValueChangeEvent (or more generally, to whatever FacesEvent we happen to be delivering) just prior to invoking any listeners.<br></blockquote><div>
<br>Brilliant. This nicely parallels JavaScript&#39;s implicit this and event variable and aligns nicely with the implicit variables we have added for composite components (developers will be used to it).<br><br>-Dan<br></div>
</div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br>Registered Linux User #231597<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinuxcom/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://in.relation.to/Bloggers/Dan">http://in.relation.to/Bloggers/Dan</a><br>