This content has been marked as final.
Show 3 replies
-
1. Re: Expand <rich:tree...
maksimkaszynski Sep 24, 2007 9:57 AM (in response to tamri)Please provide code snippet
-
2. Re: Expand <rich:tree...
tamri Sep 25, 2007 5:09 AM (in response to tamri)public void selectTreeNode(NodeSelectedEvent event)
{
utree = (UITree) event.getComponent();
rowKey=(TreeRowKey) utree.getRowKey();
} -
3. Re: Expand <rich:tree...
tamri Sep 25, 2007 5:13 AM (in response to tamri)public class testBean
{
private UITree utree;
private TreeRowKey roeKey;
public void selectTreeNode(NodeSelectedEvent event)
{
utree = (UITree) event.getComponent();
rowKey=(TreeRowKey)utree.getRowKey();
}
}
after some operation(go another page and then return on this page)
call method
public String expandNode()
{
utree.queueNodeExpand(rowKey);
return "success";
}
this bean is sessionscope, so then i return on the treepage and call expandNode method it doesn't work;
is enything wrong?