File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes Trinidad tr:treeTable expand/collapse commands Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Trinidad tr:treeTable expand/collapse commands" Watch "Trinidad tr:treeTable expand/collapse commands" New topic

Trinidad tr:treeTable expand/collapse commands

Tamilla Zib

Joined: May 01, 2012
Posts: 3
I use Trinidad 2.0 , My problem is expand/collapse commands of treeTable. I think they are supposed to automatically expand/collapse tree nodes, but by clicking them, nothing happens,and I Have the exception- SEVERE: Error Rendering View[/MyXhtml.xhtml] and I see this exception in FireBug: _logError(varArgs="Invalid PPR response. T...ror>")

Please Help,It's very important issue for me...

here is my code of treetable page

Thanks again...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

Welcome to the JavaRanch, Tamilla!

The closest I've ever come to Trinidad was Tomahawk, so I can't give any instant help. But I wrapped some Code tags around your code and XML to make them easier to read. There's a button on our message editor to do that for you.

Is there more detailed information in your server error log?

An IDE is no substitute for an Intelligent Developer.
Tamilla Zib

Joined: May 01, 2012
Posts: 3
I like very much JavaRanch!I always found here answers on my questions!But now I didn't find any answers....,so i asked by myself...

Here is Server Error log:

I got java.lang.NullPointerException in the function BodyRenderer(PanelPartialRootRenderer).encodeAll(FacesContext,RenderingContext,UIComponent,FacesBean), all these variables are ok,I checked,but in debug I see some variable re=NullPointerException and I got this errors.
We do migration from JSF 1.2 to JSF 2.0,and in JSF 1.2 treeTable works fine,but now with JSF 2.0 and trinidad 2.0 I have these errors when I try to expand or collapse nodes.By the way ,component <tr:tree> from trinidad 2.0 works just fine,but we need <tr:treeTable>.
My jars that i use:

and I work in MyEclipse 10,

Thank you for your help
I agree. Here's the link:
subject: Trinidad tr:treeTable expand/collapse commands
It's not a secret anymore!