Change of component tree structure in ajax requests
---------------------------------------------------
Key: TOBAGO-994
URL: https://issues.apache.org/jira/browse/TOBAGO-994
Project: MyFaces Tobago
Issue Type: Improvement
Components: Facelets
Reporter: Sven Bunge
If you develop a form and want to replace some tobago components with other
ones in an ajax request, it is currently not working with an ui:include in a
facelet because noone will recreate the (sub-)tree in an ajax request. -> The
ui:include is no UIComponent and is dropped out on facelet-loading. So there is
no component that can call the getter-method on the controller to get an
different facelet for an include.
We have to rebuild the whole tree (or we find a solution to recreate the
subtree) in such cases.
Workaround for Tobago 1.0.x: use an binding, add the facelet manuell and add an
attribute to all components in the subtree: MARK_CREATED. (I know: It is a
dirty hack)
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira