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

Simon Lessard Simon_Lessard at DMR.CA
Fri Mar 6 12:21:33 EST 2009


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: [jsr-314-open] 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/






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