Tree component issues

UI Components for JSF
Post Reply
Antonio7355
Posts: 1
Joined: 01 Dec 2021, 11:30

01 Dec 2021, 11:32

I had some problem using the tree component, and I had to do some workarounds to be able to use it in my application. So, I just wanted to let you know about this.

When I set expandAnim and collapseAnim, the tree doesn't even show up in the page. In fact, it's not being displayed to me even in the components showcase in Primefaces site.

Another issue I had happened when you submit a form with a tree on it without firing any event (expand, collapse or label click). It throws up a NumberFormatException saying "" is not a valid number. I figure out the hidden fields that hold rowKey and event should be set with some default value so this wouldn't happen, so I'm using javascript code to set them after the tree is loaded. myindigocard

Also, couldn't get the events to fire up a call to my backing bean. I haven't tried to investigate this further though.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 25 guests