[xwiki-users] java.lang.RuntimeException: Component manager has not been initialized before lookup

2016-04-20 Thread Matthias Albert
Hi, starting a few days ago, our XWiki application isn't running anymore. After restarting Tomcat, the following Stacktrace is shown. The XWiki version is 5.2.1. The logfiles mostly also show this stacktrace. Any help is welcome, thank you in advance. Matthias javax.servlet.ServletException:

[xwiki-users] Date format in FAQ application

2016-04-20 Thread Ryszard Łach
Hi, again. How can I correct date format (to include leading zeros) in faq application? I suppose, that changing the default language of my wiki to 'pl' has broken the format and now 'Creation date' in list of faq entries looks like '2016-04-15 09:6:34' . TIA, R.

Re: [xwiki-users] Hide Harder-Bar on Login-Screen

2016-04-20 Thread Matthias Wegner
Haha, that's it. Thank you. Regards, Matthias Am 18.04.2016 um 10:31 schrieb Marius Dumitru Florea [via XWiki]: > On Sat, Apr 16, 2016 at 9:46 PM, Matthias Wegner <[hidden email] > > > wrote: > > > Hi Users, > > > > i want to hide the header bar on the login screen and marked for that > > > >

Re: [xwiki-users] Printable Index

2016-04-20 Thread Daniel Ullfig
ok, I traced the problem to PlantUML. I have several diagrams in the manual, and every page with a diagram does not export right. But it's my fault, I have been modifying the macro to output SVG images instead of PNG images, so that I can embed clickable links in them. I rolled back the macro

Re: [xwiki-users] Printable Index

2016-04-20 Thread Daniel Ullfig
darn. there seems to be a bug when exporting in chrome. I checked exporting in IE, and it worked fine. But in chrome it seemed to display gibberish to the screen. So I saved the gibberish to a text file, and started doing some detective work. Comparing side by side the outputs of both IE and

Re: [xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Thomas Mortagne
This is still refactoring concept even if it might not appear in the rename UI :) Such a listener would probably make more sense in the refactoring module. On Wed, Apr 20, 2016 at 5:37 PM, Eduard Moraru wrote: > Not sure refactoring is the right place. > > IMO, it should

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Thomas Mortagne
On Wed, Apr 20, 2016 at 5:45 PM, Sebastian Schabbach wrote: > Okay, > > only to ensure what is going on. I am right that all extentions are listeted > in the 'installed extentions' list I can find on the wiki administrations > page. > > I would like to check your

Re: [xwiki-users] Printable Index

2016-04-20 Thread dullfig
Yes! this is probably what I need. I will have to test. I see it is possible to export directly from a program, correct? in other words, no user involvment. Dan From: Marius Dumitru Florea [via XWiki] Sent: Wednesday, April 20, 2016 5:05 AM To: dullfig Subject: Re: Printable Index Hi Dan,

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Sebastian Schabbach
Okay, only to ensure what is going on. I am right that all extentions are listeted in the 'installed extentions' list I can find on the wiki administrations page. I would like to check your assumptions against our wiki installation. So I guess if the addons are installed, I must found them

Re: [xwiki-users] Parsing external JSON with Velocity in XWiki

2016-04-20 Thread Mahomed Hussein
Thanks for the quick response. I had looked at the VelocityTools page several times before posting. Unfortunately it wasn't very useful to me as a beginner as there weren't any examples of how to use it (and I couldn't deduce the syntax and requirements from looking at the source of the tools).

Re: [xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Eduard Moraru
Not sure refactoring is the right place. IMO, it should be generically handled by some listener for moving any document having a class inside it (and fixing all the objects). But for that we would first need to have a DocumentRenam(ing/ed)Event being triggered by the rename operation(s). Thanks,

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Eduard Moraru
Hi, Sebastian, Not entirely related to this topic, but I also notice from those logs that you seem to be using the colibri skin in 7.4. Note that in 8.0 we have officially deprecated the Colibri skin and, since you are doing the upgrade, you should start looking at the Flamingo skin instead (to

Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Mortagne
You can also look at http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro for more details. On Wed, Apr 20, 2016 at 3:54 PM, Eduard Moraru wrote: > Hi, > > You could look at a very simple "userAvatar" macro for inspiration: >

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Thomas Mortagne
Indeed the documentation of http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application does talk about a XWiki.Xuake page. On Wed, Apr 20, 2016 at 3:44 PM, Hamster wrote: > It seems to be a part of... > >

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Sebastian Schabbach
Hi, okay... Where you can find the information that it seems to be part oft he Groovy Console Application? Regards, Sebastian. -Ursprüngliche Nachricht- Von: users [mailto:users-boun...@xwiki.org] Im Auftrag von Hamster Gesendet: Mittwoch, 20. April 2016 15:45 An: users@xwiki.org

Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Eduard Moraru
Hi, You could look at a very simple "userAvatar" macro for inspiration: https://github.com/xwiki/xwiki-platform/tree/master/xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-useravatar Normally, you should: - extend

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Hamster
It seems to be a part of... http://extensions.xwiki.org/xwiki/bin/view/Extension/Groovy+Console+Application -- View this message in context: http://xwiki.475771.n2.nabble.com/ACE-Editor-cannot-be-loaded-after-migration-to-version-7-4-2-tp7599063p7599097.html Sent from the XWiki- Users

Re: [xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Mortagne
On Wed, Apr 20, 2016 at 9:51 AM, Thomas Wendel wrote: > Hi, > > I am evaluating the XWiki Rendering Framework for a project of ours. > > It was no problem to create a little POC to render some sample XWiki syntax > into HTML. Next I tried to write a little colour macro

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Thomas Mortagne
There is no such thing as "ACE editor" (I don't even see what "ACE" could be about in this context) in standard XWiki and XWiki.Xuake page is definitely nothing standard. What I understand from your log is that there is various syntax errors in the Javascript stored in XWiki.Xuake page. On Wed,

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Sebastian Schabbach
Dear, thanks for your reply. As far as I know we don't use any extention, It must be the "core system". But As I see there are also error messages in the tomcat log, that indicates javascript code is not generated correctly: 2016-03-22 09:16:14,221

Re: [xwiki-users] ACE Editor cannot be loaded after migration to version 7.4.2

2016-04-20 Thread Marius Dumitru Florea
I can't find any "ACE editor" extension on http://extensions.xwiki.org so it's hard to tell what the problem is without being able to reproduce. On Tue, Apr 19, 2016 at 2:42 PM, Sebastian Schabbach wrote: > Dear all, > > a view weeks ago we updated our xwiki application

Re: [xwiki-users] Printable Index

2016-04-20 Thread Marius Dumitru Florea
Hi Dan, When you export a page as PDF you have the option to include a "Table of Contents" ("List headings at the beginning of the PDF document, usually right after the cover page."). The generated Table of Contents shows the page numbers (where each section is located). See

[xwiki-users] Executing a macro in the standalone XWiki Rendering Framework

2016-04-20 Thread Thomas Wendel
Hi, I am evaluating the XWiki Rendering Framework for a project of ours. It was no problem to create a little POC to render some sample XWiki syntax into HTML. Next I tried to write a little colour macro that simply renders some text in a colour which is specified as a macro parameter. However,

Re: [xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Marius Dumitru Florea
On Wed, Apr 20, 2016 at 9:43 AM, Thomas Mortagne wrote: > The main issue is probably that moving a class is not that simple > right now, when you move the class defining all the application > entries they all end up broken (they keep referencing the old class >

Re: [xwiki-users] General XWiki Exception after Tomcat Startup (Component manager has not been initialized before lookup)

2016-04-20 Thread Thomas Mortagne
This stack trace looks more like a consequence than a cause. You probably have another error before this one, if you don't see anything it probably means you need to enable Tomcat startup log. See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat#HSEVERE:ErrorlistenerStart.

Re: [xwiki-users] Moving AppWithinMinutes app to another location in the same wiki

2016-04-20 Thread Thomas Mortagne
The main issue is probably that moving a class is not that simple right now, when you move the class defining all the application entries they all end up broken (they keep referencing the old class location). We need to add support for it in the refactoring module. On Tue, Apr 19, 2016 at 10:21