This content has been marked as final.
Show 4 replies
-
1. Null Integer/String converted to default objects?
ssilvert Feb 7, 2011 8:32 AM (in response to arnoldussen)1 of 1 people found this helpfulI think this is broken in AS6 right now. I'll look into it and see if it can be fixed for 6.1.0.
https://issues.jboss.org/browse/JBAS-8751
Stan
-
2. Null Integer/String converted to default objects?
arnoldussen Feb 7, 2011 8:46 AM (in response to ssilvert)Thank you for the response; I read your link, and i noticed nothing is stated about the behavior of Integer.
The jsf2.0 spec does not state a specific behavior for Integer(0) vs null. Is anything planned for this?
-
3. Null Integer/String converted to default objects?
ssilvert Feb 8, 2011 2:12 PM (in response to arnoldussen)arnoldussen wrote:
The jsf2.0 spec does not state a specific behavior for Integer(0) vs null. Is anything planned for this?
I don't know. You'd have to direct that to the JSF expert group for the next version.
Stan
-
4. Null Integer/String converted to default objects?
lafr May 15, 2011 11:58 AM (in response to ssilvert)I had the same problem, at least with integer values.
I somewhere found a hint to add
JAVA_OPTS="$JAVA_OPTS -Dorg.apache.el.parser.COERCE_TO_ZERO=false"
to JBoss' startup options.