Could importing the wiki pages from my older version of Xwiki have
overwritten wiki pages that could be causing this issue? (The previous
version was the standalone version using Jetty and HSQL). If so what wiki
pages do I need to reinstate?
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 06 January 2012 12:51
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
Sure, here you go:
----------8<----------
{{groovy}}
import com.xpn.xwiki.web.Utils;
import java.util.List;
import org.xwiki.query.Query;
import org.xwiki.query.QueryManager;
int offset = 0;
int limit = 20;
String statement = "select distinct doc.space, doc.name, doc.date from
XWikiDocument as doc where doc.author = :author order by doc.date desc,
doc.space, doc.name"; QueryManager queryManager =
Utils.getComponent(QueryManager.class);
Query query = queryManager.createQuery(statement, Query.HQL);
query.setOffset(offset).setLimit(limit);
query.bindValue("author", xcontext.getUser());
List<Object[]> results = query.execute(); for (Object[] result : results) {
println(result[0] + "." + result[1]);
}
{{/groovy}}
---------->8----------
Hope this helps,
Marius
On Fri, Jan 6, 2012 at 2:46 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> Ah my company's fire wall won't let me see
> http://pastebin.com/Yj8kQ3qU - can you directly email me a copy of
> the code to paste into my wiki page to try ..
>
> Thanks.
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of goldring, richard
> Sent: 06 January 2012 12:34
> To: 'XWiki Users'
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> Thanks will try that on when I get back on Monday ...
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Marius Dumitru Florea
> Sent: 06 January 2012 12:25
> To: XWiki Users
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> The code used to retrieve the list of recently modified pages is this
> https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki-
> platfo
> rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/
> java/o
> rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
> . You can try to execute it separately in Groovy to see what's the
problem.
> You can start with http://pastebin.com/Yj8kQ3qU which works fine for
> me (put it in a wiki page).
>
> Hope this helps,
> Marius
>
> On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
>> Not that I can see
>>
>> -----Original Message-----
>> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
>> Behalf Of Marius Dumitru Florea
>> Sent: 06 January 2012 11:29
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>>
>> Is there any exception logged on the server side?
>>
>> Thanks,
>> Marius
>>
>> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
>> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>>
>>> Hi,
>>>
>>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
> installed...
>>>
>>> When editing in WYSIWYG editor and select to insert a link get the
>>> following error on Link dialog tabs "My recent changes" and "Search" :
>>> "There was an error loading the data". The All pages tab works fine
>>> and displays all pages in the selected space though.
>>>
>>> Does anyone know what's happening and how to get it working??
>>>
>>> Thanks.
>>>
>>> Richard
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Ah my company's fire wall won't let me see http://pastebin.com/Yj8kQ3qU -
can you directly email me a copy of the code to paste into my wiki page to
try ..
Thanks.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: 06 January 2012 12:34
To: 'XWiki Users'
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
Thanks will try that on when I get back on Monday ...
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 06 January 2012 12:25
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
The code used to retrieve the list of recently modified pages is this
https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki-platfo
rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/java/o
rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
. You can try to execute it separately in Groovy to see what's the problem.
You can start with http://pastebin.com/Yj8kQ3qU which works fine for me (put
it in a wiki page).
Hope this helps,
Marius
On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> Not that I can see
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Marius Dumitru Florea
> Sent: 06 January 2012 11:29
> To: XWiki Users
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> Is there any exception logged on the server side?
>
> Thanks,
> Marius
>
> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>
>> Hi,
>>
>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
installed...
>>
>> When editing in WYSIWYG editor and select to insert a link get the
>> following error on Link dialog tabs "My recent changes" and "Search" :
>> "There was an error loading the data". The All pages tab works fine
>> and displays all pages in the selected space though.
>>
>> Does anyone know what's happening and how to get it working??
>>
>> Thanks.
>>
>> Richard
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thanks will try that on when I get back on Monday ...
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 06 January 2012 12:25
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
The code used to retrieve the list of recently modified pages is this
https://github.com/xwiki/xwiki-platform/blob/xwiki-platform-3.2/xwiki-platfo
rm-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/java/o
rg/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97
. You can try to execute it separately in Groovy to see what's the problem.
You can start with http://pastebin.com/Yj8kQ3qU which works fine for me (put
it in a wiki page).
Hope this helps,
Marius
On Fri, Jan 6, 2012 at 1:43 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> Not that I can see
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On
> Behalf Of Marius Dumitru Florea
> Sent: 06 January 2012 11:29
> To: XWiki Users
> Subject: Re: [xwiki-users] Insert link on wysiwyg editor
>
> Is there any exception logged on the server side?
>
> Thanks,
> Marius
>
> On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
> <richard.goldring(a)uk.thalesgroup.com> wrote:
>>
>> Hi,
>>
>> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just
installed...
>>
>> When editing in WYSIWYG editor and select to insert a link get the
>> following error on Link dialog tabs "My recent changes" and "Search" :
>> "There was an error loading the data". The All pages tab works fine
>> and displays all pages in the selected space though.
>>
>> Does anyone know what's happening and how to get it working??
>>
>> Thanks.
>>
>> Richard
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Not that I can see
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 06 January 2012 11:29
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
Is there any exception logged on the server side?
Thanks,
Marius
On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
>
> Hi,
>
> On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just installed...
>
> When editing in WYSIWYG editor and select to insert a link get the
> following error on Link dialog tabs "My recent changes" and "Search" :
> "There was an error loading the data". The All pages tab works fine
> and displays all pages in the selected space though.
>
> Does anyone know what's happening and how to get it working??
>
> Thanks.
>
> Richard
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi,
Noob question... We're using the RESTful API to embed our XWiki content in
an external HTML page. I'm wondering whether there's an easy way to still
use velocity macros (or any basic script macros) via the RESTful API or
does this require including additional uicomponent javascript/css files in
the external HTML page? Have been trying to find documentation on this but
can't seem to.
The macros display fine on the XWiki pages but the external HTML page says:
The "gallery" macro is not in the list of registered macros. Verify the
spelling or contact your administrator.
Thanks,
Eva
Hi,
On xwiki enterprise 3.2, tomcat 5.5, mysql 5.5 that I've just installed...
When editing in WYSIWYG editor and select to insert a link get the following
error on Link dialog tabs "My recent changes" and "Search" : "There was an
error loading the data". The All pages tab works fine and displays all pages
in the selected space though.
Does anyone know what's happening and how to get it working??
Thanks.
Richard
Hi.
I'd like to search through the body of all xwiki documents for a specified
string (say, "fu"), and replace it with another ("bar").
Been searching extensions and google and haven't come-up with any way to do
this.
mediawiki does have an extension to enable this. Anything similar in xwiki?
Thanks,
--Xiao Su
blah, blah, blah... the right of the people peaceably to assemble, and to
petition the Government for a redress of grievances... blah, blah, blah
Hi All,
I have done the configuration for email setup i.e given the smtp
server,smtp port,smtp server username , smtp sever password (i believe last
two parameters are my email id and password)but still i see below error
The message could not be sent to scott: email server error.
Even i can not see any logs generated for this email error under my tomcat
directory.
Thanks
Hi All,
I want to configure the default home page i.e webhome page of main space. I
am looking for these kind of customizations:-
1) Replacing *Welcome to your wiki *with Welome to *ApplicationName
Wiki.*Though i can see the ways to customize the panel bars,browser
title bar text but not the text.
2) Right now, on web home page under main space i can see see all the
details(like what activity admin or any other users did . For example
modification in existing page or creation of new page) on page just after
login (i.e webhome page on main space). i want to hide these unnecessary
details from specific group users? Is it possible to customize. i am not
even able to find the vm file for this page so that i can do some tweaking
in code?
> Try a search on the "xwiki-enterprise-common" packet. It's xwiki alone,
> without the dependencies of *tomcat-*sql packets. In fact, for example,
> the
> packet xwiki-enterprise-tomcat-mysql doesn't feature xwiki, it's a
> dependency too.
> After the installation, you'll find the files in /usr/lib/xwiki and the
> conf in /etc/xwiki/
Thanks - I'll give that a try.
> 2012/1/5 Sergiu Dumitriu <sergiu(a)xwiki.com>
>> XWiki should work on Tomcat 5.5 without any problems.
Thanks for the info.
Matt