[Tomahawk] - Both MyFaces and the RI are on your classpath

2008-05-20 Thread mario.buonopane
Hi, I'm using Tomahawk 1.1.6 on WebSphere 6.1 and does work correctly. But on the log I found: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. I know that WAS has a JSF 1.1 implementation (Sun implementation) and my application

Re: [Tomahawk] - Both MyFaces and the RI are on your classpath

2008-05-20 Thread Greg Reddin
On Tue, May 20, 2008 at 5:49 AM, [EMAIL PROTECTED] wrote: Hi, I'm using Tomahawk 1.1.6 on WebSphere 6.1 and does work correctly. But on the log I found: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations. I know that WAS has a JSF

RE: [Tomahawk] - Both MyFaces and the RI are on your classpath

2008-05-20 Thread mario.buonopane
I'm very sorryi'm going to send the message to MyFaces! Thanks Mario -Original Message- From: Greg Reddin [mailto:[EMAIL PROTECTED] Sent: 20 maggio 2008 15.49 To: user@shale.apache.org Subject: Re: [Tomahawk] - Both MyFaces and the RI are on your classpath On Tue, May 20, 2008 at

Re: AbstractJsfTestCase question

2008-05-20 Thread Chris Keefer
I think in JSF 1.1 you have to get the value from a ValueBinding. See below. @Test public void test1 { ValueBinding binding = facesContext.getApplication ().createValueBinding(#{someBean.prop[0]}}; String val = (String) binding.getValue(facesContext); assertEquals(val, M); } Or

Re: AbstractJsfTestCase question

2008-05-20 Thread Venkataganesh Thoppae
Actually I missed that part while typing a sample code. But here is a clean test case runnable if you have shale-test-x.jar. Appreciate if someone could try this on their box. Two files are attached. MyTestCase.java has test cases defined. SomeBean is a simple POJO. Thanks On Tue, May 20, 2008

Re: AbstractJsfTestCase question

2008-05-20 Thread Gary VanMatre
The shale mock value binding has limited EL support. [] #parse - http://svn.apache.org/viewvc/shale/framework/trunk/shale-test/src/main/java/org/apache/shale/test/mock/MockValueBinding.java?view=markup -- Original message -- From: Venkataganesh Thoppae [EMAIL

Re: AbstractJsfTestCase question

2008-05-20 Thread Venkataganesh Thoppae
Fine. Understandable. Thanks. On Tue, May 20, 2008 at 4:07 PM, Gary VanMatre [EMAIL PROTECTED] wrote: The shale mock value binding has limited EL support. [] #parse -