Re: [xwiki-users] Editing text in box in WYSIWYG mode

2017-02-01 Thread Vishal
It works perfectly. Thanx, you saved my day



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Editing-text-in-box-in-WYSIWYG-mode-tp7602588p7602633.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Failed to Save Error

2017-02-01 Thread Marius Dumitru Florea
On Wed, Feb 1, 2017 at 10:09 PM, Jesse Bright 
wrote:

> We are just http. The protocol and domain match. Here is a sample of the
> debugger text:
>
>

> Failed to open http://codewiki.info/edit/Corrections/2016/CEC+210.52(E)
> (3)?template=Corrections.2016.2016Template&parent=Corrections.2016.WebHome


The problem could be related to the short URL configuration, which seems to
be enabled. Maybe there's a bug there. Maybe you can try to see if the
problem is still present when disabling the short URLs.


>
>
> Regards,
>
> Jesse
>
> > On Feb 1, 2017, at 9:33 AM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
> >
> > On Wed, Feb 1, 2017 at 6:20 PM, Jesse Bright 
> > wrote:
> >
> >> The error occurs with both "Save & Continue" and "Save & View", though
> if
> >> I choose "Save & Continue" first it allows me to keep going after the
> error
> >> so I can then press "Save & View" without generating the error since the
> >> page now exists.
> >>
> >> I checked the dev tools and it generated two errors.
> >>
> >> 1) SCRIPT1010: Expected identifier
> >> 2) SCRIPT7002: XMLHttpRequest: Error 0x8007005, Access is denied.
> >>
> >> The first seems unrelated but the second seems to be the issue. The
> >> Microsoft docs on this error mention API JSONP vs CORS support and
> calls to
> >> the REST API but unfortunately I am reaching the limit of my current
> >> technical skills. Thanks for your help so far, do you have any guidance
> for
> >> my next step?
> >
> > Do you use HTTPS? Check if the protocol of the XMLHttpRequest matches the
> > protocol of the current page (i.e. both should be either HTTP or HTTPS).
> > You can also check the domain that appears in the URL of the
> > XMLHttpRequest. Does it match the domain from the current page URL?
> >
> >
> >>
> >> Regards,
> >>
> >> Jesse
> >>
>  On Jan 31, 2017, at 9:53 PM, Marius Dumitru Florea <
> >>> mariusdumitru.flo...@xwiki.com> wrote:
> >>>
> >>> How do you save the class? "Save and Continue" or "Save and View"? You
> >> can
> >>> check using the browser's dev tools to see if there are any JavaScript
> >>> exceptions (in the JavaScript Console) or if there is any failed (XHR)
> >> HTTP
> >>> request in the Network tab.
> >>>
> >>> On Wed, Feb 1, 2017 at 2:14 AM, Jesse Bright 
> >>> wrote:
> >>>
>  Whenever I save a new class (app?) based wiki page (blog, FAQ or
> custom
>  app) I get a red error at the bottom of the page that reads: "Failed
> to
>  save the page. Reason: Server not responding" The strange thing is the
> >> page
>  did save. Other than the error message nothing appears to be wrong.
> 
>  Any thoughts on what could be causing this or where I should begin
>  troubleshooting?
> 
> 
>  Regards,
> 
>  Jesse
> >>
> >>
> >>
>
>
>


Re: [xwiki-users] Editing text in box in WYSIWYG mode

2017-02-01 Thread Marius Dumitru Florea
On Thu, Feb 2, 2017 at 7:30 AM, Vishal  wrote:

> Thanks. It is just what I wanted
> But I also use  cssClass="SummaryBox" in Box macro for right-floating the
> SummaryBox.
> I tried using it as (% class="box" cssClass="SummaryBox" %) which seems not
> working.
> Am I missing something?
>

Yes. Check the HTML produced by the box macro when using the 'cssClass'
parameter. You'll see that it goes in the 'class' HTML attribute.

(% class="box SummaryBox" %)


>
>
>
> --
> View this message in context: http://xwiki.475771.n2.nabble.
> com/Editing-text-in-box-in-WYSIWYG-mode-tp7602588p7602630.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>


Re: [xwiki-users] Editing text in box in WYSIWYG mode

2017-02-01 Thread Vishal
Thanks. It is just what I wanted
But I also use  cssClass="SummaryBox" in Box macro for right-floating the
SummaryBox. 
I tried using it as (% class="box" cssClass="SummaryBox" %) which seems not
working.
Am I missing something?



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Editing-text-in-box-in-WYSIWYG-mode-tp7602588p7602630.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Failed to Save Error

2017-02-01 Thread Vishal
I too get this error when I create a new page and try to save it. I am
currently using 8.4 but had the same issue in last version also. What I do
then is, "Save and Continue", which is followed by error. Then "Save and
View".



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Failed-to-Save-Error-tp7602617p7602629.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Re: [xwiki-users] Failed to Save Error

2017-02-01 Thread Jesse Bright
We are just http. The protocol and domain match. Here is a sample of the 
debugger text:

Failed to open 
http://codewiki.info/edit/Corrections/2016/CEC+210.52(E)(3)?template=Corrections.2016.2016Template&parent=Corrections.2016.WebHome

Regards,

Jesse

> On Feb 1, 2017, at 9:33 AM, Marius Dumitru Florea 
>  wrote:
> 
> On Wed, Feb 1, 2017 at 6:20 PM, Jesse Bright 
> wrote:
> 
>> The error occurs with both "Save & Continue" and "Save & View", though if
>> I choose "Save & Continue" first it allows me to keep going after the error
>> so I can then press "Save & View" without generating the error since the
>> page now exists.
>> 
>> I checked the dev tools and it generated two errors.
>> 
>> 1) SCRIPT1010: Expected identifier
>> 2) SCRIPT7002: XMLHttpRequest: Error 0x8007005, Access is denied.
>> 
>> The first seems unrelated but the second seems to be the issue. The
>> Microsoft docs on this error mention API JSONP vs CORS support and calls to
>> the REST API but unfortunately I am reaching the limit of my current
>> technical skills. Thanks for your help so far, do you have any guidance for
>> my next step?
> 
> Do you use HTTPS? Check if the protocol of the XMLHttpRequest matches the
> protocol of the current page (i.e. both should be either HTTP or HTTPS).
> You can also check the domain that appears in the URL of the
> XMLHttpRequest. Does it match the domain from the current page URL?
> 
> 
>> 
>> Regards,
>> 
>> Jesse
>> 
 On Jan 31, 2017, at 9:53 PM, Marius Dumitru Florea <
>>> mariusdumitru.flo...@xwiki.com> wrote:
>>> 
>>> How do you save the class? "Save and Continue" or "Save and View"? You
>> can
>>> check using the browser's dev tools to see if there are any JavaScript
>>> exceptions (in the JavaScript Console) or if there is any failed (XHR)
>> HTTP
>>> request in the Network tab.
>>> 
>>> On Wed, Feb 1, 2017 at 2:14 AM, Jesse Bright 
>>> wrote:
>>> 
 Whenever I save a new class (app?) based wiki page (blog, FAQ or custom
 app) I get a red error at the bottom of the page that reads: "Failed to
 save the page. Reason: Server not responding" The strange thing is the
>> page
 did save. Other than the error message nothing appears to be wrong.
 
 Any thoughts on what could be causing this or where I should begin
 troubleshooting?
 
 
 Regards,
 
 Jesse
>> 
>> 
>> 




Re: [xwiki-users] Failed to Save Error

2017-02-01 Thread Marius Dumitru Florea
On Wed, Feb 1, 2017 at 6:20 PM, Jesse Bright 
wrote:

> The error occurs with both "Save & Continue" and "Save & View", though if
> I choose "Save & Continue" first it allows me to keep going after the error
> so I can then press "Save & View" without generating the error since the
> page now exists.
>
> I checked the dev tools and it generated two errors.
>
> 1) SCRIPT1010: Expected identifier
> 2) SCRIPT7002: XMLHttpRequest: Error 0x8007005, Access is denied.
>
> The first seems unrelated but the second seems to be the issue. The
> Microsoft docs on this error mention API JSONP vs CORS support and calls to
> the REST API but unfortunately I am reaching the limit of my current
> technical skills. Thanks for your help so far, do you have any guidance for
> my next step?
>

Do you use HTTPS? Check if the protocol of the XMLHttpRequest matches the
protocol of the current page (i.e. both should be either HTTP or HTTPS).
You can also check the domain that appears in the URL of the
XMLHttpRequest. Does it match the domain from the current page URL?


>
> Regards,
>
> Jesse
>
> > On Jan 31, 2017, at 9:53 PM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
> >
> > How do you save the class? "Save and Continue" or "Save and View"? You
> can
> > check using the browser's dev tools to see if there are any JavaScript
> > exceptions (in the JavaScript Console) or if there is any failed (XHR)
> HTTP
> > request in the Network tab.
> >
> > On Wed, Feb 1, 2017 at 2:14 AM, Jesse Bright 
> > wrote:
> >
> >> Whenever I save a new class (app?) based wiki page (blog, FAQ or custom
> >> app) I get a red error at the bottom of the page that reads: "Failed to
> >> save the page. Reason: Server not responding" The strange thing is the
> page
> >> did save. Other than the error message nothing appears to be wrong.
> >>
> >> Any thoughts on what could be causing this or where I should begin
> >> troubleshooting?
> >>
> >>
> >> Regards,
> >>
> >> Jesse
> >>
> >>
>
>
>


Re: [xwiki-users] Failed to Save Error

2017-02-01 Thread Jesse Bright
The error occurs with both "Save & Continue" and "Save & View", though if I 
choose "Save & Continue" first it allows me to keep going after the error so I 
can then press "Save & View" without generating the error since the page now 
exists.

I checked the dev tools and it generated two errors. 

1) SCRIPT1010: Expected identifier
2) SCRIPT7002: XMLHttpRequest: Error 0x8007005, Access is denied. 

The first seems unrelated but the second seems to be the issue. The Microsoft 
docs on this error mention API JSONP vs CORS support and calls to the REST API 
but unfortunately I am reaching the limit of my current technical skills. 
Thanks for your help so far, do you have any guidance for my next step?

Regards,

Jesse

> On Jan 31, 2017, at 9:53 PM, Marius Dumitru Florea 
>  wrote:
> 
> How do you save the class? "Save and Continue" or "Save and View"? You can
> check using the browser's dev tools to see if there are any JavaScript
> exceptions (in the JavaScript Console) or if there is any failed (XHR) HTTP
> request in the Network tab.
> 
> On Wed, Feb 1, 2017 at 2:14 AM, Jesse Bright 
> wrote:
> 
>> Whenever I save a new class (app?) based wiki page (blog, FAQ or custom
>> app) I get a red error at the bottom of the page that reads: "Failed to
>> save the page. Reason: Server not responding" The strange thing is the page
>> did save. Other than the error message nothing appears to be wrong.
>> 
>> Any thoughts on what could be causing this or where I should begin
>> troubleshooting?
>> 
>> 
>> Regards,
>> 
>> Jesse
>> 
>> 




[xwiki-users] timeout in job scheduler?

2017-02-01 Thread Pascal BASTIEN
Hello,

I created a job scheduled in scheduler, but sometime my job seem to be failed 
sometime.

In my groovy job I add some logging system: some text sent to a xwiki page+save 
but didn't find interesting things.
Of course I have some loops (I things) in my script (to list groups member):
Members = 
xwiki.rightsmanager.getAllMembersNamesForGroup("${GroupName}") //extrait les 
users du groupe
Members.each {
MyMember = xwiki.getDocument(it)

I wonder, Is there a timeout associated to the script that runs and is there 
feedback in the event of an error (or a way to activate logs for job scheduled)?

Thxs

Pascal BASTIEN


Re: [xwiki-users] Potential bug in Ubuntu dist of 9.0

2017-02-01 Thread Thomas Mortagne
Yes you are right, it's a typo.

Thanks for the report.

On Tue, Jan 31, 2017 at 11:57 PM, Craig Wright  wrote:
> Noticed this in xwiki.cfg, diff between 8.4.4 and 9.0:
>
> 102c105
> < # xwiki.store.migration.manager.hint=hibernate
> ---
>> # xwiki.store.migration.manager.hint=hibernatehibernate
>
> I am going to assume hibertnatehibernate is not the correct value there. :)
>
> Let me know if you want a bug filed.
>
> Thanks,
> Craig



-- 
Thomas Mortagne


[xwiki-users] hardware for a fast xwiki 8.4

2017-02-01 Thread Pascal BASTIEN
Hello,

We must change our server to use xwiki. Do you have simple recommandations 
about requirement ( CPU, specialy RAM because server provided is a VM, ...)  to 
have for a fast xwiki?

On this server I will install:
- debian stable Jessie
- Tomcat 8.5.5 version probably
- postgreSQL server
- xwiki attachment stored in the filesystem
- solr server embedded probably

Thxs.

Of course I will recheck
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationTomcat
and http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances

Thxs.

Pascal B



Re: [xwiki-users] [xwiki-devs] [ANN] XWiki 9.0 released

2017-02-01 Thread Marius Dumitru Florea
On Tue, Jan 31, 2017 at 8:38 PM, Eduard Moraru  wrote:

> The XWiki development team is proud to announce the availability of XWiki
> 9.0.
>
> This release marks the start of the 9.x cycle and features mostly developer
> and admin feature improvements. The most notable ones are the improved
> handling of big attachments, filesystem Recycle Bin



> and CK Editor improvements.
>

Regarding the CKEditor, unfortunately I did a mistake and forgot to merge
on the 9.0 branch the commit that increments the version of the CKEditor
Integration extension so XWiki 9.0 is still using the 1.10 version by
default. Fortunately though, you can now upgrade this extension separately
through the Extension Manager (see http://jira.xwiki.org/browse/XE-1570),
which I advise you to do.

Sorry for the inconvenience,
Marius


> You can download it here: http://www.xwiki.org/xwiki/
> bin/view/Main/Download
>
> Make sure to review the release notes:
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/9.0
>
> Thanks for your support
> -The XWiki dev team
>