You are viewing a plain text version of this content. The canonical link for it is here.
Posted to adffaces-issues@incubator.apache.org by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org> on 2007/03/16 07:51:09 UTC

[jira] Updated: (ADFFACES-377) JSF 1.2: EL binding to null Strings show up as empty strings

     [ https://issues.apache.org/jira/browse/ADFFACES-377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf updated ADFFACES-377:
----------------------------------------

        Fix Version/s: 2.0.0-incubating-core-SNAPSHOT
    Affects Version/s: 2.0.0-incubating-core-SNAPSHOT

> 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
>    Affects Versions: 2.0.0-incubating-core-SNAPSHOT
>            Reporter: Adam Winer
>         Assigned To: Adam Winer
>             Fix For: 2.0.0-incubating-core-SNAPSHOT
>
>
> 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.