[xwiki-users] Problem with Access Level

2009-09-07 Thread Nikos Georgosopoulos
I have changed a bit the displayDocumentList macro in xwiki/templates/macros.vm and now it work for me: #foreach($docName in $docNames) #set($document = $xwiki.getDocument($docName).getTranslatedDocument()) #if($xwiki.hasAccessLevel(view, $context.user, $document.fullName))

Re: [xwiki-users] Selective space export

2009-09-07 Thread Steven Calkins
Hallo Francisco, I recently exported my entire database for the first time. I noticed that when you import the XAR file there are checkboxes that permit you to leave out what you want. Is that what you need? Xwiki permits choosing which spaces to import, but the choice is on the import side

Re: [xwiki-users] Selective space export

2009-09-07 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Hi Francisco! Hernández Cuchí wrote: Hi, That is not really what I want. My problem is that I have an xwiki 1.7.14 and I wanto to move to a 2.0milestone 2 in another machine. I get a lot of corrupted xar files (cannot open them with 7zip) because of java memory heap exception (even if

Re: [xwiki-users] Selective space export

2009-09-07 Thread Caleb James DeLisle
I modified the large export script to support individual spaces. With my modded version, you can also export to a directory rather than zip compressing the export (you can then zip the contents of the dir manually), hopefully skipping the zip compression will save enough ram to prevent running out

Re: [xwiki-users] Selective space export

2009-09-07 Thread Caleb James DeLisle
Oops, the mail client bungled my code. You can download it as an application here: http://code.xwiki.org/xwiki/bin/download/Applications/LargeExportBySpaceApplicationDownloads/Main.largeExportBySpace.xar Caleb James DeLisle wrote: I modified the large export script to support individual spaces.