myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sven Bunge (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TOBAGO-994) Change of component tree structure in ajax requests
Date Sat, 23 Apr 2011 18:59:05 GMT

    [ https://issues.apache.org/jira/browse/TOBAGO-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023594#comment-13023594
] 

Sven Bunge commented on TOBAGO-994:
-----------------------------------

It is currently not possible in 1.0.35 and 1.5.0-alpha2. But I think an improvement needs
only a fix version :-)

> 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

Mime
View raw message