[jsr-314-open] Why do we disallow EL for h:dataTable "var" attribute?

Kito Mann kito.mann at VIRTUA.COM
Sun Mar 8 01:13:35 EST 2009


Same here.

Sent from my iPhone

http://www.jsfcentral.com
http://www.Virtua.com


On Mar 7, 2009, at 9:53 PM, Gavin King <gavin at HIBERNATE.ORG> wrote:

> Right. I don't understand what this could possibly be useful for.
>
> On Fri, Mar 6, 2009 at 11:21 AM, Simon Lessard
> <Simon_Lessard at dmr.ca> wrote:
>> Hi all,
>>
>> Although I guess it would be technically possible (yet weird and
>> most likely very complicated) to support EL for the var attribute,
>> it wouldn't make much sense as 'var' is used as a variable name for
>> iteration purpose. In much senses, it's like a really short lived
>> managed bean and we don't support dynamic managed bean names
>> either. I wonder how the EL would have to look like to support such
>> feature (scope[myBean.varName].attribute?) and what kinf od use
>> case it would solve.
>>
>>
>> Regards,
>>
>> ~ Simon
>>
>> ________________________________
>>
>> From: JSR 314 Open Mailing list on behalf of Ed Burns
>> Sent: Fri 3/6/2009 10:55 AM
>> To: JSR-314-OPEN at JCP.ORG
>> Subject: Why do we disallow EL for h:dataTable "var" attribute?
>>
>>
>>
>> Someone on JSR-314-COMMENTS asked this question and I don't recall
>> the
>> answer, but I trust there's a good one since it's baked into the
>> spec.
>>
>> Any ideas?
>>
>> Ed
>> --
>> | ed.burns at sun.com  | office: 408 884 9519 OR x31640
>> | homepage:         | http://ridingthecrest.com/
>>
>
>
>
> --
> Gavin King
> gavin.king at gmail.com
> http://in.relation.to/Bloggers/Gavin
> http://hibernate.org
> http://seamframework.org






More information about the jsr-314-open-mirror mailing list