treeNode « IceFaces « JSF Q&A





3. ouputResource and treeNode problem    icefaces.org

6. Treenode immediate=true    icefaces.org

9. Event on a treenode    icefaces.org





10. Effect on ice:treeNode    icefaces.org

Yes, sorry, I looked into it more. The way the TreeNode renders, it doesn't do its children, but instead only does its icon and content facets. So there is no hook to put the ice:effect component right under the iceTreeRow DIV that encapsulates the whole TreeNode. I tried a hack of putting the ice:effect as the icon facet, thinking that might ...

11. setting treenode action at runtime    icefaces.org

private void populate_account(DefaultMutableTreeNode RouteNode, int routeKey){ String chgInd =""; try { DefaultMutableTreeNode accountNode = null; Statement treeState = con.createStatement(); String query = "select account_key,accountno,changeind from account where route_key ="+routeKey+" order by rtseqno"; ResultSet rs = treeState.executeQuery(query); this.getApplicationBean1().setTechid(query); while(rs.next()){ if(rs.getString("changeind") != null){ chgInd ="X"; } accountNode = new DefaultMutableTreeNode(); IceUserObject accountObject = new IceUserObject(accountNode); accountObject.setRowIndex(rs.getInt("account_key")); accountObject.setText(rs.getString("accountno")+"-"+chgInd); accountObject.setLeaf(true); accountObject.setAction("#{TreeBean.TreeNodeId}"); accountNode.setUserObject(accountObject); RouteNode.add(accountNode); } // ...

14. Selecting TreeNode    icefaces.org

15. handle events in ice:treeNode    icefaces.org

16. MenuPopUp as a treeNode    icefaces.org





17. Scrolling to selected treeNode    icefaces.org