This is not quite the same unless it can detect generics while setting
values and creating values. An example might be values from a form
going into something like:
List<String>
or
Map<String, List<Integer>>
or the always fun
List<List<Integer>>
that sorta thing. I know that OGNL had (might not any longer) many
issues with generics in this respect. I think OGNL also got mad when
it encountered something simple like:
int[]
or
String[]
coming from checkbox lists and multiple selects. I believe that it
would stuff the values into the String[] like this:
{"value1,value2,value3"}
rather than
{"value1", "value2", "value3"}
This was a while ago, so all of this might be fixed.
-bp
On Oct 9, 2008, at 7:32 PM, Chris Brock wrote:
MVEL 2.0 has full support for generics (and static typing):
http://mvel.codehaus.org/Strong+Typing+Mode
Brian Pontarelli wrote:
On Oct 7, 2008, at 3:08 PM, Dave Newton wrote:
Just to muddy the EL/templating waters:
http://mvel.codehaus.org/Performance+of+MVEL
(v. OGNL)
Not sure about MVEL or OGNL at this point, but everything was lacking
in support for generics, collections and arrays. I wrote my own for
the JCatapult MVC and it was really not all that hard. It only
handles
getting and setting, but I figure that's all that should be allowed
at
that point anyways.
-bp
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
View this message in context:
http://www.nabble.com/MVEL--tp19867360p19910418.html
Sent from the Struts - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]