Hello,
Please, i have two problems :
1) i try to add an object using this code
## Create an object
#set($obj = $doc.newObject("XWiki.SomeClass"))
$obj.set("field1","value1")
$obj.set("field2","value2")
## Save the object in the page
$doc.save()
but when I click on "save and view", the values I have set for my fields are not saved,
the fields of the object are empty; Moreover, when I add a second object, there are only the first that is displayed on the page.
2) I would like to create corresponding objects to my XCLASS ( For example i have create xClass Environment, Brick ...), a Xclass Environment contains a list of bricks ( i would like to add such property List<Brick> bricks to an object of EnvironmentClass...).
In fact, I would like to create my data model in order to use it in my pages.
I want to know how to create a List property <Brick> for example or in general List<Xclass>.
Thanks.
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
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
for guest users in accessing the data. I ran into a problem however: I
added a column "sequencenumber" (just a "Number") in a class, to control
the sequence of objects for a certain parent. This column is displayed
in the livetable as a sortable column. This works great when I'm
signed-in as Admin, but when I'm accessing the livetable as guest, it
doesn't work as I expected. The data is shown when I'm selecting any
other (non-number) column as a sort key, but when I select the
sequencenumber column to sort the data, nothing (no single row) is
displayed. Selecting another key to sort the data brings the rows back
on the screen.
I've tried changing the visibility of the livetable macro's but that
didn't bring me anything. Is there anyone who had the same experience
and (obviously) can help me solve this (without changing the
sequencenumber to String type)? :-)
Thanks,
Peter
Hi,
Searching for first names, last names or any other public user profile data gives for guest user no hits in this old installation. I'm using database index.
I'm not able to remember, and has not documented, any change affecting how search works on this information.
Guest users can see that information, for instance...
http://atriumkm.idisantiago.es/bin/XWiki/AteneaSotoSimon
... but search gives no hit looking for any string included in these fields.
I see that XWiki 7.0 index that fields out of the box, thus I guess XWiki follows the same policy in previous releases. But I'm not able to find how/why I broke this feature.
This old XWiki installation keeps been really useful for us and I would like keep it running. But we do need this search running.
Please, could you please point me in the right direction? Where must I change to allow guests to get users' profiles in their searches?
Thanks for your help!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hi
I’m experiencing an “odd” behaviour with certain permissions that are applied to spaces and I’m not sure if I’m just doing it wrong, it’s a bug or a limitation of the design.
Basically we have a space for each department (e.g. Sales, Accounts, HR etc.). I have then created 3 groups for each department examples as below:
- Sales-Admin – Full permissions including admin
- Sales-Write – All permissions except Admin rights
- Sales-Read – View and Comment rights only
What I’ve had is if a user is in Sales-Admin group, then they cannot see any of the documents unless they are also a member of the Sales-Write group. This seems strange to me.
Basically we have
Sales-Admin contains:
UserA
UserB
Sales-Write contains:
UserC
UserD
Sales-Read contains:
No users in this group
The permissions are set as follows in the order it appears:
Sales Admin – View=Ticked, Comment=Ticked, Edit=Ticked, Delete=Ticked, Admin=Ticked
Sales-Read – View=Ticked, Comment=Ticked, Edit=Deny, Delete=Deny, Admin=Deny
Sales-Write = View=Ticked, , Comment=Ticked, Edit=Ticked, Delete=Deny, Admin=Deny
In some cases instead of specific deny, we just don’t tick that specific permission and still have issues with users not being able to see things unless they are made a member of another group.
Hopefully someone can help implement the permissions correctly with granular control. Thanks in advance for your time.
Kind regards,
Mahomed Hussein
Senior NOC Engineer
P.S. We are finalists for Data Centre Colocation Supplier of the year, please help us to win and VOTE<http://www.dcsawards.com/voting.php> for us here<http://www.dcsawards.com/voting.php>
Tel: +44 (0)1622 230382
| Email: Mahomed(a)CustodianDC.com
| Web: www.CustodianDC.com<http://www.CustodianDC.com>
| Info: info.CustodianDC.com<http://info.CustodianDC.com>
[Custodian Data Centres]<http://www.CustodianDC.com>
[ISO 27001 IS:567248]
Click to VOTE<http://www.dcsawards.com/voting.php> for Custodian! [DCS Awards Finalist]
[Like us on Facebook!][Follow us on Twitter][See us on YouTube!]
[Link to us!][Google Plus!]
Click here to view our email disclaimer<http://www.custodiandc.com/disclaimer.txt>
Registered Office: Maidstone TV Studios, Vinters Park, Maidstone, Kent ME14 5NZ. Company Number: 07878023
Sent from my iPhone
Begin forwarded message
>
> Hi Marius.
>
> I think this is related to MCOMPILER-122.
>
> (See ComponentCheckerAnnotationProcessor.java). This is required because of
> http://jira.codehaus.org/browse/MCOMPILER-122.
>
> However note that IntelliJ IDEA doesn't honor custom sourcepaths, see
> https://youtrack.jetbrains.com/issue/IDEA-133120, which means that you need to turn off
> Annotation Processing in IDEA or IDEA will generate errors while building modules -->
> ------------------------------------------------------------------------------------------------------------
> Vincent Massol’ note
>
> I've hit this problem too.
>
> I've had to do the following (https://github.com/xwiki/xwiki-commons/blob/master/pom.xml#L762):
>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-compiler-plugin</artifactId>
> <!-- Lock down plugin version for build reproducibility -->
> <version>3.2</version>
> <configuration>
> <source>1.7</source>
> <target>1.7</target>
> </configuration>
> <executions>
> <!-- We need custom sourcepaths for our Component Annotation Process work
> (See ComponentCheckerAnnotationProcessor.java). This is required because of
> http://jira.codehaus.org/browse/MCOMPILER-122.
> However note that IntelliJ IDEA doesn't honor custom sourcepaths, see
> https://youtrack.jetbrains.com/issue/IDEA-133120, which means that you need to turn off
> Annotation Processing in IDEA or IDEA will generate errors while building modules -->
> <execution>
> <id>default-compile</id>
> <configuration>
> <compilerArguments>
> <sourcepath>${project.basedir}/src/main/java:${project.basedir}/src/main/resources</sourcepath>
> </compilerArguments>
> </configuration>
> </execution>
> <execution>
> <id>default-testCompile</id>
> <configuration>
> <compilerArguments>
> <sourcepath>${project.basedir}/src/test/java:${project.basedir}/src/test/resources</sourcepath>
> </compilerArguments>
> </configuration>
> </execution>
> </executions>
> </plugin>
> However this isn't perfect. It works in Maven but fails in IDEA (see https://youtrack.jetbrains.com/issue/IDEA-133120). I'm also not sure it works on Windows machines (but that could be fixed with profiles).
>
> In addition I've noticed that it runs javac with 2 -sourcepath parameters! For example:
>
> [DEBUG] -d /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/classes -classpath /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/classes:/Users/vmassol/.m2/repository/org/xwiki/commons/xwiki-commons-tool-component-generation/6.4-SNAPSHOT/xwiki-commons-tool-component-generation-6.4-SNAPSHOT.jar:
> -sourcepath /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/java:/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/generated-sources/annotations:
> -s /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/target/generated-sources/annotations
> -g -deprecation -target 1.7 -source 1.7 -encoding UTF-8
> -sourcepath /Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/java:/Users/vmassol/dev/xwiki/git/xwiki-commons/xwiki-commons-core/xwiki-commons-stability/src/main/resources
> -Xlint:all
>
> -------------------------------------------------------
>
> Do you know how to fix this in Window env
>
>
> Thanks
>
> Ken
>
> From: LIANG, KEN K (CTR)
> Sent: Friday, April 17, 2015 11:06 AM
> To: 'khjintcorp(a)gmail.com'
> Subject: Can'tbuild project xwiki-platform-wiki-default
>
> Hi Marius
>
> I used the entire xwiki-platform-wiki module on the clean master branch. I used window to build xwiki.
>
> Here is my configuration.
> C:\Projects\xwiki-platform>mvn -version
> Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T16:10:27-04:00)
> Maven home: C:\apache-maven-3.3.1
> Java version: 1.7.0_65, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_65\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> I followed the direction on http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven. I can do clean, but not install.
>
> mvn clean install -Dxwiki.checkstyle.skip=true
>
> It seems that the components in any modules are not able to be compiled. Do I miss any steps in set up in order to build xwiki? I got the same issue when I try to build the xwiki-common package
>
> Thanks
>
> Ken
>
> On Apr 16, 2015 11:14:02 pm , Marius Dumitru Florea (mari...(a)xwiki.com) Wrote
> What branch / tag of https://github.com/xwiki/xwiki-platform/ are you
> building? Did you make any changes (is git status clean) ? Did you
> configure Maven as per
> http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
> ? What OS are you using?
>
> I have no problem building the entire xwiki-platform-wiki module on
> the clean master branch, using Maven 3.0.4 and Java 7 on Linux
> (Ubuntu).
>
> Hope this helps,
> Marius
>
> On Thu, Apr 16, 2015 at 6:58 PM, Khjintcorp <khji...(a)gmail.com> wrote:
> Hello
>
> I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed
> all problems related to build. Except one thing if the module has component
> codes or components.txt I always got builderror. Please see the attached error
> log. I think I missed one thing but I don't know yet. Can you help me on this
> issue.
>
> Thanks
>
> Ken
>
> Sent from my iPhone
>
> Begin forwarded message:
>
> From: "LIANG, KEN K (CTR)" <ken....(a)cbp.dhs.gov>
> Date: April 16, 2015 at 10:13:14 AM EDT
> To: "khji...(a)gmail.com" <khji...(a)gmail.com>
> Subject: Can'tbuild project xwiki-platform-wiki-default
>
> [INFO] XWiki Platform - Wiki - Parent POM ................. SUCCESS [ 7.463 s]
> [INFO] XWiki Platform - Wiki - API ........................ SUCCESS [ 8.459 s]
> [INFO] XWiki Platform - Wiki - Default Implementation ..... FAILURE [ 25.449 s]
> [INFO] XWiki Platform - Wiki - REST - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - REST - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Parent POM ...... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - API ............. SKIPPED
> [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED
> [INFO] XWiki Platform - Wiki - Script services ............ SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Default ......... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Script .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Default ............. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Script .............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Parent POM ............ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Common ................ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Main Wiki ............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Wiki .................. SKIPPED
> [INFO] XWiki Platform - Wiki - Workspaces Migrator ........ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 43.351 s
> [INFO] Finished at: 2015-04-16T10:11:32-04:00
> [INFO] Final Memory: 72M/912M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
> project xwiki-platform-wiki-default: Compilation failure: Compilation failure:
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper]
> isn't declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.document.XWikiServerClassDocumentInitializer]
> isn't declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.provisioning.DefaultWikiCopier] isn't declared!
> Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.migrator.WikiDescriptorMigrator] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.configuration.DefaultWikiConfiguration] isn't declared!
> Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.properties.DefaultWikiPropertyGroupManager]
> isn't declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.provisioning.DefaultWikiProvisioningJobExecutor] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.DefaultWikiManager] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :xwiki-platform-wiki-default
> FATAL ERROR in native method: JDWP on getting class status,
> jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
> JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on getting class status
> [util.c:1283]
>
>
>
>
>
Sent from my iPhone
Begin forwarded message:
> Hi Marius
>
> I used the entire xwiki-platform-wiki module on the clean master branch. I used window to build xwiki.
>
> Here is my configuration.
> C:\Projects\xwiki-platform>mvn -version
> Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-13T16:10:27-04:00)
> Maven home: C:\apache-maven-3.3.1
> Java version: 1.7.0_65, vendor: Oracle Corporation
> Java home: C:\Program Files\Java\jdk1.7.0_65\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>
> I followed the direction on http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven. I can do clean, but not install.
>
> mvn clean install -Dxwiki.checkstyle.skip=true
>
> It seems that the components in any modules are not able to be compiled. Do I miss any steps in set up in order to build xwiki? I got the same issue when I try to build the xwiki-common package
>
> Thanks
>
> Ken
>
> On Apr 16, 2015 11:14:02 pm , Marius Dumitru Florea (mari...(a)xwiki.com) Wrote
> What branch / tag of https://github.com/xwiki/xwiki-platform/ are you
> building? Did you make any changes (is git status clean) ? Did you
> configure Maven as per
> http://dev.xwiki.org/xwiki/bin/view/Community/Building#HInstallingMaven
> ? What OS are you using?
>
> I have no problem building the entire xwiki-platform-wiki module on
> the clean master branch, using Maven 3.0.4 and Java 7 on Linux
> (Ubuntu).
>
> Hope this helps,
> Marius
>
> On Thu, Apr 16, 2015 at 6:58 PM, Khjintcorp <khji...(a)gmail.com> wrote:
> Hello
>
> I am new on Xwiki. I like to rebuild Xwiki platform or common packages. I fixed
> all problems related to build. Except one thing if the module has component
> codes or components.txt I always got builderror. Please see the attached error
> log. I think I missed one thing but I don't know yet. Can you help me on this
> issue.
>
> Thanks
>
> Ken
>
> Sent from my iPhone
>
> Begin forwarded message:
>
> From: "LIANG, KEN K (CTR)" <ken....(a)cbp.dhs.gov>
> Date: April 16, 2015 at 10:13:14 AM EDT
> To: "khji...(a)gmail.com" <khji...(a)gmail.com>
> Subject: Can'tbuild project xwiki-platform-wiki-default
>
> [INFO] XWiki Platform - Wiki - Parent POM ................. SUCCESS [ 7.463 s]
> [INFO] XWiki Platform - Wiki - API ........................ SUCCESS [ 8.459 s]
> [INFO] XWiki Platform - Wiki - Default Implementation ..... FAILURE [ 25.449 s]
> [INFO] XWiki Platform - Wiki - REST - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - REST - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Parent POM ...... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - API ............. SKIPPED
> [INFO] XWiki Platform - Wiki - REST - Default implementation SKIPPED
> [INFO] XWiki Platform - Wiki - Script services ............ SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Default ......... SKIPPED
> [INFO] XWiki Platform - Wiki - Template - Script .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - Parent POM .......... SKIPPED
> [INFO] XWiki Platform - Wiki - User - API ................. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Default ............. SKIPPED
> [INFO] XWiki Platform - Wiki - User - Script .............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Parent POM ............ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Common ................ SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Main Wiki ............. SKIPPED
> [INFO] XWiki Platform - Wiki - UI - Wiki .................. SKIPPED
> [INFO] XWiki Platform - Wiki - Workspaces Migrator ........ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 43.351 s
> [INFO] Finished at: 2015-04-16T10:11:32-04:00
> [INFO] Final Memory: 72M/912M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on
> project xwiki-platform-wiki-default: Compilation failure: Compilation failure:
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.DefaultWikiCreator] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.builder.DefaultWikiDescriptorBuilder] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.WikiDescriptorCache] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.listener.WikiDescriptorListener] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.DefaultWikiDeleter] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper]
> isn't declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.document.XWikiServerClassDocumentInitializer]
> isn't declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.provisioning.DefaultWikiCopier] isn't declared!
> Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.migrator.WikiDescriptorMigrator] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.configuration.DefaultWikiConfiguration] isn't declared!
> Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.descriptor.properties.DefaultWikiPropertyGroupManager]
> isn't declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.provisioning.DefaultWikiProvisioningJobExecutor] isn't
> declared! Consider adding a components.txt file or if it's normal use the
> "staticRegistration" parameter as in "@Component(staticRegistration = false)"
> [ERROR] There's no [META-INF/components.txt] file and thus Component
> [org.xwiki.wiki.internal.manager.DefaultWikiManager] isn't declared! Consider
> adding a components.txt file or if it's normal use the "staticRegistration"
> parameter as in "@Component(staticRegistration = false)"
> [ERROR] -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR] mvn <goals> -rf :xwiki-platform-wiki-default
> FATAL ERROR in native method: JDWP on getting class status,
> jvmtiError=JVMTI_ERROR_WRONG_PHASE(112)
> JDWP exit error JVMTI_ERROR_WRONG_PHASE(112): on getting class status
> [util.c:1283]
>
>
>
>
Hello,
I have a xwiki 7.0 instance without internet connection, so I have to manually install the extensions using xar archives.
The manually installed extensions don't appeared in "Installed Extensions" menu of the extension manager.
Can you tell me if this is normal ? Also, can you tell me how to cleanly uninstall manually installed extensions ?
Regards,
François
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
Hello
I'm creating a Live Table with the normal macro and I would like to know if it is possible to change the font size and color of the text inside the table ?
{{velocity}}
#set($columns = ["doc.name", "doc.date"])
#set($columnsProperties = {
"doc.name" : {"displayName" : "Name "},
"doc.date" : {"displayName" : " "},
})
#set($options = {
"className":"",
"selectedColumn" : "doc.date",
"defaultOrder" : "desc",
"rowCount": 10
})
#livetable("userdirectory" $columns $columnsProperties $options)
{{/velocity}}
This is the code I use to create the livetable (of all documents of the XWiki), but I have no idea how to change the font size and color for the whole table, and I would also like to know if it was possible to change the font size and color for a specific column?
Thanks for the advice !!
Greetings
Adrien
Hi all,
I have been working for some time now with XWiki 6.3. Basically all the
functionalities were OK.
The wiki contains about 6 virtual wiki's, and all of them are up and
running well.
From a certain moment on, however, I noticed that I could not add any
users to the main xwiki instance (I can add them to the virtual wiki's
though).
I am not aware of any change on the main-wiki (xwiki....) level that I
might have caused.
So I decided to upgrade to version 7.0
The upgrade process went well, but I still have this error.
The error on the add-users page in xwiki in a pink message popup:
Failed to execute the [velocity] macro. Click on the message
for details.
If I click on the message, there is no reaction. I can only close this
popup.
In the xwiki-log on the server I can read:
2015-04-16 19:29:24,968
[http://xwiki.-------.--/xwiki/bin/view/XWiki/XWikiPreferences?xpage=registe…]
ERROR o.x.v.i.DefaultVelocityEngine - Exception in macro #loadConfig
called at 19:xwiki:XWiki.Registration[line 19, column 1]
Any ideas on how to get this functioning would be highly appreciated, as
I will have to enter about 670 users with different rights on the
different virtual-wikis.
Cheers,
Rui Rosado