[xwiki-users] L10N with WatchListMessage
Hello, I've a problem with language in Watch List Application: I'm in a French organization, but my notification message is in english. My platforms are: - DEV: XWIKI ENTERPRISE 2.7.33656 on Tomcat 6.0 / Windows XP - PROD: XWIKI ENTERPRISE 2.7.33656 on Tomcat 5.5.25 / Linux Same behaviour on both: In any document, $msg.get("watchlist.notification.email.greeting", ["Nicolas"]) ==> "Bonjour Nicolas,". (==> my bundles are correct) But in the Notification Message, $msg.get("watchlist.notification.email.greeting", ["Nicolas"]) ==> "Hello Nicolas," and $context.language == "en" (I've printed the value in the message to check) My configuration: - In admin page: Multilingual=fr, languages=fr, defaultlanguage=fr - In each user preferences page: DefaultLanguage=fr - In WatchListMessage page (object editor): language changed from "en" to "fr" - In Tomcat: -Duser.language=fr -Duser.country=FR (checked in tomcat admin application) Something is wrong, but I don't see what Any Idea? Thank you - Nicolas Chéneau-Gréhalle ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Annotations extension didn't work
Hi Erica, On 22 févr. 2011, at 21:01, Erica Usui wrote: > Hello! > > Annotations extension didn't work. It is not translation even though > I put > AnnotationCode.Translations in XWiki.Preferences. It shouldn't need it. What xwiki are you running? Which version? Do you have local modifications or is a fresh instance? Which distribution? (.zip, .exe, etc? ) > It accuses annotation.action.create.form.loaderrorUnauthorized when > trying > to put annotations. This basically means that you're logged in with a user that doesn't have comment right on the page you are trying to annotate. The rule is whenever you can comment, you can annotate. Happy annotating, Anca > > Can anyone help me? > > -- > Atenciosamente, > Erica Usui. > ___ > 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] Annotations extension didn't work
Hello! Annotations extension didn't work. It is not translation even though I put AnnotationCode.Translations in XWiki.Preferences. It accuses annotation.action.create.form.loaderrorUnauthorized when trying to put annotations. Can anyone help me? -- Atenciosamente, Erica Usui. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] bug in tag recent changes, and solution
WOW... Worked a treat. This is great! I'm brand new to xwiki.. I spent most of yesterday trying to figure out why the activity macro was non present / broken on a fresh stock 2.7 war install. Thank you much Wouter. Perhaps the same is amiss with tagcloud? Its performing the same way as activity did .. -- thanks kevin.foote On Tue, 22 Feb 2011, Wouter Boasson wrote: -> Hi, -> -> I discovered a hard to find HQL/SQL error related to the new -> ActivityStream (V2.6.1). Sometimes the activitystream did not display at -> all, with loads of threads dumped in the log. -> -> The problem appeared to be related to specific documents, having a ' -> (single quote) in the document's name. Besides this, the problem only -> appears when displaying the pages belonging to a specific tag. More -> specifically, when the automagically crafted HQL to select the document -> contains these specific names, so the problem did not show up when -> displaying the Activity for the entire wiki, for example. -> -> Took me hours to find and solve it, but it's a matter of minutes to repair -> it. The solution: escape page names. -> In the Activity page, edit object mode, go to the Activity Macro -> (something like /bin/edit/Main/Activity?editor=object) -> -> look for the macro code, and change line 168: -> #set($filterClause = $filterClause + "'" + -> $colValue.replaceAll("\'", "\'\'") + "'" ) -> -> This effectively replaces a single quote with two single quotes, which is -> the proper way of escaping for HQL. -> -> But, altogether, I'd love it when all these obviously problematic -> characters were simply banned out from the technical/URL document name, -> this always generates hard to find problems. -> -> Good luck, -> -> Wouter -> -> -> Wouter Boasson (MSc) -> Geo-IT Research and Coordination -> -> RIVM - National Institute for Public Health and the Environment -> Expertise Centre for Methodology and Information Services -> -> Contact information -> --- -> RIVM -> VenZ/EMI, Pb 86 -> t.a.v. dhr. Drs. Wouter Boasson -> Postbus 1 -> 3720 BA Bilthoven -> -> T +31(0)302748518 -> F +31(0)302744456 -> E wouter.boas...@rivm.nl -> mo - th -> -> -> Disclaimer RIVM -> ___ -> 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] bug in tag recent changes, and solution
Hi, I discovered a hard to find HQL/SQL error related to the new ActivityStream (V2.6.1). Sometimes the activitystream did not display at all, with loads of threads dumped in the log. The problem appeared to be related to specific documents, having a ' (single quote) in the document's name. Besides this, the problem only appears when displaying the pages belonging to a specific tag. More specifically, when the automagically crafted HQL to select the document contains these specific names, so the problem did not show up when displaying the Activity for the entire wiki, for example. Took me hours to find and solve it, but it's a matter of minutes to repair it. The solution: escape page names. In the Activity page, edit object mode, go to the Activity Macro (something like /bin/edit/Main/Activity?editor=object) look for the macro code, and change line 168: #set($filterClause = $filterClause + "'" + $colValue.replaceAll("\'", "\'\'") + "'" ) This effectively replaces a single quote with two single quotes, which is the proper way of escaping for HQL. But, altogether, I'd love it when all these obviously problematic characters were simply banned out from the technical/URL document name, this always generates hard to find problems. Good luck, Wouter Wouter Boasson (MSc) Geo-IT Research and Coordination RIVM - National Institute for Public Health and the Environment Expertise Centre for Methodology and Information Services Contact information --- RIVM VenZ/EMI, Pb 86 t.a.v. dhr. Drs. Wouter Boasson Postbus 1 3720 BA Bilthoven T +31(0)302748518 F +31(0)302744456 E wouter.boas...@rivm.nl mo - th Disclaimer RIVM ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with panels in a farm
Thanks Lockie! It helped me a lot. Erica. 2011/2/15 Lockie > > Hi Erica > > I had similar problems with the panel wizard itself. I found the easiest > way > to get the panels in the right order was to manually type them under Panels > into the Presentation section of Administer Wiki. You could try doing the > same in Administer Space. > > Hope that helps > > - > > Lockie > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Problem-with-panels-in-a-farm-tp6024721p6026008.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > -- Atenciosamente, Erica Usui. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
Hi again, On Tue, Feb 22, 2011 at 1:52 PM, Eugen Colesnicov wrote: > > Thanks everybody! > > I found the answer! > > First, I tried all Caty & Raluca tips and tricks - no result!!! > > Second, as said Thomas, I started to think, how and who can change my css > styles ... > It was difficalt for me, because, as I said, I didn't change standart skin, > and I am not a professional in a web-design. > > Also my wiki was almost clean ... Only one additional application, which I > installed, was Tasks (I tried someting with this application). - I started > to list all pages in a spaces from Tasks application and I found one page > named "Skin" in a TaskCode space. I deleted this page - and great! all my > info, warning and code macroses started to look fine (without any tricks > with paragrafs)! > > Can somebody test this application Task Manager > ( > http://extensions.xwiki.org/xwiki/bin/view/Extension/Task+Manager+Application > ) > and page Skin at own wikis with info&code macroses? If will be same > situation - need to make some remarks on a Task Manager applcaition page > ... > I tested the code from your page http://etvc.myxwiki.org/xwiki/bin/view/UNA/XWikiInstalation on a wiki with Task Manager Application installed. There is no link between TaskCode.Skin page and other pages from inside the wiki, except the ones that include it. And more, adding block elements works fine for {{info}} and {{code}} macro, the result being the expected one. If you're sure that adding block elements does not work, then the problem relies on custom CSS. Check with Firebug to track the styles applied on info and code elements and then make sure that you remove custom styles. If you don't find custom styles, then there is no reason why the display to be wrong. Also, make sure that you close the macros in the right order (the opposite open order). Tip: clear the browser's cache after updating the wiki code / CSS. Raluca. > > -- > Best regards > Eugen Colesnicov > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6052066.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > 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] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
Thanks everybody! I found the answer! First, I tried all Caty & Raluca tips and tricks - no result!!! Second, as said Thomas, I started to think, how and who can change my css styles ... It was difficalt for me, because, as I said, I didn't change standart skin, and I am not a professional in a web-design. Also my wiki was almost clean ... Only one additional application, which I installed, was Tasks (I tried someting with this application). - I started to list all pages in a spaces from Tasks application and I found one page named "Skin" in a TaskCode space. I deleted this page - and great! all my info, warning and code macroses started to look fine (without any tricks with paragrafs)! Can somebody test this application Task Manager (http://extensions.xwiki.org/xwiki/bin/view/Extension/Task+Manager+Application) and page Skin at own wikis with info&code macroses? If will be same situation - need to make some remarks on a Task Manager applcaition page ... -- Best regards Eugen Colesnicov -- View this message in context: http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6052066.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
On Tue, Feb 22, 2011 at 11:49 AM, Raluca Stavro wrote: > On Tue, Feb 22, 2011 at 11:36 AM, Raluca Stavro wrote: > >> Hello, >> >> On Tue, Feb 22, 2011 at 11:31 AM, Eugen Colesnicov > > wrote: >> >>> >>> >>> Ecaterina Moraru (Valica) wrote: >>> > >>> > I think the solution for this is to add a paragraph before or after >>> > calling >>> > the info macro. >>> > >>> >>> I tried, as you said - but no result ... (I added paragraf lines on a >>> first >>> info macro). >>> It is strange for me, because I didn't change anything on my wiki >>> http://etvc.myxwiki.org. All is standart. >>> >> >> You can use div elements in order to properly display the info macro: >> >> ((({{info}} text {{/info}}))) >> > > The reason why info text is being displayed like that in your case it's > because the {{info}} macro behaves as an inline macro, and the generated > html is a with text inside. > For geeting the result that you want, you have to put all text inside one > block, and in your case a div fits best. > Sorry, I meant 'getting' :) Caty was right about adding paragraphs for creating the block context, but > it seems that you need to add 2 paragraphs, one before and one after the > {{info}} macro. Otherwise, the macro might still be inline. > > Examples: > > Inline: > > - > * list element > {{info}} text {{/info}} > - > or > - > * list element > > {{info}} text {{/info}} > another text > - > > Block: > > - > * list element > > {{info}} text {{/info}} > > another text > - > or > - > * list element > ((( {{info}} text {{/info}} ))) > - > > > Raluca. > > >> >> Raluca. >> >> >>> >>> And as I said before, I seen this situation on others xwiki instalations. >>> -- >>> View this message in context: >>> http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6051664.html >>> Sent from the XWiki- Users mailing list archive at Nabble.com. >>> ___ >>> 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] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
On Tue, Feb 22, 2011 at 11:36 AM, Raluca Stavro wrote: > Hello, > > On Tue, Feb 22, 2011 at 11:31 AM, Eugen Colesnicov > wrote: > >> >> >> Ecaterina Moraru (Valica) wrote: >> > >> > I think the solution for this is to add a paragraph before or after >> > calling >> > the info macro. >> > >> >> I tried, as you said - but no result ... (I added paragraf lines on a >> first >> info macro). >> It is strange for me, because I didn't change anything on my wiki >> http://etvc.myxwiki.org. All is standart. >> > > You can use div elements in order to properly display the info macro: > > ((({{info}} text {{/info}}))) > The reason why info text is being displayed like that in your case it's because the {{info}} macro behaves as an inline macro, and the generated html is a with text inside. For geeting the result that you want, you have to put all text inside one block, and in your case a div fits best. Caty was right about adding paragraphs for creating the block context, but it seems that you need to add 2 paragraphs, one before and one after the {{info}} macro. Otherwise, the macro might still be inline. Examples: Inline: - * list element {{info}} text {{/info}} - or - * list element {{info}} text {{/info}} another text - Block: - * list element {{info}} text {{/info}} another text - or - * list element ((( {{info}} text {{/info}} ))) - Raluca. > > Raluca. > > >> >> And as I said before, I seen this situation on others xwiki instalations. >> -- >> View this message in context: >> http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6051664.html >> Sent from the XWiki- Users mailing list archive at Nabble.com. >> ___ >> 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] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
On Tue, Feb 22, 2011 at 10:31, Eugen Colesnicov wrote: > > > Ecaterina Moraru (Valica) wrote: >> >> I think the solution for this is to add a paragraph before or after >> calling >> the info macro. >> > > I tried, as you said - but no result ... (I added paragraf lines on a first > info macro). As i said there is two different things here and I doubt you were talking about inline/standalone issue since that is only on some info macro in you content. The issue you have with icon missplaced etc. is pure CSS issue and i never seen that on default skin. > It is strange for me, because I didn't change anything on my wiki > http://etvc.myxwiki.org. All is standart. > > And as I said before, I seen this situation on others xwiki instalations. > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6051664.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > 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
Re: [xwiki-users] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
Hello, On Tue, Feb 22, 2011 at 11:31 AM, Eugen Colesnicov wrote: > > > Ecaterina Moraru (Valica) wrote: > > > > I think the solution for this is to add a paragraph before or after > > calling > > the info macro. > > > > I tried, as you said - but no result ... (I added paragraf lines on a first > info macro). > It is strange for me, because I didn't change anything on my wiki > http://etvc.myxwiki.org. All is standart. > You can use div elements in order to properly display the info macro: ((({{info}} text {{/info}}))) Raluca. > > And as I said before, I seen this situation on others xwiki instalations. > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6051664.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > 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] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
Ecaterina Moraru (Valica) wrote: > > I think the solution for this is to add a paragraph before or after > calling > the info macro. > I tried, as you said - but no result ... (I added paragraf lines on a first info macro). It is strange for me, because I didn't change anything on my wiki http://etvc.myxwiki.org. All is standart. And as I said before, I seen this situation on others xwiki instalations. -- View this message in context: http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6051664.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
On Tue, Feb 22, 2011 at 11:09, Thomas Mortagne wrote: > Hi Eugen > > It looks ok on my wiki > http://tuska.myxwiki.org/xwiki/bin/view/Test/Russian > > It's probably something wrong in your custom skin but you will need > someone a lot more experienced than me with CSS and all that stuff. > > Note that for some of the info macros they are inline which is why you > don't see a box around the whole macro but a kind of lined highlight. > I think the solution for this is to add a paragraph before or after calling the info macro. Thanks, Caty > > On Mon, Feb 21, 2011 at 22:31, Eugen Colesnicov > wrote: > > > > I added on > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation > > link for my own tutorial about XWiki Installation: XWiki On Windows - > > GlassFish - Oracle (Russian). > > > > It is not finished yet at all. I planned also to describe LDAP > configuration > > and external DB connecting configuration. Also, I will translate it to > > English and Romanian languages. > > > > I have a question. If you will open this tutorial - you can see that all > > text inside macroses {{code}}, {{info}}, {{warning}} looks not good. On > my > > personal laptop all is ok. Why? I seen some other installations of XWiki > > with same problems, and I cannot find way to resolve this problem. > > > > PS. Also, any comments, questions and suggestions about this tutorial is > > greeting. > > > > -- > > Thanks beforehand > > Eugen Colesnicov > > -- > > View this message in context: > http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6050223.html > > Sent from the XWiki- Users mailing list archive at Nabble.com. > > ___ > > 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 > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Tutorial: XWiki On Windows - GlassFish - Oracle (Russian)
Hi Eugen It looks ok on my wiki http://tuska.myxwiki.org/xwiki/bin/view/Test/Russian It's probably something wrong in your custom skin but you will need someone a lot more experienced than me with CSS and all that stuff. Note that for some of the info macros they are inline which is why you don't see a box around the whole macro but a kind of lined highlight. On Mon, Feb 21, 2011 at 22:31, Eugen Colesnicov wrote: > > I added on http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation > link for my own tutorial about XWiki Installation: XWiki On Windows - > GlassFish - Oracle (Russian). > > It is not finished yet at all. I planned also to describe LDAP configuration > and external DB connecting configuration. Also, I will translate it to > English and Romanian languages. > > I have a question. If you will open this tutorial - you can see that all > text inside macroses {{code}}, {{info}}, {{warning}} looks not good. On my > personal laptop all is ok. Why? I seen some other installations of XWiki > with same problems, and I cannot find way to resolve this problem. > > PS. Also, any comments, questions and suggestions about this tutorial is > greeting. > > -- > Thanks beforehand > Eugen Colesnicov > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracle-Russian-tp6050223p6050223.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > 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