Yep Sergiu, that sounds about right. My biggest need is a line graph, for
which I need two values for each point (x, y), so there might be a couple
parameters. But the general idea that you're outlining sounds exactly what
I was thinking. And with the framework that Catalin already has, shouldn't
be too hard to write.
I'll work on creating a patch for this and submit it; I am also excited
about the 1.0 release, and so wouldn't ask you to divert resources to
something new.
shawn.
"Sergiu Dumitriu" <sergiu.dumitriu(a)gmail.com> wrote on 02/08/2007 03:38:09
PM:
> > The error I'm currently getting
is:
> >
> > java.lang.ClassNotFoundException:
> > com.xpn.xwiki.plugin.charts.source.XWikiComments
> >
> > Which is because I'm trying to use the ObjectDataSourceFactory and I
don't
> > know how to use it.
> Sorry, but ObjectDataSourceFactory seems not to be working any more
> (don't even know if it ever did). In the most cases a table data
> source should be enough.
> Indeed, the code for this is completely
wrong, and it only shows how
> poor was owr knowledge of XWiki was two years ago.
> > Finally, if there's any help that
I can provide, I'm certainly
available.
> > Thanks ...
> Yes, it would be great to have this for
xwiki. However, at the time
> this is just not implemented. It would be great if you could help us
> implementing this. I will have a look at the options we have for this
> and then come back to you. Until then it would be great if you could
> create a JIRA issue for this where you detail your use case.
> Catalin
> The right behavior would be to have
parameters for ClassName (the
> name of the type of the XWiki objects to use), the property name
> (the property that should be used as a data source), and the optiona
> document name and object number selection (range or set). Then, the
> datasource would extract from the [selected] objects the property
> and construct a proper data set. If you can write this and submit a
> patch, you would be of great help, as we are all busy with the 1.0
release.
> Thank you,
> Sergiu
> --
>
http://purl.org/net/sergiu
> --
> You receive this message as a subscriber of the xwiki-dev@objectweb.
> org mailing list.
> To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
> For general help: mailto:sympa@objectweb.org?subject=help
> ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws