I'd love to have proper generics support in OGNL. If you create an OGNL patch, be sure to let the Struts dev list know so we can ensure it gets in.

Don

Vitor Souza wrote:
Just to complement the previous post, I quickly ported the application to 
Struts2 (by the way, it was VERY easy to do it!) and removed my OgnlRuntime 
hack and it does cause the problem.

The log file is here: 
http://labes.inf.ufes.br/~vitor/ww_ognl_issue/cookbook-struts.log

The source code (Eclipse project) is here: 
http://labes.inf.ufes.br/~vitor/ww_ognl_issue/Cookbook-struts2-src.zip


To build, get all dependencies using Ivy then delete freemarker-2.3.jar, 
ognl-2.6.jar, oscore-2.2.jar, webwork-2.2.jar, xwork-1.1.jar, 
xwork-rife-continuations-1.1.jar and xwork-tiger-1.1.jar. In their place, put 
the following JARs from the Struts2 binary distribution: freemarker-2.3.4.jar, 
ognl-2.6.7.jar, struts2-api-2.0.1.jar, struts2-core-2.0.1.jar, 
struts2-sitemesh-plugin-2.0.1.jar and xwork-2.0-beta-1.jar.

Any thoughts? Give up generics? ;)

Vitor Souza
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=48752&messageID=98288#98288


---------------------------------------------------------------------
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]

Reply via email to