                                                     selectionMode="single"
                                                                         rowKey="#{ri.id}"
                                                                         emptyMessage="System can not detect suitable replacements."

                                                                         >
                                                                <p:ajax event="rowSelect" process="@this" update=":#{p:resolveFirstCompo