oh yes :)
thanks :)
I didn't look at this one...
sorry for disturbing you
On Thu, Sep 25, 2008 at 12:45 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
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
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs