Re: Issues using View Pooling - ViewScope is missing for static structure views?

2015-03-25 Thread Leonardo Uribe
Hi I was able to reproduce the problem. Thanks for the log, it helped a lot to understand what's going on. It looks like the call to restoreState was overriding view scope, so the fix done was add some lines to check that case and avoid it. I added some junit tests and on the way I fixed a small

EL 3.0 Static Field References

2015-03-25 Thread William Lucy
Hi All, I'm running into some issues trying to test the EL 3.0 functionality on MyFaces 2.2.7 + Tomcat 8.0.16. My understanding is that we should be able to reference static fields/methods directly from facelets, eg. Boolean.TRUE test: [h:outputText id=out2 value=#{Boolean.TRUE}/]

Re: EL 3.0 Static Field References

2015-03-25 Thread Leonardo Uribe
Hi It is in the spec, it should work. There is some code in org.apache.myfaces.el.unified.ResolverBuilderForFaces that deals with this: if (STATIC_FIELD_EL_RESOLVER_CLASS != null GET_STREAM_EL_RESOLVER_METHOD != null) { try {