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:23:05 UTC
[jira] Created: (ADFFACES-377) JSF 1.2: EL binding to null Strings
show up as empty strings
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.
[jira] Resolved: (ADFFACES-377) JSF 1.2: EL binding to null Strings
show up as empty strings
Posted by "Adam Winer (JIRA)" <ad...@incubator.apache.org>.
[ 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.
[jira] Updated: (ADFFACES-377) JSF 1.2: EL binding to null Strings
show up as empty strings
Posted by "Matthias Weßendorf (JIRA)" <ad...@incubator.apache.org>.
[ 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.
[jira] Commented: (ADFFACES-377) JSF 1.2: EL binding to null
Strings show up as empty strings
Posted by "Bruno Aranda (JIRA)" <ad...@incubator.apache.org>.
[ 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.