I think you have to use serverside Tree. This works for me in portlet.

Regards,

Stephan

> -----Original Message-----
> From: Denis Nikiforov [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 22, 2006 12:32 PM
> To: users@myfaces.apache.org
> Subject: t:tree2 + portlet
> 
> (message (Hello *Human*)
> (body '(
> 
> I'm trying to use t:tree2 in my portlet and getting following 
> exception:
> 
> Nested Exception is java.lang.NullPointerException
>       at 
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.restoreStateF
> romCookies(HtmlTreeRenderer.java:84)
>       at 
> org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeBegin(H
> tmlTreeRenderer.java:157)
>       at 
> javax.faces.component.UIComponentBase.encodeBegin(UIComponentB
> ase.java:307)
> ...
> 
> What's a problem here? Which jsf-components I can use in portlet and
> which one can't?
> 
> -- 
> ))) => t
> (WBR '(Denis Nikiforov))
> 

Reply via email to