[xwiki-users] Multiple problems with PDF export!

2014-05-28 Thread mctozzy
Arghh! This is a bit disappointing - the PDF exporter seems a bit underbaked? * Bold face markup is lost on export. * Export of a slab of plain text wrapped in {{{ }}} loses newlines on export. * Box macro lost on export. ___ users mailing list use

Re: [xwiki-users] Example RESTful API

2014-05-28 Thread Matthias Wegner
Hi i isolated my problem to the code with the example xml test.xml The error is I am new to REST and have no idea what's wrong. The loaded xml from REST seems correct, the classes from the schema seem ok. You have any idea? --

[xwiki-users] Importing XAR File Programatically

2014-05-28 Thread Brockmeier, Chris S
Hey All, I've seen a couple of threads out in the web about importing an "XAR" file programatically, however it seems they might be out of date a bit. Has anyone had any luck using the API that xwiki has to do such a thing? Thanks, Chris. ___ user

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Pascal BASTIEN
K thanks for your answer. I just opened a bug about it: http://jira.xwiki.org/browse/XWIKI-10392 De : Thomas Mortagne À : Pascal BASTIEN ; XWiki Users Envoyé le : Mercredi 28 mai 2014 18h35 Objet : Re: [xwiki-users] include problem with french characters

Re: [xwiki-users] Reusing macro

2014-05-28 Thread Thomas Mortagne
Yes, you can use include macro for this. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro. On Wed, May 28, 2014 at 6:02 PM, tullio0106 wrote: > I'm quite new in XWiki. > I've a Velocity macro of some lines (say 10) I need to use in many pages. > I'd like to avoid to repeat

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Thomas Mortagne
On Wed, May 28, 2014 at 5:58 PM, Pascal BASTIEN wrote: > I understand the constraint by ID specification. > > In this case idGenerator.generateUniqueId must remove all character not in > [A-Za-z0-9:_.-] regexp and add -1 if we have twice the same heading There is a reason why we don't do this,

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread vinc...@massol.net
  On 28 May 2014 at 18:21:31, Pascal BASTIEN (pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote: > Yes hyperlink with anchor work with (%id="mycustomid"%) but not the include > section function. Yep it’ll not work with the include macro since the code just check for the ids of

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Pascal BASTIEN
Yes hyperlink with anchor work with (%id="mycustomid"%) but not the include section function. Then the problem is the include instruction: it didn't work if the id is not Hx? My test: I have 2 pages: My master page - Test d'include fille {{include document="fille" section="Htitr

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Pascal BASTIEN
I understand the constraint by ID specification. In this case idGenerator.generateUniqueId must remove all character not in [A-Za-z0-9:_.-] regexp and add -1 if we have twice the same heading It will be simpler for user I think. ... or better (but more complexe for developper) replace "à" by

[xwiki-users] Reusing macro

2014-05-28 Thread tullio0106
I'm quite new in XWiki. I've a Velocity macro of some lines (say 10) I need to use in many pages. I'd like to avoid to repeat such lines for every page. Is it possible to store such macro (with or without parameters) and reuse it everyware ? Tks Tullio -- View this message in context: http://xw

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Thomas Mortagne
Actually this is already working, just not using the right syntax :) (%id="mycustomid"%) = Level1 - Séct-io'n 4 = On Wed, May 28, 2014 at 5:47 PM, Thomas Mortagne wrote: > Something we could do is allowing to customize the id (and not > generate one in this case) like in: > > (%id="mycustomid"%)

Re: [xwiki-users] Massive upgrade

2014-05-28 Thread RonHancock
Is the a "step" list somewhere that will tell me which updates/upgrades much be done and which can be skipped? It would take quite some time to get from 2.7 to 5.4 if all updates must be taken. Thanks in advance for any help. -- View this message in context: http://xwiki.475771.n2.nabble.com/M

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Thomas Mortagne
Something we could do is allowing to customize the id (and not generate one in this case) like in: (%id="mycustomid"%)= Level1 - Séct-io'n 4 = On Wed, May 28, 2014 at 5:33 PM, Pascal BASTIEN wrote: > I already read (and apply) the encoding instruction (for the search forms). > Thxs anyway > >

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Pascal BASTIEN
I already read (and apply) the encoding instruction (for the search forms). Thxs anyway The problem is the automatic section creation with title 1, 2 etc. If I look the source of a section with firebug, it display this anchor: Level1 - Séct-io'n 4 De : Je

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread vinc...@massol.net
Hi Pascal, Internally we generate an anchor id based on the heading text:     /**      * Generate a unique id attribute using the passed text as the seed value. The generated id complies with the XHTML      * specification. Extract from http://www.w3.org/TR/xhtml1/#C_8";>XHTML RFC:      *      

Re: [xwiki-users] include problem with french characters

2014-05-28 Thread Jean SIMARD
Hi Bastien, You shouldn't have problems with French characters. Maybe it's only a matter of configuration of your wiki? Did you look the following page? http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding Sincerely, -- Jean On mer., 2014-05-28 at 13:43 +0100, Pascal BASTIEN wrote: >

Re: [xwiki-users] XWiki Documentation day - Idea

2014-05-28 Thread vinc...@massol.net
Hi Danilo, This is definitely a good idea and one that we’ve proposed already (see  http://markmail.org/message/avl4tl5xuefe7s7w). FTR on this page we’ve listed all our ideas for the XWiki Day: http://dev.xwiki.org/xwiki/bin/view/Community/XWikiDays Now we’ve had a lot of bank holidays in France

Re: [xwiki-users] MyXWiki.org upgrade to XWiki 5.4.4

2014-05-28 Thread Thomas Mortagne
Should be better now. On Wed, May 28, 2014 at 2:56 PM, Thomas Mortagne wrote: > Yes we removed again SOLR jars while working on a new related issue. > > Packing up something to not block upgrades. > > On Wed, May 28, 2014 at 2:13 PM, Roman Smirnow > wrote: >> Hi, >> >> facing same problem (unab

Re: [xwiki-users] MyXWiki.org upgrade to XWiki 5.4.4

2014-05-28 Thread Thomas Mortagne
Yes we removed again SOLR jars while working on a new related issue. Packing up something to not block upgrades. On Wed, May 28, 2014 at 2:13 PM, Roman Smirnow wrote: > Hi, > > facing same problem (unable to upgrade on xwiki farm due to missing > programming right for solr) > > Please find stack

[xwiki-users] include problem with french characters

2014-05-28 Thread Pascal BASTIEN
Hello, The include function is to hard to use with some non-us  character like french: éèà'ç ... By example, I have a document with this section: = Level1 - Séct-io'n 4 = Bla bla if I want to include this section: "Level1 - Séct-io'n 4"  I must use this include {{include reference="Pagefill

Re: [xwiki-users] MyXWiki.org upgrade to XWiki 5.4.4

2014-05-28 Thread Roman Smirnow
Hi, facing same problem (unable to upgrade on xwiki farm due to missing programming right for solr) Please find stack trace below. Best Regards, Roman - Programming right is required to install extension [org.xwiki.platform:xwiki-platform-search-solr-api-6.0.1] on namespace [wiki:rosm

Re: [xwiki-users] XWiki Documentation day - Idea

2014-05-28 Thread Patrick Masson
Danilo, I think this is a good idea. From my personal experience, I'm often not sure where to look, for example, which site/page/forum/etc. is the best reference; or where I should post my comments/questions; or how to document what I've learned to share with others. The Document Day would n

[xwiki-users] XWiki Documentation day - Idea

2014-05-28 Thread Danilo Amaral de Oliveira
Hello XWiki community, I have been following other open source communities and there one, the XenServer community, that has a nice initiative, the Xen Document Day: http://wiki.xenproject.org/wiki/Xen_Document_Days/TODO " Xen Project document days are all day IRC events, facilitated by members of

Re: [xwiki-users] Using variables

2014-05-28 Thread tullio0106
I'm quite new, could You suggest how I can have access to the macro code or to the macro content in my title using velocity ? Could You provide a snippet ? Tks -- View this message in context: http://xwiki.475771.n2.nabble.com/Using-variables-tp7590678p7590700.html Sent from the XWiki- Users ma

Re: [xwiki-users] Using variables

2014-05-28 Thread vinc...@massol.net
You cannot put wiki syntax in page titles at this stage (only velocity will get executed). Thanks -Vincent On 28 May 2014 at 12:08:49, tullio0106 (tbettina...@axioma.it(mailto:tbettina...@axioma.it)) wrote: > Tks for Your help. > I found a partial solution using a Wiki Macro. > I saw partial b

Re: [xwiki-users] Using variables

2014-05-28 Thread tullio0106
Tks for Your help. I found a partial solution using a Wiki Macro. I saw partial because I'm now able to use it in the page body but not in the page title. If I put in the page title {{ProductName/}} I see {{ProductName/}} and not the value. What's wrong ? Tks -- View this message in context: ht

Re: [xwiki-users] Spatial Map Extension

2014-05-28 Thread Marius Dumitru Florea
Hi Danilo, On Wed, May 28, 2014 at 4:19 AM, Danilo Amaral de Oliveira wrote: > Hello Marius, > > I could make the webservice and PoC works but I am not using the method > $jsontool.serialize. > > What is the impact if I not use this serialize method? $jsontool.serialize brings two important ad

Re: [xwiki-users] Javascript + velocity Integration

2014-05-28 Thread Marius Dumitru Florea
Be careful that the Velocity code is executed on the server side, before the JavaScript is evaluated by the browser. The following line doesn't make any sense: var test = $jsontool.parse('["json string"]') 'test' is a JavaScript variable while $jsontool.parse() returns a Java object. 'test' is a

Re: [xwiki-users] need to clean a little bit xwiki 6.0 package

2014-05-28 Thread Pascal BASTIEN
My mistake: it was a test made by another user :-/ Sorry De : Thomas Mortagne À : Pascal BASTIEN ; XWiki Users Envoyé le : Mercredi 28 mai 2014 10h08 Objet : Re: [xwiki-users] need to clean a little bit xwiki 6.0 package I don't understand what you are t

Re: [xwiki-users] need to clean a little bit xwiki 6.0 package

2014-05-28 Thread Thomas Mortagne
I don't understand what you are talking about, this page obviously does not exist in standard XWiki Enterprise 6.0. On Wed, May 28, 2014 at 10:02 AM, Pascal BASTIEN wrote: > Hello, > > Just a word to indicate than xwiki 6.0 (or UI extension) contain this page on > new wiki: under XWiki/OfficeImp

[xwiki-users] need to clean a little bit xwiki 6.0 package

2014-05-28 Thread Pascal BASTIEN
Hello, Just a word to indicate than xwiki 6.0 (or UI extension) contain this page on new wiki: under XWiki/OfficeImporter /bin/view/XWiki/EdouardEV Edward. The story I will tell you may seem crazy, you will find exciting or perhaps annoying, but you should read it to the end .. That's all I

Re: [xwiki-users] context.setUser(xwikiname);

2014-05-28 Thread Daniel Ebanja
Thanks for that Tipp. Am 28.05.2014 03:04 schrieb "Sergiu Dumitriu" : > Whenever something is deprecated, the replacement is mentioned in the > JavaDoc: > > https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-5.4.5/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/XWik