PanelSet and Panel (Please Help)

Hi,
I want to design somethinf like this, I have two vertical panels, in the left Panel I have a tree structure , if I click on the Branck of the tree then the contents related to that branch should be display in the other Panel in some table form(irrespective of it), the main thing which I want to know is is it possible to get some contents in the right panel if I click on the on the treeBranch from the left, please help me, Itx something like gmail, if I click on the inbox the contents will be coming on the right side, PLease help me with a solution, I THINK THERE MIGHT BE A SOLUTION FOR THIS.

PanelSet and Panel (Please Help)

Hi Sandy,
It is possible to do that. You could load some content on the right panel when certain tree leaf is clicked by executing load command on the select event in tree leaf. Use "replaceChildren" mode attribute to replace the current panel right content with the new content.For example:

<b:panel id="panelLeft" backgroundColor="#82AADF" >
--- other tree and tree branch code ---
   <b:treeLeaf label="My File.doc" >
         <e:handler event="select" >
             <c:load url="myContent.xml" destination="id('panelRight')" mode="replaceChildren" />
         </e:handler>
   </b:treeLeaf>  
--- other code ---
</b:panel>
<b:panel id="panelRight" backgroundColor="#A4C1E7" >
</b:panel>

~Yudi