You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Sreekanth S. Nair" <sr...@egovernments.org> on 2013/07/26 08:47:05 UTC
conversionError interceptor is causing ModelDriven to fail
Hi,
conversionError interceptor in the interceptor stack breaking the
ModelDriven, can't able to bind Model which have custom object association
Re: conversionError interceptor is causing ModelDriven to fail
Posted by "Sreekanth S. Nair" <sr...@egovernments.org>.
FYI :
The following is my FORM Data :
1. struts.token.name:
NotificationGroupAction8204bfb6-349c-48ce-b713-668a7466fd78
2. NotificationGroupAction8204bfb6-349c-48ce-b713-668a7466fd78:
CTVCK4B205D4CVJL3II5BEPKUPE2W77C
3. id:
4. groupName:
sdsdfssasads
5. groupDesc:
dasdasd
6. active:
Y
7. effectiveDate:
25/07/2013
8. __multiselect_firstLevelBndry:
9. __multiselect_departments:
10. __multiselect_designations:
11. members:
11
12. members:
2
13. members:
12
14. members:
1
15. __multiselect_members:
16. method:save:
lbl.create
members is a mulitselect but In StrutsConversionErrorInterceptor the value
is coming as single string value not an string array.
For adding some magic :) attaching the OGNL Warning i'm getting.
--
Thanks & Regards
Srikanth
Software Developer
--------------------------------
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
--------------------------------
On Fri, Jul 26, 2013 at 1:15 PM, Sreekanth S. Nair <
sreekanth.nair@egovernments.org> wrote:
> Cool... :). There is no stacktrace i can provide you apart from some OGNL
> obvious dirty WARNINGS. I debugged through some struts code and couldn't
> figured out whats going wrong, but when i removed conversionError
> interceptor, all started working, object Associations are getting bound.
> s:push is broken ? or dont know.
>
> --
> Thanks & Regards
> Srikanth
> Software Developer
> --------------------------------
> eGovernments Foundations
> www.egovernments.org
> Mob : 9980078913
> --------------------------------
>
>
> On Fri, Jul 26, 2013 at 1:09 PM, Lukasz Lenart <lu...@apache.org>wrote:
>
>> 2013/7/26 Sreekanth S. Nair <sr...@egovernments.org>:
>> > Hi,
>> > conversionError interceptor in the interceptor stack breaking the
>> > ModelDriven, can't able to bind Model which have custom object
>> association
>>
>> My magic ball is broken today and I cannot do any magic, sorry, shop
>> is closed ;-)
>>
>>
>> Regards
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
Re: conversionError interceptor is causing ModelDriven to fail
Posted by "Sreekanth S. Nair" <sr...@egovernments.org>.
Cool... :). There is no stacktrace i can provide you apart from some OGNL
obvious dirty WARNINGS. I debugged through some struts code and couldn't
figured out whats going wrong, but when i removed conversionError
interceptor, all started working, object Associations are getting bound.
s:push is broken ? or dont know.
--
Thanks & Regards
Srikanth
Software Developer
--------------------------------
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
--------------------------------
On Fri, Jul 26, 2013 at 1:09 PM, Lukasz Lenart <lu...@apache.org>wrote:
> 2013/7/26 Sreekanth S. Nair <sr...@egovernments.org>:
> > Hi,
> > conversionError interceptor in the interceptor stack breaking the
> > ModelDriven, can't able to bind Model which have custom object
> association
>
> My magic ball is broken today and I cannot do any magic, sorry, shop
> is closed ;-)
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
Re: conversionError interceptor is causing ModelDriven to fail
Posted by Lukasz Lenart <lu...@apache.org>.
2013/7/26 Sreekanth S. Nair <sr...@egovernments.org>:
> Hi,
> conversionError interceptor in the interceptor stack breaking the
> ModelDriven, can't able to bind Model which have custom object association
My magic ball is broken today and I cannot do any magic, sorry, shop
is closed ;-)
Regards
--
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org