incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno Aranda (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Commented: (ADFFACES-377) JSF 1.2: EL binding to null Strings show up as empty strings
Date Sat, 28 Apr 2007 11:45:15 GMT

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

Bruno Aranda commented on ADFFACES-377:
---------------------------------------

For MyFaces 1.2 TLD compliance we really need to be able to have things like 

<deferred-value>
     <type>java.lang.String</type>
  </deferred-value> 

(for instance, the dataTable "var" attribute)

As well as other deferred value types, such as javax.faces.component.UIComponent.

So for MyFaces, this is a must

> 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.


Mime
View raw message