Hobione's Weblog

Living & Breathing in Web 2.0 Era

Mind Map – A free java software tool for mind mapping

Hello.  I found this great tool to organize my thoughts and ideas at work and home project.  The Mind Map was invented by Tony Buzan in 1970.  Like Tony said, “Human brain does not work like a computer, it does not work like a straight line, and it does not concentrate just in one thing.”

Here is a Wiki definition of Mind map:

Mind Map

Mind Map

Here is the link to download a free java mind map software from sourceforge and tutorials in Youtube.

Happy mind mapping!

September 30, 2008 Posted by HobiOne | Mind Map | | No Comments Yet

ICEfaces: Open up one tree node only

I wanted to open up one tree node instead of the whole tree. Here is a screen shot that I wish to happen when application get initialized.  The key is, it should happens always in the third node in this case “IRM-2008-000021-A”.

ICEFaces Tree

ICEFaces Tree

I have tried this code, but noting seems to be happening.


 if (count == 2) {
    folderObject.setExpanded(true);
    this.showFirstDataSet();
    this.setCurrentSeletedFolderName(folder.getName());
 }

Solution: Here how we have tackled the issue. Couple things we have learned about ICEfaces tree.
1. By default it expend
s to true. So if I don’t set IceUserObject.setExpanded(false); tree nodes always will be opened.
2. If I want to open up only 3rd node, I have to explicitly set IceUserObject.setExpanded(true); for node 1 and 2.


if(count == 1){
                    folderObject.setExpanded(true);
                }else if (count == 2) {
                    this.showFirstDataSet();
                    this.setCurrentSeletedFolderName(folder.getName());
                }else{
                    folderObject.setExpanded(false);
                }

count == 1 will always open up the 3rd item from the list which will be the project folder of root.  So, here what I am saying, open up node #1 and node # 2 only and set other nodes close and here how it looks.

Tree

Tree

September 19, 2008 Posted by HobiOne | ICEfaces | , | No Comments Yet

ICEFaces effect

I was trying to make ICEfaces effect using <ice:effect> tag.  But apprently it did not work without <ice:panelGroup>

http://www.icefaces.org/JForum/posts/list/0/8161.page#40290

Thanks

September 5, 2008 Posted by HobiOne | ICEfaces, Java Server Faces | | No Comments Yet