On 10/7/06, Bruno Aranda <[EMAIL PROTECTED]> wrote:
hehe wrong list... but now that you say that, as we are using shale-test for testing, in the implementation of MyFaces 1.2 there is one test (UIComponentTagUtils) that fails, because it tries to use a method specific of JSR-252 in the Application.getExpressionFactory:java.lang.UnsupportedOperationException at javax.faces.application.Application.getExpressionFactory(Application.java:74) ... Of course, this UnsupportedOperationException is thrown by the Application class (as mandated by the spec), but not in the Application myfaces implementation (ApplicationImpl). What do I have to do to use ApplicationImpl then? Is that possible?
<snip/> You should be able to use JSR-252 specific methods in the next shale-test release (thanks to Craig). See SHALE-304 [1] for all the details, particularly r453841 in the commits tag. In short, this mock application class [2] will be available for such tests. -Rahul [1] http://issues.apache.org/struts/browse/SHALE-304 [2] http://svn.apache.org/repos/asf/shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockApplication12.java
Thanks, Bruno On 10/7/06, Sean Schofield <[EMAIL PROTECTED]> wrote: > All of the recent changes to the Shale project look nice. I just > tried rebuilding an app with the latest snapshot. Its nice how the > MyFaces deps have been cleared up so that they don't end up in your > webapp automatically. I'm using the RI to test some facelets stuff > and before these recent changes, the MyFaces 1.1.1 distro kept popping > up in my app. > > Nice work everyone! > > Sean >
