Wondering if it's a permission problem - when I visit the
XWiki.WysiwygEditorConfig page (as Admin)
I get the following displayed: This configuration cannot be displayed
because it was last edited by Admin who doesn't have permission to edit this
page.XWiki.WysiwygEditorConfig:
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
goldring, richard
Sent: 09 January 2012 08:39
To: 'XWiki Users'
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
Yes - the code seemed to work fine and listed sall recent page edits ... So
I'm not sure where to look next ...what code get's called by the Link dialog
My recent changes abd Search tabs ... Is it a macro? Which one? All I can
think is it might be something to do with copying material from the my
previous wiki installation???
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 08:30
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> 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).
I don't see how. You can break the WYSIWYG editor by messing up its
configuration (XWiki.WysiwygEditorConfig) but then the editor won't load at
all. You can't break *only* the Recently Modified / Search tabs of the link
feature. Have you run the code I pasted?
Hope this helps,
Marius
> 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
> _______________________________________________
> 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
Yes - the code seemed to work fine and listed sall recent page edits ... So
I'm not sure where to look next ...what code get's called by the Link dialog
My recent changes abd Search tabs ... Is it a macro? Which one? All I can
think is it might be something to do with copying material from the my
previous wiki installation???
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of
Marius Dumitru Florea
Sent: 09 January 2012 08:30
To: XWiki Users
Subject: Re: [xwiki-users] Insert link on wysiwyg editor
On Mon, Jan 9, 2012 at 10:09 AM, goldring, richard
<richard.goldring(a)uk.thalesgroup.com> wrote:
> 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).
I don't see how. You can break the WYSIWYG editor by messing up its
configuration (XWiki.WysiwygEditorConfig) but then the editor won't load at
all. You can't break *only* the Recently Modified / Search tabs of the link
feature. Have you run the code I pasted?
Hope this helps,
Marius
> 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
> _______________________________________________
> 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
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
Hi, congratulations on the 3.3 release!
I'm having a go with setting up xwiki on a debian based server. The
/stable releases source list appears to be empty. Should I be using
/releases instead, or will the 3.3 release be pushed to /stable shortly?
regards
Matt
Hi All,
Right now when i log in as a user who does not have admin rights, 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).
*Is there a way i can hide these unnecessary details from specific group
users?*
* Another question Is it possible to configure so that specific group users
can not be searched by another specific group users.*
i have a requirement where i want specific group users can not be searched
by another specific group users. Is there a way to configure this kind of
stuff?
Thanks.
As i enter to main space after login, i see these kind of options like
watch wiki,document index,watch space. What is is the user of these
features. As name * watch wiki or watch space* suggests, looks like
whenever there is a modification/addition on on wiki, it will send the
mail to user email id registered on xwiki. *Is that correct?*
*What about document index? feature?*
*Another issue i am facing is*
For my user i have denied the the view permission on invitation space. But
still i am able to see that ivitation
space on main space webhome page? i dont give my user the feature to send
invitation to others
Thanks
Hello,
I would want to host a wiki dedicated to the security aspects of XSLT
and XQuery technologies on your Wiki farms.
My nickname on the wiki is "NicolasGregoire" and the desired server name
is "xhe".
Please contact me if you have any other question ...
Thanks in advance,
Nicolas Grégoire
Hi,
to start with I'd just like to know how this page was created:
http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/Diaporama
in terms of how the images get changed every 45 seconds..... was this
diaporama? If so there isn't really any mention of how to use it:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Photo+Album+Application
Does Xwiki have a syntax for it that extends the [[image:img.png]]
statement?
I'd like to know as I want to embed some animated images of my own but
with shorter time then 45 seconds.
Secondly does Xwiki support any kind of text wrapping?
If I put an image at the top of a space, the text usually leads on after
the end of the object but can I make the text start at the top of the
screen like with a word processor?
Last question is basically about the background of a space (not the wiki
background). Can this be changed without edition CSS??
I'd just like to change it for one particular space and subspaces but
not the rest of the wiki. Kind of like including the html background
statement - which doesn't work in Xwiki.
Thanks.
Kaya
Hi All,
I was wondering if anyone has experience setting up OpenOffice with XWiki
3.1 on RedHat, with JBoss.
I am trying to find documentation on the process, but I am a bit confused
by what I am finding. There seems to be some direction that OpenOffice
comes with XWiki 3.1
... "The Office Importer application comes pre-bundled with XWiki
Enterprise versions greater than 1.8M1, so there is no need for a manual
installation." ... (ref:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Office+Importer+Applic…
)
But I am beginning to think that OpenOffice server must be installed
additionally/separately, then configured to work with XWiki's Office
Importer. If this is the case, the documentation is not clear on this.
Can someone please clarify? If anyone has a write up on the process to
install and configure OpenOffice on RedHat, that would be great as well.
Thanks,
Chris
Hi All,
i have created a space on xwiki with the name MySpace. Now i want to create
one sub space under MySpace with name Releases. When i go MySpace and do
add space and give the name of my new sub space i.e Releases . It does
not add that space under MySpace but it adds as seperate space together.
Is it possible to create sub-space ?
Hi All,
I created one page named as Release4 and when i try to search Release4 does
not show any results for this page but if i create another page with name
ReleaseFour and now search ReleaseFour , it shows the results. *Is it an
issue or i am missing some thing here?*
Hi,
first up Happy New Year to everyone :-)
Secondly, I've been trying to stabilize my Xwiki install on FreeBSD 8.2
x64. My machine is a quad core box with 4GB RAM and not much usage in
terms of people viewing the wiki etc....
I am getting this error:
umbers=0&rev=11.1" java.lang.OutOfMemoryError: Java heap space
Exception in thread "http-8180-Acceptor-0" java.lang.OutOfMemoryError:
Java heap space
I have attempted a resolution by including: - after Google'ing heavily
to see what could be done to rectify the issue.
JAVA_OPTS=-Xmx1024m
JAVA_OPTS=-Xms1024m
#JAVA_OPTS=-XX:PermSize=64M
#JAVA_OPTS=-XX:MaxPermSize=256m
at the top of the catalina.sh file but as I've just found out it didn't
work.
The strange thing is that I had this wiki migrated to an old PowerMac G4
733MHz with 384MB RAM and even though the cpu went up to max due to the
amount of swap space consumed the system still worked fine for longer
then my BSD machine at least.
Can anyone give me a hand in order to diagnose the problem?
I have tried this also on Nexenta Core 3 (OpenSolaris) on a virtual
machine running on my notebook with 2GB RAM dedicated to it which worked
fine also and was up for many weeks even though pathetically slow.....
actually I was running Glassfishv3 but it was still Java!
Thanks,
Kaya
Hi all,
since I switched from database attachement store to filesystem store I
have some problems.
The first view days everything was ok, but than i restarted the server
and since than:
mysql> select * from xwikiattachment;
+-------------+-------------+------------------------------------------------------------------------------------+----------+---------------------+----------------------------+-------------+-------------+
| XWA_ID | XWA_DOC_ID |
XWA_FILENAME
| XWA_SIZE | XWA_DATE | XWA_AUTHOR |
XWA_VERSION | XWA_COMMENT |
+-------------+-------------+------------------------------------------------------------------------------------+----------+---------------------+----------------------------+-------------+-------------+
| -2139505400 | -1980029764 |
Assertions.pdf
| 0 | 2007-05-17 23:19:13 | XWiki.RobertReiner |
1.1 | |
| -2136668642 | -1260324256 |
groups.png
| 498 | 2009-09-03 17:38:38 | XWiki.Admin |
1.1 | |
| -2096787253 | -152317460 |
XWikiLogo.png
| 1390 | 2009-09-09 02:00:00 | XWiki.Admin |
1.1 | |
| -2083635922 | 1934194131 |
msginfo.png
| 0 | 2008-11-14 16:46:06 | XWiki.AntonKronseder |
1.1 | |
| -2027337590 | -259212042 |
general.png
| 0 | 2010-09-18 03:19:58 | XWiki.Admin |
1.1 | |
| -2003457988 | 151244875 |
xwiki-enterprise-manager-wiki-administrator-1.5.1.xar
| 0 | 2009-02-27 12:24:23 | XWiki.Admin |
1.1 | |
Some files in the storage folder are empty (have size 0) as stated in
XWA_SIZE have in the database.
The ~METADATA.xml file states, that the size is 0.
Are negative IDs OK (e.g. for XWA_ID) ?
Sometimes, when I copy manually the correct file with size > 0 to the
store and when I change the ~METADATA.xml accordingly it works,
sometimes not.
Sometimes when I upload an image with a German name (e.g. Wüste.jpg [is
desert in english]) it is stored and also named desert.jpg.
I guess some information (rdf) inside the jpg (some jpg metadata) knows,
that its name is desert.jpg. Am I guessing right?
I have 312 attachements in our xwiki. Do I have to delete the database
tables (xwikiattach*) and do the attache process again?
Files that xwiki does not know e.g. mytest.abc can be attached. They can
be found in the store and are listed in the view but I can not receive
tha file.
Not by clicking on the attachement link, nor by rightclicking and
choosing "save link as".
BTW in between I had to change the server (hardware) and had to install
a new xwiki. Afterwards I imported the Files (using xar import) and did
a filesystem copy of the store.
All Pages are OK, all attachements are listed, but can not be
downloaded, besides the ones in the original xwiki.xar, which I also
imported.
Any suggestions?
Thanks in advance.
Best regards,
Anton Kronseder
Hello,
Happy new year to everyone.
I'm trying to have the email of an user and I want to put it on every
document the user creates.
For that, I try this two differents codes :
#set($mail=$xwiki.getUser($doc.getCreator(), false).getEmail())
and an other try :
#set($user=$xwiki.getUser($doc.getCreator(), false))
#set($mail=$user.getEmail())
But none of this two codes is right. What should I do to have the email of
my user ?
Best regards,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Find-the-email-of-a-user-tp7146566p714656…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
How can I identify the reason of not being able to search through extension
repository with Extension Manager?
The symptoms are: no extensions returned on the extension search page, and
following error is displayed in the logs
2012-01-03 12:50:15,672
[http://192.168.0.3/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmi…]
ERROR aultExtensionRepositoryManager - Failed to search on repository
[org.xwiki.extension.repository.xwiki.internal.XWikiExtensionRepository@17d76c]
with pattern=[polls], offset=[0] and nb=[20]. Ignore and got to next
repository.
XWiki 3.3
Regards,
Roman
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-can-I-identify-the-reason-of-not-bein…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I do the login with admin credentials in one internet explorer window. Now
i open one more seperate IE window and give my xwiki home url i.e
http://localhost:8888/myxwiki/ . I see in this second i am directly getting
logged in with admin credentials which is not correct. I should see login
screen on this second window here.
Then i did debugging and found out with both IE windows
xwikicontext.getRequest().getSession() returning the same session(
basically both sessions are having same session id). As per my
understanding session is specific to browser window . so both windows(or
request from diffent IE windows) should have different session attached to
them.
Not getting how come both request are having same session id.
Thanks
Hi all,
perhaps someone has the same problem (hopefully already solved):
After migrating from 1.x to 2.x and now to 3.1 and 3.2 I have some
problems :-(
a)
All links to the xwiki Main-Space look like the following example:
xwiki:$s:MyPage
regardless if I use [[Main.MyPage]] or [[MyPage]] the only solution
would be:
[[MyPage>>Main.MyPage]]
If the page is not in the xwiki Main-Space everything works fine.
b)
My Quicklinks Panel look horrible:
<https://www.smartics.eu/xwiki/bin/view/Administration/ServerAdministration>
Looks like it is in xwiki 1.0 Syntax, but 2.0 is expected.
Is there a possibility to get to the history of the quicklinks panel, to
restore my old one?
Is there a posibillity to change the xwiki syntax for a panel?
c)
And last but not least
After logging in I am forwarded to:
http://www.smartics.eu/xwiki/bin/loginsubmit/XWiki/%2Fxwiki%2Fbin%2Fview%2F…
Looks like to be an apache problem, but i use ProxyPass to forward
(proxy) all to my tomcat and RewriteEngine to redirect https:
80:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
ProxyPass /xwiki http://www.smartics.eu:8080/xwiki
ProxyPassReverse /xwiki http://www.smartics.eu:8080/xwiki
443:
ProxyPass /xwiki http://www.smartics.eu:8080/xwiki
ProxyPassReverse /xwiki http://www.smartics.eu:8080/xwiki
What happens:
I go to http://www.smartics.eu/xwiki
I am redirected to https://www.smartics.eu/xwiki
I do the login: and than I am forwarded to
http://www.smartics.eu/xwiki/bin/loginsubmit/......
And here somehow the redirect to https does not work and the page can
not be delivered, as apache states "Not Found".
Looks like both (Rewrite and ProxyPass) are pypassed somehow.
But when I now enter manually (in the same browser)
"https://www.smartics.eu/xwiki" I am logged in.
Any idea what might be wrong?
Any help to my problems would be highly appreciated.
Best wishes for the new year.
Best regards,
Anton Kronseder
Hello,
Since XWiki is positioned as a collaboration tool, where collaboration is
primarily on the documents, sooner or later there will emerge a need to
provide functionality similar to what Google Docs has: simultaneous editing
of documents, supporting text documents, spreadsheets (with ability to
generate charts, calculating subtotals), presentations, embedding
spreadsheet tables and charts into documents etc. - at least several times I
found myself in a need to do manual table-based calculations and to
simultaneously work on the document.
One more possible improvement is support rich brainstorming sessions like
in e.g. http://incubator.apache.org/projects/wave.html (integration?)
So I was wondering, are there any plans for those directions?
Regards,
Roman
--
View this message in context: http://xwiki.475771.n2.nabble.com/Extending-XWiki-collaboration-toolset-tp6…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
Recently I've tried installing Polls Application (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Polls+Application ) via
Extension Manager and received error listed in the file attached:
http://xwiki.475771.n2.nabble.com/file/n7130006/InstallPollsExtensionError.…
InstallPollsExtensionError.txt .
The odd thing is the success message in the end of the file (I have added
info and error macro markup to show how it looked like on the screen).
Polls Application pages got created and I was able to create polls. With
bugs but they worked.
Questions:
* Is the error during installation of the application important one or
should be ignored?
* I had to manually configure the l18n bundle after the installation -
should I log an enhancement for EM to auto-configure it during installation?
* Should I log any bugs I observe in Polls Application (and where to)?
Regards,
Roman
--
View this message in context: http://xwiki.475771.n2.nabble.com/Polls-Application-installation-with-Exten…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have been trying to apply styles to PDF (and hopefully also ODT) export
according to instructions in
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomiz…
but...
(1) adding CSS (either as pdf.css or via PDFClass & PDFTemplate method) that
contains simple test (h1, h2, h3 {color: red;}) does not work (tested on XE
3.3 release)
(2) at the same time, changing xhtmlxsl (either by adding to PDFTemplate or
WEB-INF/classes) works nicely
Q1: Should it work with CSS?
The abovementioned instruction expects this method to work also with RTF
export - and as the ODT export is based on PDF export I hoped to be able to
style also ODT... but even when change is working in PDF headings remain
black in RTF and ODT export... as these XSL transforms seemt to be related
to FOP used for PDF generation.
Q2: How to style ODT export? Also with pdf.css (that doesn't currently
work), somehow modifying default template used by OpenOffice or somehow with
OpenOffice.xsl?
--
View this message in context: http://xwiki.475771.n2.nabble.com/styling-PDF-and-ODT-export-tp7116069p7116…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
We use Large XAR Import
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Large+XAR+Import)
to migrate from one database to another.
With options: "Import all" and "Overwrite with version"
This works all fine, but I noticed that on every imported page, there is
a new history entry "Imported from XAR" and also the last modification
date of the imported page is set to the import date.
Is there a way to suppress these history entry and the last modification
date? So that the imported page (including history) looks exactly as it
did on the other system, where it was exported?
Thanks.
Reto
Thanks Sergiu too for valuable inputs.
* Wanted to know about one more configuration. On the page just after
login, i get to see to all modifications i.e which page got created and
modified recently. Is there a way i can hide these details from a specific
group.*
---------- Forwarded message ----------
From: mohit gupta <motgupta(a)gmail.com>
Date: Wed, Dec 28, 2011 at 10:52 AM
Subject: Re: [xwiki-users] Fwd: Configure the XWIKI Logo
To: Sergiu Dumitriu <sergiu(a)xwiki.com>
Thanks a lot Guillaume for telling me this kind of configuration.It
worked. I wish this kind of stuff is documented in user guide. It would be
a great help for end users.
On Wed, Dec 28, 2011 at 3:56 AM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
> On 12/27/2011 12:03 PM, mohit gupta wrote:
>
>> Thanks Guillaume for giving this valuable information . But i am facing a
>> issue while changing image this way. Here is what idid
>>
>> I am trying to change the logo for DefaultColorTheme page
>>
>> 1) i attached an image named as myimage.png with DefaultColorTheme page
>> which is showing in attachment tab
>> 2) Then on DefaultColorTheme page i clicked edit button and select the
>> header
>> 3)After selection of header , a paint icon come and i click on that. Small
>> window open up below the existing header where i gave the name of image as
>> myimage in logo text box but as soon as i do tab out old image went away
>> but new image does not get shown. Instead a cross icon is displayed. I
>> tried giving the same name in banner text box too but same results.
>>
>
> Did you use "myimage" or "myimage.png"? The extension should be there as
> well.
>
>
> On Tue, Dec 27, 2011 at 4:52 PM, Guillaume Lerouge<guillaume(a)xwiki.com>**
>> wrote:
>>
>> Hi Mohit,
>>>
>>> the logo can be changed from the color theme page:
>>>
>>> 1. Attach the file you want to use as logo to the color theme page
>>> 2. Edit the color theme
>>> 3. Enter the name of your file in the "logo" field when editing the
>>> header in the color theme
>>>
>>> I agree that it's not very intuitive, but it's doable.
>>> Guillaume
>>>
>>> On Tue, Dec 27, 2011 at 11:56 AM, mohit gupta<motgupta(a)gmail.com>
>>> wrote:
>>>
>>> Hi Guillaume ,
>>>>
>>>> i want to change default xwiki logo that we see just below the wiki link
>>>>
>>> on
>>>
>>>> top left corner of xwiki website not the color . I already tried
>>>>
>>> changing
>>>
>>>> color theme it just changes the color theme. PFA the logo for reference
>>>> which i want to change.
>>>>
>>>> On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerouge<guillaume(a)xwiki.com
>>>>
>>>>> wrote:
>>>>>
>>>>
>>>> Hi Mohit,
>>>>>
>>>>> you don't need to modify the logo from the filesystem. You can do this
>>>>> through the Color Theme.
>>>>>
>>>>> Guillaume
>>>>>
>>>>> On Tue, Dec 27, 2011 at 10:51 AM, mohit gupta<motgupta(a)gmail.com>
>>>>>
>>>> wrote:
>>>>
>>>>>
>>>>> Though it worked after changing logo.png to myprojectlogo.png in
>>>>>>
>>>>> global.vm
>>>>>
>>>>>> file .But i expect there should be some way from xwiki admin UI
>>>>>>
>>>>> too. I
>>>>
>>>>> tried some stuff changing in defaultskin after going inside look and
>>>>>>
>>>>> feel
>>>>>
>>>>>> section but that did not help
>>>>>>
>>>>>> ---------- Forwarded message ----------
>>>>>> From: mohit gupta<motgupta(a)gmail.com>
>>>>>> Date: Tue, Dec 27, 2011 at 3:05 PM
>>>>>> Subject: Configure the XWIKI Logo
>>>>>> To: XWiki Users<users(a)xwiki.org>
>>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> I want to change the default xwiki logo with my custom logo say
>>>>>> MyProjectLogo.png. Is this configurable somewhere?
>>>>>>
>>>>>> What i tried :-inside my tomcat directory i.e
>>>>>>
>>>>> tomcat\myxwiki\skins\colibri
>>>>>
>>>>>> , i replaced default log.png with my custom logo(with same name). But
>>>>>>
>>>>> it
>>>>
>>>>> still picks old logo.
>>>>>>
>>>>>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
Hi, All
Recently I had to deploy XWiki under Centos. As a brand new task for me it required tonns of documentation to dig in.
Finally I managed to set up: Centos + MySQL + Tomcat 7 + nginx.
Everything is fine besides some Tomcat's behaviour.
- localhost:8080 or localhost:8080/ shows ROOT application
- localhost:8080/xwiki shows XWiki application as desired. Fine.
- if nginx redirects required requests from 80 port to localhost:8080/xwiki we obtain wrong links, because /xwiki automatically is added to requested string. Works fine only first request to e.g. "mydomain.com".
So, next step is to set XWiki application as DAFAULT application in Tomcat, so localhost:8080 will call XWiki by default.
Googling gave me several complicated solutions with redirect and two almost clear solutions with Tomcat configuration:
- Deploy XWiki in $CATALINA_HOME/webapps/ROOT
After this nginx can easily proxy all requests like "mydomain.com" on 80 port to localhost:8080
- Deploy XWiki in $CATALINA_HOME/webapps/xwiki
Then add Following string in Host section in $CATALINA_HOME/conf/server.xml :
<Context path="" docBase="${catalina.home}/webapps/xwiki"/>
I tried second way, it works fine, nginx redirects all "mydomain.com" requests to localhost:8080 correctly, BUT all URLs from required, e.g,
localhost:8080/xwiki/bin/view/Main
become
localhost:8080/bin/view/Main
So, we miss /xwiki in URL.
As for me, "xwikiless" URLs solution looks fine, BUT as far as I remember, somebody from developers' team pointed out in mailing lists some time ago, that /xwiki in URL could be necessary in some cases. (??)
The questions are:
1. Is it crucial for XWiki and/or some XWiki applications to eat shorten URL on Tomcat's level?
Will it affect, for example, on virtual wiki mapping for URLs based addresses like http://myfarm.net/xwiki/wiki/wikiname/?
2. Should we change anything in XWiki configuration files to force it working with such URLs?
OR, the best way to put ${catalina.home}/webapps/ROOT/Web-inf/web.xml with redirect information as it is done e.g. in standalone XWiki for Windows?
From other side, I also found an opinions on forums, that redirect method is not the best solution for search engines robots. So, I got lost a bit :-)
Kindly ask you to clarify this tricky subject in order to avoid unnecessary errors in the future.
On finding right, community approved solution(s), I will amend documentation accordingly.
Thanks in advance,
Dmitry Bakbardin
I have configured to use Lucene search in my xwiki application. Right now
in xwiki , any user is able to search any other user details by
entering his deatils in serach text box.I want to configure it in a way
user should be able to search the other users who belongs to same group
otherwise it should not other group user details. Is it configurable in
xwiki or i need to make some changes in code for the same.Thanks.
At link http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rightsit
is given that
1) Right can be set at the page level. :- For example it is given that ,
View right can be set at the page level.
But do not see any way for setting the right at page level( i can see how
to set it at space level but not at page level ).
i am working xwiki-enterprise-web-3.2.war and xwiki-enterprise-wiki-3.2.xar
2)Checking order for View rights are given as page > space > wiki. What my
understanding from this is if we have given view rights to
Group A For Space A at space A level but left the view Rights check box
as blank for the same group at Wiki adminstration level, Then Group A
user should be able to view and search the Space A content on the page we
see just after login , as permission at at wiki level are
overriden bt permissions at space. But this behaviour does not happens. It
happens only when Group A has view rights at both level
i.e at wiki administration level and space level. *Not getting what does
checking order means here?*
My steps as below:
1. Create a data type CarClass. (lang=en)
2. Create class sheets and bind it. (lang=en)
3. Add FordPage. (lang=en)
4. Add a CarClass object to the page.
And then xwiki can render html of FordPage as sheet content correctly.
After that, I create a translation document of FordPage (lang=zh_TW).
I found that xwiki would not render the sheet content when I visit FordPage
as lang=zh_TW.
It just render the content of FordPage(lang=zh_TW).
How to make xwiki render sheet content correctly?
I know it could be a bit silly to jump into the list after a long silence only of this, but I would like to let you know that I keep following, using and promoting XWiki as much as possible!
I've learnt, and keep learning, a lot from this community. Not only about software and collaborative environments. Mainly about how a great working team is created kept growing.
Happy Christmas and all the best for 2012!
Saúde!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
Hi everybody!
I need to setup preferences of a space (created by my code). I can create
WebPreferences page and after this - add related object, when fill in
properties ...
But, is it possible to use $xwiki.copy(oldSpace.WebPreferences,
newSpace.WebPreferences)? In fact, I have a "typical" WebPreferences, and I
want to simple make a copy of it.
I tried $xwiki.copy(typicalSpace.WebPreferences, newSpace.WebPreferences),
page created, but unfortunatelly, properties of XWiki.XWikiPreferences
doesn't fill in (object, attached in a page - exists).
Whats may be a problem? Or maybe in this situation (WebPreferences - is a
special page) - I shouldn't use $xwiki.copy method?
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/copying-WebPreferences-from-space-to-spac…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have two intentions for my web application which i am trying to
integerate with xwiki. Basically both these intentions are related to
right management on specific space area on xwiki.These are:-
*Intention1:-* My intention is if an user belongs to particular
organisation say Accenture he should be able to
admin,search,edit,view,delete only that organization space(provided he is
admin user for that organisation) otherwise he should not be able to do
any operation (not even search and view) on any other space
*What I Did for to achieve above* :- I as admin created AccentureAdminUser
and AccentureAdminUserGroup . Now i added AccentureAdminUser under
AccentureAdminUserGroup.
Also I created the space for this organization with Name
AccentureAdminSpace.
Lets come to Rights Management. As there are two level of rights i.e at
Wiki level and Space level.
AT Wiki Level:- I gave only view rights to AccentureAdminUserGroup
AT Space Level:- I gave all possible rights to AccentureAdminUserGroup
for AccentureAdminSpace
Now when i log in with AccentureAdminUser credentials, i do not see
AccentureSpace
space on a page just after log in and also i am not able to search any
content(space or page) for this AccentureAdminSpace . Not Getting Why? Do
i need to give any other Right too?
*Intention2:- *My intention is if an user belongs to particular
organisation and he is just a registered user but not admin user for that
organization say Accenture he should be able to only view and search that
organization spacevotherwise he should not be able to do any operation (not
even search and view) on any other space
*What I Did for to achieve above* :- I as admin created AccentureUser and
AccentureUserGroup . Now i added AccentureUser under AccentureUserGroup.
Also I created the space for this organization with Name AccentureSpace.
Lets come to Rights Management. As there are two level of rights i.e at
Wiki level and Space level.
AT Wiki Level:- I gave only view rights to AccentureUserGroup
AT Space Level:- I gave only view rights to AccentureUserGroup for
AccentureSpace
Now when i log in with AccentureUser credentials, i can see AccentureSpace
space on a page just after log in but i am not able to search any
content(space or page) for this
AccentureSpace . Not Getting Why? Do i need to give any other Right too for
search?
I would be grateful if somebody can provide some insight about above issues
on right management.Already I have gone thru below links but did not get
through the issues
http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right
management
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights access
and rights
Thanks in advance.
Hi All,
Is there any way to configure in xwiki configuration files so thst the
session expires automatically after some specified time say
20 minutes in case user does not do any activity in last 20 minutes. I
looked in to xwiki.cfg and xwiki.properties file but could not
find any such thing.Please let me know if this kind of stuff already exists
in xwiki?
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.3.
Following the goals established for the 3.x cycle, XWiki Enterprise 3.3
delivers the first usable but experimental versions of App Within
Minutes and Extension Manager features. The highlights of this release are:
* Experimental "App Within Minutes" feature
* Improved Extension Manager
* Automatic external link checker
* Better support for exporting CJK documents as PDF
* LDAP user membership improvements
* Attachment handling improvements
* Debian packages for installing XWiki
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise33 for
more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
i have implemented the single sign on of xwiki with my web application.
Basically when i click xwiki hyperlink on my webapplication it takes me to
xwiki site hosted on another port
without asking the credentials. Behind the scenes it creates an empty
user in xwiki databse with no password. Till here its perfect.But when i
click on logout on right top of the page it does not do logout. it brings
me on the same page.I tried debugging the issue whole day but could not
find any concrete finding.
when i do the login on xwiki site directly with some created credentials(i
mean in giving address in address bar directly)and do the logout it does
the log out. I found the major difference is when we do the login manually
it sets the username and password in cookies and sets some other stuff too
like user principal in request and onlogout it retrieves the same info from
cookie and gets successfully logout.But in my case as it creates the empty
user i.e with no password it does not set the above stuff in cookie and
when i click on logout it stays on the same page.i am not getting how to
get thru this. Any help would be highly appreciated.
Hello all
I intend to do a lot of updates to a single page via a python script but I
don't want/need a huge history file. Is there a way to either disable
versioning for a single page or purging it periodically with a script ?
Thanks
-Kjartan
Ik ben afwezig van Di 12/20/2011 tot Wo 01/11/2012.
Geachte mevrouw, mijnheer,
Op het moment kan ik uw mail niet beantwoorden. Voor dringende zaken kunt u
zich wenden tot het secretariaat van het EMI:
marion.linnebank(a)rivm.nl, T 030-2742913
anne.marie.van.kleef(a)rivm.nl, T 030-2748570
Met vriendelijke groet,
Wouter Boasson
Note: This is an automated response to your message "users Digest, Vol 53,
Issue 28" sent on 20-12-2011 13:00:02.
This is the only notification you will receive while this person is away.
Hi everybody!
I need help to organize interacting beetween groovy and velocity script on a
page. I need to transmit a value of a parameter from groovy script - to
velocity script (both scripts placed on one page).
I know theory, that need to use xcontext:
xcontext.put("variable","value") inside groovy script
and $xcontext.get("variable") inside velocity script
but in my situation - this doesn't work ... I cannot understand, what object
in my groovy script representing xcontext object ...
As a groovy script, I am using "Title Post Processing Using Groovy" based on
event listener technology, originally taken from here
http://extensions.xwiki.org/xwiki/bin/view/Extension/Title+Post+Processing+….
I only made small changes on this script (calculates title according to my
properties). It works perfectly.
Also, I inserted on same page (where event listener script was placed) one
more script - velocity script (below groovy script). My idea - when an event
was happen - should execute 2 scripts. And all is working perfectly! Execute
and "Title Post Processing Using Groovy" and my own velocity-script - this
part working without any problems.
I need to make small next step - to transmit a value of a parameter (page
name where an event was happens) from groovy to velocity. But if I try to
write inside this groovy script:
xcontext.put("eventsource",source.getFullName()) - event listener stops
working ... (looks like some error)
If I trying to use (as a xcontext) - crtContext (variable which defines some
context-related object in this script) - event listener working, but when I
trying inside velocity-script to get:
$xcontext.get("eventsource") - value is empty ...
As a result - my question is - how need to use xcontext.put(... in this
groovy script of event listenter which I am using and how I can get xcontext
variable in a below-placed velocity script (which is also executes)?
If will be small example - will be perfectly, because I am not groovy- or
java-programmer and have some difficulties of understanding object-oreiented
organization of xwiki ...
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Interacting-between-groovy-velocity-scrip…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I'm having trouble when the title of a blog message contains a question mark. For example the recent blog post panel shows such posts as non-existent. It looks like the question mark isn't encoded properly. On the Blog/WebHome page it shows fine though.
Is this a bug or a configuration problem? Any solutions/workarounds?
Cheers,
Olaf
Hi everybody!
I have a code with full form XWQL statements (select ...). I want to include
this code in my custom panel. I saved panel as a admin user (with enabled
programming rights).
If I look panel at it own page (opened
http://localhost:8080/xwiki/bin/view/Panels/MyPanel) - all is looking
perfectly - it gave my results.
But If I enable panel in XWiki (put it via Panel Wizard at right-side of a
screen) - I received an error on it:
Caused by: org.xwiki.query.QueryException: Full form XWQL statements
requires programming right. Query statement = ...
What's the difference? Maybe I should re-save some other pages with
programming rights? How is it possible to find needed pages?
--
Best regards
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Checking-programming-rights-tp7106250p710…
Sent from the XWiki- Users mailing list archive at Nabble.com.
One more vote on board :-)
18 декабря 2011, 01:49 от Ludovic Dubost <ludovic(a)xwiki.com>:
> 2011/12/17 Eugen Colesnicov <ecolesnicov(a)gmail.com>
>
> > Thanks for great job!
> > Especially for the Oracle support! Also AppWithinMinutes looks very
> > interesting - I will start "to feel" it!
> >
> > Also, regarding to your discussion about 3.4 roadmap and 3.x cycle, I want
> > one more time to focus you at an older problem - supporting of russian
> > symbols (or other non-latin characters, spaces and special symbols) in
> > attachment names.
> >
> > Interesting moment. If you using office importer and your office-file named
> > in russian, and your file contains some pictures, when wiki-page creates -
> > ALL PICTURE ATTACHMENT FILENAMES WRITTEN ON RUSSIAN WITHOUT ANY PROBLEM! I
> > can download them, get link, etc.
> >
> > According to this I can make a conclusion, that supporting of non-latin
> > attachment filenames is ALREADY DONE ON A PLATFORM LEVEL. And, right now,
> > for my opinion, NEED ONLY SMALL STEP - DELETE FUNCTION OF CUTTING NON-LATIN
> > SYMBOLS FROM ATTACHMENT FILENAMES DURING NORMAL ATTACH PROCESS.
> >
> >
> Good point, maybe a patch could be provided that deactivates this stripping
> using a configuration setting.
> I would vote +1 to include it asap in the platform.
>
> Ludovic
>
> > Please, include this issue in your roadmap of 3.x cycle! This is really
> > important thing - because without this XWiki cannot named as "multilanguage
> > web platform". ALL OTHER MODERN WEB-PLATFORMS ALREADY HAVE THIS FUTURE...
> > Only XWiki lagging ...
> >
> >
> > --
> > Best regards
> > Eugen Colesnicov
> >
> > --
> > View this message in context:
> > http://xwiki.475771.n2.nabble.com/Announcement-XWiki-Enterprise-3-3-and-XWi…
> > Sent from the XWiki- Users mailing list archive at Nabble.com.
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Je suis absent(e) du bureau jusqu'au 02/01/2012
Remarque : ceci est une réponse automatique à votre message "users Digest,
Vol 53, Issue 24" envoyé le 12/17/2011 1:00:02 PM.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
In a multiple select item in a class definition, how do you set the
"Join separator (for display)" to be a newline?
--
Mark Wallace
Principal Engineer, Semantic Applications
Modus Operandi, Inc.
CONFIDENTIALITY NOTICE: The information transmitted (including
attachments) is covered by the Electronic Communications Privacy Act, 18
U.S.C. 2510-2521. This transmission is intended only for the person(s)
or entity/entities to which it is addressed and may contain confidential
and/or proprietary material. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the intended recipient or
have received this transmission in error, please contact the sender by
reply e-mail and destroy all copies of the original message.
Hello everyone,
That seems a bit difficult for me but I really need to do this. I'm working
on my survey, so everytime a member press the button to answer the survey, a
page is created using my class "SurveyClass". In this class, there is a
field "status".
I need to do draw a chart on a page (a sort of dashboard) where I want to
know how much pages I have with each status.
So is there a way to have the value of the field "status" for every page in
the space "Survey" ?
If yes, how ?
Thank you very much for all who will help me.
Best regards,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Pie-chart-from-a-property-of-a-form-tp709…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to upgrade from XE 3.1M2 to XE 3.3-RC1 and I am facing an
exception that I can't figure out how to solve. I've set up my xwiki.cfg
activating both updateschema and store.migration flags. I've also enabled
class isolation on my Jboss 4.2.3. I'm running my Xwiki instance on
Postgres 8.3, and the xwiki's hibernate config file is configured properly.
When I try to first call the instance, I got these exceptions. It seems
that data or schema migration are not working for any of the xml pages.
Could you help me?
1) The error is:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving
document xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating
archive XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886,
version2=6, version1=1}]
2) Then in Jboss log I got these info when starting the xwiki instance
(I took off the timestamp and xwiki path garbage info):
WARN o.i.m.DefaultCacheManager - ISPN000156: You are not
starting all your caches at the same time. This can lead to problems
as asymmetric clusters are not supported, see ISPN-658. We recommend
using EmbeddedCacheManager.startCaches() to start all your caches
upfront.
WARN o.h.u.DTDEntityResolver - recognized obsolete hibernate
namespace http://hibernate.sourceforge.net/. Use namespace
http://www.hibernate.org/dtd/ instead. Refer to Hibernate 3.6
Migration Guide!
INFO .AbstractXWikiMigrationManager - Current storage version = [0]
INFO .AbstractXWikiMigrationManager - List of migrations that will be executed:
INFO .AbstractXWikiMigrationManager - R4340XWIKI883 - See
http://jira.xwiki.org/jira/browse/XWIKI-883
INFO .AbstractXWikiMigrationManager - R4359XWIKI1459 - See
http://jira.xwiki.org/jira/browse/XWIKI-1459
INFO .AbstractXWikiMigrationManager - R7345XWIKI2079 - See
http://jira.xwiki.org/jira/browse/XWIKI-2079
INFO .AbstractXWikiMigrationManager - R15428XWIKI2977 - Add a GUID
to existing objects when upgrading from pre-1.8M1.
INFO .AbstractXWikiMigrationManager - Running migration
[R4340XWIKI883] with version [4340]
INFO .AbstractXWikiMigrationManager - New storage version is now [4341]
INFO .AbstractXWikiMigrationManager - Running migration
[R4359XWIKI1459] with version [4359]
INFO .AbstractXWikiMigrationManager - New storage version is now [4360]
INFO .AbstractXWikiMigrationManager - Skipping unneeded migration
[R6079XWIKI1878] with version [6079]
INFO .AbstractXWikiMigrationManager - New storage version is now [6080]
INFO .AbstractXWikiMigrationManager - Skipping unneeded migration
[R6405XWIKI1933] with version [6405]
INFO .AbstractXWikiMigrationManager - New storage version is now [6406]
INFO .AbstractXWikiMigrationManager - Running migration
[R7345XWIKI2079] with version [7350]
INFO .AbstractXWikiMigrationManager - New storage version is now [7351]
INFO .AbstractXWikiMigrationManager - Running migration
[R15428XWIKI2977] with version [15428]
INFO .AbstractXWikiMigrationManager - New storage version is now [15429]
3) And then the error exception (many of these arises):
WARN o.h.u.JDBCExceptionReporter - SQL Error: 0, SQLState: 22003
ERROR o.h.u.JDBCExceptionReporter - Bad value for type long : <?xml
version="1.0" encoding="UTF-8"?>
<xwikidoc>
<web>Scheduler</web>
<name>WatchListDailyNotifier</name>
<language></language>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<parent>XWiki.WatchListClass</parent>
<creator>XWiki.superadmin</creator>
<author>XWiki.superadmin</author>
<customClass></customClass>
<contentAuthor>XWiki.superadmin</contentAuthor> ...
So, when xwiki reads the xml's pages during startup, the first line of
all them seems to not to be expected for the migration class.
Thanks a lot.
Sincerely,
--
Ramon GB
skype: ramongb
Hello,
I have an other question for you. I just create a livetable that show every
page I have in my space. The page are answers from a survey and they have
differents status : "new", "to be seen", "done".
When I go on the page where I have my livetable, I just want to see in
first, pages with "new" status.
This is my code :
#set($collist = ["name", "date", "statut", "_actions"] )
#set($colprops = {
"name" : { "type":"text", "sortable":true, "filterable":true,
"link":"view"},
"date" : { "type":"list", "sortable":true, "filterable":true},
"statut" : { "type":"list", "sortable":true, "filterable":true},
"_actions" : { "actions": ["edit", "delete"] }
})
I try to add : "default" : "new" but it doesn't work and I really don't know
how to show the "new pages" in first, so thank you ery much for all person
who will help me.
Best regards,
Stéphanie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Livetable-order-by-tp7092786p7092786.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
i have my banking webapplication on tomcat. i want to host my application
help on xwiki which will sit on another server(probably
xwiki will be having its on app server). Basically what i have to do is i
want to provide a link on my banking application on click of which
i want to take it to wiki help(help shoud not ask any credentialsat
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome)
though it should ask for credential if i hit my xwiki URL directly.i am
not getting how to start it?i have gone thru xwiki devguide but could
not get much out of it. It would be great if somebody can give me heads up
how can i can i start it at high level, it would be a great help.
As xwiki site states many tools to download like
manager,enterprise,platform. which tool one i shoud start with and what
should be the starting point
in that?
i want to give the users to modify the wiki page on the basis of roles in
my banking application. So my application and xwiki has to interact a lot.
looking for how we can proceed for this. My application is using struts 2.
Another question i have is once i dowload xwiki enterprsise, should i host
in seperate tomcat or downloaded xwiki application will have its own
webserver.
Its really urgent for me. Looking for quick reply
Thanks in advance
Mohit GUpta
Hi Users,
I tried to use the xwiki-platform-tool-packager-plugin maven plugin to
import wiki pages into xwiki. However I get following error:
% mvn org.xwiki.platform:xwiki-platform-tool-packager-plugin:3.1:import
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[INFO] Building de.hierlmeier.xwiki.testpages
[INFO] task-segment:
[org.xwiki.platform:xwiki-platform-tool-packager-plugin:3.1:import]
[INFO]
------------------------------------------------------------------------
[INFO] [xwiki-packager-plugin:import {execution: default-cli}]
2011-12-12 15:29:00,854 [main] WARN iPropertiesConfigurationSource -
Failed to load configuration file [/WEB-INF/xwiki.properties]. Using
default configuration values. Internal error [null]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to import XWiki documents
Embedded error: Failed to load component
[com.xpn.xwiki.store.XWikiStoreInterface] for hint [null]
...
The following exception occured during the import (printed out with
maven -X):
[DEBUG] Configuring mojo
'org.xwiki.platform:xwiki-platform-tool-packager-plugin:3.1:import' -->
[DEBUG] (f) databaseName = xwiki
[DEBUG] (f) hibernateConfig = c:\xwiki\WEB-INF\hibernate.cfg.xml
[DEBUG] (f) sourceDirectory = C:\Users\rh\xwiki\src\documents
[DEBUG] -- end configuration --
[INFO] [xwiki-packager-plugin:import {execution: default-cli}]
2011-12-12 15:44:54,378 [main] WARN iPropertiesConfigurationSource -
Failed to load configuration file [/WEB-INF/xwiki.properties]. Using
default configuration values. Internal error [null]
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to import XWiki documents
Embedded error: Failed to load component
[com.xpn.xwiki.store.XWikiStoreInterface] for hint [null]
[INFO]
------------------------------------------------------------------------
[DEBUG] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to import
XWiki documents
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.MojoExecutionException: Failed to
import XWiki documents
at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:62)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
... 17 more
Caused by: java.lang.RuntimeException: Failed to load component
[com.xpn.xwiki.store.XWikiStoreInterface] for hint [null]
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:645)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:762)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:710)
at
com.xpn.xwiki.tool.backup.AbstractPackager.createXWikiContext(AbstractPackager.java:108)
at
com.xpn.xwiki.tool.backup.Importer.importDocuments(Importer.java:62)
at com.xpn.xwiki.tool.backup.ImportMojo.execute(ImportMojo.java:60)
... 19 more
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed
to lookup component [role = [com.xpn.xwiki.store.XWikiStoreInterface]
hint = [default]]
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:369)
at
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:126)
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:643)
... 24 more
Caused by: java.lang.NullPointerException
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.initialize(XWikiHibernateBaseStore.java:99)
at
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:437)
at
org.xwiki.component.embed.EmbeddableComponentManager.initialize(EmbeddableComponentManager.java:360)
... 26 more
I assume that I need additional configuration options in my pom. So far
I have configured the following options:
<plugins>
<plugin>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-tool-packager-plugin</artifactId>
<version>3.1</version>
<configuration>
<hibernateConfig>c:/xwiki/WEB-INF/hibernate.cfg.xml</hibernateConfig>
<sourceDirectory>src/documents</sourceDirectory>
</configuration>
</plugin>
</plugins>
What is missing?
Richard
As i earlier said i have my project web application on one tomcat instance
and xwiki application on another tomcat instance.
So when i click help link on my project web application it should take me
to xwiki webapplication and whatever class
i mentioned against xwiki.authentication.authclass should do the custom
authentication.
So,I downloaded the war file xwiki-enterprise-web-3.2 and started working
on that. I have got some questions/issues while working
on this. These are:-
1) Is it possible to get the source code of xwiki java files so that if
want have detailed some understanding/or modification as per my
requirements i can go ahead? After modification i will pack it with
existing jar file and deploy it.
2) As i said in the begining i want custom authentication .So my question
is what are interfaces/parent class my custome class
should extend and with which library(jar file ) it should be packed with
.how i can find it out? Is there any api doc like
standard java docs something like this?
Thanks in advance.
hi i downloaded xwiki war and extracted the same war to my tomcat
directory under webapps folder.Now i am hitting the xwiki url and was
expecting welcome page or login page but got below exception
message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not
getting what i am missing here.
*root cause*
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: Could not create a DBCP pool. There is an error in
the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
Does anyone has a clue?
04 декабря 2011, 06:50 от Haru Mamburu <haru_mamburu(a)mail.ru>:
Hi, all!
For now we have a possibility to move wiki's filestorage easily by changing path in config file. Cool!
In multi-sub-wiki environment it looks very useful (sometimes) to split common storage and move sub-wiki's storage to other place.
Is there any simple way to set location of each sub-wiki's storage? If not, is it easy to implement?
Kind Regards
Dmitry Bakbardin
Hi XWiki devs and users,
I think we need to make a push on translations. We have about 150
translations that are not yet available in
French
German
Latvian
Russian
Swedish
Otherwise we have the following language that would need a small push to
get complete:
Spanish (es) 459 translations
Czech (cs) 258 translations
Traditional Chinese (zh_TW) 641
Catalan 863
It would be great to get some contributors for
Italian
Portugese
Dutch
Any help is welcome to get this down. If you want to help you can go to
http://l10n.xwiki.org
If we get the translations numbers under 250 we'll make sure we get the
translations in the distribution.
Ludovic
--
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hi!
I fixed Russian translation both for XE and Wiki Manager.
Some links look broken in the right panel "Supported Languages for XE", what may lead to misunderstanding especially for new users.
Also "Best XE Contributors" left panel is still in TODO list. :-)
Kind Regards,
Dmitry Bakbardin
08 декабря 2011, 12:49 от Ludovic Dubost <ludovic(a)xwiki.com>:
> Hi XWiki devs and users,
>
> I think we need to make a push on translations. We have about 150
> translations that are not yet available in
>
> French
> German
> Latvian
> Russian
> Swedish
>
> Otherwise we have the following language that would need a small push to
> get complete:
>
> Spanish (es) 459 translations
> Czech (cs) 258 translations
> Traditional Chinese (zh_TW) 641
> Catalan 863
>
> It would be great to get some contributors for
>
> Italian
> Portugese
> Dutch
>
> Any help is welcome to get this down. If you want to help you can go to
> http://l10n.xwiki.org
> If we get the translations numbers under 250 we'll make sure we get the
> translations in the distribution.
>
> Ludovic
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hello,
I'd like to create a wiki for me and my fellow students at the Beuth
University of Applied Sciences in Berlin, Germany.
We will use this for collaborative working, sharing and such...
My username on myxwiki.org is "Alex". The host name I'd like to have is "bes".
Thanks
Alex
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
I am currently working on an installer for our domain specific XWiki
distribution. During the installation we have to import a xar file with
our wiki pages.
Do we have in XWiki an API for importing xar files?
What are the preconditions for importing xar files? Must XWiki be
started or can the import be done offline (during the installation phase)?
Richard
I am using xwiki at work and I love it. Thank you for this great product.
Is it possible to get wiki space at myxwiki.org for my private wiki? Currently I
am using a php wiki solution which has a completely different wiki syntax and
very limited functionality.
I am registered with name rhierlmeier at the users mailing list. The wiki space
rhierlmeier.myxwiki.org would be fine.
Thank you in advance
Richard
Hi, all!
For now we have a possibility to move wiki's filestorage easily by changing path in config file. Cool!
In multi-sub-wiki environment it looks very useful (sometimes) to split common storage and move sub-wiki's storage to other place.
Is there any simple way to set location of each sub-wiki's storage? If not, is it easy to implement?
Kind Regards
Dmitry Bakbardin
How is possible to get last comment of some document using velocity and XWQL?
As I understand, need to write XWQL query for XWiki.XWikiComments object
using filter by doc name.
I trying to do something but every time I make some mistakes in my code ...
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/get-last-comment-of-some-document-tp70576…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office from Fri 12/02/2011 until Wed 12/07/2011.
Geachte mevrouw, mijnheer,
Op het moment kan ik uw mail niet beantwoorden. Voor dringende zaken kunt u
zich wenden tot het secretariaat van het EMI:
marion.linnebank(a)rivm.nl, T 030-2742913
anne.marie.van.kleef(a)rivm.nl, T 030-2748570
Met vriendelijke groet,
Wouter Boasson
Note: This is an automated response to your message "users Digest, Vol 53,
Issue 2" sent on 2-12-2011 10:00:42.
This is the only notification you will receive while this person is away.
Hi,
I try to use the Todo Application
(http://extensions.xwiki.org/xwiki/bin/view/Extension/Todo+Application)
in a farm context with all the users defined in the master wiki.
The only problem is the Assignee property defined as a "List of
Users". In a subwiki of the farm, the only defined users are
XWiki.Admin and XWikiGuest.
It would be fine if the list of users can be filled from the
XWiki.AllGroup of the subwiki. But I don't know how to do this. Could
you put me on the right direction ? May be you have a better idea...
I hope my question is clear.
Maxime
Hi everyone,
We've just found a memory issue in XWiki Enterprise 3.2 and 3.3M1/3.3M2.
The technical reason is because we're caching the rendering of pages in the document cache and those objects are very big (up to 27MB for a very large page). In XWiki Enterprise 3.2.1 and XWiki Enterprise 3.3 RC1+ (not released yet) we've optimized the space taken in memory by those objects.
As a consequence we recommend using a reduced document cache size with XWiki Enterprise 3.2 and 3.3M1/3.3M2 and/or increasing the memory allocated to the JVM.
If you haven't already upgraded to XWiki Enterprise 3.2 we recommend waiting for 3.2.1 which should be released soon (or wait for XWiki Enterprise 3.3 which is planned for mi-december).
We apologize about this,
-Vincent on behalf of the XWiki Dev Team
Hello,
Using XWiki 3.2 I could not find any way to display edit of an object
property in Wysiwyg mode ... I'm sure it used to work though.
Tried to update the "editor" parameter of my textarea property, tried to
update default editor set in my profile, then also default editor of the
whole wiki, to wysiwyg.
In all cases it displays my property as a basic html textarea field (no wiki
syntax buttons as in wiki editor, no wysiwyg either, just a textarea).
I also tried to delete / recreate the related object, with no change.
Is this feature broken on 3.2, or is it still a problem on my side ?
By the way, I saw somewhere that the editor set in profile would override
any other configuration. Is it anyway possible to "force" the edition of a
property in wysiwyg mode, whatever mode is set in profile or xwiki
preferences ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Wysiwyg-editing-object-properties-tp70429…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I will be in London tomorrow until thursday. We will be (with Guillaume
Lerouge) at the Online Information Show at the National Hall, Olympia (
http://www.online-information.co.uk/)
If there are some XWiki users that would like to meetup in London either
Tuesday or Wednesday night, please give ring us.
Ludovic
--
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
Hello,
I'm trying to create a form on a page, and would like to use displayHidden
but I couldn't make it work as I expected ...
This is what I do (in groovy, for a class Space.Class, and for its field
"field") :
As output, viewing the html source reveals that I get the <form> but nothing
inside ...
What's wrong ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-use-doc-displayHidden-tp7020234p70…
Sent from the XWiki- Users mailing list archive at Nabble.com.
When was executing process of upgrading xar-file in my wiki
(etvc.mtxwiki.org) - my comp was stopped and process not finished. Now I
cannot repeat import of xar-file because of import-page is not accessible
... All other preference pages also.
Is it possible totally to re-create this wiki - etvc.mtxwiki.org? (all
important content are backuped).
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-re-creating-wiki-tp7033904p703390…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Je suis absent(e) du bureau jusqu'au 27/11/2011
bonjour
pour tout problème lié à l'inventaire,
Ayant un problème sur mon numéro personnel, me contacter au 06 17 61 21 91
Remarque : ceci est une réponse automatique à votre message "users Digest,
Vol 52, Issue 55" envoyé le 11/26/2011 1:00:02 PM.
C'est la seule notification que vous recevrez pendant l'absence de cette
personne.
Hi Oracle users!
My environment: Windows2003, Glassfish 3.1.1, OracleXE 10.2
Today I tried to upgrade XE from 3.1 to 3.2 and on first-time loading I got
error:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3
in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3201 in 3: Exception while saving document
xwiki:XWiki.XWikiPreferences
Wrapped Exception: $Proxy148 cannot be cast to oracle.sql.CLOB
...
I created a jira issue: http://jira.xwiki.org/browse/XE-1032 with detailed
description and full log.
Maybe somebody tried upgrade on OracleXE? What results you get (maybe its
only my problem)?
--
Best regards
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/XE-Upgrade-to-3-2-on-Oracle-failed-tp6900…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.3 Milestone 2. The highlights of this release
are:
* a new user interface for the extension manager
* new features for the Application Within Minutes aspect
* a new and improved FAQ application has been committed in the platform,
although it's not bundled by default in XE
* support for exporting PDF documents for CJK languages
* a new rendering transformation that can be used to check the status of
any link encountered in the wiki
And on the developers' front:
* support for dependency Providers, as defined in JSR330
* a Disposable interface for singleton components which can be used to
release resources when a component is being unregistered
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise33M2
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
> On 11/24/2011 12:29 PM, Crowd Covered wrote:
>
>> Hi guys,
>>
>> Looks like I've run into a zombie bug: having two similar headings on
>> pages
>> included into one page gives exception when exporting to PDF.
>> I've checked JIRA and there it is marked fixed in 1.4:
>> http://jira.xwiki.org/browse/**XWIKI-2124<http://jira.xwiki.org/browse/XWIKI-2124>
>> .
>>
>> Can anyone confirm a zombie bug or hint me what I might be doing wrong?
>>
>
> What version are you using?
> There's also http://jira.xwiki.org/browse/**XWIKI-5910<http://jira.xwiki.org/browse/XWIKI-5910>which should have fixed the problem for good. XWIKI-2124 only fixed it when
> headers are involved.
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
>
I'm using 2.7. Now trying to update to 3.3 M2, having some errors with
migration like "[main] ERROR o.r.Reflections - given scan
urls are empty. set urls in the configuration". But that's an offtopic
here. Will come back after trying on 3.3.
Mine problem was with headers in fact.
Hi guys,
Looks like I've run into a zombie bug: having two similar headings on pages
included into one page gives exception when exporting to PDF.
I've checked JIRA and there it is marked fixed in 1.4:
http://jira.xwiki.org/browse/XWIKI-2124.
Can anyone confirm a zombie bug or hint me what I might be doing wrong?
Thanks,
Andrey
Hello,
I was trying to edit a page in Chrome browser but i can't reach
nextline by pressing Return key.
In Internet Explorer works fine. Any idea about the situation?
Thanks.
--
--
LUCIAN TUDOSA
SUCEAVA
Telefon: 0745 32 89 83
Email: lucian.tudosa(a)gmail.com
Hi. I have configured a private wiki in which the reigstration is
disabled so that only an admin user can register new users.
How can I configure xwiki to automatically send an email with
connection details, username and password to the new registered user's
email address?
--
Fita Adrian
Hi,
I am having difficulty locating the source of an error where the
contents of a TextArea property for a custom class object on a page
ends up rendering in a WYSIWYG box as wiki syntax (as in, displaying
the actual code in one long paragraph). "Corrupt" is probably not the
right word for this, as I'm sure it's something I'm doing wrong...
Simple explanation:
1) User clicks a button to add a new instance of a class to the page,
which also enters the Inline Editing mode. User pastes content into a
WYSIWYG editor and saves the page. After save, the TextArea property
shows up correctly in view mode with $doc.display(), with headings,
formatting, etc...
2) Something happens - I cannot yet reproduce it, but I'm sure the
user is doing something.
3) The object starts displaying the property as a single block of text
with embedded wiki syntax, mostly what looks like custom parameters
containing the formatting info, such as:
(% class="MsoNoSpacing" %) (% class="tagChar" style="font-size: 12pt;" %)
etc...
Even in inline edit mode, the contents of the WYSIWYG box have been
replaced with this block of code, which does not appear with the
actual formatting - just the raw code.
Looking into the page history, there is a version of the page saved
right before the property becomes "corrupt." So something must be
happening to trigger the conversion of the TextArea content into wiki
syntax, which then gets saved over the original data.
The pages the user is using have multiple objects of the same class,
all displaying their TextArea properties in a table. The majority of
the time, it displays perfectly. This only applies to some objects on
the page - though sometimes all objects on a page will simultaneously
exhibit this behavior.
The pages also contain buttons to create a new object, as well as a
button to delete each object individually.
I have one reliable method of producing this error. I used to have the
"delete this object" button display while in Inline Edit mode -
clicking it while in that mode would cause to entry to "convert." I
suppressed the button from displaying unless in view mode, which
removed this cause of the error - but there is still some other
mechanism for generating the same behavior.
Here's an example of the delete button code which I can use to cause
similar behavior:
#set($delurl = "/xwiki/wiki/$doc.getWiki()/objectremove/$doc.getSpace()/$doc.getName()?classname=Sandbox.TestClass&classid=$obj.getNumber()&xredirect=$doc.getURL()")
<input
type="image"
onclick="location.href='$delurl'"
value="Delete"
title="Delete"
style="float:right;"
src="/xwiki/resources/icons/silk/cross.gif" />
Any ideas on what's happening?
Thanks much,
aaron
Hi,
I'm trying hard to update from XE 3.1M2 to stable 3.2 without success. I get
the very same error from http://jira.xwiki.org/browse/XE-1037:
Wrapped Exception: Error number 3201 in 3: Exception while saving document
xwiki:XWiki.XWikiUsers
Wrapped Exception: Error number 3211 in 3: Exception while updating archive
XWiki.XWikiUsers
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not load an entity:
[com.xpn.xwiki.doc.rcs.XWikiRCSNodeContent#component[docId,version1,version2]{docId=495778886,
version2=6, version1=1}]
...
...
root cause:
org.postgresql.util.PSQLException: Bad value for type long : <?xml
version="1.0" encoding="UTF-8"?>
<xwikidoc>
<web>XWiki</web>
<name>XWikiUsers</name>
<language></language>
<defaultLanguage>en</defaultLanguage>...
The same happens for other docs also, like:
<xwikidoc>
<web>Scheduler</web>
<name>WatchListHourlyNotifier</name>
<language></language>
<defaultLanguage></defaultLanguage>
<translation>0</translation>
<parent>XWiki.WatchListClass</parent>
I have done nothing but following the default upgrade instructions, using
the new 3.2 war, with the database schema I was running without problem with
the 3.1M2. I'm running on Jboss 4.3.2 with Postgres 8.3 on CentOS 5.6.
Do you have any idea of what's going on? Any parser problem? Every major
release since now I've updated without problems, excepting this one.
Regards,
--
Ramon Gomes Brandao
--
View this message in context: http://xwiki.475771.n2.nabble.com/ERROR-XWikiRCSNodeContent-Upgrade-to-3-2-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm trying to "execute" a page from another page.
The "executed" page has some groovy and velocity, does some queries, and as
output attaches a computed file to itself (and outputs some success or error
message to page content).
"Executing" it means just showing the page, as a result the attachment gets
increased version.
Now I want to do the same but calling it from another page. This is what I
did :
xwiki.getDocument('Space.MyPageToExecute').getRenderedContent()
This returns my success message, but nothing gets attached. Is there any
chance that this could work ? I checked the rights of my user (set correct
user in context before the setAttachment()) but I could not make it work ...
Am I forced to write my page as a groovy class to achieve this ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Executing-a-page-from-another-page-tp7019…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I wonder how it would be possible to add RSS link(s) to the livetable
components ?
First I though it could be great to use the Tags Rss, but in fact the ideal
solution would be to have a link with rss feed with exact same filters (tag,
filters) and ordering than the currently configured livetable component (so,
maybe re-using the LiveTableResultsMacros but with an rss parameter).
I had a look on macros.vm, but it seems most of the work is done by a
widget, so it seems difficult to customize ...
What do you think about it ?
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-RSS-links-to-Livetables-tp7019912p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am struggling to import content from another wiki.
My previous wiki used markdown syntax, I converted the markdown syntax to XHTML
via pandoc. The output validates as XHTML 1.0 Transitional, but when I try to
convert it to xwiki syntax the conversion fails.
1. Does anyone have any ideas why this is failing?
2. Are there better ways to import wiki content?
Thanks, Jesse
In velocity, what is the way to get the list of tags for a given document?
I could look at the code which implements my current skin, because it shows tags,
but I don't know where that is.
I found these pages, but they didn't help:
http://www.xwiki.org/xwiki/bin/view/Main/Tagshttp://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
I have a livetable showing documents, and I want to show the tags for the document
as a table column.
--chris
Hi,
I'm converting a XML file into XWiki pages with a structured object, my problem is that the XML file might contain elements with problematic text
I have a XSLT that gives me a velocity script (like below)
{{velocity}}
##Creating a ATE Question and Answer document programatically
#set($ATEPrefix = "CdLSATE")
#set($ATEDocName = $ATEPrefix+'TE'+1001)
#set($newATEQA = $xwiki.getDocument("CdLSATEPublic.$ATEDocName"))
##Set a title
$newATEQA.setTitle("Teeth Exfoliation")
##Set parent of document to Public ATE Questions and Answers
$newATEQA.setParent("CdLSATEPublic.CdLSATEPublicQAs")
##This is how you can use a template
$newATEQA.setContent('{{include document="CdlsatdCode.CdLSATEPublicQATemplate"/}}')
##Create a new object on the document
#set($newATEQAObject = $newATEQA.newObject("CdlsatdCode.CdLSATEPublicQAClass"))
##Set a field to a particular value
$newATEQAObject.set("AlphabetSort","TE")
$newATEQAObject.set("subject","Teeth Exfoliation")
$newATEQAObject.set("question","Is early loss of baby teeth something to be concerned about, indicative of a bigger problem, or related to CdLS?")
$newATEQAObject.set("language","en")
$newATEQAObject.set("CountryCode","us")
$newATEQAObject.set("answer","
It is normal for children, especially girls, to lose their lower two front teeth from 4.5 years old to 5.5 years old. 4.5 years is early, but can be considered normal. There seems to be quite a variety of times when children with CdLS find themselves loosing their primary or baby teeth. Children with CdLS can have their primary teeth fall out either early or, more often, late. If the child is four years old and there are no other underlying medical complications, such as, hypothyroidism, hypophosphatsia, etc., then I would not be too concerned about losing the teeth. If there were many teeth, including molars that are getting loose, then further investigations would be indicated.
DM/ TK 7-13-10
SEE ALSO: Teeth Grinding 1 Teeth Grinding 2 Teeth Growth Teething")
$newATEQAObject.set("SACApproved",1)
$newATEQA.save()
{{velocity
$newATEQAObject.set("question","...") and $newATEQAObject.set("answer","...") give me challeges
Some text elements (not this example) will contain characters or combination of characters that will have a effect;
- on the script not being valid; the " (double bracket) character
- having a XWiki 2.0 meaning; "--" , "**" but intending something else
Help appreciated...
Gerritjan
One more tonight...
It seems that I am unable to use the built-in TOC macro for wiki
content which is generated dynamically from a Class Sheet {{include}}.
I assume this is because the TOC macro is rendered before (or
simultaneously with) the include macro which actually displays the
objects on the page, so as far as the TOC macro knows, there are no
wiki headings on the page (yet) to create an outline from.
Does anyone have any suggestions on how to parse through the final
rendered output of the wiki page to generate a table of contents for
dynamically generated wiki content? If I'm missing something with the
existing macro, that would be great...
What I am looking to do is write some code (preferably in a panel, I
think), which creates a TOC-style index of all the wiki-syntax
headings contained on the fully rendered page, after the content has
been generated from TextArea properties of a set of attached objects
to the page.
I have written custom display code that loops through every object of
a custom class attached to a page and then displays some of that
objects properties in a series of collapsible div's. Each object
contains two TextArea properties - one for WYSIWYG data, and one for
plain text, which would be formatted in wiki syntax. The result is a
list of each objects name with an expandable <div> full of the
wiki-rendered content contained in the TextArea properties. I would
like to generate a TOC which "reads through" that content and comes up
with a list of only the relevant headings under each displayed
"object"
For example, on a page with 3 objects, the custom display code in the
Class Sheet results in this (the wiki syntax appears fully rendered,
obviously):
Object 1 Name - Click to expand
******Hidden until clicked********
==Heading 2==
===Heading 3===
Normal text, etc...
Object 2 Name - Click to expand
******Hidden until clicked********
==Heading 2==
===Heading 3===
Normal text, etc...
Object 3 Name - Click to expand
******Hidden until clicked********
==Heading 2==
===Heading 3===
Normal text, etc...
I would like the TOC to return:
Object 1
Heading 2
Heading 3
Object 2
Heading 2
Heading 3
Object 3
Heading 2
Heading 3
Even when all the div's are initially collapsed/hidden. It would be
ideal if the TOC was clickable and went to the relevant anchor...
I can obviously use getValue() with each TextArea property to return a
string with that objects wiki syntax - but I don't have an easy way to
parse that string to only return the heading levels...
Any guidance would be appreciated.
Thanks,
aaron
Hi,
we are students on university and we are working on research grant.
We would like to use xwiki as foreground for our datamining project.
The system will collect and evaluate information about robotics
topics and then upload them to xwiki. Here will be users able to
comment, add anotations and tags and then system will teach from
these information and modify it's learning algorithm.
user name r3cop
Pavel Jurka
Hi,
- There seem to be some bad displays when a page title contains '<' or '>'.
Display is correct in browser title bar, it is also correct in main content
area, in hierarchy, but not in page title. For a page with title "TestTest >
test", generated html looks like this :
<div id="hierarchy">
TestTest > test
</div>
<div id="document-title">
TestTest* &*gt; test
</div>
The bad trick is that the "&" of ">" gets replaced by "&" ...
- as a side question, is there a way to easily do the equivalent of velocity
"$escapetool.html($text)", but in {{groovy}} ? I use mainly groovy in my
pages, and would like to avoid passing parameters between groovy and
velocity just for this one use-case ...
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Characters-or-bad-display-in-page-title-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I received this reply when posting to the users(a)xwiki.org mailing list.
Is the list working?
-------- Forwarded Message --------
From: Mailer-Daemon <Mailer-Daemon(a)gedi.pt>
To: adrian.fita(a)gmail.com
Subject: NDN: [xwiki-users] How to display only activities in activity
stream from spaces
Date: Tue, 15 Nov 2011 19:57:38 +0000
Sorry. Your message could not be delivered to:
bneves,TeleGEDI (The name was not found at the remote site. Check that the name has been entered correctly.)
--
Fita Adrian
Hi.
In the main space, after login, any user can see the activities from all
the spaces. I want the Activity Stream to display activities only from
the spaces that the user has access to. How can I do this?
Thanks,
--
Fita Adrian
Hello!
If I have in some class a boolean property, how I can get date&time of its
last modification (date when ONLY this property was modified last time)
inside my code?
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/get-date-time-of-some-class-property-modi…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I tried to use native rendering method as it suggests in the Formula
Macro Extension page, that is to
* Install A TeX package
* Install ImageMagick
* Sure that latex, dvips, convert can be called from cmd
And then add "macro.formula.renderer=native" into xwiki.properties.
But it doesn't work, and there are the same problems as a earlier post
"*Formula* *Macro* - *native* renderer issue
<http://markmail.org/message/ij2fl6muxoyl3xzx>", namely infinite loading...
Anyone any ideas?
Thanks!!!