I have implemented dynamic (adding children to root when user click's on plus sign of tree ) tacos tree >> very similar to SimpleTree/FileTree example

intially tree is rendered with root and plus sign but when I click on plus sign of tree
I am getting exception source is null -  "source is null for getProperty(null, "0")"
I checked for treeContentProvider implementation - its getting filled in..
any idea's - I can send you more details if required

// reads collection

<component id="transaction" type="For">
    <binding name="source" value="currentTrans"/>
    <binding name="element" value="literal:tr"/>
    <binding name="index" value="tranIndex"/> 
    <binding name="class" value="beans.evenOdd.next"/>
</component>

// reads contentprovider from collection

<component id="tree" type="tacos:Tree">
    <binding name="contentProvider" value="currentTrans[tranIndex].contentProvider"/>
    <binding name="value" value="currentTrans[tranIndex].item"/>
    <binding name="nodeLinkAjax" value="ognl:false" />  
</component>


// html
<div jwcid="tree" style="overflow: auto; width: auto; height: auto;"><span jwcid="@Insert" value="ognl: item.name"/></div>

--
Regards
Mittal Bhiogade
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Tacos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tacos-devel

Reply via email to