Re: Struts 2.1.2 type conversion failing for Integer method.

2008-11-13 Thread Carlos Luis Zúñiga Sibaja
Adam, For what I know the only solution to this problem is upgrading the version of OGNL included in struts, but there are problems by doing that (check out the JIRA issue). So the workaround for me was to stop using generic properties in my Model objects. Please, if somebody has come across a si

Re: Struts 2.1.2 type conversion failing for Integer method.

2008-11-13 Thread Adam Ruggles
Are there any workarounds for this? I've tried using a conversion properties file for my action and adding the following: id=example.MyTypeConverter but it didn't get called from struts. I wonder if it's because it should be model.id or myobject.id. Carlos Luis Zúñiga Sibaja wrote: > > Actua

Re: Struts 2.1.2 type conversion failing for Integer method.

2008-11-13 Thread Carlos Luis Zúñiga Sibaja
Actually, this is a problem in OGNL, because the version bundled with Struts 2.1.2 cannot handle objects with generifyed properties. This definitively sucks since it prevents a lot of code reuse, in my specific experience I had a similar implementation for a base ModelObject and an AbstractCrudActi