I had the same problem. My tree shows a lot information so charge time was too 
large. What I did was set treeHandler(Managed bean that controls tree) in 
session scope then when you make some operation and the tree is going to be 
recalculated check if it is in session. If it is then all the logic is 
ignored...

Only when you make some operation over the tree like update a branch you apply 
the logic...

Here is my code:

/**
* This Method create the tree structure.
* @author seami
* @return TreeNode
*/
public TreeNode getTreeData(){ 
    if (this.treeData == null)
    {
        recreateTreeData();
    }
    return this.treeData;
}

public void recreateTreeData(){ ......}


----- Mensaje original ----
De: yazid <[EMAIL PROTECTED]>
Para: [email protected]
Enviado: martes, 26 de junio, 2007 14:06:29
Asunto: Re: [Tobago] Urgent please Help


yazid wrote:
> 
> I'm using tree in many page in my application; on any click in any page
> all the tree are  reloaded, 
> Is there a solution to avoid this.
> 

-- 
View this message in context: 
http://www.nabble.com/-Tobago--Is-it-possible-to-avoid-tree-refresh-tf3967204.html#a11304437
Sent from the MyFaces - Users mailing list archive at Nabble.com.


                
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

Reply via email to