Hi,

I am looking for a solution for the following situation.

I have 2 wiki's. The fist one (ref: MD) contains "Master Data". The second one (ref: UD) contains "User Data". I have Classes in UD that use data from the MD. The way to connect them is using DBList. I am however not able to compose a HQL query that enables me to select a different Wiki to run the query on. I know it is possible to select the Wiki in Velocity but until now, that didn't help me. In the Github code (the getDBList method in the DBListClass.java) a comment is included just before a statement:

// The DBlist may come from an other wiki
StringwikiName =getReference().extractReference(EntityType.WIKI).getName();

This might indicate that selecting a wiki might be an option when getting a DBList.

Anybody knows how to solve this problem (without replicating the data from MD in UD ;-))? Any additional suggestions are welcome.

Thanks,

Peter
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to