my dog learned polymorphism
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
Author

Trinidad tr:treeTable expand/collapse commands

Tamilla Zib
Greenhorn

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...

Thanks.
here is my code of treetable page


Thanks again...
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17038
    
  26

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
Greenhorn

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:
commons-beanutils-1.8.3.jar
commons-codec-1.3.jar
commons-collections-3.2.jar
commons-digester-1.8.jar
commons-logging-1.1.1.jar
myfaces-bundle-2.1.7.jar
myfaces-impl-2.1.7.jar
trinidad-api-2.0.0.jar
trinidad-impl-2.0.0.jar

and I work in MyEclipse 10,

Thank you for your help
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Trinidad tr:treeTable expand/collapse commands
 
It's not a secret anymore!