I\'m using Primefaces in a JSF 2 application. I have a , and instead of selecting rows, I want the user to be able to directly execute variou
In my view page:
backing bean
public void viewDetail(ActionEvent e) { String trxNo = getFacesContext().getRequestParameterMap().get("trxNo"); for (DTO item : list) { if (item.get("trxNo").toString().equals(trxNo)) { System.out.println(trxNo); setSelectedItem(item); break; } } }