I put some @Conversion(), @Element(value = java.lang.Long.class) and
@TypeConversion(rule = ConversionRule.COLLECTION, converter =
"java.lang.Long") in my Action and it's not working better.

So I set the convertion in a properties file with :
Element_idsCommerciaux=java.lang.Long

and it is working, thanks Ralf.

I tried to put v2.1.6 but I had a lot of trouble with EL expression (s:if
test="${}", s:if test="#session...") which seemed to have changed, but I see
nothing in the docs, release ntoes or migration guide, so I gave up (600 JSP
to change and no time to do it)

Thanks for your help.
-- 
View this message in context: 
http://www.nabble.com/Random-ClassCastException-%3A-I%27m-expecting-Long%2C-Struts-gives-me-String-on-some-servers...-tp21722894p21743689.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to