Hi<br><br><div class="gmail_quote">2010/10/19 Andy Schwartz <span dir="ltr">&lt;<a href="mailto:andy.schwartz@oracle.com">andy.schwartz@oracle.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
The following text was added to the Pre/PostValdiateEvent API doc:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
When an instance of this event is passed to SystemEventListener.processEvent(javax.faces.event.SystemEvent) or ComponentSystemEventListener.processEvent(javax.faces.event.ComponentSystemEvent), the listener implementation may assume that the source of this event instance is the UIComponent instance that is that has just been validated.<br>

<br>
Note that iterating components such as UIData, and form components such as UIForm must publish this event after processing their children nodes in UIComponent.processValidators(javax.faces.context.FacesContext).<br>
</blockquote>
<br>
Does this mean that only input, UIData and UIForm components will deliver these events?<br>
<br></blockquote><div><br>I was not aware that UIData deliver these events. In my understanding it has sense to UIForm deliver these events, because it is the container of UIInput components, but why UIData?<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

If so, some concerns about this:<br>
<br>
1.  Mojarra 2.0 delivered these events for all components.<br>
2.  The Mojarra trunk still does this (see UIComponentBase.processValidators()).<br>
3.  This prevents mutti-component validation where a listener is registered on an arbitrary ancestor component.<br>
<br>
For an example of #3, see the &quot;Multi-Component Validation&quot; section of Core JavaServer Faces, 3rd ed:<br>
<br>
<a href="http://my.safaribooksonline.com/9780137013968/331#X2ludGVybmFsX0ZsYXNoUmVhZGVyP3htbGlkPTk3ODAxMzcwMTM5NjgvMzMx" target="_blank">http://my.safaribooksonline.com/9780137013968/331#X2ludGVybmFsX0ZsYXNoUmVhZGVyP3htbGlkPTk3ODAxMzcwMTM5NjgvMzMx</a><br>

<br>
Note that the PostValidateEvent listener is registered on an h:panelGrid.  With the new addition to the specification, it seems that this is no longer supported.<br><font color="#888888">
<br></font></blockquote><div><br>Yes, that code does not going to work. <br><br>Leonardo<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<font color="#888888">
Andy<br>
<br>
</font></blockquote></div><br>