[xwiki-users] Question on DBList and the use of different wikis

2015-03-17 Thread Peter Huisman
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

Re: [xwiki-users] users Digest, Vol 93, Issue 41

2015-04-21 Thread Peter Huisman
You can reach the person managing the list at users-ow...@xwiki.org When replying, please edit your Subject line so it is more specific than Re: Contents of users digest... Today's Topics: 1. Livetable results for guest users (Peter Huisman) 2. Re: Livetable results for guest

[xwiki-users] Livetable results for guest users

2015-04-20 Thread Peter Huisman
Hi, I have a Wiki which sole purpose is provide documentation for another Wiki based on vairous classes used to define this documentation. The wiki should be publicly accessible. I'm using Livetables to show the results. So far so good. I do not have any problems controlling the environment

[xwiki-users] DBList and Custom Display

2015-04-22 Thread Peter Huisman
Hi guys, I have a class containing a property type DBList. The Query is something like this: SELECT idVarProp.value, CONCAT(codeVarProp.value, ' - ', naamVarProp.value, ' (', codeProdProp.value, ' - ', naamProdProp.value, ')') FROM etc. etc. This works fine if I use displayView; the

[xwiki-users] Question on copying Objects

2015-08-21 Thread Peter Huisman
Hi, I have a question when copying an object from a page onto another page according to (abbreviated) method below. BaseObject sourceResultaatObject = getObject(sourceResultaattype, RESULTAATTYPECLASSREFERENCE); // gets a BaseObject from a page based on the two DocumentReferences for

[xwiki-users] Generating a DocumentReference

2015-08-05 Thread Peter Huisman
Hi, I am looking for a way to create a document reference without the “hassle” of worrying about the WikiName. In a listener, I get a document name which I use for input in a query. The result is a list of documentNames in the format [space.docname]. I need to transform this into a

[xwiki-users] Antw.: Recursion during deleteEvent

2015-08-09 Thread Peter Huisman
Hi Eduard, Thanks. I figured that one out. Fortunately, I have been able to use the recursion in the DeleteListener to my advantage without having to set any kind of context variable. It works like a charm! Thanks again for the effort. With kind regards, Peter

[xwiki-users] Sold search from JAVA

2015-08-10 Thread Peter Huisman
Hi, I have been looking into the Solr search to identify which wiki links ([doc:] in TEXTAREA’s within Objects on a page) are being used for a certain document. I want to use this from my Java packages. I have not been able to identify an (easy?) way of incorporating Solr search into this. If

[xwiki-users] Recursion during deleteEvent

2015-08-06 Thread Peter Huisman
Hi, I am looking for a solution to “automatically” delete children for a XWiki page using the DeleteEvent listener. Is there a way to prevent recursion when deleting such a child XWiki page from a Java lib? Thanks for your feedback, Peter ___ users

Re: [xwiki-users] Question on Jobs and context

2015-11-14 Thread Peter Huisman
rovided with this wiki/user as a job request parameter. On Fri, Nov 13, 2015 at 2:51 PM, Peter Huisman <p.huis...@ximm.nl <mailto:p.huis...@ximm.nl>> wrote: > Hi, > > Im getting my head around job building. One question I have: If I start a > job, the co

Re: [xwiki-users] Question on Jobs and context (Peter Huisman)

2015-11-16 Thread Peter Huisman
Hi Thomas, I figured something like this. I have however been trying to pass various parameters to the request but this has not resulted in any succes: Passing the entire context (either ExecutionContext or XWikiContext) did’t work and neither did setting the WikiId or the database. Can you

[xwiki-users] Antw.: Question on Jobs and context (Peter Huisman)

2015-11-17 Thread Peter Huisman
to have access to my components from a job :-) Thanks for the help by answering my questions. Br, Peter Van: Thomas Mortagne <thomas.morta...@xwiki.com <mailto:thomas.morta...@xwiki.com>> Onderwerp: Antw.: [xwiki-users] Question on Jobs and context (Peter Huisman) Datum: 16 november 2

[xwiki-users] rendering

2015-10-07 Thread Peter Huisman
Hi, I am using a conversion from XWiki syntax to XHTML which is working like a charm. The challenge I have however is the following: I am running a (test velocity) script from the Sandbox space. I am converting documents in a different space (let’s say ).These documents contain objects

[xwiki-users] rendering

2015-10-07 Thread Peter Huisman
Hi, I am using a conversion from XWiki syntax to XHTML which is working like a charm. The challenge I have however is the following: I am running a (test velocity) script from the Sandbox space. I am converting documents in a different space (let’s say ).These documents contain objects

[xwiki-users] Job's and queues

2015-10-10 Thread Peter Huisman
Hi guys, I am looking for an example on how to create / use a queue for my custom jobs and how to add jobs in the queue (preferably an example in Java). I can’t find an example I can use - except for the job Executor description in the Extensions area. Can anyone supply me with an example?

[xwiki-users] Antw.: rendering

2015-10-09 Thread Peter Huisman
o> Thanks -Vincent > Hope this helps, > Eduard > > > On Wed, Oct 7, 2015 at 12:38 PM, Peter Huisman wrote: > >> Hi, >> >> I am using a conversion from XWiki syntax to XHTML which is working like a >> charm. The challenge I have however is the followin

[xwiki-users] DocumentSavingEvent

2015-07-10 Thread Peter Huisman
Hi, I was wondering if there is a way to stop the document from being saved using this event listener (or any similar event listener for that matter)? With kind regards, Peter ___ users mailing list users@xwiki.org

[xwiki-users] DocumentCreatingEvent

2015-07-10 Thread Peter Huisman
Hi, I was wondering if there is a way to stop the document from being saved using this event listener (or any similar event listener for that matter)? With kind regards, Peter ___ users mailing list users@xwiki.org

Re: [xwiki-users] DocumentSavingEvent

2015-07-10 Thread Peter Huisman
the person managing the list at users-ow...@xwiki.org When replying, please edit your Subject line so it is more specific than Re: Contents of users digest... Today's Topics: 1. DocumentSavingEvent (Peter Huisman) 2. DocumentCreatingEvent (Peter Huisman) 3. Re: DocumentSavingEvent

[xwiki-users] Question on Jobs and context

2015-11-13 Thread Peter Huisman
Hi, Im getting my head around job building. One question I have: If I start a job, the context of the job is not the context I need. The script I run is in a subWiki but the context of the job is in the main Wiki. What is the best way to change the context in the job to match the wiki that I

[xwiki-users] Query in Java

2015-09-10 Thread Peter Huisman
Hi, I’m looking for the return type for the following Query type in Java: select doc.space, doc.name from XWikiDocument doc, BaseObject obj… I know it should be some kind of List since this is what works in Velocity but I can’t do a typecast from List to List

[xwiki-users] XAR

2015-09-17 Thread Peter Huisman
Hi, Is there a way to generate XAR’s using XWiki’s scheduling function? I’m not looking for a DB based backup but merely for a backup of spaces / pages. With kind regards, Peter ___ users mailing list users@xwiki.org

[xwiki-users] Eventlistener

2015-09-11 Thread Peter Huisman
Hi, After deleting a document, XWiki first shows a confirmation page and after that displays the deleted document(s). I was wondering if I’m able to redirect the user to a different page after the confirmation he has to give on the delete action. I have noticed some remaks on the topic such as

Re: [xwiki-users] XAR

2015-09-18 Thread Peter Huisman
ng/PackageAPI.java > [4] > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java#L244 > [5] https://en.wikipedia.org/wiki/Cron > [6] https://en.wikipedia.org/wiki/CURL > [7] http://platform.xwiki.or

[xwiki-users] Antw.: Antw.: Antw.: XAR

2015-09-24 Thread Peter Huisman
ing to the trace it just ask for document version handler, >>> nothing more. And that supposed to happen exactly the same way when >>> you look at the document versions. >>> >>> >>> On Thu, Sep 24, 2015 at 10:57 AM, Peter Huisman <p.huis...@xi

[xwiki-users] Antw.: XAR

2015-09-24 Thread Peter Huisman
n/packaging/PackageAPI.java> >> [4] >> > https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/web/ExportAction.java#L244 >> [5] https://en.wikipedia.org/wiki/Cron >> [6] https://en.wik

[xwiki-users] Antw.: Antw.: XAR

2015-09-24 Thread Peter Huisman
s like the history of those object is not in a great shape. Are > you able to view the history of those documents in error and access > each version ? > > On Thu, Sep 24, 2015 at 10:14 AM, Peter Huisman <p.huis...@ximm.nl> wrote: >> Hi Eduard, >> >> We hav

[xwiki-users] Antw.: Antw.: Antw.: Antw.: XAR

2015-09-24 Thread Peter Huisman
DocumentArchive#getArchive when trying to load version 11.1. Did > you tried executing it ? Is this version listed in your code ? > > On Thu, Sep 24, 2015 at 1:14 PM, Peter Huisman <p.huis...@ximm.nl > <mailto:p.huis...@ximm.nl>> wrote: >> I did s

Re: [xwiki-users] Antw.: Antw.: Antw.: Antw.: XAR

2015-09-25 Thread Peter Huisman
Hi Eduard, Apparently, the use of the following call is not working: http:///xwiki/bin/export/Space/Page=xar=ws360vthwest:%25.%25=ws360vthwest=true=true=XWiki.Admin /xwiki/bin/export/Space/Page=xar=ws360vthwest:%.%=ws360vthwest=true=true=XWiki.Admin> Apparently, the export is able to find the

Re: [xwiki-users] import of a XAR and versions

2016-01-04 Thread Peter Huisman
I get that and respect that :-) It’s of course up to you if that’s possible. Br, Peter > Op 4 jan. 2016, om 11:25 heeft vinc...@massol.net het volgende geschreven: > > > On 4 Jan 2016 at 11:22:29, Peter Huisman > (p.huis...@ximm.nl(mailto:p.huis...@ximm.nl)) wrote: > &g

[xwiki-users] import of a XAR and versions

2016-01-04 Thread Peter Huisman
Hi, I have a question regarding the import of a XAR. When we do an import of a XAR (exported with the History), we have noticed that - when the document NOT contains an attachment - the version history of the document is identical to the original (obviously as expected). However, when the

[xwiki-users] Error saving mail status

2015-11-19 Thread Peter Huisman
Hi guys, I have an error when trying to send an email from inside a job. The error I get is : 2015-11-19 11:09:16,507 ERROR o.x.m.i.DatabaseMailListener - Failed to save mail status [messageId = [04e467fb-0982-475b-9e8d-e3b1cc58c3a1], batchId = [9e5aa5f2-2372-40c9-b4c0-f6c5b7579560], state

[xwiki-users] Diff Module

2016-02-05 Thread Peter Huisman
Hi, On this page (http://extensions.xwiki.org/xwiki/bin/view/Extension/Diff+Module) you describe a Diff module for comparing items. Is there any description for the DiffConfiguration which is required when called from Java? With kind regards, Peter

[xwiki-users] Prevent editing in editmode

2016-01-28 Thread Peter Huisman
Hi, I have an object on a page. Once in edit mode, I want certain properties of the object not to be editable. This in itself is not an issue since I can display the value using $object.getValue(‘propertyname’). I have however a custom displayer in place for this property which is activated

[xwiki-users] Question on Query

2016-02-25 Thread Peter Huisman
t that I know how to do this. Can someone please shed some light on this? With kind regards, Peter Huisman ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] DocumentDeletingEvent

2016-04-05 Thread Peter Huisman
From the XWiki source code, I see there is a difference in passing a document to the evenmanager: The DocumentDeletingEvent is passing a “new XWikiDocument(doc.getDocumentReference())" The DocumentUpdatedEvent (as an example) is passing the doc (the actual XWikiDocument) The difference is,

[xwiki-users] DBLists and Relational Storage

2016-04-03 Thread Peter Huisman
Hi, A few short questions: What is the storage limit when NOT using Relational Storage for each selected item? - I assume this is 255 but I’m not sure. What is the storage limit when NOT using Relational Storage for all selected items in total? - I do not know what to make of this. The only

[xwiki-users] DBList / Relational Storage

2016-03-30 Thread Peter Huisman
Hi, I spent the last week or so figuring out very strange behavior which I could not explain. I’m not sure if any sort of code would be helpful so I just explain what the situation is: We have a class “caseClass” containing (among others) the following DBList: Name = product Pretty Name =

[xwiki-users] User registration

2016-10-04 Thread Peter Huisman
Hi, We have migrated to xwiki 8.2.1 in a docker environment. Everything is working as a charm. However: When registerring a user (as an admin), I get an error. Investigating this only gives me results that date from 2013 but nothing recent. I am not sure how to proceed. The error is: type