Too bad, there was no response...
So I filed this bug:
https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1384
-Matthias
On Wed, Oct 21, 2009 at 8:55 PM, Matthias Wessendorf <matzew_at_apache.org> wrote:
> On Wed, Oct 21, 2009 at 8:45 PM, Matthias Wessendorf <matzew_at_apache.org> wrote:
>> Hi,
>>
>> while working on Trinidad 2 I checked JavaDoc (hosted at java.sun.com)
>> and MyFaces impl for UIComponentBase for setParent().
>>
>> The JavaDoc says:
>>
>> <snip>
>> This method will cause an PostAddToViewEvent to be published and if
>> parent.isInView() returns true an PostAddToViewEvent will be published
>> as well.
>> </snip>
>>
>> MyFaces basically queues two events:
>> -PostAddToViewEvent
>> -PreRemoveFromViewEvent
>>
>> Generally I think the JavaDoc should be polished to better reflect the
>> total algorithm...
>>
>> Also, I found it funny that the spec doesn't mention the
>> PostAddToViewEvent class at all.
>
> PreRemoveFromViewEvent is not mentioned ..........
>
>> Is that an oversight ?
>>
>> Greetings,
>> Matthias
>>
>> http://svn.apache.org/repos/asf/myfaces/core/trunk/api/src/main/java/javax/faces/component/UIComponentBase.java
>>
>> --
>> Matthias Wessendorf
>>
>> blog: http://matthiaswessendorf.wordpress.com/
>> sessions: http://www.slideshare.net/mwessendorf
>> twitter: http://twitter.com/mwessendorf
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
--
Matthias Wessendorf
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf