, id JSF . , #{rowIndex} . , id, #{rowIndex} 0. , , , : JSTL JSF2 Facelets... ? , <p:commandLink>, . HTML ( !).
, id="row". . JSF ( HTML, ). , , , , , . . commandLink dataTable?
, :
Integer rowIndex = (Integer) ae.getComponent().getNamingContainer().getAttributes().get("rowIndex");
UIComponent#getNamingContainer() , , UIData, , , rowIndex. , :
UICommand commandLink = (UICommand) ae.getComponent();
UIData dataTable = (UIData) commandLink.getNamingContainer();
Integer rowIndex = dataTable.getRowIndex();