Derick Rethans wrote: > Hello Peter, > > On Fri, 17 Apr 2009, Peter Hopfgartner wrote: > > >> I'm using the ezcTree component for storing information about plant >> taxonomy in a database. Now, I would like to print out the tree. >> Unfortunatly, looking through the tutorial it seems to me that for >> text and GraphViz only IDs are shown, contrary to what happens with >> XHTML. Is this only a matter of setting the right option? Or, given >> that the visitors are quite small, should I adapt them to my needs? >> > > At the moment the visitors are quite small and simple. The idea is to > inherit from the visitors to provide your own data elements if needed. > I'd love however to add this data by default easily... so a patch/new > class would be quite useful here. > > regards, > The changes would basically be that in accept() more data is collected, as is in the XHTML version, so that at least the ID and the data is accessible. Then the label could be composed of the id and/or the data. The format could eventually be specifyed by an option object passed to the constructor (as in the XHTML case).
Peter -- Dott. Peter Hopfgartner R3 GIS Srl - GmbH Via Johann Kravogl-Str. 2 I-39012 Meran/Merano (BZ) Email: peter.hopfgart...@r3-gis.com Tel. : +39 0473 494949 Fax : +39 0473 069902 www : http://www.r3-gis.com -- Components mailing list Components@lists.ez.no http://lists.ez.no/mailman/listinfo/components