webtier@glassfish.java.net

Re: [webtier] can't update h:dataTable with List<String> as value

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Thu, 05 Mar 2009 18:33:31 -0800

On 3/5/09 6:27 PM, Lincoln Baxter, III wrote:
> On Thu, 2009-03-05 at 11:59 -0800, Ryan Lubke wrote:
>> No property is specified (i.e. name.<property>).
>>
>> From the javadocs of ELResolver.setValue():
>>
>> Attempts to set the value of the given property object on the given
>> base object.
>>
>> So, what exactly is going to be set on the #{name} object?
>
> A new String object, if it has changed, unless I'm missing something
> here.
And set it into what? Based on ELResolver.setValue() we need both a base
and a property. The expression #{name} provides only the base.