Pascal Voitot wrote:
> Hello,
> I want to create a class with a DBList property not containing strings but a
> list of ID to other BaseObjects...
>
> Then from velocity I want to access directly to this list of objects to
> display each object one by one.
> But for this, you need ProgrammingRights because
> api.Object.get(propertyname) returns a display of the list and not the
> list... to retrieve the list, you must call getXWikiObject which requires
> programming rights...
>
> But I don't want to give programming rights just to view objects!
> Moreover I don't want to be forced to go among $doc.searchXXX just to find
> my objects because I have already these objects in my list...
>
> Do you a solution for me? my model might be bad also...
>
Object.getProperty("propertyname").getValue()
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs