0 Replies Latest reply on Jan 28, 2008 4:05 PM by Marcin Bednarek

    Rerender only details panel, not tree

    Marcin Bednarek Newbie

      Hi,

      In my application I have tree on the left side and on the right details panel - 'dirView'. When I click on a node which has a commandLink, tree and details panel rerender. Is it possible to rerender only details panel 'dirView' without rerendering tree ?


       <rich:tree switchType="ajax" status="statusTreeView" id="tree" limitToList="true" ajaxSingle="true" ajaxSubmitSelection="false">
       <rich:recursiveTreeNodesAdaptor roots="#{folderBean.getChildren(null)}" var="folder" nodes="#{folderBean.getChildren(folder)}">
       <rich:treeNode iconLeaf="/images/iconFolder.gif" icon="/images/iconFolder.gif" limitToList="true" ajaxSingle="true">
       <a4j:commandLink reRender="dirView" action="#{folderBean.setCurrentFolder(folder)}" value="#{folder.nameExt}" status="statusDirView" immediate="true">
       <rich:toolTip value="#{folder.version}" direction="bottom-right" layout="inline" rendered="#{folder.version!=null}" />
       </a4j:commandLink>
       </rich:treeNode>
       </rich:recursiveTreeNodesAdaptor>
       </rich:tree>