[xwiki-users] XWiki API - Save Document, Keep Editor?

2010-12-28 Thread Chris Wagner
Hello, Sorry to be coming up with so many questions. At the moment, when certain documents on our Wiki are saved, we run a handler to set some salient information in the document's properties, then save the document to update them. This sets the Editor to the author of the handler that is doing

[xwiki-users] Check anonymous access rights in macro

2010-11-19 Thread Chris Wagner
Hello, Is is possible to programatically detect whether or not anonymous users can view a document on the wiki? I have a macro that creates a list of documents and I would like to exclude documents that are visible only to logged-in users. Thank you, Chris

Re: [xwiki-users] Unexpected 'Order By' Results

2010-11-05 Thread Chris Wagner
, [Ricardo Rodriguez] eBioTIC. [via XWiki] ml-node+5704373-1764624309-299...@n2.nabble.comml-node%2b5704373-1764624309-299...@n2.nabble.com wrote: Sergiu Dumitriu wrote: On 11/03/2010 07:47 PM, Chris Wagner wrote: Hello, I am having some issues with the order by clause in HQL

Re: [xwiki-users] Unexpected 'Order By' Results

2010-11-05 Thread Chris Wagner
, [Ricardo Rodriguez] eBioTIC. [via XWiki] ml-node+5710870-687636266-299...@n2.nabble.comml-node%2b5710870-687636266-299...@n2.nabble.com wrote: Hi! Chris Wagner wrote: Hello, Sorry for the delay in reply. Sergiu, that was the case. Thank you very much. :) Ricardo, the query

[xwiki-users] Unexpected 'Order By' Results

2010-11-03 Thread Chris Wagner
Hello, I am having some issues with the order by clause in HQL - the following query: $xwiki.searchDocuments(where doc.hidden = false and doc.id='${doc.parent}' order by doc.title asc) is returning the expected set of documents, but the title order is erratic. The documents are reordered,