-
1. Re: how come the reRender doesn't work for this case?
mkut May 30, 2007 3:30 AM (in response to vh)I have about the same problem with rerender and facelets. Only parts of my page or even no parts are rerendered. The difference: I have a tree and on selection of a node no rerender is performed.
http://jboss.com/index.html?module=bb&op=viewtopic&t=109261 -
2. Re: how come the reRender doesn't work for this case?
vh Jun 4, 2007 8:18 PM (in response to vh)I kind of suspect that because my tree is in a template and my table is in a included file, the reRender is initiated from the included file, so it won't go out of the include file and redraw the outside tree.
Does any one know anything about it? -
3. Re: how come the reRender doesn't work for this case?
alexanderbelov Jun 5, 2007 1:48 AM (in response to vh)You can use binding attribute of the tree. Then you can write something as #{bean.treeComponentId} as a value of reRender attribute. The tree will be founded.
-
4. Re: how come the reRender doesn't work for this case?
vh Jun 5, 2007 12:45 PM (in response to vh)Now I made it a simple case. I put the table and tree each in a td, but only the table reRender worked, tree still doesn't reRender. Is this a problem in tree itself?
<rich:tree style="width:300px" value="#{allDesktopBean}"
var="item" nodeFace="node"
switchType="client"
id="myTree">
<rich:treeNode type="node">
<h:outputText value="#{item.name}" />
</rich:treeNode>
</rich:tree>
<rich:dataTable
id="myTable"
rows="20"
....
</rich:dataTable>