Hi,
- Create a new event (let's call it PostBuildViewEvent for the
moment), that
is
propagated every time the view is build (when it is created, restored or
refreshed before render response). h:outputScript, h:outputStylesheet,
cc:insertChildren and cc:insertFacet should add a listener for this
event and handle all relocation code at response of this event.
- Fix PostAddToViewEvent/PreRemoveFromViewEvent publishing conditions.
In my opinion this ones should not be called when the view is "refreshed".
Martin suggestion about the publishing conditions are reasonable.
yes, this sounds good. Leonardo, for the second event, how would you
suggest the publishing to happen (actual sourcecode)?
best regards,
Martin
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces