treeNode « IceFaces « JSF Q&A

Home
JSF Q&A
1.API
2.Bean
3.Component
4.Control
5.Data
6.database
7.Datatable
8.Development
9.Exception
10.Facelets
11.Form
12.Glassfish
13.HTML
14.IceFaces
15.Internationalization
16.JPA
17.JSP
18.MyFaces
19.openfaces
20.Page
21.Portlet
22.PrimeFaces
23.RichFaces
24.Seam
25.Security
26.Servlet
27.Session
28.Tag
29.Test
30.Tomcat
31.validation
32.Web Service
JSF Q&A » IceFaces » treeNode 

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

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.