This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15950
    
  19

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?


Customer surveys are for companies who didn't pay proper attention to begin with.
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Trinidad tr:treeTable expand/collapse commands
 
Similar Threads
Component are not getting repainted - Trinidad PPR
ValueChangeEvent fires for every datatable changed value, cannot reset.
Trinidad-XMLMenuModel sub-elements not rendered
tr:commandButton actionListener not invoking managed bean method
Delete/edit a row in JSF