Mittal Bhoigade wrote: > 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")"
You have to find out which line provokes this... It looks like an array access... as if when executing currentTrans[tranIndex] Also, do you need the for component? Why don't you use its value parameter? How is getCurrentTrans() implemented? > 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 > <http://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 > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting ------------------------------------------------------------------------- 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
