Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Trinidad tr:treeTable expand/collapse commands

 
Tamilla Zib
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18008
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Tamilla Zib
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic