
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
09/Feb/07 02:47 AM
|
|
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>
|
|
Description
|
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> |
Show » |
|
<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.