What do u mean by temp prop - can u write/paste sample code on it.
I was able to render single tree based on Simple Tree example and made the children add to parent on click on plus sign. I am surprised of error too....
any pointers shall be of g8 help
Thanks
Mittal
On 11/9/06, andyhot <[EMAIL PROTECTED]> wrote:
Mittal Bhoigade wrote:
> alrite need to give some more details, assumming u r reading from
> bottom up
>
> 1) There is VO called Transaction - which are added to collection -
> and collection is returned via getCurrentTrans
> 2) Transaction VO has member of type ITreeContentProvider - i.e each
> Transaction (row in a html view) has a tree
> 3) I am able to display roots exception below is generated when plus
> sign is clicked
> >> what gets invoked when plus sign is clicked - I thought it was
> getChildren on Folder
Well, the only slightly weird thing i see is the value binding of your
tree...
I'd bind it to a temp property
But i don't think this is the cause of your problems...
Have you tried making a single tree work before adding that For loop?
Did it work?
>
> Thanks
> Mittal
>
>
> On 11/9/06, *andyhot* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
> wrote:
>
> 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>
> > <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
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Tacos-devel mailing list
> > [email protected]
> <mailto:[email protected]>
> > https://lists.sourceforge.net/lists/listinfo/tacos-devel
> <https://lists.sourceforge.net/lists/listinfo/tacos-devel >
> >
>
>
> --
> Andreas Andreou - [EMAIL PROTECTED] <mailto:[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
> <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642>
> _______________________________________________
> Tacos-devel mailing list
> [email protected]
> <mailto:[email protected] >
> https://lists.sourceforge.net/lists/listinfo/tacos-devel
>
>
>
>
> --
> 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
--
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
