[xwiki-users] MultiPage Export to pdf

2017-02-15 Thread Timo Dachs-Wegmann
Hello,

I'm trying to use the Multipage Export Application 
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Export+Application).
 I've tried to install it as the readme.txt supposes but as on the webpage 
described its latest version is validated for xwiki 3.1 to 4.1.
I updated to 9.0 lately... 

I guess that’s the problem?! But can you see a possibility to make it work 
under the new version? 

Thank you in advance!

Kind regards,

Timo Dachs-Wegmann
-IT-





Re: [xwiki-users] CKEditor for Inline Mode

2017-02-15 Thread Jesse
I looked at the browser dev tools when in edit mode I get the following error:

SyntaxError (DOM Exception 12): The string did not match the expected pattern.

The error details reference line 2914 in the ‘creditor.js’ file:

2912   findOne: function(a) {
2913  var c = e(this);
2914  a = this.$.querySelector(b(this, a));
2915  c();
2916  return a ? new CKEDITOR.dom.element(a) : null
2917   },

Hopefully this is helpful information. If there is a better information I can 
provide please let me know and I will do my best.

Regards,

Jesse


> On Feb 15, 2017, at 9:40 AM, Jesse Bright  wrote:
> 
> It appears I misspoke earlier. I was so focused on the content box that I 
> didn't notice that the CKEditor boxes for the class properties were blank and 
> not selectable. I tested this issue in multiple browsers and it affects 
> Internet Explorer and Safari but works as expected in Chrome. Is this a bug 
> or have I misconfigured something?
> 
> Regards,
> 
> Jesse
> 
>> On Feb 13, 2017, at 4:39 AM, Marius Dumitru Florea 
>>  wrote:
>> 
>> Hi Jesse,
>> 
>> On Fri, Feb 10, 2017 at 7:21 PM, je...@abrightfamily.com <
>> je...@abrightfamily.com> wrote:
>> 
>>> I am combining structured and unstructured data on a single edit sheet.
>>> The editing mode is accessed by the user from a standard LiveTable actions
>>> button. The unstructured data is the page content which is included in the
>>> edit sheet using:
>>> 
>>> {{html}}$xwiki.getTextArea($tdoc.content){{/html}}
>>> 
>>> Which I got from this post: http://xwiki.475771.n2.nabble.
>>> com/Default-editing-mode-for-page-with-object-sheet-
>>> td7582541.html#a7582544 >> nabble.com/Default-editing-mode-for-page-with-object-
>>> sheet-td7582541.html#a7582544>
>>> 
>>> This all works well enough except that the class properties use CKEditor
>>> but the textarea uses the wiki editor. I want the users to enter the
>>> unstructured data using the familiar CKEditor interface and tools. How can
>>> I get both the unstructured and structured data to use the same editor?
>>> 
>> 
>> There's more information in that post, after the code you pasted: "For a
>> more advanced display see ...' followed by a link. So checkout
>> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/Content.xml#L69
>> .
>> 
>> Hope this helps,
>> Marius
>> 
>> 
>>> 
>>> Regards,
>>> 
>>> Jesse
>>> 
>>> 
>>> 
> 
> 




Re: [xwiki-users] CKEditor for Inline Mode

2017-02-15 Thread Jesse Bright
It appears I misspoke earlier. I was so focused on the content box that I 
didn't notice that the CKEditor boxes for the class properties were blank and 
not selectable. I tested this issue in multiple browsers and it affects 
Internet Explorer and Safari but works as expected in Chrome. Is this a bug or 
have I misconfigured something?

Regards,

Jesse

> On Feb 13, 2017, at 4:39 AM, Marius Dumitru Florea 
>  wrote:
> 
> Hi Jesse,
> 
> On Fri, Feb 10, 2017 at 7:21 PM, je...@abrightfamily.com <
> je...@abrightfamily.com> wrote:
> 
>> I am combining structured and unstructured data on a single edit sheet.
>> The editing mode is accessed by the user from a standard LiveTable actions
>> button. The unstructured data is the page content which is included in the
>> edit sheet using:
>> 
>> {{html}}$xwiki.getTextArea($tdoc.content){{/html}}
>> 
>> Which I got from this post: http://xwiki.475771.n2.nabble.
>> com/Default-editing-mode-for-page-with-object-sheet-
>> td7582541.html#a7582544 > nabble.com/Default-editing-mode-for-page-with-object-
>> sheet-td7582541.html#a7582544>
>> 
>> This all works well enough except that the class properties use CKEditor
>> but the textarea uses the wiki editor. I want the users to enter the
>> unstructured data using the familiar CKEditor interface and tools. How can
>> I get both the unstructured and structured data to use the same editor?
>> 
> 
> There's more information in that post, after the code you pasted: "For a
> more advanced display see ...' followed by a link. So checkout
> https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-appwithinminutes/xwiki-platform-appwithinminutes-ui/src/main/resources/AppWithinMinutes/Content.xml#L69
> .
> 
> Hope this helps,
> Marius
> 
> 
>> 
>> Regards,
>> 
>> Jesse
>> 
>> 
>> 




Re: [xwiki-users] Sign in xwiki with LDAP login without entering login and password

2017-02-15 Thread Thomas Mortagne
This is usually called "Single Sign On (SSO)" and the use case you
describe require something in front of XWiki to take care of the
actual authentication. For example http://dblock.github.io/waffle/
automate the authentication in a MS Windows domain.

Then on XWiki side you can use a "trusted" authenticator which will
receive a REMOTE_USER (usually contains user domain and id) set by
Waffle and use it to synchronize user informations. See property
"xwiki.authentication.ldap.remoteUserParser" and following in
http://extensions.xwiki.org/xwiki/bin/view/Extension/LDAP/Authenticator/.

On Wed, Feb 15, 2017 at 11:36 AM, aleksey-s  wrote:
> Hi,
>
> I do not know how it to properly called, but it is possible to use
> pass-through authentication in xwiki with LDAP login ?
>
> For example, I authorized in active directory when I login in my pc, but I
> don't want enter login and password second time when I enter in xwiki.
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/Sign-in-xwiki-with-LDAP-login-without-entering-login-and-password-tp7602777.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.



-- 
Thomas Mortagne


[xwiki-users] Sign in xwiki with LDAP login without entering login and password

2017-02-15 Thread aleksey-s
Hi,

I do not know how it to properly called, but it is possible to use
pass-through authentication in xwiki with LDAP login ?

For example, I authorized in active directory when I login in my pc, but I
don't want enter login and password second time when I enter in xwiki. 



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Sign-in-xwiki-with-LDAP-login-without-entering-login-and-password-tp7602777.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


[xwiki-users] Groovy equivalents to Velocity examples

2017-02-15 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi! After many years surviving with Velocity scripts, it is time to enjoy
Groovy's magic! :-)

Both XWiki sites and the web, in general, are crowded with sites/pages with
plenty of Groovy tutorials and manuals, but it would be great to have some
simple examples to helping understand the similarities and differences
between Velocity and Groovy.

Please, is there any XWiki resource explaining, for instance, how to
achieve the same results shown in these sections by using Groovy?

http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage

http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfromanypageandloopoverallobjectsofsameClass

Thanks for your help!

Ricardo
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es