This content has been marked as final.
Show 2 replies
-
1. Re: rich:tree processNodeSelection question
harut Mar 24, 2010 7:58 AM (in response to draganc)Similar question is here:
-
2. Re: rich:tree processNodeSelection question
draganc Mar 25, 2010 3:57 AM (in response to harut)I tried using suggested solution: onlick + actionListener, but need help with implementation.
<rich:tree id="keywordTree" ajaxSubmitSelection="true" reRender="keywordAddEditDeleteForm" rightClickSelection="true"> <a4j:support event="onclick" actionListener="#{keywordBean.processNodeClick}" /> public void processNodeClick(ActionEvent event){ HtmlTree tree = (HtmlTree)event.getComponent().getParent(); selectedNodeData = (Keyword)tree.getRowData(); }
Problem is that getRowData() always returns null. Do you have any suggestions how to solve this ?