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

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 __

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-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] 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

[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

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

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] 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

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

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

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

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

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

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

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

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] 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

[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

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

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

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

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

[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

[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: http://www

[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

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] 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 t

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

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 À : users@xwiki.org Envoyé le : Mercredi 22 avril 2015 16h01 Objet : [xwiki-users] DBList and Custom Display Hi guys,

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 À : Marius Dumitru Florea Cc : XWiki Users Envoyé le

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

[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 > https://githu

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

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

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

2015-04-06 Thread Pascal BASTIEN
ouveauTag sur $doc =           ## Ajoute le nouveau Tag           #set ($discard=$xwiki.tag.addTagToDocument($NouveauTag, $doc))             #end           #end           ## Fin à insérer             #end         ##     #set($ClassTag=$ClassName)           #end         #end De :

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 a écrit : Objet: Re: [xwiki-users] A way to add some tags on saved page with class À: "XWiki Users" Date: Vendredi 3 avril 2015, 15h45 FI with JS  document.observe("xwiki:actions:save"). method my script doesn&#x

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

[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

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 a écrit : Objet: Re : [xwiki-users] A way to add some tags on saved page with class À: "XWiki Users" Date: Vendredi 3 avril 2015, 11h00 Finally I added some CSS Id on my inline form (in my Sheet) and getProperty value with

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

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

2015-04-03 Thread Pascal BASTIEN
schedule some batch to fix my tags) -------- En date de : Jeu 2.4.15, Pascal BASTIEN a écrit : Objet: [xwiki-users] A way to add some tags on saved page with class À: "XWiki Users" Date: Jeudi 2 avril 2015, 15h51 Hello, I'm looking for advic

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 a écrit : Objet: [x

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

2015-04-02 Thread Pascal BASTIEN
ossible? I didn't found documentation section. Thxs Pascal BASTIEN ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/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: $!request.Pag

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

2015-03-27 Thread Pascal BASTIEN
--- En date de : Ven 27.3.15, Pascal BASTIEN a écrit : > De: Pascal BASTIEN > Objet: [xwiki-users] livetable with multiple class? > À: "XWiki Users" > Date: Vendredi 27 mars 2015, 14h19 > If I understand documentation, to use > Livetable with multiple Class (wit

[xwiki-users] livetable with multiple class?

2015-03-27 Thread Pascal BASTIEN
) My query list all documents 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

[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 (DGI

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 a écrit : Objet: Re: [xwiki-users] [ANN] CKEditor Integration in XWiki À: "Pascal BASTIEN" , "XWiki Users"

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: 0.

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

2015-03-25 Thread Pascal BASTIEN
r 25, 2015 at 10:49 AM Subject: Re: Fw : [xwiki-users] Fw : Re: ajax example To: Pascal BASTIEN On Tue, Mar 24, 2015 at 7:34 PM, Pascal BASTIEN wrote: > >> > For step 1: Don't print >> > the JSON directly. You'll have escaping >> > issues. In

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

2015-03-25 Thread Pascal BASTIEN
- En date de : Mar 24.3.15, Pascal BASTIEN a écrit : Objet: [xwiki-users] Fw : Re: Fight with ActivityStreamPluginApi À: "XWiki Users" , "Thomas Mortagne" Date: Mardi 24 mars 2015, 19h09 > > Do yo

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

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

2015-03-24 Thread Pascal BASTIEN
Also, to avoid the need to > > URL-encode the request parameters you > > should > > pass them using an object not a string. > > > > var params = { > >   > > 'xpage': 'plain', > >   > > 'outputSyntax': 'plai

[xwiki-users] Fw : Re: ajax example

2015-03-24 Thread Pascal BASTIEN
lain', >   > '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 F

Re: [xwiki-users] Fight with ActivityStreamPluginApi

2015-03-24 Thread Pascal BASTIEN
24.3.15, Thomas Mortagne a écrit : Objet: Re: [xwiki-users] Fight with ActivityStreamPluginApi À: "Pascal BASTIEN" , "XWiki Users" Date: Mardi 24 mars 2015, 17h07 Another simpler (depending from where you stand, it's certainly cleaner at least) possibility is to make

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

[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
t: Re: [xwiki-users] Xwiki Appli: how can I remove bold in view mode? À: "Pascal BASTIEN" Cc: "XWiki Users" Date: Lundi 9 mars 2015, 14h10 Hi, Perhaps I do not understand properly your issue. Is it a rendering issue? Can you reproduce it on the page content of a document

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

2015-03-09 Thread Pascal BASTIEN
bold in view mode? À: "Pascal BASTIEN" , "XWiki Users" 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 will probably notice that th

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

[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

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

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

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 t

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

Re: [xwiki-users] Prevent delete some page

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

[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

[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 ___ user

[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 :-) ) http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide?viewer=changes&re

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 a écrit : Objet: Re: [xwiki-users] Global user and local user with Xwiki 6.4 Sub wiki + LDAP account À: "Pascal BASTIEN" , "XWiki Users&q

[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 a écrit : > De: Jeremie BOUSQUET > Objet: Re: [xwiki-users] Fw : Re: Fw : Re: Need doc about access object in a > page (and use doc) > À: "Pascal BASTIEN" , "XWiki Users" > Date: Lundi 9 février 2015, 16h36 &g

[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: Need doc about access object in a page (and use doc)

2015-02-09 Thread Pascal BASTIEN
> use doc) > À: users@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($p

[xwiki-users] 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, Clemens Klein-Robbenhaar a écrit : > De: Clemens Klein-Robbenhaar > Objet: Re: [xwiki-users] Need doc about access object in a page (and use doc) > À: users@xwiki.org > Date: Lundi 9 février 2015, 13h29 > On 02/09/2015 10:15 AM, > Pascal BASTIE

[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 #fore

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

2015-02-04 Thread Pascal BASTIEN
f the property in the class, but > >  the number of the object on the page. > >  I.e. > >  you can have > one, two, or manye objects of the same type > >  MySpace.MyClass on the same page. > > > >  A Macro where you > can see how the ID gets > >  r

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

2015-02-03 Thread Pascal BASTIEN
same type MySpace.MyClass on the same page. A Macro where you can see how the ID gets rendered is in templates/editobject.vm and/or  webapps/xwiki/skins/flamingo/editobject.vm see the #macro displayObject On 02/03/2015 10:12 AM, Pascal BASTIEN wrote: > ThxsI verified and it seem it is al

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

2015-02-03 Thread Pascal BASTIEN
;t find what is generate this _0_ (macro or java stuf) ThxsPascal B De : Marius Dumitru Florea À : Pascal BASTIEN ; XWiki Users Envoyé le : Mardi 3 février 2015 8h16 Objet : Re: [xwiki-users] Howto getprefix in a Sheet? ... > If any have an (or many) idea how I can obtain this prefix

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

2015-01-30 Thread Pascal BASTIEN
ire(['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 À : XWiki Use

<    1   2   3   4   5   >