Re: [xwiki-users] [myxwiki] new wiki request
On Mon, Jul 11, 2011 at 9:00 PM, thomas doucedame thomasdouced...@gmail.com wrote: Hi, I did not manage in creating users or groups onto the wiki. If you tried very recently that's because your wiki is not up to date. Myxwiki.org farm is updated very often but each wiki is supposed to be handled by each wiki admin (each upgrade does not break the older UI but that was one of theses). You can see instructions on the top of the page when you are in the administration UI. Can you please : - delete my 'fnd.myxwiki.org' wiki - delete my user 'Thomas' from myxwiki.org You sure ? Thx for your kind attention Thomas 2009/11/3 Thomas Mortagne thomas.morta...@xwiki.com On Mon, Nov 2, 2009 at 22:22, thomas doucedame thomasdouced...@gmail.com wrote: Hello, I'm fulfilling a request as seen on : http://www.myxwiki.org/xwiki/bin/view/Main/ I'd like to use xwiki as a personal/family blog. My user name at myxwiki.org : Thomas The server name I'd like to use : fnd Please let me know if it still possible. Here is you new wiki http://fnd.myxwiki.org/xwiki/bin/view/Main/ Enjoy :) Best regards Thomas DOUCEDAME ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Cordialement, Thomas DOUCEDAME ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] one to many - select - suggest - query error
Hi, I have an object (Intranet.AbCompany) where I would like to insert a relation to objects of type Intranet.AbPerson Does display type input allow to display one field and submit a different field (I mean to work in the same way select list does)? This is useful because if you have 1000 or more values select is not practical and the only solution is an input box with suggest. In this scenario, I need to display the person surname, but store the related object id (my use case is an internal address book, where you need to connect company and person) Thank you, Gianluca --- Note, settings an errors Settings: - multiple objects are stored in a single page - field type is database list - multiple select, relational storage, suggest are all checked - If display type is select it works well - if display type is input, the suggest ajax call throw an exception - Hibernate query used: SELECT pval.value, pid.value FROM BaseObject obj, StringProperty pval, StringProperty pid WHERE obj.className='Intranet.AbPersonClass' AND obj.name 'Intranet.AbPersonTemplate' AND pval.id.id = obj.id AND pval.id.name = 'surname' AND pid.id.id = obj.id AND pid.id.name = 'name' - ajax exception: Request URL:http://../xwiki/bin/view/Main/WebHome? xpage =suggestclassname=Intranet.AbCompanyClassfieldname=personfirCol=- secCol=-input=gianl Request Method:GET Status Code:200 OK 1 requests ❘ 9.92KB transferred WebHome /xwiki/bin/view/Main HeadersContentCookiesTiming a href= onclick=document.getElementById('xwikierror1').style.display='block'; return false;Error number 4001 in 4: Error while parsing velocity page /templates/suggest.vm Wrapped Exception: Failed to evaluate content with id [/templates/ suggest.vm]div id=xwikierror1 style=display: none;pre class=xwikierror Error number 4001 in 4: Error while parsing velocity page /templates/ suggest.vm Wrapped Exception: Failed to evaluate content with id [/templates/ suggest.vm] com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page /templates/suggest.vm Wrapped Exception: Failed to evaluate content with id [/templates/ suggest.vm] at com .xpn .xwiki .render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122) at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1840) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:153) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) at org .apache .struts .action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org .apache.struts.action.RequestProcessor.process(RequestProcessor.java: 236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1166) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org .xwiki .wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java: 152) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at com .xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org .xwiki .container .servlet .filters .internal .SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java: 218) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org .xwiki .container .servlet .filters .internal .SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java: 112) at org.mortbay.jetty.servlet.ServletHandler $CachedChain.doFilter(ServletHandler.java:1157) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java: 216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418) at org .mortbay .jetty .handler.ContextHandlerCollection.handle(ContextHandlerCollection.java: 230) at org .mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java: 114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at
[xwiki-users] How to create multiple objects in the same page?
Hi, I would like to create multiple objects and attach to the same document (page). --- velocity script -- #if($context.action == 'inline' ) #set($obj = $doc.newObject(Intranet.AbPersonClass)) #foreach($prop in $obj.xWikiClass.properties) ; $prop.prettyName : $doc.display($!prop.getName(),$obj) #end $doc.save() #end With this code I have two different behaviors: * edit inline, add field, save = everything works well * edit inline, press CANCEL = the system save an empty object Is there a workaround? Thank you, Gianluca ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to create multiple objects in the same page?
Thank you, How can I save when the document is submitted? I tried with #if($context.action == 'save' ) but no lucky, I can't catch the inline save action Any idea? Regards, Gianluca On 12/lug/11, at 14:17, Marius Dumitru Florea wrote: On 07/12/2011 02:17 PM, Gianluca Sabena wrote: Hi, I would like to create multiple objects and attach to the same document (page). --- velocity script -- #if($context.action == 'inline' ) #set($obj = $doc.newObject(Intranet.AbPersonClass)) #foreach($prop in $obj.xWikiClass.properties) ; $prop.prettyName : $doc.display($!prop.getName(),$obj) #end $doc.save() Why do you save here? The document should be saved when the form is submitted, not when the form is displayed. Hope this helps, Marius #end With this code I have two different behaviors: * edit inline, add field, save = everything works well * edit inline, press CANCEL = the system save an empty object Is there a workaround? Thank you, Gianluca ___ 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Chart Macro not displaying within page
Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to create multiple objects in the same page?
On 07/12/2011 03:38 PM, Gianluca Sabena wrote: Thank you, How can I save when the document is submitted? I tried with #if($context.action == 'save' ) but no lucky, I can't catch the inline save action Any idea? If you use the standard inline action then the document is saved automatically when you click 'Save View' or 'Save Continue'. In other words, if you don't use a custom HTML form (i.e. if you don't generate the HTML form yourself) then the HTML form is generated by the inline action and you just have to call 'display' for some/all properties that you want to view/edit. The rest is handled automatically. Hope this helps, Marius Regards, Gianluca On 12/lug/11, at 14:17, Marius Dumitru Florea wrote: On 07/12/2011 02:17 PM, Gianluca Sabena wrote: Hi, I would like to create multiple objects and attach to the same document (page). --- velocity script -- #if($context.action == 'inline' ) #set($obj = $doc.newObject(Intranet.AbPersonClass)) #foreach($prop in $obj.xWikiClass.properties) ; $prop.prettyName : $doc.display($!prop.getName(),$obj) #end $doc.save() Why do you save here? The document should be saved when the form is submitted, not when the form is displayed. Hope this helps, Marius #end With this code I have two different behaviors: * edit inline, add field, save = everything works well * edit inline, press CANCEL = the system save an empty object Is there a workaround? Thank you, Gianluca ___ 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 ___ 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] [myxwiki] new wiki request
Hi Regan, Sorry for the delay. You wiki has been created at http://scservicesub.myxwiki.org/ Enjoy it and please report here any issue or anything not working. Improvement ideas are also very welcome. Thanks -Vincent on behalf of the xwiki community On Jul 5, 2011, at 8:49 PM, Regan Gill wrote: Hi, My username is reganfgill and I am requesting a wiki to be named scservicesub Purpose: I am a member of a the Service Trips Subcommittee which is part of the National Outings Program of the Sierra Club. We have over 100 subcommittee volunteers who lead and cook service trips in the wilderness and other government protected areas in the US and Canadawhere we and our participants work on conservation projects -- trail building, habitat restoration, invasive weed removal, etc. (for more info : http://www.sierraclub.org./outings/national/service.aspx) Although the Sierra Club provides some support for us, they do not provide a wiki for the members of the subcommittee to communicate relevant information such as trip and agency experiences, equipment considerations, logistical information, supplies and where to get them and other things that makes our job easier and our trip participants experience better. BTW, if you are interested in going on a service trip please check out the link above :) Thank you, Regan Gill ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Chart Macro not displaying within page
Well the charting macro that I tried to get working was this: {{chart type=line source=inline params=range:B2-D5;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} Which I had believed to be XWiki syntax 2.0? I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol vinc...@massol.net wrote: Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ 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] Chart Macro not displaying within page
On Jul 12, 2011, at 3:59 PM, Adam Kozuch wrote: Well the charting macro that I tried to get working was this: {{chart type=line source=inline params=range:B2-D5;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} This example works very well for me in XE 3.2 SNAPSHOT (I'm sure it works well in older versions too - Don't know about 2.6 though). Is that all you have in your content? Could you give us your full content so that we can try to reproduce it? Which I had believed to be XWiki syntax 2.0? Yes it's 2.0 syntax. I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. And if you change back the rendering order to what it was initially, does it still work? Thanks -Vincent I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol vinc...@massol.net wrote: Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Share by email html not showing images
Hi Ramon, On Jul 11, 2011, at 3:12 PM, Ramon Gomes Brandão wrote: Hi, Sorry if this questions are recurrent, but I can't find any references on that. When I use the share by email feature on a page that contains images, with the page within the email body, the page's images appear broken on the html email. How can I fix that? That's supposed to work. Please create a jira issue on http://jira.xwiki.org so that we can look into this issue. Thanks! Another related question: how can I change the way notification emails show the changes on a watched page? It's not relevant to my users that html formatting info like text align etc are shown in the diff email. How can I change this? See http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application#HAdministrators:CustomizingtheWatchListemailtemplate Thanks -Vincent I'm using XE 3.1M1. Regards, -- * * * * *Ramon Gomes Brandão* *//* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Chart Macro not displaying within page
This is my syntax for the page I was using to test out the charting: {{html clean=true}} div class=graphs img src= http://10.100.229.50:8080/xwiki/bin/download/SD/QueryPage/testgraph.png; alt=graph title=SOME GRAPH height=300 width=400/ /div {{/html}} {{chart type=line source=inline params=range:B2-C6;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 |Q5|1.5|2.0| {{/chart}} {{chart type=bar params=document:SD.Data;table:table1;range:B2-D5;series:columns; title=Chart Two width=320 height=240/}} {{velocity}} {{chart source=inline type=bar params=range:B2-B7;series:columns; title=Square}} | |Square #foreach($i in [1..6]) |${i}|$mathtool.pow($i, 2) #end {{/chart}} {{/velocity}} I was trying all sorts of different charting methods to see if it was simply how I was writing the macro or maybe something obscure I was missing. The very top one was just to test and see if my browser couldnt display the image, so I attached a .png but that displayed fine across all browsers so I knew that it was something chart or server related. All that the charts would display as was a html link which led to an empty page. The charts were showing up in the 'charts' directory in our Tomcat server, I could see them when I opened them server side, but for some reason they just couldn'd be displayed on the xwiki page. Hope this helps? Well the charting macro that I tried to get working was this: {{chart type=line source=inline params=range:B2-D5;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} This example works very well for me in XE 3.2 SNAPSHOT (I'm sure it works well in older versions too - Don't know about 2.6 though). Is that all you have in your content? Could you give us your full content so that we can try to reproduce it? Which I had believed to be XWiki syntax 2.0? Yes it's 2.0 syntax. I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. And if you change back the rendering order to what it was initially, does it still work? Thanks -Vincent I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol vinc...@massol.net wrote: Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ 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] Chart Macro not displaying within page
On Jul 12, 2011, at 4:11 PM, Adam Kozuch wrote: This is my syntax for the page I was using to test out the charting: {{html clean=true}} div class=graphs img src= http://10.100.229.50:8080/xwiki/bin/download/SD/QueryPage/testgraph.png; alt=graph title=SOME GRAPH height=300 width=400/ /div {{/html}} {{chart type=line source=inline params=range:B2-C6;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 |Q5|1.5|2.0| {{/chart}} {{chart type=bar params=document:SD.Data;table:table1;range:B2-D5;series:columns; title=Chart Two width=320 height=240/}} {{velocity}} {{chart source=inline type=bar params=range:B2-B7;series:columns; title=Square}} | |Square #foreach($i in [1..6]) |${i}|$mathtool.pow($i, 2) #end {{/chart}} {{/velocity}} I was trying all sorts of different charting methods to see if it was simply how I was writing the macro or maybe something obscure I was missing. The very top one was just to test and see if my browser couldnt display the image, so I attached a .png but that displayed fine across all browsers so I knew that it was something chart or server related. All that the charts would display as was a html link which led to an empty page. The charts were showing up in the 'charts' directory in our Tomcat server, I could see them when I opened them server side, but for some reason they just couldn'd be displayed on the xwiki page. Hope this helps? Not really since that content works fine here (except for the chart with data from the SD.Data page which I don't have)... Right now I don't see why modifying that syntax 1.0 config param would make it work better. Did you try to revert the change you did to verify that it doesn't work anymore when you change it back? Thanks -Vincent Well the charting macro that I tried to get working was this: {{chart type=line source=inline params=range:B2-D5;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} This example works very well for me in XE 3.2 SNAPSHOT (I'm sure it works well in older versions too - Don't know about 2.6 though). Is that all you have in your content? Could you give us your full content so that we can try to reproduce it? Which I had believed to be XWiki syntax 2.0? Yes it's 2.0 syntax. I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. And if you change back the rendering order to what it was initially, does it still work? Thanks -Vincent I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol vinc...@massol.net wrote: Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Heap size errors with new XWiki installation on jetty and oracle 11g
For the record this information is available here: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequisites Thanks -Vincent On Jul 11, 2011, at 10:35 AM, Neil Crow wrote: Sorry again Sergiu, Thanks for pointing out the perm gen. I fixed the problem by adding the following command line switches: -XX:MaxPermSize=128M -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled I also set my heap size bzck down to 512M. Thanks, Neil On 10 Jul 2011 08:13, Neil Crow crown...@gmail.com wrote: Sorry Dumitriu, You are absolutely correct. I was typing from my memory and not looking at the screen. It is permgen. In process explorer (sysinternals) I was seeing the java process, underneath the service exe process had 2Gb allocated. Neil. On 9 Jul 2011 17:56, Sergiu Dumitriu ser...@xwiki.com wrote: On 07/08/2011 01:29 PM, Neil Crow wrote: Hi, I recently set up a new XWiki instance, on a windows server, hosted in Jetty with the Database on Oracle 11g. After starting the server there was a blank wiki shell, I was prompted to install the Enterprise xar which I did. It seemed to install correctly, I could create a user and log in etc. But I keep on experiencing heap size errors. I reached the point where I had allocated 2Gb memory, and it is still freezing up with heap errors. Has anyone experienced the same and managed to solve it, or got any ideas on how to isolate the problem? My configs are as follows: Java 6 64 bit Windows 2000 Server Jetty 7 Wrapped as a service with apache-commons-daemon (procrun). Are you sure it is heap memory, and not PermGen? Are you sure the memory setting is taken into account, or is it passed to the wrong script that doesn't forward it to the Jetty process? Normally 500M should be enough for running XWiki without problems. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Chart Macro not displaying within page
Just changed it back to the original rendering order and it works now... I was very careful not to change too many things and that one change was what made them work correctly the first time. Now it appears they work just fine. (fingers crossed) This is my syntax for the page I was using to test out the charting: {{html clean=true}} div class=graphs img src= http://10.100.229.50:8080/xwiki/bin/download/SD/QueryPage/testgraph.png; alt=graph title=SOME GRAPH height=300 width=400/ /div {{/html}} {{chart type=line source=inline params=range:B2-C6;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 |Q5|1.5|2.0| {{/chart}} {{chart type=bar params=document:SD.Data;table:table1;range:B2-D5;series:columns; title=Chart Two width=320 height=240/}} {{velocity}} {{chart source=inline type=bar params=range:B2-B7;series:columns; title=Square}} | |Square #foreach($i in [1..6]) |${i}|$mathtool.pow($i, 2) #end {{/chart}} {{/velocity}} I was trying all sorts of different charting methods to see if it was simply how I was writing the macro or maybe something obscure I was missing. The very top one was just to test and see if my browser couldnt display the image, so I attached a .png but that displayed fine across all browsers so I knew that it was something chart or server related. All that the charts would display as was a html link which led to an empty page. The charts were showing up in the 'charts' directory in our Tomcat server, I could see them when I opened them server side, but for some reason they just couldn'd be displayed on the xwiki page. Hope this helps? Not really since that content works fine here (except for the chart with data from the SD.Data page which I don't have)... Right now I don't see why modifying that syntax 1.0 config param would make it work better. Did you try to revert the change you did to verify that it doesn't work anymore when you change it back? Thanks -Vincent Well the charting macro that I tried to get working was this: {{chart type=line source=inline params=range:B2-D5;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} This example works very well for me in XE 3.2 SNAPSHOT (I'm sure it works well in older versions too - Don't know about 2.6 though). Is that all you have in your content? Could you give us your full content so that we can try to reproduce it? Which I had believed to be XWiki syntax 2.0? Yes it's 2.0 syntax. I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. And if you change back the rendering order to what it was initially, does it still work? Thanks -Vincent I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol vinc...@massol.net wrote: Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ 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] Chart Macro not displaying within page
On Jul 12, 2011, at 4:29 PM, Adam Kozuch wrote: Just changed it back to the original rendering order and it works now... I was very careful not to change too many things and that one change was what made them work correctly the first time. Now it appears they work just fine. (fingers crossed) Ok so the mystery is not solved but at least we confirmed that it's not the rendering order that fixed it (I couldn't understand why it would fix it ;)). Let us know if you see the problem again. It's possible it's also some cache issue we fixed in later versions of XE. Thanks -Vincent This is my syntax for the page I was using to test out the charting: {{html clean=true}} div class=graphs img src= http://10.100.229.50:8080/xwiki/bin/download/SD/QueryPage/testgraph.png; alt=graph title=SOME GRAPH height=300 width=400/ /div {{/html}} {{chart type=line source=inline params=range:B2-C6;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 |Q5|1.5|2.0| {{/chart}} {{chart type=bar params=document:SD.Data;table:table1;range:B2-D5;series:columns; title=Chart Two width=320 height=240/}} {{velocity}} {{chart source=inline type=bar params=range:B2-B7;series:columns; title=Square}} | |Square #foreach($i in [1..6]) |${i}|$mathtool.pow($i, 2) #end {{/chart}} {{/velocity}} I was trying all sorts of different charting methods to see if it was simply how I was writing the macro or maybe something obscure I was missing. The very top one was just to test and see if my browser couldnt display the image, so I attached a .png but that displayed fine across all browsers so I knew that it was something chart or server related. All that the charts would display as was a html link which led to an empty page. The charts were showing up in the 'charts' directory in our Tomcat server, I could see them when I opened them server side, but for some reason they just couldn'd be displayed on the xwiki page. Hope this helps? Not really since that content works fine here (except for the chart with data from the SD.Data page which I don't have)... Right now I don't see why modifying that syntax 1.0 config param would make it work better. Did you try to revert the change you did to verify that it doesn't work anymore when you change it back? Thanks -Vincent Well the charting macro that I tried to get working was this: {{chart type=line source=inline params=range:B2-D5;series:columns; title=Chart Test width=320 height=240}} | |X |Y |Z |Q1|1.2|3.4|1.3 |Q2|4.5|3.4|2.3 |Q3|1.2|4.5|9.0 |Q4|3.4|1.2|1.2 {{/chart}} This example works very well for me in XE 3.2 SNAPSHOT (I'm sure it works well in older versions too - Don't know about 2.6 though). Is that all you have in your content? Could you give us your full content so that we can try to reproduce it? Which I had believed to be XWiki syntax 2.0? Yes it's 2.0 syntax. I took the example from http://extensions.xwiki.org/xwiki/bin/view/Extension/Chart+Macro so unless there is newer syntax for charting that I am unaware of.. That is what I was using and it now works that I have changed the rendering order. And if you change back the rendering order to what it was initially, does it still work? Thanks -Vincent I am running Enterprise 2.6.33065 with Tomcat 7.0.14 if that makes any difference. Adam On Tue, Jul 12, 2011 at 8:33 AM, Vincent Massol vinc...@massol.net wrote: Hi Adam, On Jul 11, 2011, at 10:34 PM, Adam Kozuch wrote: **Just wanted to let anyone know who was having the same issue, it was caused by the order that things are rendered on a wiki page. The fix (at least temporarily) was to go into the xwiki.cfg file and edit the line containing the order which files are rendered. I changed the line : # xwiki.render.renderingorder=macromapping, groovy, velocity, plugin, wiki, wikiwiki to this : # xwiki.render.renderingorder=groovy, velocity, macromapping, plugin, wiki, wikiwiki And now it works. I'm assuming its because the page tried to post the chart before it was rendered. Hmmm that's really strange since the {{chart}} macro is XWiki 2.0 syntax while the param you mentioned it for XWiki Syntax 1.0. Are you sure it's this param change that made it work for you? If so, could you create a jira issue about this on http://jira.xwiki.org? Thanks a lot -Vincent My charts work, all is well. Adam ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Recently Viewed on Farm
Hi, I just got my xwiki on mywiki.org and the recently viewed panel doesn't seem to work. Looking at the code it appears to rely on the stats which are turned off. So is the recently viewed panel just not available on the farm? Thanks for your help, Regan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] xwiki task manager
Hi, Today I loaded the XWiki Task Manager (TaskManagerApplication10M3.xar) onto XWiki Enterprise 3.0.36132 I see 2 issues, 1) When clicking in to view a task I see #includeForm(TasksCode.IssueClassSheet) Instead of the form. I found this discussion about the issue http://www.mail-archive.com/users@xwiki.org/msg07906.html But the discussion is a year old and I didn't clearly see a resolution to the issue. 2) When I click on View all my tasks The screen renders and filtering seems to work, but there are some missing graphics: http://xwikiserver:90/bin/view/Tasks/$xwiki.getSkinFile('js/xwiki/table/img/arrow-up.gif' ) http://xwikiserver:90/bin/view/Tasks/$xwiki.getSkinFile('js/xwiki/table/img/arrow-down.gif'http://gbmcube1:90/bin/view/Tasks/$xwiki.getSkinFile('js/xwiki/table/img/arrow-down.gif' ) http://xwikiserver:90/bin/view/Tasks/$xwiki.getSkinFile('js/xwiki/table/img/arrow-none.gif'http://gbmcube1:90/bin/view/Tasks/$xwiki.getSkinFile('js/xwiki/table/img/arrow-none.gif' ) Does anyone have any advice on how to fix these issues. Regards, Neil. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XEM Installation Question
I am trying to get XEM installed on my shared hosting provider, and am running into some trouble with the MySQL user permissions part. The tutorial says: In order for XEM to be able to create new wikis on demand, you will need to give all rights to your database user. For example for MySQL, execute: mysql -u root -e grant all privileges on *.* to xwiki@127.0.0.1 identified by 'xwiki' This command does not work when run on my SSH client. I contacted my hosting provider to ask whether it was possible to assign admin privileges, and they said: It is not possible to change privileges for a database user. The database uses have the most commonly needed privileges set by default. Instead of creating a user as explained in those instructions, you should just be able to use provide the user of the database you created through your Hosting Control Center. Am I right that this response means that XEM will not install correctly, despite their assurances that I have commonly needed privileges? Has anyone had success setting up XEM on a GoDaddy hosting account? If not, it might be time to switch... Thank you, Aaron Hardy ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tree navigation like confluence wiki
Hello! Thank you for your response. I tried this code and it looked quite nide but I have some problems. Do I have to upload any images? Instead of the + tree symbol I get only a small circle like in creating a list this small o I hope you know what I mean and instead of the folder symbol I get a button and I do not get the search icon. The same is with the subfolders. At the moment I only have tried to display the code in a simple page. And there is only a last question: If I create with this code a navigation element and I open a tree an click on a subpage will the tree remain open after the page is loaded or not? I would generally suggest that such a navigation element like the confluence wiki tree should be added to xwiki, because xwiki would be perfect to create online helps. Thanks, Florian -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Vincent Massol Gesendet: Dienstag, 12. Juli 2011 13:34 An: XWiki Users Betreff: Re: [xwiki-users] Tree navigation like confluence wiki Also note that we have a tree UI component (the one used in AllDocs's tree tab) but we'd like to make it more easy to reuse, see http://jira.xwiki.org/jira/browse/XRENDERING-81 You could also look at http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see how to use it for now. It's quite easy to do. Thanks -Vincent On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote: Hello Florian, First I must say I like this navigation UI from confluence, too. You might also be interested by a prototype of a new tree UI here : http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree Cheers, Jerome On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg florian.rhomb...@nettania.at wrote: Hello! I want to create a treeview navigation element which looks like the left menu on this confluence page: http://www.stripesframework.org/display/stripes/Home Therefore I created a new navigation element and tried to manipulate the original velocity code of the treeview. It is working but I have two problems: - The main problem is that if I choose a page from a sublevel the whole page is reloaded and the sublevel is closed aftwerwards. How can I change this, it is very annoying? - The second problem is that the menu is not width enough. After some levels the pages are not displayed properly. How can I prevent this? This is my velocity code: #panelheader('SpaceTreeMenu') ## Smartclient $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' : true, 'defer' : false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' : false})## ## TODO: remove this line ## when http://forums.smartclient.com/showthread.php?t=3097 will be fixed $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' : false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' : false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' : false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js', {'defer' : false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js', {'defer' : false})## $xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer' : false})## ## XWikiExplorer $xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js', {'forceSkinAction' : true, 'defer' : false})## div id=XWEWrapper style=height:300px;/div script type=text/javascript isc.XWETreeGrid.create({ ID: Treeview, // Example of default values: // defaultValue: Main.WebHome, // defaultValue: main.recentchan...@lquo.gif, defaultValue: , htmlElement: XWEWrapper, // Mandatory HTML wrapper. matchElement: true, // Make the widget match HTML wrapper size. // Example of data sources: // dataSource: isc.XWEDataSource.create({}), // dataSource: isc.XWESpaceDataSource.create({ space: Main }), dataSource: isc.XWEWikiDataSource.create({}), displaySuggest: true, // Display the input at the bottom. displayLinks: true, // Node titles are HTML links. displayAttachments: true, // Display pages attachments. displayAttachmentsOnTop: true // Display attachments before page children. }).draw(); /script #panelfooter() I hope someone can help me! Thank you! Florian ___ 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 ___ 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