Problem with ice:Tree
[Logo]
ICEsoft.org Forums: ICEfaces, ICEmobile, ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
Problem with ice:Tree  XML
Forum Index -> JBoss Seam Integration
Author Message
applefan

Joined: 03/10/2009 00:00:00
Messages: 24
Offline


Hello, I'm trying (unsuccesfully) to display a Tree component (ice:Tree) to show a list of entities (Sperimentazione). A Sperimentazione can have child nodes (relationship one to many with the entity Fase).

I tried to follow the example given in the ICEFaces' SEAM Component Showcase, but I got an error.
I've reported all the details in a post in the SEAM forum:
http://seamframework.org/Community/ProblemWithIceTree

Thank you.
kirpi4ik

Joined: 12/02/2007 00:00:00
Messages: 12
Offline


applefan wrote:
Hello, I'm trying (unsuccesfully) to display a Tree component (ice:Tree) to show a list of entities (Sperimentazione). A Sperimentazione can have child nodes (relationship one to many with the entity Fase).

I tried to follow the example given in the ICEFaces' SEAM Component Showcase, but I got an error.
I've reported all the details in a post in the SEAM forum:
http://seamframework.org/Community/ProblemWithIceTree

Thank you. 



have you found the solution for your problem, it seems that I have similar problem. I have the tree component without special business, only simple tree and it throws NullPointerException at line 144 in TreeRenderer.encodeBegin?

with best regards
Dima
judy.guglielmin

Joined: 20/02/2007 00:00:00
Messages: 1196
Offline


Is your ice:tree within a form?
kirpi4ik

Joined: 12/02/2007 00:00:00
Messages: 12
Offline


judy.guglielmin wrote:
Is your ice:tree within a form? 


yes within <h:form> but same problem with <ice:form>
applefan

Joined: 03/10/2009 00:00:00
Messages: 24
Offline



have you found the solution for your problem, it seems that I have similar problem. I have the tree component without special business, only simple tree and it throws NullPointerException at line 144 in TreeRenderer.encodeBegin?

with best regards
Dima 


Hi, Dima
no I still haven't figured out a solution...
applefan

Joined: 03/10/2009 00:00:00
Messages: 24
Offline


judy.guglielmin wrote:
Is your ice:tree within a form? 


Hi Judy,
I've placed ice:Tree inside an ice:Form and now it works! Thank you!

(i keep forgetting ice:form)
kirpi4ik

Joined: 12/02/2007 00:00:00
Messages: 12
Offline


applefan wrote:

judy.guglielmin wrote:
Is your ice:tree within a form? 


Hi Judy,
I've placed ice:Tree inside an ice:Form and now it works! Thank you!

(i keep forgetting ice:form) 



Unfortunately this solution does not solve my problem, so I moving my question to another topic : http://www.icefaces.org/JForum/posts/list/0/15011.page
 
Forum Index -> JBoss Seam Integration
Go to:   
Powered by JForum 2.1.7ice © JForum Team