dev@javaserverfaces.java.net

JSTL compatibility issue

From: <andrei.ivanov_at_gmail.com>
Date: Tue, 30 Oct 2012 15:54:21 +0000 (GMT)

Hello,
I'm evaluating the upgrade of a quite large application from JSF 1.2 to
JSF 2.x, when I stumbled across a problem I can't find a fix or a
workaround, described in
http://java.net/jira/browse/JAVASERVERFACES-2524.

Basically, the JSTL c:set tag doesn't accept a null or empty string
anymore.
Since this was allowed in previous versions and is allowed in the JSP
JSTL
(http://grepcode.com/file/repo1.maven.org/maven2/org.glassfish.web/java
x.servlet.jsp.jstl/1.2.1/org/apache/taglibs/standard/tag/common/core/Se
tSupport.java#158, the else branch), it seems to me that the facelets
implementation should follow the same behavior to be compatible with
the others.

Like I said in the beginning, I can't find a workaround for this.

Any thoughts?

Thank you