-
1. Re: jsf 2.2 and rf 4.5.1 upgrade breaks my rich:tree
michpetrov Jan 12, 2015 4:03 AM (in response to santoshvarma)Hi,
I'm unable to replicate this, in my test the variable resolves correctly. Note that Mojarra 2.2.9 was released after RichFaces 4.5.1, if something changed there we wouldn't have known. Although as I said it works for me. What server are you using?
-
2. Re: jsf 2.2 and rf 4.5.1 upgrade breaks my rich:tree
santoshvarma Jan 12, 2015 9:39 AM (in response to michpetrov)Hi,
Thanks for the response.
I've tried with JSF 2.1.29 with 4.5.1 and that works fine too. I tried multiple combinations of Richfaces and JSF versions and it seems to be failing for all Richfaces 4.5.x versions.
BTW, I'm using Weblogic 12.1.3 and following are some additional dependencies, if it matters at all.
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.atmosphere</groupId>
<artifactId>atmosphere-runtime</artifactId>
<version>1.0.18</version>
</dependency>
<dependency>
<groupId>org.glassfish.web</groupId>
<artifactId>javax.el</artifactId>
<version>2.2.6</version>
</dependency>
-
3. Re: jsf 2.2 and rf 4.5.1 upgrade breaks my rich:tree
bleathem Feb 19, 2015 11:03 AM (in response to santoshvarma)Can you provide a Short, Self Contained, Correct Example (eg, a bean and facelet we can drop into an RF project) that we can use to replicate this behaviour?
-
4. Re: jsf 2.2 and rf 4.5.1 upgrade breaks my rich:tree
santoshvarma Feb 24, 2015 7:03 PM (in response to bleathem)Thank you Brian for the response. I could not reproduce the issue on a small example. After multiple tries and debugging through RF code, I could get away with this exception by commenting below code in UIDataAdaptor.java
DataVisitorForVisitTree.process() method
if (!dataChild.getParent().isRendered() && visitContext.getHints().contains(VisitHint.SKIP_UNRENDERED)) {
// skip unrendered columns
continue;
}
This is changed in 4.5.1 for the issue [RF-12654] PartialViewRender skips check for whether column is rendered before checking if children can be rendered - JB…
Thanks,
Santhosh