Hi, 1) Yes, it really changed from JSF 1.1 to 1.2, because of the introduction of the unified EL. 2) Nope, but you can use a custom EL impl which lets you customize the coercion rules, like e.g. juel [1] and its TypeConverter 3) Agreed!
Regards, Jakob [1] http://juel.sourceforge.net/ 2010/12/7 Walter Mourão <[email protected]>: > Hi folks, > I'm patching some applications regarding the "change" in the coercion rules > of EL (null goes to zero if the destination is an Integer) and I have some > questions to discuss. > > 1 - Does it really changed in JSF 1.2 or Tomcat had a wrong behavior ? > 2 - Do you think (or know) the specification will change or I really have to > adapt my to application to support such a kind of situation ? This question > is very important to me because if I think it is a temporary behavior, I > will use the *org.apache.el.parser.COERCE_TO_ZERO* tomcat property, > otherwise I will adapt a lot of projects... > 3 - doesn't it really sucks ? > > ( If you don't know what I am talking about, take a look at > http://www.irian.at/blog/;jsessionid=8401E3770357871EAE2E38799810B7FB and > https://issues.apache.org/bugzilla/show_bug.cgi?id=48813 ) > > Thanks, > > Walter Mourão > http://waltermourao.com.br > http://arcadian.com.br > http://oriens.com.br > -- Jakob Korherr blog: http://www.jakobk.com twitter: http://twitter.com/jakobkorherr work: http://www.irian.at

