>From: "Craig McClanahan" <[EMAIL PROTECTED]> 
>
> On 10/21/06, [EMAIL PROTECTED] wrote: 
> > 
> > Author: gvanmatre 
> > Date: Sat Oct 21 15:46:02 2006 
> > New Revision: 466600 
> > 
> > URL: http://svn.apache.org/viewvc?view=rev&rev=466600 
> > Log: 
> > Added better mock value binding expression support for scoped attribute 
> > names that contain dotted values. 
> 
> 
> Interesting approach. Shouldn't we do something simpler to the 
> 1.1-compatible ValueBinding and MethodBinding implementations in shale-test? 
> 

I ran into this limitation in a Clay test case.  I wanted to place an attribute 
in request scope using a dotted id.

#{requestScope['org.apache.shale.clay.xmlns']}

The mock implementation did not support the parsing.  So, I ended up using a 
simple key name rather than choosing to not implement a test case.  This seems 
like a commonly need feature even in JSF 1.1.  I hate having to choose and 
implementation based on limitations of testing so I added ten or so more lines 
of code.
 

> Craig

Gary 

Reply via email to