标签: primefaces jsf-2.2
我已经使用了这条指令,但它返回null
TreeTable treeTable =(TreeTable)FacesContext.getCurrentInstance()。getViewRoot()。findComponent(“form:apps”);
TreeNode no = treeTable.getRowNode();
感谢您的回复