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
http://lists.xwiki.org/mailman/listi
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
http://lists.xwiki.org/mailman/listi
users-requ...@xwiki.org
>
> 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. Docu
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 DocumentRefe
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 m
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
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
Hi Vincent, Eduard,
Thanks for the answers. They look ridiculously simple since it’s absolutely in
line with the XWQL and HQL format - something that I could have guessed. Very
very helpful. Sorry to bother you but it’s a great help!
With kind regards,
Peter
___
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 th
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.
Can anyone help me on this?
Br,
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
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
http://lists.xwiki.org/mailman/lis
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
oldcore/src/main/java/com/xpn/xwiki/plugin/packaging/PackageAPI.java
>
> <https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/plugin/packaging/PackageAPI.java>
>> [4]
>>
> https://github.com/xwik
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 wrote:
>> Hi Eduard,
>>
>> We have proceeded as per your advic
;>> 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 >> <mailto:p.huis...@ximm.nl>> wrote:
>>>> That’s the point
XWikiDocumentArchive#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 <mailto:p.huis...@ximm.nl>> wrote:
>> I did so
Hi Eduard,
Apparently, the use of the following call is not working:
http:///xwiki/bin/export/Space/Page&format=xar&pages=ws360vthwest:%25.%25&name=ws360vthwest&history=true&backup=true&author=XWiki.Admin
/xwiki/bin/export/Space/Page&format=xar&pages=ws360vthwest:%.%&name=ws360vthwest&history=t
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
wit
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
wit
ntext+Macro>
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 th
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?
Wit
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 am
Users mailto:users@xwiki.org>>
Antwoord aan: XWiki Users mailto:users@xwiki.org>>
Right now there is no standard for it. Usually jobs that need to run
in a specific wiki or with specific user for example are provided with
this wiki/user as a job request parameter.
On Fri, Nov 13, 2015
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 hel
have access to my components from
a job :-)
Thanks for the help by answering my questions.
Br,
Peter
Van: Thomas Mortagne mailto:thomas.morta...@xwiki.com>>
Onderwerp: Antw.: [xwiki-users] Question on Jobs and context (Peter Huisman)
Datum: 16 november 2015 18:27:13 CET
Aan: XWiki
I guess there is a type in the code: in org
.xwiki
.job
.internal
.AbstractJob
.progressManager , the
stepPropress (with a P) is defined where it should be stepProgress - or is
there a reason for this?
Br,
P
___
users mailing list
users@xwik
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 =
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 doc
,
>
> No it’s not been fixed in 6.4.x. Maybe Thomas has decided not to backport it
> since it could a bit dangerous? Thomas?
>
> Thanks
> -Vincent
>
> On 4 Jan 2016 at 11:02:58, Peter Huisman
> (p.huis...@ximm.nl(mailto:p.huis...@ximm.nl)) wrote:
>
>> Hi Vin
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
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 usi
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
_
ase shed some light on this?
With kind regards,
Peter Huisman
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
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 = prod
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 re
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, th
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 Exc
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
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
qu...@xwiki.org
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. R
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 CON
42 matches
Mail list logo