Re: [xwiki-users] How to hide this?
Cool. I wasn't able to completely recreate it, but the issue seems to be with the extra " dropdown-split-left". I wonder if deleting that bit in the inspector renders the button correctly. The only thing I can think of is that a customer skin/theme or skin extension has been installed. I don't think this would be easy for someone else to troubleshoot without access to the live code. My suggestion is to disable/restore all skin/theme/skin extensions until the root cause is found. Kind regards, Mahomed -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of ricardo.julio.rodriguez.fernan...@sergas.es Sent: 20 April 2015 19:47 To: users@xwiki.org Subject: Re: [xwiki-users] How to hide this? Faster... http://goo.gl/SLZuPR -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Mahomed Hussein [maho...@custodiandc.com] Enviado: lunes, 20 de abril de 2015 18:22 Para: XWiki Users Asunto: Re: [xwiki-users] How to hide this? Could you use something like http://snag.gy/ or http://expirebox.com/ to post a screenshot? Kind regards, Mahomed -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Maciej Fokt Sent: 20 April 2015 15:10 To: users@xwiki.org Subject: [xwiki-users] How to hide this? Hi, I used "inspector" to examine the element (still my problem with double button on the top panel): class="dropdown-split-right dropdown-toggle hidden-xs dropdown-split-left" Could anyone say something about this? Maybe I installed extension or something... Please help me :p I can't public XWiki with this bug. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tomcat error 500 for pages with " in title
Hi D R! Have you checked if the encoding in the whole enviroment is correctly set up? I've seen something similar here in a CentOS installation this morning while fine tunning encoding as per... http://goo.gl/RC2k5k I'm not able to remember what error resulted to at least a similar message, but it was an erroneous configuration in some step. I swear that it was while teaking with hibernate.cfg.xml thought... HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de D R [rir@gmail.com] Enviado: lunes, 20 de abril de 2015 16:09 Para: XWiki Users Asunto: [xwiki-users] Tomcat error 500 for pages with " in title Hi everybody, we migrated our XWiki from Windows Server (Tomcat 7, XWiki 6) to Ubuntu Server 14.10 (Tomcat 8, XWiki 7) installed via the apt repository. All issues up to now could be solved but I stumbled upon one remaining issue. Opening Pages with " in the title/link lead to a tomcat 500 page. On the Windows instance the pages work. Could anybody help me to fix this? Thanks in advance. Example: Page: Kunden Appstore "iPad Apps" Link: http://10.80.75.216/xwiki/wiki/kunden/view/Some+%26+Space/Kunden+Appstore+%22iPad+Apps%22 Exception: HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] type Exception report message com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) root cause com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:645) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) root cause org.xwiki.resource.CreateResourceReferenceException: Invalid URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] org
Re: [xwiki-users] How to hide this?
Faster... http://goo.gl/SLZuPR -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Mahomed Hussein [maho...@custodiandc.com] Enviado: lunes, 20 de abril de 2015 18:22 Para: XWiki Users Asunto: Re: [xwiki-users] How to hide this? Could you use something like http://snag.gy/ or http://expirebox.com/ to post a screenshot? Kind regards, Mahomed -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Maciej Fokt Sent: 20 April 2015 15:10 To: users@xwiki.org Subject: [xwiki-users] How to hide this? Hi, I used "inspector" to examine the element (still my problem with double button on the top panel): class="dropdown-split-right dropdown-toggle hidden-xs dropdown-split-left" Could anyone say something about this? Maybe I installed extension or something... Please help me :p I can't public XWiki with this bug. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to hide this?
Could you use something like http://snag.gy/ or http://expirebox.com/ to post a screenshot? Kind regards, Mahomed -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Maciej Fokt Sent: 20 April 2015 15:10 To: users@xwiki.org Subject: [xwiki-users] How to hide this? Hi, I used "inspector" to examine the element (still my problem with double button on the top panel): class="dropdown-split-right dropdown-toggle hidden-xs dropdown-split-left" Could anyone say something about this? Maybe I installed extension or something... Please help me :p I can't public XWiki with this bug. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Fwd: Can'tbuild project xwiki-platform-wiki-default
Hi Vincent Just I thought the customer source path for component annotation is not working on window env. I used the command line on window env. > mvn install -Dproc=none I still receive the same issue ( can't find the components.txt) Thanks Ken Sent from my iPhone > On Apr 19, 2015, at 3:17 AM, "vinc...@massol.net" wrote: > > Hi, > > No, unless you prefer IDEA over Eclipse ;) > > A lot of XWiki devs use Eclipse without problem. > > This is not your problem here unless you’re building inside your IDE. Just > run from the command line if that’s not already the case. > > The issue could simply be that you’re on Windows and these custom sourcepaths > may not work on Windows for some reason: > > > > > default-compile > > > > ${project.basedir}/src/main/java:${project.basedir}/src/main/resources > > > > > default-testCompile > > > > ${project.basedir}/src/test/java:${project.basedir}/src/test/resources > > > > > For the moment try to turn off annotation processors and tell us if it builds > fine: > > mvn install -Dproc=none > > Thanks > -Vincent > > PS: Please always reply to the list! > > >> On 18 Apr 2015 at 22:10:18, Khjintcorp >> (khjintc...@gmail.com(mailto:khjintc...@gmail.com)) wrote: >> >> Vincent, >> >> I use eclipse, do I need change to idea? >> >> Thanks >> >> Ken >> >> Sent from my iPhone >> >>> On Apr 18, 2015, at 2:00 PM, >>> "vinc...@massol.net(mailto:vinc...@massol.net)" wrote: >>> >>> >>> >>> >>> On 17 Apr 2015 at 22:47:00, Khjintcorp (khjintc...@gmail.com(mailto:khjintc...@gmail.com)) wrote: 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 --> >>> >>> >>> >>> >>> >>> FTR I’ve fixed this on master (i.e.7.1-SNAPSHOT) and you don’t need to do >>> anything in IDEA now, it’s turned off automatically if you’re doing a make >>> inside IDEA. >>> >>> >>> >>> >>> >>> >>> Thanks >>> >>> >>> -Vincent >>> >>> >>> >>> >>> > > 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): > > > org.apache.maven.plugins > maven-compiler-plugin > > 3.2 > > 1.7 > 1.7 > > > > > default-compile > > > ${project.basedir}/src/main/java:${project.basedir}/src/main/resources > > > > > default-testCompile > > > ${project.basedir}/src/test/java:${project.basedir}/src/test/resources > > > > > > 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 > > --
[xwiki-users] Tomcat error 500 for pages with " in title
Hi everybody, we migrated our XWiki from Windows Server (Tomcat 7, XWiki 6) to Ubuntu Server 14.10 (Tomcat 8, XWiki 7) installed via the apt repository. All issues up to now could be solved but I stumbled upon one remaining issue. Opening Pages with " in the title/link lead to a tomcat 500 page. On the Windows instance the pages work. Could anybody help me to fix this? Thanks in advance. Example: Page: Kunden Appstore "iPad Apps" Link: http://10.80.75.216/xwiki/wiki/kunden/view/Some+%26+Space/Kunden+Appstore+%22iPad+Apps%22 Exception: HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] type Exception report message com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] description The server encountered an internal error that prevented it from fulfilling this request. exception javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) root cause com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract Entity Resource Reference from URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:645) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449) javax.servlet.http.HttpServlet.service(HttpServlet.java:618) javax.servlet.http.HttpServlet.service(HttpServlet.java:725) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111) root cause org.xwiki.resource.CreateResourceReferenceException: Invalid URL [ http://10.80.75.216/xwiki/wiki/kunden/view/Some+&+Space/Kunden+Appstore+ "iPad+Apps"] org.xwiki.url.ExtendedURL.(ExtendedURL.java:109) org.xwiki.url.internal.standard.StandardURLResourceReferenceResolver.resolve(StandardURLResourceReferenceResolver.java:161) org.xwiki.url.internal.standard.StandardURLResourceReferenceResolver.resolve(StandardURLResourceReferenceResolver.java:55) org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:75) org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:45) com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:641) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:593) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:170) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:146) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425) org.apache.struts.action.Re
[xwiki-users] How to hide this?
Hi, I used "inspector" to examine the element (still my problem with double button on the top panel): class="dropdown-split-right dropdown-toggle hidden-xs dropdown-split-left" Could anyone say something about this? Maybe I installed extension or something... Please help me :p I can't public XWiki with this bug. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Help me again ;)
Hi Maciek! As you can see, attachments are filtered out of this list. Please, for instance, attach the image to a public page on your XWiki installation and send the link to the list! Cheers! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Technical Secretariat Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es De: users [users-boun...@xwiki.org] en nombre de Maciej Fokt [maciek.f...@taxi123.pl] Enviado: lunes, 20 de abril de 2015 12:17 Para: users@xwiki.org Asunto: [xwiki-users] Help me again ;) Hello, I'm writing in connection with the same problem as last time... I have double buttons on the top panel. Could you tell me how to hide this or switch off? I have cleared cache of my web browser, installed and deleted extensions of XWiki... all don't working. Please help me. I will really happy if you sent me screen shots or something to show me how to do that. Screen shot with issue in attachment. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Help me again ;)
Hello, I'm writing in connection with the same problem as last time... I have double buttons on the top panel. Could you tell me how to hide this or switch off? I have cleared cache of my web browser, installed and deleted extensions of XWiki... all don't working. Please help me. I will really happy if you sent me screen shots or something to show me how to do that. Screen shot with issue in attachment. Greetings, Maciek. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create new xclass property
On Mon, Apr 20, 2015 at 11:31 AM, TOTOUM NEMKAM, Eva wrote: > 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 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 for example or in > general List. For 2) see http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki Hope this helps, Marius > > 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. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] create new xclass property
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 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 for example or in general List. 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. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Livetable results for guest users
Hi Peter, Would help to know what version of XWiki you are using and whether you have a custom live table results page or you're using the default (unmodified) XWiki.LiveTableResults . Also, does the number sort work for a simple (non-admin) user that is logged in? Thanks, Marius On Mon, Apr 20, 2015 at 10:18 AM, Peter Huisman wrote: > 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 > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Livetable results for guest users
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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users