beckchr / juel

Java Unified Expression Language
http://juel.sf.net
Apache License 2.0
133 stars 43 forks source link

value="" changing into null #75

Closed smiejtasie closed 11 years ago

smiejtasie commented 11 years ago

Hi, got app on myface 2.1.10 and JUEL as EL. In web.xml have javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL = false Example code: `

` The problem is, the itemValue "" is changed into null on Bean site. Is there any parameter in JUEL to avoid this?
beckchr commented 11 years ago

To be honest, I don't know what javax.faces.INTERPRET_EMPTY_STRING_SUBMITTED_VALUES_AS_NULL actually does. Anyway, the empty string must be converted to null before reaching JUEL. So, the answer is no.

beckchr commented 11 years ago

I think this is not a JUEL issue, so I'd like to close this. Or is there anything new?