[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://davidstutz.github.io/bootstrap-multiselect/#further-examples
but I have difficult to make it work (probably because prototype vs jquery).

I can add some option in my list (I modify ./skins/flamingo/macros.vm) but I 
didn't manage to display my multiselect list.

Do you have a js recommanded framework to use a multiselect list? It seem 
bootstrap don't have this kind of list.

Thxs.


Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-27 Thread Daniel Ullfig

:)


-Original Message- 
From: Vincent Massol

Sent: Friday, May 27, 2016 8:54 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript



On 27 May 2016, at 17:52, Daniel Ullfig  wrote:

great! every time I scratch the surface of XWiki, there's more surface to 
scratch! this really is a great product.


Congrat Dan, you’re now on the XWiki testimonial page:
https://www.xwiki.org/xwiki/bin/view/References/Testimonials

:)

Thanks
-Vincent


Dan

-Original Message- From: Vincent Massol
Sent: Friday, May 27, 2016 12:04 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript

Hi,


On 27 May 2016, at 07:01, Daniel Ullfig  wrote:

I was looking around XWiki, and there does not seem to be a Class Page 
for the class JavaScriptExtensionClass, even though it is a class, and 
there are Class Documents for a whole bunch of other xwiki classes. This 
kinda breaks the paradigm, doesn't it?


It would if it were true! :)

The class is defined on this page: XWiki.JavaScriptExtension

Thanks
-Vincent

It should at least be some kind of read-only page. Because then it would 
be real simple to add a custom editor for javascript, by changing the 
ClassSheet attached to the JavaScriptExtensionClass page. Just an idea.


Dan

-Original Message- From: Daniel Ullfig
Sent: Thursday, May 26, 2016 8:57 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript

Thanks for the tip! I was in the middle of embedding Ace Editor in a 
page.

Got it to work. displays javascript beautifully. But now I would have to
work on integrating Rest calls, so that Ace can save the scripts back to 
the

page.

Isn't there a way of overriding the Object Editor, so that when it sees 
that
you are opening a JavaScriptExtension, it uses Ace instead of the plain 
text

field?

Dan

PS.: there's so many questions I  have about xwiki! It's a treasure trove 
of

functionality, but there's a vast amount of info to wade through. Like, I
don't quite understand the instructions on how to add a webjar to xwiki. 
Not

every xwiki user is a seasoned web developer ;-)


-Original Message- From: Marius Dumitru Florea
Sent: Thursday, May 26, 2016 1:35 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript

On Wed, May 25, 2016 at 8:05 PM, dullfig  wrote:


Hello:

I was wondering if anyone else has done this. My application is starting 
to

need a whole bunch of javascript, and I was thinking of setting up a
separate space (maybe call it js) where there is nothing but pages with
javascript objects attached.





That way I could set up a ClassSheet for that
space,



ClassSheets, as their name suggests, are bound to a class not to a space.
So you don't have to move the pages with JSX objects in a separate space.
You can create a new class, with a sheet that embeds ACE, and add an 
object
of this class to all the pages you want to edit with ACE. But even this 
is

not needed as there are already some extensions available that provide
syntax highlighting, if that's what you are looking for.

Hope this helps,
Marius



whith an embedded javascript editor (ace editor) to make editing the
javascript easier.

Dan.



--
View this message in context:
http://xwiki.475771.n2.nabble.com/Setup-a-sepparate-space-for-javascript-tp7599647.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users 



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-27 Thread Vincent Massol

> On 27 May 2016, at 17:52, Daniel Ullfig  wrote:
> 
> great! every time I scratch the surface of XWiki, there's more surface to 
> scratch! this really is a great product.

Congrat Dan, you’re now on the XWiki testimonial page: 
https://www.xwiki.org/xwiki/bin/view/References/Testimonials

:)

Thanks
-Vincent

> Dan
> 
> -Original Message- From: Vincent Massol
> Sent: Friday, May 27, 2016 12:04 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Setup a sepparate space for javascript
> 
> Hi,
> 
>> On 27 May 2016, at 07:01, Daniel Ullfig  wrote:
>> 
>> I was looking around XWiki, and there does not seem to be a Class Page for 
>> the class JavaScriptExtensionClass, even though it is a class, and there are 
>> Class Documents for a whole bunch of other xwiki classes. This kinda breaks 
>> the paradigm, doesn't it?
> 
> It would if it were true! :)
> 
> The class is defined on this page: XWiki.JavaScriptExtension
> 
> Thanks
> -Vincent
> 
>> It should at least be some kind of read-only page. Because then it would be 
>> real simple to add a custom editor for javascript, by changing the 
>> ClassSheet attached to the JavaScriptExtensionClass page. Just an idea.
>> 
>> Dan
>> 
>> -Original Message- From: Daniel Ullfig
>> Sent: Thursday, May 26, 2016 8:57 AM
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Setup a sepparate space for javascript
>> 
>> Thanks for the tip! I was in the middle of embedding Ace Editor in a page.
>> Got it to work. displays javascript beautifully. But now I would have to
>> work on integrating Rest calls, so that Ace can save the scripts back to the
>> page.
>> 
>> Isn't there a way of overriding the Object Editor, so that when it sees that
>> you are opening a JavaScriptExtension, it uses Ace instead of the plain text
>> field?
>> 
>> Dan
>> 
>> PS.: there's so many questions I  have about xwiki! It's a treasure trove of
>> functionality, but there's a vast amount of info to wade through. Like, I
>> don't quite understand the instructions on how to add a webjar to xwiki. Not
>> every xwiki user is a seasoned web developer ;-)
>> 
>> 
>> -Original Message- From: Marius Dumitru Florea
>> Sent: Thursday, May 26, 2016 1:35 AM
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Setup a sepparate space for javascript
>> 
>> On Wed, May 25, 2016 at 8:05 PM, dullfig  wrote:
>> 
>>> Hello:
>>> 
>>> I was wondering if anyone else has done this. My application is starting to
>>> need a whole bunch of javascript, and I was thinking of setting up a
>>> separate space (maybe call it js) where there is nothing but pages with
>>> javascript objects attached.
>>> 
>> 
>> 
>>> That way I could set up a ClassSheet for that
>>> space,
>> 
>> 
>> ClassSheets, as their name suggests, are bound to a class not to a space.
>> So you don't have to move the pages with JSX objects in a separate space.
>> You can create a new class, with a sheet that embeds ACE, and add an object
>> of this class to all the pages you want to edit with ACE. But even this is
>> not needed as there are already some extensions available that provide
>> syntax highlighting, if that's what you are looking for.
>> 
>> Hope this helps,
>> Marius
>> 
>> 
>>> whith an embedded javascript editor (ace editor) to make editing the
>>> javascript easier.
>>> 
>>> Dan.
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>>> http://xwiki.475771.n2.nabble.com/Setup-a-sepparate-space-for-javascript-tp7599647.html
>>> Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-27 Thread Daniel Ullfig
great! every time I scratch the surface of XWiki, there's more surface to 
scratch! this really is a great product.


Dan

-Original Message- 
From: Vincent Massol

Sent: Friday, May 27, 2016 12:04 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript

Hi,


On 27 May 2016, at 07:01, Daniel Ullfig  wrote:

I was looking around XWiki, and there does not seem to be a Class Page for 
the class JavaScriptExtensionClass, even though it is a class, and there 
are Class Documents for a whole bunch of other xwiki classes. This kinda 
breaks the paradigm, doesn't it?


It would if it were true! :)

The class is defined on this page: XWiki.JavaScriptExtension

Thanks
-Vincent

It should at least be some kind of read-only page. Because then it would 
be real simple to add a custom editor for javascript, by changing the 
ClassSheet attached to the JavaScriptExtensionClass page. Just an idea.


Dan

-Original Message- From: Daniel Ullfig
Sent: Thursday, May 26, 2016 8:57 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript

Thanks for the tip! I was in the middle of embedding Ace Editor in a page.
Got it to work. displays javascript beautifully. But now I would have to
work on integrating Rest calls, so that Ace can save the scripts back to 
the

page.

Isn't there a way of overriding the Object Editor, so that when it sees 
that
you are opening a JavaScriptExtension, it uses Ace instead of the plain 
text

field?

Dan

PS.: there's so many questions I  have about xwiki! It's a treasure trove 
of

functionality, but there's a vast amount of info to wade through. Like, I
don't quite understand the instructions on how to add a webjar to xwiki. 
Not

every xwiki user is a seasoned web developer ;-)


-Original Message- From: Marius Dumitru Florea
Sent: Thursday, May 26, 2016 1:35 AM
To: XWiki Users
Subject: Re: [xwiki-users] Setup a sepparate space for javascript

On Wed, May 25, 2016 at 8:05 PM, dullfig  wrote:


Hello:

I was wondering if anyone else has done this. My application is starting 
to

need a whole bunch of javascript, and I was thinking of setting up a
separate space (maybe call it js) where there is nothing but pages with
javascript objects attached.





That way I could set up a ClassSheet for that
space,



ClassSheets, as their name suggests, are bound to a class not to a space.
So you don't have to move the pages with JSX objects in a separate space.
You can create a new class, with a sheet that embeds ACE, and add an 
object

of this class to all the pages you want to edit with ACE. But even this is
not needed as there are already some extensions available that provide
syntax highlighting, if that's what you are looking for.

Hope this helps,
Marius



whith an embedded javascript editor (ace editor) to make editing the
javascript easier.

Dan.



--
View this message in context:
http://xwiki.475771.n2.nabble.com/Setup-a-sepparate-space-for-javascript-tp7599647.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users 



___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] REST API ignores type parameter

2016-05-27 Thread Mark Sack
For some reason, I can't get the select query to work as HQL either. I picked
a simple query (as a test) from 
http://platform.xwiki.org/xwiki/bin/view/DevGuide/velocityHqlExamples
and confirmed that it works in a velocity script in a test page.

But when I try to use the same query in the rest interface, the response is
as follows:

Not Found

The server has not found anything matching the request URI

You can get technical details here.
Please continue your visit at our home page. 

The rest url I used is as follows:

../rest/wikis/xwiki/query=q?select+obj.name+from+BaseObject+obj+where+obj.className%3D%27XWiki.XWikiUsers%27&type=hql

Regards
Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-tp7599586p7599695.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] REST API ignores type parameter

2016-05-27 Thread Mark Sack
Created http://jira.xwiki.org/browse/XWIKI-13458
Please check that I got all of the parameters right.

Thanks for your help.

Mark Sack



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/REST-API-ignores-type-parameter-tp7599586p7599692.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] xWiki 8.1 ignoring custom skin

2016-05-27 Thread Mahomed Hussein
Hi

Sorry to bump this up. I'm really stuck with this skin issue and would really 
appreciate any pointers/help.

Sadly there are some people who feel that not having the logo is the end of the 
world :-)

But more importantly, I do need some of the modifications/restrictions I've put 
in with the .vm files.


Kind regards,



Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Mahomed Hussein
Sent: 26 May 2016 15:19
To: XWiki Users 
Subject: Re: [xwiki-users] xWiki 8.1 ignoring custom skin

I'm afraid that makes no difference.

Would it be worth deleting and recreating a new skin?

I have noticed that the "home" icon as well as other icons in the applications 
panel have changed from the font-awesome type to colourful type icons. But I 
still don't have the logo or any of the modifications from the attached .vm 
files.

I have downloaded the .vm files and I don't mind editing them again based on 
the latest files. I just need to know how to create a new skin that I can 
customise and be sure it'll work going forward.

Please could you help me with specific instructions on how to do this if it's 
possible? Thanks.


Kind regards,



Mahomed Hussein
Custodian Data Centre
Email: maho...@custodiandc.com
http://www.CustodianDC.com

-Original Message-
From: users [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol
Sent: 26 May 2016 14:14
To: XWiki Users 
Subject: Re: [xwiki-users] xWiki 8.1 ignoring custom skin


> On 26 May 2016, at 15:08, Mahomed Hussein  wrote:
>
> Hi Thomas
>
> Thanks for responding.
>
> The skin is called "CDCSkin". Which is sometimes shown as "Main.CDCSkin".
>
> The URL for it is:
>
> http://xwiki.local:8080/xwiki/bin/view/Main/CDCSkin
>
> The title of the page is simply "Skin" and the breadcrumbs shows "Home > Skin"
>
> I have tried the following URLS and none work:
>
> http://xwiki.local:8080/xwiki/bin/view/Main/?skin=CDCSkin
> http://xwiki.local:8080/xwiki/bin/view/Main/?skin=Main.CDCSkin
> http://xwiki.local:8080/xwiki/bin/view/Main/?skin=Skin

Could it be that your skin  page is a nested page?

Try http://xwiki.local:8080/xwiki/bin/view/Main/?skin=Main.CDCSkin.WebHome

Thanks
-Vincent

> I have also checked in /usr/lib/xwiki/skins and the only directory in there 
> is "flamingo". Though I am pretty sure at some point it was changed so that 
> you didn't have to duplicate the folder, just had to create a "skin" document 
> (not sure document is the right word, but hopefully you know what I mean).
>
> I've tried a search for "CDCSkin" on the server and it doesn't appear to 
> exist on the filesystem.
>
> Please let me know if you need any other info and thanks again for your help.
>
>
>
> Kind regards,
>
>
>
>
> Mahomed Hussein
> Custodian Data Centre
> Email: maho...@custodiandc.com
> http://www.CustodianDC.com
>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas
> Mortagne
> Sent: 26 May 2016 13:44
> To: XWiki Users 
> Subject: Re: [xwiki-users] xWiki 8.1 ignoring custom skin
>
> The only thing that changed I can think of is that there is a default base 
> skin now in xwiki.cfg. Skin that were not indicated any parent skin used to 
> inherit directly from /templates/, maybe that's you issue.
>
>
> On Thu, May 26, 2016 at 2:41 PM, Thomas Mortagne  
> wrote:
>> ?skin= should always work. What and where is your skin exactly ?
>>
>> On Thu, May 26, 2016 at 2:30 PM, Mahomed Hussein
>>  wrote:
>>> Hi
>>>
>>> It seems that 8.1 is ignoring my custom skin. I can tell because it isn’t 
>>> loading the skin or any of the overriding .vm files.
>>>
>>> Even if I use the “Test this Skin” link which specifically specifies the 
>>> ?skin=CDCSkin, it doesn’t make any difference.
>>>
>>> I have looked through:
>>> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki81
>>> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
>>> But they weren’t much help.
>>>
>>> Some screenshots:
>>> https://snag.gy/9ZKXN2.jpg
>>> https://snag.gy/oYN3F4.jpg
>>>
>>> Any help would be sincerely appreciated. Thanks.
>>>
>>>
>>> Kind regards,
>>>

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Setup a sepparate space for javascript

2016-05-27 Thread Vincent Massol
Hi,

> On 27 May 2016, at 07:01, Daniel Ullfig  wrote:
> 
> I was looking around XWiki, and there does not seem to be a Class Page for 
> the class JavaScriptExtensionClass, even though it is a class, and there are 
> Class Documents for a whole bunch of other xwiki classes. This kinda breaks 
> the paradigm, doesn't it?

It would if it were true! :)

The class is defined on this page: XWiki.JavaScriptExtension

Thanks
-Vincent

> It should at least be some kind of read-only page. Because then it would be 
> real simple to add a custom editor for javascript, by changing the ClassSheet 
> attached to the JavaScriptExtensionClass page. Just an idea.
> 
> Dan
> 
> -Original Message- From: Daniel Ullfig
> Sent: Thursday, May 26, 2016 8:57 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Setup a sepparate space for javascript
> 
> Thanks for the tip! I was in the middle of embedding Ace Editor in a page.
> Got it to work. displays javascript beautifully. But now I would have to
> work on integrating Rest calls, so that Ace can save the scripts back to the
> page.
> 
> Isn't there a way of overriding the Object Editor, so that when it sees that
> you are opening a JavaScriptExtension, it uses Ace instead of the plain text
> field?
> 
> Dan
> 
> PS.: there's so many questions I  have about xwiki! It's a treasure trove of
> functionality, but there's a vast amount of info to wade through. Like, I
> don't quite understand the instructions on how to add a webjar to xwiki. Not
> every xwiki user is a seasoned web developer ;-)
> 
> 
> -Original Message- From: Marius Dumitru Florea
> Sent: Thursday, May 26, 2016 1:35 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Setup a sepparate space for javascript
> 
> On Wed, May 25, 2016 at 8:05 PM, dullfig  wrote:
> 
>> Hello:
>> 
>> I was wondering if anyone else has done this. My application is starting to
>> need a whole bunch of javascript, and I was thinking of setting up a
>> separate space (maybe call it js) where there is nothing but pages with
>> javascript objects attached.
>> 
> 
> 
>> That way I could set up a ClassSheet for that
>> space,
> 
> 
> ClassSheets, as their name suggests, are bound to a class not to a space.
> So you don't have to move the pages with JSX objects in a separate space.
> You can create a new class, with a sheet that embeds ACE, and add an object
> of this class to all the pages you want to edit with ACE. But even this is
> not needed as there are already some extensions available that provide
> syntax highlighting, if that's what you are looking for.
> 
> Hope this helps,
> Marius
> 
> 
>> whith an embedded javascript editor (ace editor) to make editing the
>> javascript easier.
>> 
>> Dan.
>> 
>> 
>> 
>> --
>> View this message in context:
>> http://xwiki.475771.n2.nabble.com/Setup-a-sepparate-space-for-javascript-tp7599647.html
>> Sent from the XWiki- Users mailing list archive at Nabble.com.
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users 
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users