I do want to clarify that the spec has been deficient in keeping the 
spec inline with the javadocs changes.  The escape properties for
UISelectItem and SelectItem were discussed and agreed upon by the
EG, hence their presence in the API, but it seems the same updates
weren't applied to Chapter 4.

I've been advocating not duplicating javadoc content within the spec
to avoid mistakes such as these.  Hopefully JSF 2.0 will rectify that.

At any rate, I'll be logging spec bugs to have these issues resolved 
(hopefully in an MR).



Ryan Lubke wrote:
> 
> 
>> And there is no escape property documented for SelectItem here:
>>   http://java.sun.com/javaee/javaserverfaces/1.2/docs/api/index.html
> 
> I'll see what can be done about correcting the javadocs there.
> 
> 
>> Dennis Byrne added this attribute in r415043 with the message "added ... 
>> for binary compatibility with the RI". So it would appear to be a case 
>> where Sun's implementation was not compliant with the specification (how 
>> the hell did it ever pass the TCK with an extra method in the API?!), 
>> and myfaces was then tweaked to add the extra method. Given that 
>> history, it's no big surprise if the renderers were not updated to match.
>>
>> And (no surprise) it appears that the jee5 docs are being generated from 
>> Sun's codebase, and therefore are picking up Sun's incompatibilities and 
>> declaring them as "the spec". Sigh.
> 
> The spec mentions the escape attribute on pages 10 (preface) and
> page 9-33.  So I don't believe, outside of the mismatch mentioned above,
> that we've done anything incorrect.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/escape-attribute-inside-the-selectItem-component-is-not-evaluated-tp18440552p18454933.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to