JSF 1.2: EL binding to null Strings show up as empty strings
------------------------------------------------------------

                 Key: ADFFACES-377
                 URL: https://issues.apache.org/jira/browse/ADFFACES-377
             Project: MyFaces ADF-Faces
          Issue Type: Bug
            Reporter: Adam Winer
         Assigned To: Adam Winer


Take:

        <tr:outputText value="foo" styleClass="#{notthere}" 
shortDesc="#{nowway}"/>

Prior to 1.2, this generated no "class" or "title" attribute, because these EL
bindings return null.

Now, in 1.2, these being strings, we tell the JSP system that these are 
deferred-values
of type java.lang.String.  And, the silly coercion rules then convert every 
null to
"".

So, we get:

   <span title="" class="">foo</span>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to