The correct attribute is &quot;type&quot;.<br><br>-Dan<br><br><div class="gmail_quote">On Fri, Jan 29, 2010 at 11:20 AM, Werner Punz <span dir="ltr">&lt;<a href="mailto:werner.punz@gmail.com">werner.punz@gmail.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;">Actually the short cuts are documented, but not in the PDF :-) you can
find them in the javadocs (they are also not entirely correct)<br>
But as it seems we got it wrong in myfaces, as soon as I get the offical<br>
answer here, what the correct attribute is (type it should be according to my info as the PDF states and nothing else), I also will file a bug within MyFaces to get this corrected<br>
for the beta.<br><font color="#888888">
<br>
<br>Werner</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Fri, Jan 29, 2010 at 5:07 PM, Matthias Wessendorf <span dir="ltr">&lt;<a href="mailto:matzew@apache.org" target="_blank">matzew@apache.org</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;">Hello Werner,<br>
<br>
please see here:<br>
<a href="https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=712" target="_blank">https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=712</a><br>
<br>
Also the &quot;short-cuts&quot; are not documented at all.<br>
<br>
I should, I guess, just file another bug :-)<br>
<br>
-Matthias<br>
<div><div></div><div><br>
On Fri, Jan 29, 2010 at 4:00 PM, Werner Punz &lt;<a href="mailto:werner.punz@gmail.com" target="_blank">werner.punz@gmail.com</a>&gt; wrote:<br>
&gt; To reply myself, I have to apologize. If I have read the html docs more<br>
&gt; throughly I would have noticed that both attributes still are stated name<br>
&gt; and type.<br>
&gt; But the question persists since the html still does not show the type<br>
&gt; attribute exactly<br>
&gt; what is the correct behavior, is it type only as stated in the pdf or type<br>
&gt; and name as stated in the html (where the type attribute ist stated but not<br>
&gt; explicitely listed as separate attribute)?<br>
&gt;<br>
&gt;<br>
&gt; Werner<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Jan 29, 2010 at 3:43 PM, Werner Punz &lt;<a href="mailto:werner.punz@gmail.com" target="_blank">werner.punz@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello Everyone<br>
&gt;&gt;<br>
&gt;&gt; Because I was running into this issue while programming a demo<br>
&gt;&gt; application, I ran into a spec errata and am not sure what the correct<br>
&gt;&gt; behavior is.<br>
&gt;&gt;<br>
&gt;&gt; Spec 3.4.3.4 for f:event states<br>
&gt;&gt;<br>
&gt;&gt; The type attribute specifies the type of event, and can be any of the<br>
&gt;&gt; specification-defined events or one of any userdefined<br>
&gt;&gt; events, but must be a ComponentSystemEvent, using either the short-hand<br>
&gt;&gt; name for the event or the fullyqualified<br>
&gt;&gt; class name (e.g., com.foo.app.event.CustomEvent). If the event can not be<br>
&gt;&gt; found, a<br>
&gt;&gt; FacesException listing the offending event type will be thrown. Please see<br>
&gt;&gt; the tlddocs for the &lt;f:event /&gt; tag<br>
&gt;&gt; for the normative specification of the declarative event feature.<br>
&gt;&gt;<br>
&gt;&gt; Now if we look at the corresponding html documentation:<br>
&gt;&gt; pdldocs/facelets/f/event.html<br>
&gt;&gt;<br>
&gt;&gt; name javax.el.ValueExpression<br>
&gt;&gt; (must evaluate to java.lang.String) Name of the event for which to install<br>
&gt;&gt; a listener. The following table lists the valid values for this attribute,<br>
&gt;&gt; and the corresponding event type for which the listener action is<br>
&gt;&gt; registered. ...<br>
&gt;&gt;<br>
&gt;&gt; In addition to these values, the fully qualified class name of any java<br>
&gt;&gt; class that extends javax.faces.event.ComponentSystemEvent may be used as the<br>
&gt;&gt; value of the &quot;type&quot; attribute.<br>
&gt;&gt;<br>
&gt;&gt; Also, the @javax.faces.event.NamedEvent annotation may be attached to any<br>
&gt;&gt; java class that extends javax.faces.event.ComponentSystemEvent. This enables<br>
&gt;&gt; that event to be referenced from this attribute, as descibed in the javadocs<br>
&gt;&gt; for @NamedEvent.<br>
&gt;&gt;<br>
&gt;&gt; so my final question regarding this, is the attribute type now name or<br>
&gt;&gt; type?<br>
&gt;&gt;<br>
&gt;&gt; Werner<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Matthias Wessendorf<br>
<br>
blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
</font></blockquote></div><br>
</div></div></blockquote></div><br><br clear="all"><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://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br><a href="http://www.google.com/profiles/dan.j.allen">http://www.google.com/profiles/dan.j.allen</a><br>