@Override
    public void queueEvent(FacesEvent event) {

        super.queueEvent(new WrapperEvent(this, event, getRowIndex()));

    }
<p>Override the default {@link UIComponentBase#queueEvent} processing to
wrap any queued events in a wrapper so that we can reset the current row
index in <code>broadcast()</code>.</p>

@param event {@link FacesEvent} to be queued

@throws IllegalStateException if this component is not a descendant of a
                              {@link UIViewRoot}
@throws NullPointerException  if <code>event</code> is <code>null</code>
primefaces/src/main/java/org/primefaces/component/patch/UIDataPatch.java