To reply myself, I have to apologize. If I have read the html docs more throughly I would have noticed that both attributes still are stated name and type.<br>But the question persists since the html still does not show the type attribute exactly<br>
what is the correct behavior, is it type only as stated in the pdf or type and name as stated in the html (where the type attribute ist stated but not explicitely listed as separate attribute)?<br><br><br>Werner<br><br><br>
<div class="gmail_quote">On Fri, Jan 29, 2010 at 3:43 PM, 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;">
Hello Everyone <br><br>Because I was running into this issue while programming a demo application, I ran into a spec errata and am not sure what the correct behavior is.<br><br>Spec 3.4.3.4 for f:event states<br><br>The <b>type</b> attribute specifies the type of event, and can be any of the specification-defined events or one of any userdefined<br>

events, but must be a ComponentSystemEvent, using either the short-hand name for the event or the fullyqualified<br>class name (e.g., com.foo.app.event.CustomEvent). If the event can not be found, a<br>FacesException listing the offending event type will be thrown. Please see the tlddocs for the &lt;f:event /&gt; tag<br>

for the normative specification of the declarative event feature.<br><br>Now if we look at the corresponding html documentation:<br>pdldocs/facelets/f/event.html<br><br><b>name</b> <code>javax.el.ValueExpression</code>
<br>(<i>must evaluate to </i><code>java.lang.String</code>) Name of the event for which to install a listener. The following table
lists the valid values for this attribute, and the corresponding event
type for which the listener action is registered. ... <br><br><div> <p>In addition to these values, the fully qualified class name of any java class that extends <code>javax.faces.event.ComponentSystemEvent</code> may be used as the value of the &quot;type&quot; attribute.</p>

 <p>Also, the <code>@javax.faces.event.NamedEvent</code> annotation may be attached to any java class that extends <code>javax.faces.event.ComponentSystemEvent</code>. This enables that event to be referenced from this attribute, as descibed in the javadocs for <code>@NamedEvent</code>.</p>

<p><br></p><p>so my final question regarding this, is the attribute type now name or type?</p><p><br></p><p>Werner</p><p><br></p> </div><br>
</blockquote></div><br>