Hi Gary, Thanks a lot for the information! Do you know if the mock implementation is going to be extended at any point to include dealing with lists reference by expressions like "#{myBean.myList[0]}"?
Cheers, Iain ___________________________________________ Iain Duncan MDM Platform Services Development IBM UK Limited MP 188, Hursley Park, Winchester, Hants, SO21 2JN, UK t: +44 (0)1962 816873 / Internal : 7-246873 e-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] (Gary VanMatre) 16/10/2007 16:27 Please respond to user@shale.apache.org To user@shale.apache.org cc Subject Re: Using shale-test with ValueBinding lists >From: Iain Duncan <[EMAIL PROTECTED]> > > Hello All, > > I've just started using shale-test to test an application using JSF1.1 so > apologies if this is a dumb question and I am doing something obvious > wrong! I have been unable to get the getValue() method on a ValueBinding > that involves a list to work. Does anyone know if this has been > implemented? > Simple expressions can be evaluated. The mock implementation tokenizes the expression based on the "dot" separator. So, you can evaluate expressions like "#{mybean.property}". You have to programmatically add your beans into scope in your unit tests or add a few lines of logic to process faces-config's. > Cheers, > > Iain > Gary > > > > > Unless stated otherwise above: > IBM United Kingdom Limited - Registered in England and Wales with number > 741598. > Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU > > > > > Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU