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 "Adam Winer (JIRA)" <ad...@incubator.apache.org> on 2007/02/09 02:49:05 UTC
[jira] Resolved: (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 ]
Adam Winer resolved ADFFACES-377.
---------------------------------
Resolution: Fixed
Fixed. We no longer use
<deferred-value>
<type>java.lang.String</type>
</deferred-value>
It's just:
<deferred-value/>
This means that we have to handle coercion in our own code, but
we were doing this already because of 1.1.
> 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.