Re: [xwiki-users] [VOTE] Enable default actions for the Flamingo top menu entries

2014-12-05 Thread Pascal BASTIEN
default action and drop down sub menu level at the right-side-click ) With CSS it should be possible to:- use 2 side button on big screen- use GoTo menu on small screen (with @media min-width) Thxs Pascal BASTIEN De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com À : XWiki Developers

Re: [xwiki-users] I can not use less variable in a SSX

2014-12-05 Thread Pascal BASTIEN
Thanks a lot. I will use 768px value then. (I always forget to check jira before to ask, sorry) De : Ecaterina Moraru (Valica) vali...@gmail.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Vendredi 5 décembre 2014 16h28 Objet : Re: [xwiki-users

Re: [xwiki-users] What would you like to see in the XWiki 7.x cycle?

2014-12-09 Thread Pascal BASTIEN
+1 for numbered header +0 about TOC (user must be able to choose if he want a TOC on his page) In someone interested, on (my wiki), I use that to add numbered header and TOC:http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro#HExample4:TOCnumberingcorrespondingatNumberedHeadings To add

Re: [xwiki-users] What would you like to see in the XWiki 7.x cycle?

2014-12-09 Thread Pascal BASTIEN
Yes you are right it is http://ckeditor.com/   (I was confused because I tested MoinMoin editor http://moinmo.in/FCKeditor  and FckEditor probably changed his name) De : Hamster teun...@hotmail.com À : users@xwiki.org Envoyé le : Mardi 9 décembre 2014 9h06 Objet : Re: [xwiki-users]

Re: [xwiki-users] Howto getprefix in a Sheet? (and add some class in my form)

2015-01-30 Thread Pascal BASTIEN
paste this xwiki.javascriptExtension to initiate Tooltips:require(['jquery'], function ($) { $(function () {   $('[data-toggle=tooltip]').tooltip() }) }); (Notice: I didn't use full JS because I don't like the blinking effect or errors who's crash Xwiki menu) Pascal B De : Pascal BASTIEN

Re: [xwiki-users] Howto getprefix in a Sheet?

2015-02-03 Thread Pascal BASTIEN
On 02/03/2015 10:12 AM, Pascal BASTIEN wrote: ThxsI verified and it seem it is always _0_  for each properties (even for multiple properties of same type)ie If I have 2 properties with 'date' type in MySpace.MyClass (date_entry and birthday), $doc.display($prop.getName() will generate this form

Re: [xwiki-users] Howto getprefix in a Sheet?

2015-02-03 Thread Pascal BASTIEN
this _0_ (macro or java stuf) ThxsPascal B De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Mardi 3 février 2015 8h16 Objet : Re: [xwiki-users] Howto getprefix in a Sheet? ... If any have

[xwiki-users] Need doc about access object in a page (and use doc)

2015-02-09 Thread Pascal BASTIEN
Hello, I read/apply this doc with succcess: http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage With this code I can display all objects ATTACHED to THIS page. *** #set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass

Re: [xwiki-users] Add date of account creation (without time) in User Index problem

2015-01-15 Thread Pascal BASTIEN
: Clemens Klein-Robbenhaar c.robbenh...@espresto.com   À : users@xwiki.org   Envoyé le : Mardi 13 janvier 2015 16h10   Objet : Re: [xwiki-users] Add date of account creation (without time) in User Index problem     On 01/13/2015 03:05 PM, Pascal BASTIEN wrote: Thxs a lot to explained me

Re: [xwiki-users] Add date of account creation (without time) in User Index problem

2015-01-15 Thread Pascal BASTIEN
Cool!thinking ... soon when I come back to this improvment, all will be done! :-) De : Marius Dumitru Florea mariusdumitru.flo...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Envoyé le : Jeudi 15 janvier 2015 15h12 Objet : Re: [xwiki-users] Add

[xwiki-users] Xwiki from 6.3 version to 6.4 JNDI / postgresql problem

2015-01-22 Thread Pascal BASTIEN
Hello, I have some problems to upgrade Xwiki from 6.3 version to 6.4. I'm on Debian/Tomcat and use the .WAR to connect on my postgreSQL database with JNDI database connector. With this database connector I hadn't problem with 6.1,6.2 and 6.3 upgrades but with 6.4 upgrade I have this error 500

Re: [xwiki-users] Xwiki from 6.3 version to 6.4 JNDI / postgresql problem

2015-01-22 Thread Pascal BASTIEN
More test later: I manage to upgrade my xwiki (with postgres database parameter in hibernate.xml) but if I use JNDI connecter, Xwiki failed with the same error. De : Pascal BASTIEN pbasnews-xw...@yahoo.fr À : XWiki Users users@xwiki.org Envoyé le : Jeudi 22 janvier 2015 17h46 Objet

[xwiki-users] Fw : Fw : Re: Fw : Re: Need doc about access object in a page (and use doc)

2015-02-10 Thread Pascal BASTIEN
I wil probably add your nice code on this page: http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage Done! I paste your code Clemens (I change only doc name) and add image (for kids :-) )

Re: [xwiki-users] Prevent delete some page

2015-02-16 Thread Pascal BASTIEN
En date de : Ven 13.2.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : Objet: [xwiki-users] Prevent delete some page À: XWiki Users users@xwiki.org Date: Vendredi 13 février 2015, 19h34 Hello, In my xwiki application, I want prevent user

[xwiki-users] Howto getprefix in a Sheet?

2015-01-29 Thread Pascal BASTIEN
Hello,I have a docClass with some properties and use a linked Sheet to display my data.On this thread http://xwiki.475771.n2.nabble.com/Help-with-custom-display-td508630.htmlI saw we can get this value in custom display field of docClass properties.- $name = the name of the displayed field -

Re: [xwiki-users] Show hidden spaces

2015-01-06 Thread Pascal BASTIEN
Hello, (First let me start off by wishing everyone a very Happy New Year.) You can use somethink like this to find hidden space (even if the user don't display hidden doc) #set ($items = $xwiki.search(select doc.space from XWikiDocument as doc where doc.name='WebHome' and doc.hidden = '1'))

[xwiki-users] Howto use mvn xar:format ?

2015-01-09 Thread Pascal BASTIEN
Hello, To clean and Pull Request my patch I need to launch mvn xar:format command but I didn't managed to use it and didn't found a simple documentation about it (notice, I didn't eat a maven book either) I don't want rebuild Xwiki package but I want only check/clean xml file (from XAR) before

[xwiki-users] wiki syntax for linking to own user profile page?

2015-01-14 Thread Pascal BASTIEN
Hello, I want to know if there are a wiki syntax  to add an hyperlink to your own user profile in wiki syntax (without velocity/grovy tags).With velocity it is:{{velocity}} Here your own profile :  [[$context.user]] {{/velocity}} Thxs. Pascal B ___

Re: [xwiki-users] Add date of account creation (without time) in User Index problem

2015-01-13 Thread Pascal BASTIEN
, Pascal BASTIEN wrote: Hello, To make it work I add this new property in XWiki.XWikiUsers class: /bin/edit/XWiki/XWikiUsers?editor=class Name: doc.creationDate Type: String PrettyName: Creation date I did not know that you can create class properties with a dot in it, and that this even can

[xwiki-users] Add date of account creation (without time) in User Index problem

2015-01-13 Thread Pascal BASTIEN
Display is not used? Thxs for any help Pascal BASTIEN ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Add date of account creation (without time) in User Index problem

2015-01-13 Thread Pascal BASTIEN
...@espresto.com À : users@xwiki.org Envoyé le : Mardi 13 janvier 2015 16h10 Objet : Re: [xwiki-users] Add date of account creation (without time) in User Index problem On 01/13/2015 03:05 PM, Pascal BASTIEN wrote: Thxs a lot to explained me with clarity all of that and help me to understand better

Re: [xwiki-users] Howto use mvn xar:format ?

2015-01-09 Thread Pascal BASTIEN
. De : Thomas Mortagne thomas.morta...@xwiki.com À : Pascal BASTIEN pbasnews-xw...@yahoo.fr; XWiki Users users@xwiki.org Cc : devs XWiki d...@xwiki.org Envoyé le : Vendredi 9 janvier 2015 12h11 Objet : Re: [xwiki-users] Howto use mvn xar:format ? Well you seems to have a Java issue

Re: [xwiki-users] Howto use mvn xar:format ?

2015-01-09 Thread Pascal BASTIEN
My editor is vi on Linux then I use unix end of line... I launch mvn -e xar:format for the second time and ^M disapeared... (X-files case? :-) ) NB: and the download is not launched at the second time Thxs a lot both. Pascal B De : Eduard Moraru enygma2...@gmail.com À : Pascal BASTIEN

Re: [xwiki-users] Howto use mvn xar:format ?

2015-01-09 Thread Pascal BASTIEN
#dashboardleft ol.tagCloud {^M   /* We re-set this value here on purpose so that uses of the cloud outside of the dashboard are not affected */^M   margin: 0.5em;^M }^M De : Pascal BASTIEN pbasnews-xw...@yahoo.fr À : Thomas Mortagne thomas.morta...@xwiki.com; XWiki Users users@xwiki.org Cc

[xwiki-users] Global user and local user with Xwiki 6.4 Sub wiki + LDAP account

2015-02-09 Thread Pascal BASTIEN
Hello, Is it possible to force all user in Global user? I (a friend Admin) use LDAP account and 3 subwiki. If new LDAP user log in on a sub wiki (sub wiki URL), unfortunaly a local user is created. Perhaps he must remove subscribe right for new user on sub wiki? Thxs for your help (again :) )

[xwiki-users] Fw : Re: Fw : Re: Fw : Re: Need doc about access object in a page (and use doc)

2015-02-09 Thread Pascal BASTIEN
--- En date de : Lun 9.2.15, Jeremie BOUSQUET jeremie.bousq...@gmail.com a écrit : De: Jeremie BOUSQUET jeremie.bousq...@gmail.com Objet: Re: [xwiki-users] Fw : Re: Fw : Re: Need doc about access object in a page (and use doc) À: Pascal BASTIEN pbasnews-xw...@yahoo.fr, XWiki Users users

Re: [xwiki-users] Global user and local user with Xwiki 6.4 Sub wiki + LDAP account

2015-02-09 Thread Pascal BASTIEN
Thanks you it is exactly what my friend need :-) En date de : Lun 9.2.15, Thomas Mortagne thomas.morta...@xwiki.com a écrit : Objet: Re: [xwiki-users] Global user and local user with Xwiki 6.4 Sub wiki + LDAP account À: Pascal BASTIEN pbasnews-xw

[xwiki-users] Prevent delete some page

2015-02-13 Thread Pascal BASTIEN
Hello, In my xwiki application, I want prevent user to delete pages (even he is the creator). Users create page with my form (some class/Sheet/Template/Velocity/API xwiki) and of course I want to keep original UserCreator info in the doc. Is it possible? I didn't manage with right access

[xwiki-users] Fw : Re: Need doc about access object in a page (and use doc)

2015-02-09 Thread Pascal BASTIEN
10:15 AM, Pascal BASTIEN wrote: Hello, I read/apply this doc with succcess: http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage With this code I can display all objects ATTACHED to THIS page. *** #set($class = $obj.xWikiClass) ## access

[xwiki-users] Fw : Re: Fw : Re: Need doc about access object in a page (and use doc)

2015-02-09 Thread Pascal BASTIEN
@xwiki.org Date: Lundi 9 février 2015, 14h53 On 02/09/2015 02:12 PM, Pascal BASTIEN wrote: This code (probably false) doesn't work. #set( $Class = $xwiki.getClass(MySpace.MyClass)) #foreach($prop in $class.properties) ## go through all properties   * ${prop.prettyName} : $doc.display

[xwiki-users] Fw : Re: HQL selected index of combo box list

2015-02-12 Thread Pascal BASTIEN
to respond, the support you guys give is SUPER valuable to me and keeps me moving forward in most cases, so I really appreciate it. +1 (Valentine's Day soon ? :-) ) (+1 too for hiding Save button question/answer for Xwiki app) Pascal B ___ users

Re: [xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-08 Thread Pascal BASTIEN
  Anyway, it is strange than this URL below working well except for inline mode: [[Panels.TagCloud||queryString=xpage=editeditor=wiki]] open directly the target in edit mode and wiki editor [[Panels.TagCloud||queryString=xpage=editeditor=wysiwyg]]

Re: [xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-07 Thread Pascal BASTIEN
]] [[Panels.TagCloud||queryString=xpage=editeditor=inline]]  doesn't work. Thxs anyway. De : vinc...@massol.net vinc...@massol.net À : XWiki Users users@xwiki.org Cc : Pascal BASTIEN pbasnews-xw...@yahoo.fr Envoyé le : Mercredi 7 janvier 2015 18h44 Objet : Re: [xwiki-users] Howto include

[xwiki-users] Howto include a link to a page in edit mode+inline mode

2015-01-07 Thread Pascal BASTIEN
Hello, Is it possible to include a link to a page in edit mode WITH inline editor rather than view mode without using the full URL? I applied this answer XWiki- Users - Link to page in edit mode without using full url? but unfortunaly it doesn't work for inline editor

[xwiki-users] ajax example

2015-03-20 Thread Pascal BASTIEN
Hello, Here, I provided an simple Ajax example to use in xwiki application: http://extensions.xwiki.org/xwiki/bin/view/Extension/AJAX+example#Attachments This mail on this list to validate that what I wrote is the best way (like suggest Vincent) Thxs. Pascal BASTIEN

Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-09 Thread Pascal BASTIEN
Appli: how can I remove bold in view mode? À: Pascal BASTIEN pbasnews-xw...@yahoo.fr, XWiki Users users@xwiki.org Date: Samedi 7 mars 2015, 21h08 Hi, You have probably entered the bold styling by mistake. Have a look at the stored content of that property ($doc.getValue($fieldName)) and you

[xwiki-users] Xwiki Appli: how can I remove bold in view mode?

2015-03-06 Thread Pascal BASTIEN
Hello, In my XWiki application, I have a Sheet + Class with a property with textArea/wysiwyg type. I use public String display(String fieldname, String mode) http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/com/xpn/xwiki/api/Document.html#display%28java.lang.String,%20java.lang.String%29

[xwiki-users] Fw : Re: ajax example

2015-03-24 Thread Pascal BASTIEN
. var params = {   'xpage': 'plain',   'outputSyntax': 'plain' }; $.get(url, params, function(data) {   ... }); Yes thxs you = I uploaded/update my page (The worst is that I hate JS) :-) Pascal B Hope this helps, Marius On Fri, Mar 20, 2015 at 8:26 PM, Pascal BASTIEN

Re: [xwiki-users] Fw : Re: Fight with ActivityStreamPluginApi

2015-03-25 Thread Pascal BASTIEN
 : Mar 24.3.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : Objet: [xwiki-users] Fw : Re: Fight with ActivityStreamPluginApi À: XWiki Users users@xwiki.org, Thomas Mortagne thomas.morta...@xwiki.com Date: Mardi 24 mars 2015, 19h09 Do you mean $xwiki.activitystream. API is broken

Re: [xwiki-users] [ANN] CKEditor Integration in XWiki

2015-03-26 Thread Pascal BASTIEN
Hello, Thanks you for your great extension. I found a tiny bug with copy/paste from LibreOffice Writer: - I copy/paste some Bold text in CKeditor - I switch with button Source (HTML code blinking a brief instant) or I Save and view - this code are displayed in view mode /**/p { margin-bottom:

Re: [xwiki-users] [ANN] CKEditor Integration in XWiki

2015-03-26 Thread Pascal BASTIEN
Done! :-) Your extension is a big improvement (especially for table) En date de : Jeu 26.3.15, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com a écrit : Objet: Re: [xwiki-users] [ANN] CKEditor Integration in XWiki À: Pascal BASTIEN pbasnews

[xwiki-users] livetable with multiple class?

2015-03-27 Thread Pascal BASTIEN
with my 2 Class. To provide JSON source of LiveTable, I must displayed all my column. Can I do it with query in one (or two) shots or I must use a foreach loop to rendering my JSON data? Thxs En date de : Mer 25.2.15, Pascal BASTIEN pbasnews-xw

[xwiki-users] Fw : Which Separator in properties name I can use?

2015-03-03 Thread Pascal BASTIEN
Unfortunaly in my application I use same prefixe in my properties name (_) to add some dynamic bootstrap tab (and another things)! An example: CodeH_Deb_P1 or P1_EaAutrDO_Cond_Invisi I suppose _ is hardecoded in xwiki, then I must replace all my _ character in my properties name and Sheets

[xwiki-users] Fw : Re: Which Separator in properties name I can use?

2015-03-04 Thread Pascal BASTIEN
By the way: I didn't manage to make this example work with this code on xwiki 6.4+Expense Report Application: http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchForAWM What exactly didn't work. It works for me. I made some small changes to make it more clear.

Re: [xwiki-users] cell borders in tables

2015-02-28 Thread Pascal BASTIEN
Hello, If you want table like old Colibri skin (with cell borders) you must add a StyleSheetExtension object with this and applied it on current wiki: /* Modif CSS de flamingo - ver 1.1 - 23/05/2014 */ th { background-color: #F3F3F3; font-weight: 700; } .main th, .main td, .wiki-table

[xwiki-users] Which Separator in properties name I can use?

2015-03-03 Thread Pascal BASTIEN
Hello, I'm writing an xwiki application and I start fighting with solr search. On http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API#HCustomSearchParameters I read The list of typed (non-string) dynamic fields that will be expanded in the search query. The names of

[xwiki-users] livetable with multiple class?

2015-02-25 Thread Pascal BASTIEN
Hello, Livetable is somehow magic but ... (there are always a 'but') is it possible to use multiple Class? I read XWiki.LiveTableResultsMacros #macro(gridresultwithfilter_buildQuery $className ... #set($class = $xwiki.getDocument($className).getxWikiClass()) = livetable use getxWikiClass method

[xwiki-users] Fw : livetable with multiple class?

2015-03-27 Thread Pascal BASTIEN
--- En date de : Ven 27.3.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : De: Pascal BASTIEN pbasnews-xw...@yahoo.fr Objet: [xwiki-users] livetable with multiple class? À: XWiki Users users@xwiki.org Date: Vendredi 27 mars 2015, 14h19 If I understand documentation, to use Livetable

[xwiki-users] Fight with ActivityStreamPluginApi

2015-03-24 Thread Pascal BASTIEN
Hello, A user want to rename lot of page in Xwiki and I don't want this op displayed on WebHome Activity Stream. Then, I found these API to use: http://tiny.cc/2fb0vx public void deleteActivityEvent(ActivityEvent event) Delete the passed event form the database. and http://tiny.cc/gkb0vx

[xwiki-users] Fw : Re: Fight with ActivityStreamPluginApi

2015-03-24 Thread Pascal BASTIEN
Do you mean $xwiki.activitystream. API is broken? I don't remember talking about the activity stream API :) I probably because you didn't talk about it :-)) don't really know it well enough to give advices on it. Finally, I used another method who's working like I want: {{velocity}}

[xwiki-users] Fw : Fw : Re: ajax example

2015-03-24 Thread Pascal BASTIEN
, Pascal BASTIEN pbasnews-xw...@yahoo.fr wrote: Hello, Here, I provided an simple Ajax example to use in xwiki application: http://extensions.xwiki.org/xwiki/bin/view/Extension/AJAX+example#Attachments This mail on this list to validate that what I wrote is the best way (like

[xwiki-users] Need help with xwiki search engine

2015-03-26 Thread Pascal BASTIEN
Hello I created an application: - my Class EAClass contain a field DG MOA * : (P1_DgMoa: Database List) Display Type: select Sort: Id XWiki Class Name: FormSMQ.ListeDGClass Id Field Name: DGId Value Field Name: DGLib My Class (source of select list) FormSMQ.ListeDGClass have 2 fields: DG Id

Re: [xwiki-users] How to get XWiki Class Name with velocity/xwiki API ?

2015-04-03 Thread Pascal BASTIEN
Finally, I found this nice snippet: http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Static+List+Elements to obtain all values from my Database List properties. :-) En date de : Jeu 2.4.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit

Re: [xwiki-users] A way to add some tags on saved page with class

2015-04-03 Thread Pascal BASTIEN
) En date de : Jeu 2.4.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : Objet: [xwiki-users] A way to add some tags on saved page with class À: XWiki Users users@xwiki.org Date: Jeudi 2 avril 2015, 15h51 Hello, I'm looking for advice about a way to add

[xwiki-users] Fw : Re: A way to add some tags on saved page with class

2015-04-03 Thread Pascal BASTIEN
A the moment, I'm looking for another way, I read http://extensions.xwiki.org/xwiki/bin/view/Extension/WikiComponent+Module But documentation indicate: The goal is to listen ... DocumentUpdatingEvent events (note that these events are fired before the page is saved and thus our code

Re: [xwiki-users] A way to add some tags on saved page with class

2015-04-03 Thread Pascal BASTIEN
de : Ven 3.4.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : Objet: Re : [xwiki-users] A way to add some tags on saved page with class À: XWiki Users users@xwiki.org Date: Vendredi 3 avril 2015, 11h00 Finally I added some CSS Id on my inline form (in my Sheet) and getProperty value

Re: [xwiki-users] Fw : Re: Question about Page type property (and an issue) in a Class (resolved)

2015-04-21 Thread Pascal BASTIEN
FYI, feel free to correct it, modify it, addon it, laughthing about it, etc... : http://www.xwiki.org/xwiki/bin/view/FAQ/Which+variables+I+can+use+in+%22Custom+Display%22+field :-) Thxs again. Pascal B De : Pascal BASTIEN pbasnews-xw...@yahoo.fr À : Marius Dumitru Florea mariusdumitru.flo

Re: [xwiki-users] DBList and Custom Display

2015-04-22 Thread Pascal BASTIEN
Great you can test my new FAQ:  http://www.xwiki.org/xwiki/bin/view/FAQ/Which+variables+I+can+use+in+%22Custom+Display%22+field   :-) Pascal B De : Peter Huisman p.huis...@ximm.nl À : users@xwiki.org Envoyé le : Mercredi 22 avril 2015 16h01 Objet : [xwiki-users] DBList and Custom

Re: [xwiki-users] Clear them all! :p

2015-04-22 Thread Pascal BASTIEN
Hello,I'm sorry, I'm not agree with you : a powerfull system must hide the systems complexity... And it is a wiki : it's mean if there aren't enough simple documentation then anybody (high ueser AND normal people with non computer vision) must write a page to contribute and make more available

[xwiki-users] Fw : RE: Clear them all! :p

2015-04-23 Thread Pascal BASTIEN
Do not get me wrong, I love Xwiki: what I mean it is always possible to make it easyer (like distribution wizard by example). Wizard and advanced doc to goes further is perfect. :-) To answer at fisrt problem: a database dump (+ DW launched) will be enough to reinit xwiki, no? I don't know if

Re: [xwiki-users] struggling with encoding

2015-05-06 Thread Pascal BASTIEN
Helle, May I? i think it is not a xwiki problem because encoding_vowels.txt file is an attachment of a web page (it is like a file on FTP site). Xwiki ( fortunely) doesn't change attachment file content. If I download your file, file command indicate of course: UTF-8 Unicode text, with no line

[xwiki-users] Need tabs on xwiki application ?

2015-05-06 Thread Pascal BASTIEN
Hello, Feel free to comment, modify, criticize, playing with, add features, etc... http://extensions.xwiki.org/xwiki/bin/view/Extension/Application+example+to+display+data+with+bootstrap+tabs+and+tooltips Every feedback are welcome :-) Pascal BASTIEN

[xwiki-users] Question about Page type property (and an issue) in a Class

2015-04-15 Thread Pascal BASTIEN
Hello, I create MyClass/Sheet/Template and in another AnotherClass I add a Page type property with: - Display Type : select - XWiki Class Name: MyClass - Id Field Name: doc.fullName - Value Field Name : doc.name My purpose is to display a list of page (with MyClass object): this point is

[xwiki-users] Fw : Re: Question about Page type property (and an issue) in a Class

2015-04-16 Thread Pascal BASTIEN
My purpose is to display a list of page (with MyClass object): this point is working well but ... I want that the user select in my select list: one page OR nothing. The HTML select element supports either single selection (exactly one item selected) or multiple selection (0..*).

[xwiki-users] Fw : Re: Fw : Re: Question about Page type property (and an issue) in a Class

2015-04-16 Thread Pascal BASTIEN
Anyway Do you know where is source code of Page type to improve it (IMA view mode must display a link to the target)? https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/objects/classes/PageClass.java

[xwiki-users] Fw : Re: Question about Page type property (and an issue) in a Class (resolved)

2015-04-17 Thread Pascal BASTIEN
I create MyClass/Sheet/Template and in another AnotherClass I add a Page type property with: - Display Type : select - XWiki Class Name: MyClass - Id Field Name: doc.fullName - Value Field Name : doc.name My purpose is to display a list of page (with MyClass object): this point is

Re: [xwiki-users] A way to add some tags on saved page with class

2015-04-03 Thread Pascal BASTIEN
:-/) En date de : Ven 3.4.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : Objet: Re: [xwiki-users] A way to add some tags on saved page with class À: XWiki Users users@xwiki.org Date: Vendredi 3 avril 2015, 15h45 FI with JS  document.observe(xwiki:actions:save). method my

Re: [xwiki-users] A way to add some tags on saved page with class (resolved)

2015-04-06 Thread Pascal BASTIEN
          #set ($discard=$xwiki.tag.addTagToDocument($NouveauTag, $doc))             #end           #end           ## Fin à insérer             #end         ##     #set($ClassTag=$ClassName)           #end         #end De : Pascal BASTIEN pbasnews-xw...@yahoo.fr À : XWiki Users users

[xwiki-users] A way to add some tags on saved page with class

2015-04-02 Thread Pascal BASTIEN
Hello, I'm looking for advice about a way to add some tags on saved page with class. What I have: - a sheet page with an object Class ( with an object class + properties) + a template page - a velocity code in a page AddMyTag to add some tags on some page with this URL parameters:

[xwiki-users] Fw : Re: Need help with xwiki search engine

2015-04-03 Thread Pascal BASTIEN
- search page searching only Id value and not lib value (of course because it is the id value that is stored in EAClass object) i.e. I found pages, if I search 25_dgec but not if I search DGEC Yes, this is 'normal' because ATM only the raw value (id) is indexed for Database List

[xwiki-users] Fw : Re: Fw : livetable with multiple class?

2015-04-03 Thread Pascal BASTIEN
I found my query, something like this: #set($hql = select obj.name, prop.value from BaseObject obj, StringProperty prop where ( obj.className='FormSMQ.EAClass' or obj.className='FormSMQ.PiacJ2Class' ) and prop.id.id=obj.id and prop.name='TypeFiche_RO') Now I need the JSON format

[xwiki-users] Fw : Re: Content

2015-06-01 Thread Pascal BASTIEN
My problem is probably rare :p I would like to add as attachment .csr file, I mean Java certificate so... when I click I see many numbers and words. I need window with button Download. Hello, It is a not a xwiki specific problem i think. Maybe you should use one on this way:

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

2015-07-28 Thread Pascal BASTIEN
($MyArray1) $MyArray1.keySet() --- En date de : Lun 27.7.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : De: Pascal BASTIEN pbasnews-xw...@yahoo.fr Objet: Re: [xwiki-users] Need help with velocity+json À: XWiki Users users@xwiki.org, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com

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

2015-07-27 Thread Pascal BASTIEN
; alert(obj[Index2][field2]); }); }; En date de : Lun 27.7.15, Pascal BASTIEN pbasnews-xw...@yahoo.fr a écrit : Objet: Re: [xwiki-users] Need help with velocity+json À: XWiki Users users@xwiki.org, Marius Dumitru Florea mariusdumitru.flo

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

2015-07-27 Thread Pascal BASTIEN
) En date de : Lun 27.7.15, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com a écrit : Objet: Re: [xwiki-users] Need help with velocity+json À: Pascal BASTIEN pbasnews-xw...@yahoo.fr, XWiki Users users@xwiki.org Date: Lundi 27 juillet 2015, 10h47 Hi Pascal

[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)

[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 <pbasnews-xw...@yahoo.fr> a écrit : > De: Pascal BASTIEN <pbasnews-xw...@yahoo.fr> > Objet: [xwiki-users] (About XWIKI-12570:Access right doesn't work well > with subgroups) Try to remove some version from document wi

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, Pascal BA

[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

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

2015-11-03 Thread Pascal BASTIEN
ki.com> a écrit : Objet: Re: [xwiki-users] Need help to find a hql query À: "Pascal BASTIEN" <pbasnews-xw...@yahoo.fr> Date: Mardi 3 novembre 2015, 11h01 On Mon, Nov 2, 2015 at 5:15 PM, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> wrote: I didn't manage to use blog e

[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

[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

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

2015-10-07 Thread Pascal BASTIEN
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 BASTIEN <pbasnews-xw...@yahoo.fr> a écrit : Objet: [xwiki-users] Fw : Re: Fw : Re: How to add a bu

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

2015-10-06 Thread Pascal BASTIEN
* catch the > click event on the button > > * 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 > > > > Hop

[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

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

2015-09-10 Thread Pascal BASTIEN
macro. (with includeInContext it's working) --- En date de : Jeu 10.9.15, Pascal BASTIEN <pbasnews-xw...@yahoo.fr> a écrit : > De: Pascal BASTIEN <pbasnews-xw...@yahoo.fr> > Objet: [xwiki-users] Include & Co board effect > À: "XWiki Users" <users@xwiki.org&

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

2015-09-14 Thread Pascal BASTIEN
gt; for transclusions and {{display}} for inserting the result > of the execution 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" > typ

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

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

[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 <thomas.morta...@xwiki.com> a écrit : > De: Thomas Mortagne <thomas.morta...@xwiki.com> > Objet: Re: [xwiki-users] Fw : Re: Fw : Include & Co board effect > À: "Pascal BASTIEN" <pbasnews-xw...@yahoo.fr>, &q

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 <pbasnews-xw...@yahoo.fr> a

[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

[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 {

[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

[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.

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

2015-10-01 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

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

2015-10-02 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=Elements=XWiki Add this line on HTML header:

[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

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

2015-10-06 Thread Pascal BASTIEN
com> a écrit : > De: Marius Dumitru Florea <mariusdumitru.flo...@xwiki.com> > Objet: Re: [xwiki-users] Fw : Re: How to add a button with confirmation to > save my page? > À: "XWiki Users" <users@xwiki.org> > Date: Mardi 6 octobre 2015, 12h23 > On Tue, Oct 6,

[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

[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:

<    1   2   3   4   >