[xwiki-users] Need help with velocity+json

2015-07-27 Thread Pascal BASTIEN
Hello, My goal is to send array json variable from velocity to javacript or more precisely I want loop over all objects of same Class of a page and put them in a json array (http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfromanypageandloopoverallobjectsofsameClass) Bu

Re: [xwiki-users] Need help with velocity+json

2015-07-27 Thread Pascal BASTIEN
ialize($MyArray) * I add the 'Index2' entrie: #set ($discard=$MyArray.put('Index2',{'Field1':'Addon value','field2':'Another addon value'})) $jsontool.serialize($MyArray) En date de : Lun 27.7.15, Marius Du

Re: [xwiki-users] Need help with velocity+json

2015-07-27 Thread Pascal BASTIEN
(['jquery'], function ($) { // x var obj = MaVariable; alert(obj["Index2"]["field2"]); }); }; En date de : Lun 27.7.15, Pascal BASTIEN a écrit : Objet: Re: [xwiki-users] Need help

[xwiki-users] Fw : Re: Need help with velocity+json (resolved)

2015-07-28 Thread Pascal BASTIEN
scard=$MyArray1.put('Index 2',{'Field1':'Addon value','field 2':'Another addon value'})) * Values in one shot: $jsontool.serialize($MyArray1) $MyArray1.keySet() --- En date de : Lun 27.7.15, Pascal BASTIEN a écrit : > De: Pascal BASTIEN > Objet: Re: [xwiki-u

[xwiki-users] Include & Co board effect

2015-09-10 Thread Pascal BASTIEN
Hello, In my velocity script I try to include some velocity code from another page. I want similare function like "source" in bash, it's like copy/paste some code in main script from another file. I read https://network.xwiki.com/xwiki/bin/view/DocXE31Fr/IncludeInVelocity and use #includeInConte

[xwiki-users] Fw : Include & Co board effect

2015-09-10 Thread Pascal BASTIEN
t call foo macro. (with includeInContext it's working) --- En date de : Jeu 10.9.15, Pascal BASTIEN a écrit : > De: Pascal BASTIEN > Objet: [xwiki-users] Include & Co board effect > À: "XWiki Users" > Date: Jeudi 10 septembre 2015, 10h33 > Hello, > > In

[xwiki-users] Fw : Re: Fw : Include & Co board effect

2015-09-14 Thread Pascal BASTIEN
ion of some page. > Thanks-Vincent >    > On 10 Sep 2015 at 11:26:25, > Pascal BASTIEN (pbasnews-xw...@yahoo.fr) > wrote: NB: new > include function {{include > reference="BacASable.Page" > type="document" /}} doesn't work well when > target p

Re: [xwiki-users] Fw : Re: Fw : Include & Co board effect

2015-09-14 Thread Pascal BASTIEN
B. En date de : Lun 14.9.15, vinc...@massol.net a écrit : Objet: Re: Fw : Re: [xwiki-users] Fw : Include & Co board effect À: "XWiki Users" Cc: pbasnews-xw...@yahoo.fr Date: Lundi 14 septembre 2015, 15h15 On 14 Sep 2015 at 15:02:40, Pas

[xwiki-users] Fw : Re: Fw : Re: Fw : Include & Co board effect

2015-09-14 Thread Pascal BASTIEN
--- En date de : Lun 14.9.15, Thomas Mortagne a écrit : > De: Thomas Mortagne > Objet: Re: [xwiki-users] Fw : Re: Fw : Include & Co board effect > À: "Pascal BASTIEN" , "XWiki Users" > Cc: "vinc...@massol.net" > Date: Lundi 14 septembr

[xwiki-users] Right access with sub group and ldap authentication

2015-09-15 Thread Pascal BASTIEN
Hello, I try to resolve an right access issu with our xwiki 7.0.1. I use LDAP authentication to access at our xwiki. Everyone have read access and a main group have write access on a space (unfortunaly big boss is "afraid?" about wiki spirit: 'everyone can edit'). Main editor group contains some

Re: [xwiki-users] Right access with sub group and ldap authentication

2015-09-16 Thread Pascal BASTIEN
Hello, FYI I open an issue http://jira.xwiki.org/browse/XWIKI-12570 because to retablish write acces, I simply remove/replace a user in subgroup, that's all :-/ Thxs En date de : Mar 15.9.15, Pascal BASTIEN a écrit : Objet: [xwiki-users]

[xwiki-users] StyleSheetExtension doesn't work on myxwiki.org ?

2015-09-30 Thread Pascal BASTIEN
Hello, I attached a page with StyleSheetExtension object on http://coc.myxwiki.org/xwiki/bin/view/Sandbox/style but it doesn't work. http://coc.myxwiki.org/xwiki/bin/view/Sandbox/style http://coc.myxwiki.org/xwiki/bin/edit/Sandbox/style?editor=object with simple CSS instructions: p { color:red;

[xwiki-users] About programming Rights on myxwiki.org...

2015-09-30 Thread Pascal BASTIEN
Hi, Like Vincent suggest, here a new discussion thread about PR for owner on myxwiki.org. On my new fresh myxwiki.org site, I wanted apply a nice CSS on all the site with a StyleSheetExtension object, but without PR it is impossible (or more complicated: I must find a way). I think that allow

[xwiki-users] Fw : Re: About programming Rights on myxwiki.org...

2015-10-01 Thread Pascal BASTIEN
> > On 1 Oct 2015 at 08:51:01, vinc...@massol.net > (vinc...@massol.net(mailto:vinc...@massol.net)) wrote: > > > I’m ok on > my side to allow Owner to be able to use the “Always on > this wiki” visibility for JSX/SSX. > Allowing PR is another matter and > I’m -1 for that, it’s too dangerous. Wi

[xwiki-users] Fw : Re: About programming Rights on myxwiki.org...

2015-10-01 Thread Pascal BASTIEN
> > > Another way to give > some PR, you can give them at github or Jirah > contributors? > > > "We hosting > your nice xwiki but if you want more you can give us a few > pieces of code)” > >  > > Interesting idea. This reminds me of the > idea I had a while ago to gamify contributions to xwiki:

[xwiki-users] Fw : Re: StyleSheetExtension doesn't work on myxwiki.org ?

2015-10-01 Thread Pascal BASTIEN
> > Indeed, when using “Always on this > wiki” we currently require PR. I think we should allow it > if you’re the owner of the wiki or have admin permissions. > Maybe you could start a discussion thread on this or create > a jira issue? > > > > For > now, you can use “On demand” or “only on this p

[xwiki-users] Fw : Fw : Re: StyleSheetExtension doesn't work on myxwiki.org ?

2015-10-01 Thread Pascal BASTIEN
> > > > > Then for the moment, do you have another way I can use to > apply a css instruction on all my site ? > I found a 2 way: - simply one (working well): on http://.myxwiki.org/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin§ion=Elements&space=XWiki Add this line on HTML hea

[xwiki-users] How to add a button with confirmation to save my page?

2015-10-05 Thread Pascal BASTIEN
Hi, I have my application with MyClass, MySheet and MyTemplate. When I have a new page (based on MySheet/Class), in edit mode I can modify all my fields of Myclass Object but I want to add a button to save my page after confirmation... For the moment I have a button to redirect in a new page BU

[xwiki-users] Fw : Re: How to add a button with confirmation to save my page?

2015-10-06 Thread Pascal BASTIEN
; > * ask for > confirmation > > https://developer.mozilla.org/en-US/docs/Web/API/Window/confirm > > * cancel/prevent the event if no, set the > value of the 'xredirect' > > > parameter otherwise > > > > Hope this helps, > > > Marius > &

[xwiki-users] Fw : Re: Fw : Re: How to add a button with confirmation to save my page?

2015-10-06 Thread Pascal BASTIEN
st. in velocity code) --- En date de : Mar 6.10.15, Marius Dumitru Florea a écrit : > De: Marius Dumitru Florea > Objet: Re: [xwiki-users] Fw : Re: How to add a button with confirmation to > save my page? > À: "XWiki Users" > Date: Mardi 6 octobre 2015, 12h23 >

Re: [xwiki-users] How to add a button with confirmation to save my page?

2015-10-07 Thread Pascal BASTIEN
lost (except the new value added)! If I don't use "$doc.save" all page modifications are saved but of course my new value is not added :-( It is a "bit" confused but if someone understand... En date de : Mar 6.10.15, Pascal BA

Re: [xwiki-users] [xwiki-devs] [Survey] Feedback about XWiki and future features

2015-10-29 Thread Pascal BASTIEN
Done! :-) NB:I forgot to add improvement if possible: make multilingual the blog application . Thxs En date de : Jeu 29.10.15, vinc...@massol.net a écrit : Objet: Re: [xwiki-devs] [Survey] Feedback about XWiki and future features À: "XWiki Develo

[xwiki-users] Need help to find a hql query

2015-11-02 Thread Pascal BASTIEN
Hello, I have a xwiki doc class with some properties: 'Static List' type and 'Page' (multiselect) type. I try to write a query to retrieve document in one query shot but I encoutered problem with 'Page' type. This query working well based on http://platform.xwiki.org/xwiki/bin/view/DevGuide/ve

Re: [xwiki-users] Need help to find a hql query

2015-11-02 Thread Pascal BASTIEN
#x27; order by doc.creationDate desc") the query return all doc with blog class En date de : Lun 2.11.15, Marius Dumitru Florea a écrit : Objet: Re: [xwiki-users] Need help to find a hql query À: "Pascal BASTIEN" , "XWiki Users" Date: Lundi 2 novembre

Re: [xwiki-users] Need help to find a hql query

2015-11-03 Thread Pascal BASTIEN
ers] Need help to find a hql query À: "Pascal BASTIEN" Date: Mardi 3 novembre 2015, 11h01 On Mon, Nov 2, 2015 at 5:15 PM, Pascal BASTIEN wrote: I didn't manage to use blog example on xwiki 7.0.1 (I replace 'XWiki.ArticleClass' by  'Blog.BlogPostClas

Re: [xwiki-users] Need help to find a hql query

2015-11-03 Thread Pascal BASTIEN
------- En date de : Mar 3.11.15, Pascal BASTIEN a écrit : Objet: Re: [xwiki-users] Need help to find a hql query À: "Marius Dumitru Florea" , "XWiki Users" Date: Mardi 3 novembre 2015, 12h00 Yes thxs (gdelhumeau helped me on irc). => I update doc: http:

Re: [xwiki-users] Need help to find a hql query

2015-11-04 Thread Pascal BASTIEN
ationDate desc") (must try with category property now) ------------ En date de : Mer 4.11.15, Pascal BASTIEN a écrit : Objet: Re: [xwiki-users] Need help to find a hql query À: "Marius Dumitru Florea" , "XWiki Users" Date: Mercredi 4 novembre

[xwiki-users] Fw : Re: Need help to find a hql query

2015-11-04 Thread Pascal BASTIEN
> I read this example: > http://xwiki.markmail.org/message/e2mi4odgpucsd3cu > #set ($hql ="select distinct doc.fullName, otherprop.value, > doc.creationDate from XWikiDocument as doc, BaseObject as > obj, StringProperty otherprop, DBStringListProperty as prop > join prop.list list > where obj.nam

[xwiki-users] (About XWIKI-12570:Access right doesn't work well with subgroups) Try to remove some version from document with groovy

2015-11-06 Thread Pascal BASTIEN
Hi, I try without success to remove some version from document with groovy :-( To refresh group cache I add & remove a member in a user group but I don't want my group be poluted by this operation. I want to launch this groovy script but unfortunaly this one crash with gArch.removeVersions("End

[xwiki-users] Fw : (About XWIKI-12570:Access right doesn't work well with subgroups) Try to remove some version from document with groovy

2015-11-10 Thread Pascal BASTIEN
--- En date de : Ven 6.11.15, Pascal BASTIEN a écrit : > De: Pascal BASTIEN > Objet: [xwiki-users] (About XWIKI-12570:Access right doesn't work well > with subgroups) Try to remove some version from document with groovy > À: "XWiki Users" > Date: Vendre

[xwiki-users] Full form statements requires programming right issue?

2015-11-16 Thread Pascal BASTIEN
Hi, I writed an application form with template + class + sheet (owner is admin). In my Class I use a "Computed Field" to display a query result with "Custom Display". It is an hql query with select. I know that we must have PR to launch a hql query with select but my template + class + sheet own

Re: [xwiki-users] Full form statements requires programming right issue?

2015-11-16 Thread Pascal BASTIEN
ry ) * //(Aucune amélioration)// #else yyy and FormSMQ.MyQuery, who's belong to Admin user, contains {{velocity}} #set ($ResultQuery=$services.query.hql("$HqlQuery").execute()) {{/velocity}} Pascal ------------ En date de : Lun 16.11.15,

[xwiki-users] Looking for Carousel on Xwiki

2015-11-20 Thread Pascal BASTIEN
Hello, i want to tuse some Carousel/slider on Xwiki. I find 2 of them: - http://www.xwiki.org/xwiki/bin/view/Carousel/Slider I don't know if it is simple to use it - and totem extension: http://extensions.xwiki.org/xwiki/bin/view/Extension/TotemApplication but totem doesn't work on my xwiki 7.0.

[xwiki-users] How can I get event object through a form

2016-01-18 Thread Pascal BASTIEN
Hi, I try to make an Admin form to delete some event from activity stream. I manage: - to list events in a checkbox list - to delete an event #foreach ($MonEvent in $xwiki.activitystream.getEventsForUser($MyUserr, false, 300, 0)) #if ($MonEvent.getPage()=='MySpace.MyPage') * event d

[xwiki-users] Fw : Re: How can I get event object through a form

2016-01-18 Thread Pascal BASTIEN
> > Did you try using searchEvents and building an HQL that > retrieves the Event object with the given IDs? Then, once > you get the Event objects, you can use > deleteActivityEvent on each of them. That is what I was affraid of ... hql query. I though there was a simplier way like xcontext st

[xwiki-users] Fw : Re: Fw : Re: How can I get event object through a form

2016-01-19 Thread Pascal BASTIEN
--- En date de : Mar 19.1.16, vinc...@massol.net a écrit : > De: vinc...@massol.net > Objet: Re: [xwiki-users] Fw : Re: How can I get event object through a form > À: "XWiki Users" > Date: Mardi 19 janvier 2016, 8h09 > Also note that the AS has > a buitin feature to delete old events, see you

[xwiki-users] Fw : Re: Fw : Re: Fw : Re: How can I get event object through a form

2016-01-19 Thread Pascal BASTIEN
Hi, I suffered to find hql query to use $xwiki.activitystream.method but if I use where condition on eventid field I obtain this error :-( Caused by: org.hibernate.QueryException: could not resolve property: EventId of: com.xpn.xwiki.plugin.activitystream.impl.ActivityEventImpl [select act from

[xwiki-users] Fw : Fw : Re: Fw : Re: Fw : Re: How can I get event object through a form

2016-01-19 Thread Pascal BASTIEN
Ok thxs guys I didn't understood why my $xwiki.activitystream.searchEvents doesn't work with eventid... I'm starting to begin some help and copy/paste Doc http://platform.xwiki.org/xwiki/bin/view/DevGuide/DatabaseSchema indicate: "In a hibernate query you can use the same name as the get method b

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-20 Thread Pascal BASTIEN
******* * En date de : Mer 20.1.16, Pascal BASTIEN a écrit : it's working thxs a lot. I will post my form here later when it will be ready if you want it. :-) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-20 Thread Pascal BASTIEN
quot; Cc: "Pascal BASTIEN" Date: Mercredi 20 janvier 2016, 11h06 #yiv8476593446 body{font-family:Helvetica, Arial;font-size:13px;}Hi Pascal, What would be very nice would be to post this snippet on extensions.xwiki.org :) (With possibly a screenshot to attract users…) Thanks!

Re: [xwiki-users] Fw : Fw : Re: Fw : Re: Fw : Re: How can I get event object through a form

2016-01-20 Thread Pascal BASTIEN
En date de : Mer 20.1.16, Eduard Moraru a écrit : Objet: Re: [xwiki-users] Fw : Fw : Re: Fw : Re: Fw : Re: How can I get event object through a form À: "Pascal BASTIEN" , "XWiki Users" Date: Mercredi 20 janvier 2016, 16h36 Hi, This is the activity

Re: [xwiki-users] How can I get event object through a form (a form to choose and delete manually some events)

2016-01-21 Thread Pascal BASTIEN
nts) À: "XWiki Users" Date: Mercredi 20 janvier 2016, 15h09 On 20 Jan 2016 at 11:49:31, Pascal BASTIEN (pbasnews-xw...@yahoo.fr) wrote: greedy!  indeed :) Ok I will find some time to post that :-)  cool, thanks -Vincent __

[xwiki-users] Fw : Re: How can I get event object through a form (a form to choose and delete manually some events)

2016-01-21 Thread Pascal BASTIEN
--- En date de : Jeu 21.1.16, vinc...@massol.net a écrit : > De: vinc...@massol.net > Arial;font-size:13px;}Very nice Bastien, I > wasn't asking that much! :) np :-) You are right some nice screenshot is always better. > I’ve taken the liberty > of editing the page to tune the language here

[xwiki-users] Fw : Re: Fw : Fw : Re: Fw : Re: Fw : Re: How can I get event object through a form

2016-01-22 Thread Pascal BASTIEN
> Anyway, how do you found default alias of table name > then? > > By example the alias "act" in my hql string here > "act.eventId" (I found it by chance in error > log) > > #set($results= > $xwiki.activitystream.searchEvents("act.eventId in > ($ListIn)", false, 0, 0)) > > Here i suppose? > ht

[xwiki-users] getURLContent problem

2016-01-23 Thread Pascal BASTIEN
Hi, This URL https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&clanTag=%23L9CGQYC returns json text but from myxwiki.org this velocity code didn't display json data... $xwiki.getURLContent('https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getCl

[xwiki-users] Fw : Re: getURLContent problem

2016-01-24 Thread Pascal BASTIEN
Thxs for this log. I tested with wget (through same proxy of my browser) and I obtain a "500 Internal Server Error" (I tested with SSLv2, SSLv3, TLSv1, TLSv1_1 and TLSv1_2 protocol) :-/ I tested on my developpment server on ou intranet (through our proxy): $xwiki.getURLContent('https://set7z18f

Re: [xwiki-users] Fw : Re: getURLContent problem

2016-01-24 Thread Pascal BASTIEN
Thxs for this log. I tested with wget (through same proxy of my browser) and I obtain a x => It's working well with wget too (without option) I tested on my developpment server on ou intranet (through our proxy): $xwiki.getURLContent('https://set7z18fgf.execute-api.us-east-1.amazo

[xwiki-users] How to disable versionning for a document

2016-03-02 Thread Pascal BASTIEN
Hi, I have a page cronly updated with RESTful API and I want disable document versionning for this page only. I want to save a little bit storage :-) Is it possible and how? If not I suppose I must schedule a full history wipe? Thxs. Pascal B ___ us

[xwiki-users] Fw : Re: How to disable versionning for a document

2016-03-02 Thread Pascal BASTIEN
--- En date de : Mer 2.3.16, vinc...@massol.net a écrit : > De: vinc...@massol.net > Objet: Re: [xwiki-users] How to disable versionning for a document > À: "XWiki Users" > Date: Mercredi 2 mars 2016, 12h19 >   > > On 2 Mar 2016 at 11:50:30, Pascal BAST

Re: [xwiki-users] Changing Global Text Style Settings

2016-03-03 Thread Pascal BASTIEN
Hello, You can use a stylesheetextension object + CSS instruction (and firebug to identify id/class elements to modify) http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMinimalStyleSheeteXtension Pascal B En date de : Jeu 3.

[xwiki-users] Fw : Re: Fw : Re: How to disable versionning for a document

2016-03-03 Thread Pascal BASTIEN
gt; > > Objet: Re: [xwiki-users] How to disable > versionning for a document > > > À: "XWiki Users"  > > > Date: Mercredi 2 mars 2016, 12h19 > > >  > > > > > > On 2 Mar 2016 at 11:50:30, Pascal BASTIEN > > > (pbasnews-xw...@y

[xwiki-users] Error with groovy script from a page but not in scheduler

2016-04-04 Thread Pascal BASTIEN
Hi, I can't understand an error when I launch a groovy script from a wiki page but I haven't error when my groovy script is launched in scheduler... My nice script delete previous version of MyPage with removeVersions methods: MyGroupAuto = xwiki.getDocument("Space.MyPage") // r

Re: [xwiki-users] Error with groovy script from a page but not in scheduler

2016-04-04 Thread Pascal BASTIEN
My bad, with that, it is working well in my xwiki page :-) xc = xcontext.getContext() gArch.removeVersions(gArch.getLatestVersion(), gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())),xc) En date de : Lun 4.4.16, Pascal BASTIEN a

Re: [xwiki-users] Numbered headings

2016-04-07 Thread Pascal BASTIEN
Hi, Me too, macro working well on xwiki 7.0.1 May be Ctrl+F5 needed because you just apply it on all wiki? Pascal B En date de : Jeu 7.4.16, Marius Dumitru Florea a écrit : Objet: Re: [xwiki-users] Numbered headings À: "XWiki Users" Date: Jeudi

Re: [xwiki-users] Numbered headings

2016-04-07 Thread Pascal BASTIEN
or another concurrent SSX object? => You can check wich SSX object is applied with firebug En date de : Jeu 7.4.16, Pascal BASTIEN a écrit : Objet: Re: [xwiki-users] Numbered headings À: "XWiki Users" Date: Jeudi 7 avril 2016, 11h

[xwiki-users] bootstrap and multiselect list + add livetable feature

2016-05-27 Thread Pascal BASTIEN
Hello, With livetable on top of column we can use select list to choose one value to filter our table. I use 'resultPage' option to use a custom query and I try to add a multiselect list to filter data with OR condition. On top of column I wanted a multiselect list like this one: http://david

[xwiki-users] need help about JS/webjar integration

2016-06-21 Thread Pascal BASTIEN
Hi, about http://jira.xwiki.org/browse/XWIKI-13470 I can use https://silviomoreto.github.io/bootstrap-select/ JS if I copy js content in a JSX object between this stuff: require(['jquery'], function ($) { }); To PullRequesting I need to writing cleaner code: I mean "use RequireJS and WebJars A

Re: [xwiki-users] need help about JS/webjar integration

2016-06-21 Thread Pascal BASTIEN
I found a solution that's working here: http://jsfiddle.net/9xr5af00/ (next step: CSS stuff) En date de : Mar 21.6.16, Pascal BASTIEN a écrit : Objet: need help about JS/webjar integration À: "XWiki Users" Date: Mardi 21 juin 20

Re: [xwiki-users] [Velocity] get items of static list

2016-06-23 Thread Pascal BASTIEN
Hi, It depend... First, what are displayed for $ddlProductFamily (your page in view mode)? {{velocity}} $ddlProductFamily {{/velocity}} Something like ['value1,'value2'] or xwikixxwith random number or $ddlProductFamily ? If you want display value from any page: http://platform.xwiki.org/xwik

Re: [xwiki-users] Link to page on a sub-wiki

2016-06-29 Thread Pascal BASTIEN
Hi, Use Ctrl+R and type "Product", select your desired page and copy/paste exact fullname (from popup window) in your wikilink [[Your nice page>>exact fullname]] . Check if your page is not hidden before. Pascal B En date de : Mer 29.6.16, D R a é

Re: [xwiki-users] Link to page on a sub-wiki

2016-06-29 Thread Pascal BASTIEN
ho sorry, I mean Ctrl+G "Jump to any page in the wiki (Meta+G)" En date de : Mer 29.6.16, D R a écrit : Objet: Re: [xwiki-users] Link to page on a sub-wiki À: "Pascal BASTIEN" Date: Mercredi 29 juin 2016, 14h39 Hi, press

[xwiki-users] force edit inline and redirect

2016-06-30 Thread Pascal BASTIEN
Hi xwiki citizen, I try to redirect to another page users when they edit a page... Then I use this velocity code in my origin page: #if ($xcontext.action=='edit') $response.sendRedirect($xwiki.getURL('MySpace.MaTargetPage', 'edit')) #stop #end Redirect (to MyOriginPage in edit mode) working

Re: [xwiki-users] force edit inline and redirect

2016-06-30 Thread Pascal BASTIEN
e : Jeu 30.6.16, Pascal BASTIEN a écrit : Objet: force edit inline and redirect À: "XWiki Users" Date: Jeudi 30 juin 2016, 12h08 Hi xwiki citizen, I try to redirect to another page users when they edit a page... Then I use this velocity code in my origin page: #if

Re: [xwiki-users] force edit inline and redirect

2016-06-30 Thread Pascal BASTIEN
Are there a simple (or recommanded) way to redirect user to another page (in edit mode) when he edit a page? Thxs ... > > En date de : Jeu 30.6.16, Pascal BASTIEN a écrit : > > Objet: force edit inline and redirect > À

Re: [xwiki-users] hql query returning objects?

2016-07-12 Thread Pascal BASTIEN
You can use this code: http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfromanypageandloopoverallobjectsofsameClass "## if you have more than one object on a page, you will have to loop over them and use "$doc.use"&q

[xwiki-users] 2 bug on WYSIWYG Editor Module

2016-07-18 Thread Pascal BASTIEN
Hi, I found 2 differents bugs on WYSIWYG Editor Module. I copy/paste "Load on demand using velocity macros" example: http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#HLoadondemandusingvelocitymacros On Xwiki 7.0.1, I load the WYSIWYG Editor, I type some words in WYSIWYG

[xwiki-users] 2 bug on WYSIWYG Editor Module

2016-07-18 Thread Pascal BASTIEN
Hi, I found 2 differents bugs on WYSIWYG Editor Module. I copy/paste "Load on demand using velocity macros" example: http://extensions.xwiki.org/xwiki/bin/view/Extension/WYSIWYG+Editor+Module#HLoadondemandusingvelocitymacros On Xwiki 7.0.1, I load the WYSIWYG Editor, I type some words in WYSI

[xwiki-users] Fw : Re: 2 bug on WYSIWYG Editor Module

2016-07-18 Thread Pascal BASTIEN
rs. It is the same behavior > with strikethrough word. > > Any ideas how > to fix it? > > > > With > Xwiki 8.1, WYSIWYG Editor is loading anymore. > > Regarding XWiki 8.1, make sure > you force clear you browser cache. I did it. But i copy/paste example from http://extensions.xwiki.org/xwiki/bi

Re: [xwiki-users] Question regarding changing default format of Numbered Lists

2016-08-08 Thread Pascal BASTIEN
Hi, You can use a SSX object to overwriting CSS instruction: http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMinimalStyleSheeteXtension On my xwiki I use this extension: http://extensions.xwiki.org/xwiki/bin/view/Extension/Numbered+Headings I modified the SSX object to d

Re: [xwiki-users] Question regarding changing default format of Numbered Lists

2016-08-10 Thread Pascal BASTIEN
style: italic; } #xwikicontent > H1, #xwikicontent .entry-content > h1 { font-size: 30px; } #xwikicontent > H2, #xwikicontent .entry-content > h2 { font-size: 26px; } #xwikicontent > H3, #xwikicontent .entry-content > h3 { font-size: 20px; } **

[xwiki-users] Could not use Java8 with xwiki on 7.0.1 (and 8.2.1)

2016-08-30 Thread Pascal BASTIEN
Hi, I use xwiki 7.0.1 / tomcat-7.0.47 and I didn't manage to upgrade xwiki to xwiki 8.2.1. Then I tried to use java8/tomcat-8.5.4 to launch my current xwiki7.0.1 but I failed with these error message. To resume, with apache-tomcat-8.5.4 if I use java7, I can use Xwiki 7.0.1 but if I simply mod

[xwiki-users] Fw : Re: Could not use Java8 with xwiki on 7.0.1 (and 8.2.1)

2016-08-30 Thread Pascal BASTIEN
--- En date de : Mar 30.8.16, Thomas Mortagne a écrit : > De: Thomas Mortagne > Objet: Re: [xwiki-users] Could not use Java8 with xwiki on 7.0.1 (and 8.2.1) > À: "Pascal BASTIEN" , "XWiki Users" > Date: Mardi 30 août 2016, 10h54 > On Tue, Aug 30,

[xwiki-users] Fw : Re: Fw : Re: Could not use Java8 with xwiki on 7.0.1 (and 8.2.1)

2016-08-30 Thread Pascal BASTIEN
--- En date de : Mar 30.8.16, Thomas Mortagne a écrit : > De: Thomas Mortagne > Objet: Re: [xwiki-users] Fw : Re: Could not use Java8 with xwiki on 7.0.1 > (and 8.2.1) > À: "Pascal BASTIEN" , "XWiki Users" > Date: Mard

Re: [xwiki-users] Fw : Re: Fw : Re: Could not use Java8 with xwiki on 7.0.1 (and 8.2.1)

2016-08-31 Thread Pascal BASTIEN
ot in your Servlet Container #-# and you're using XWiki >= 6.1 and < 7.0 you must set it to an empty value as otherwise the code cannot guess it. #-# For example: # xwiki.webapppath=xwiki xwiki.webapppath= Thxs. -------- En date de : Mar 30.8.16,

[xwiki-users] ACL missunderstand

2016-09-09 Thread Pascal BASTIEN
Hello, I don't understand very well how new ACL working with nested page with 8.2.1 compared to spaces ACL on 7.x version About ACL, what use on xwiki 7.0.1 is: - read for XWikiAllGroup (everyone) - write + create page for "XWikiEditeurs" on "Encyclopédie" space (and read for every other page

[xwiki-users] Fw : Re: ACL missunderstand

2016-09-13 Thread Pascal BASTIEN
Thxs for your answers but my ACL doesn't work on my 8.2.1. Users can not create new page or modify page on my encyclopédie space... Here some ACL screenshot: ACL on main wiki: https://snag.gy/dWbzZR.jpg ACL on Encyclopédie space (on encyclopédie page and children) https://snag.gy/vFArI1.jpg (I t

[xwiki-users] Fw : Re: ACL missunderstand

2016-09-14 Thread Pascal BASTIEN
http://jira.xwiki.org/browse/XWIKI-13699 --- En date de : Mar 13.9.16, Pascal BASTIEN a écrit : > De: Pascal BASTIEN > Objet: Fw : Re: [xwiki-users] ACL missunderstand > À: "XWiki Users" , "Vincent Massol" > Date: Mardi 13 septembre 2016, 15h18 > Thxs fo

[xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-09-30 Thread Pascal BASTIEN
Hello, I tested two upgrades of my xwiki 7.0.1 to 8.2.1 and I have same strange problem in new version: - FCKEditor is launched at all textarea elements, ie: on "Administer xwiki" page: https://snag.gy/M5gheJ.jpg - when I use "annotation", input field is filled with HTML code instead of empty

[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-09-30 Thread Pascal BASTIEN
> > - when I use "annotation", input > field is filled with HTML code instead of > > empty: > > https://snag.gy/3dxoIK.jpg > > We too have this issue on our > 8.2.1 system (tomcat war). However, on a 8.2.1 > windows Standalone dummy system this issue is > not present. The annotation > editor does

[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-10-03 Thread Pascal BASTIEN
Hi > > > > FYI, > I’ve fixed this for the Mail class in: > > http://jira.xwiki.org/browse/XWIKI-13661 > > > > (and for other > classes in other issues) For other Class you said. Then annotation issue is fixed too in 8.3 version? (I didn't found the issue) Thxs. > PascalB wrote > >>> - when I

[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code

2016-10-03 Thread Pascal BASTIEN
FYI about annotation issue: here the fix for xwiki 8.2.1: http://jira.xwiki.org/browse/XWIKI-13757?focusedCommentId=92815&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-92815 (Vincent backported Marius patch) --- En date de : Ven 30.9.16, Mario a écrit  : > De: Ma

[xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: search feature

2016-10-04 Thread Pascal BASTIEN
Hello, After upgrading my xwiki 7.0.1 to 8.2.1, i encoutered another issue: xwiki search feature doesn't work anymore. I use Tomcat 8.0.33 + Postrgesqk 9.3 and attachments in file system and connected with Admin account. On page ./bin/view/Main/Search?text=test&f_type=DOCUMENT&f_locale=fr&f_lo

[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: search feature

2016-10-04 Thread Pascal BASTIEN
0.1 to xwiki > 8.2.1: search feature > À: "XWiki Users" > Date: Mardi 4 octobre 2016, 11h36 > Hi, > > Try removing your solr index. > > Thanks > -Vincent > > > > On 04 Oct 2016, at 11:26, Pascal BASTIEN > wrote: > > > > H

[xwiki-users] Fw : Re: Fw : Re: ACL missunderstand

2016-10-05 Thread Pascal BASTIEN
> > > > So, questions: > > - > Devs, am I right that rights should be set on WebHome? > > What you are talking about is > space rights and space rights always > been > set in WebPreferences. Changing it would be a breakage. Right I agree ACL is still in WebPreference page but I understand what M

[xwiki-users] upgraded xwiki 7.0.1 to 8.2.1: bootstrap/tooltip problem

2016-10-05 Thread Pascal BASTIEN
Hello, I upgraded xwiki 7.0.1 to 8.2.1 but it seem that bootstrap/tooltip doesn't work anymore. I use bootstrap to show tooltip: https://bootstrapdocs.com/v3.3.6/docs/javascript/#tooltips In my page I paste this code: {{html}} Tooltip on right {{/html}} and add a JSX object with jquery to call t

[xwiki-users] Fw : upgraded xwiki 7.0.1 to 8.2.1: bootstrap/tooltip problem

2016-10-06 Thread Pascal BASTIEN
ntaining: shim: { 'bootstrap' : ['jquery'], who's specify dependencies for jQuery plugins To conclude, I will fix my JS but I don't know if I must open a regression jira issue ? Pascal B --- En date de : Mer 5.10.16, Pascal BASTIEN a écrit : > De: Pasca

[xwiki-users] Fw : upgraded xwiki 7.0.1 to 8.2.1: bootstrap/tooltip problem

2016-10-06 Thread Pascal BASTIEN
--- En date de : Jeu 6.10.16, Pascal BASTIEN a écrit : > De: Pascal BASTIEN > Objet: Fw : upgraded xwiki 7.0.1 to 8.2.1: bootstrap/tooltip problem > À: "XWiki Users" > Date: Jeudi 6 octobre 2016, 12h20 > Ok I resolve the problem (I tested > with xar example found

[xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: breadcrumb question

2016-10-11 Thread Pascal BASTIEN
(overwrited by new one)? Thxs. Pascal BASTIEN ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] Fw : Re: Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: breadcrumb question

2016-10-11 Thread Pascal BASTIEN
Wonderful! thxs Vincent! > > - For all pages with > breadcrumb modified, I must convert manually terminale > "parent"page in none terminale page ? > > - how can I retrieve these pages with > breadcrumb modified ? http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/NestedPagesMig

[xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-18 Thread Pascal BASTIEN
Hello, With wiki syntax I failed to insert a simple span in a velocity macro (Blog./BlogCode): #macro(publishMessageBox $message) (% class="plainmessage publish-message" %)((($message))) #end display: This article was published on 17/10/2016 16:47:06 and I want a span in front of $message li

[xwiki-users] Fw : riddle: howto insert a simple span with xwiki syntax?

2016-10-19 Thread Pascal BASTIEN
(I resend my previous message: it seem xwiki users list didn't receive it or silent reject it) sorry maybe spaming? --- En date de : Mar 18.10.16, Pascal BASTIEN a écrit  : > De: Pascal BASTIEN > Objet: riddle: howto insert a simple span with xwiki syntax? > À: "XWiki Us

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-19 Thread Pascal BASTIEN
Ok thxs but my problem is that I can not insert a anything in front of $message :-/ There are inserted I wonder why when it is a div (a bug?) or is at the wrong place. I didn't manage to have this simple result: This article was published on 17/10/2016 16:47:06 (% class="plainmessage pu

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
> > > > (% > class="plainmessage publish-message" %)% > class="glyphicon glyphicon-globe" %)$message))) > > First this is not fully > correct. You need to close the span with (%%). ha! It's like manage to scratch my back! so pleasurable! I need to add that here: http://platform.xwiki.o

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
Ok I will send a PR. (I didn't knew doc was modified through git though) IMO it is better here, no?: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HParameters En date de : Jeu 20.10.16, Vincent Massol a écrit : >> >> I need to add tha

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
--- En date de : Jeu 20.10.16, Vincent Massol a écrit : > De: Vincent Massol > Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax? > À: "Pascal BASTIEN" > Cc: "XWiki Users" > Date: Jeudi 20 octobre 2016, 10h35 > > >

[xwiki-users] Fw : Re: riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
> > > > Yes it is correct, > but what I want to add in syntax guide (if you agree)  is > these 2 way: > > - to close style  with > (%%) > > only for inline > content and only needed if you need to style only a potion > of the inlined content. yes it was my intention :-) > > > -  (((…))) const

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
Here you are: https://github.com/xwiki/xwiki-platform/pull/543/files Thxs Vincent and Jan-Paul En date de : Jeu 20.10.16, Vincent Massol a écrit : Objet: Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax? À: "Pascal BA

Re: [xwiki-users] riddle: howto insert a simple span with xwiki syntax?

2016-10-20 Thread Pascal BASTIEN
yes of course. I wanted add some CSS class in blog code. Anyway I will PR today and I'm pretty sure than xwiki commiters will make attention with this. :-) En date de : Ven 21.10.16, Jan-Paul Kleijn a écrit : Objet: Re: [xwiki-users] riddle: howto i

Re: [xwiki-users] Lots of disabled Yahoo email addresses on the xwiki.org lists

2016-11-04 Thread Pascal BASTIEN
Hi, Is this the cause of this xwiki sympa mail that I receive regulary?

Re: [xwiki-users] Lots of disabled Yahoo email addresses on the xwiki.org lists

2016-11-08 Thread Pascal BASTIEN
Hello, It is strange because my emails have a DKIM signature like here (piece of header from a mail I sent from my xwiki email to myself at another adress). Is it sympa who's altering this signature? Can I fix it (if it is "my fault")? Thxs Pascal -- Received: from

  1   2   3   4   5   >