Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT

2012-01-06 Thread Marius Dumitru Florea
On Fri, Jan 6, 2012 at 3:12 PM, - Calhau Bruno wrote: > > > >> Date: Fri, 6 Jan 2012 14:48:01 +0200 >> From: mariusdumitru.flo...@xwiki.com >> To: users@xwiki.org >> Subject: Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT >> >> On Fri, Jan 6, 2012 at 2:35 PM, - Calhau Bruno >> wro

Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT

2012-01-06 Thread - Calhau Bruno
> Date: Fri, 6 Jan 2012 14:48:01 +0200 > From: mariusdumitru.flo...@xwiki.com > To: users@xwiki.org > Subject: Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT > > On Fri, Jan 6, 2012 at 2:35 PM, - Calhau Bruno > wrote: > > > > > > > >> Date: Fri, 6 Jan 2012 14:28:08 +0200 > >> F

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread Marius Dumitru Florea
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 d

Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT

2012-01-06 Thread Marius Dumitru Florea
On Fri, Jan 6, 2012 at 2:35 PM, - Calhau Bruno wrote: > > > >> Date: Fri, 6 Jan 2012 14:28:08 +0200 >> From: mariusdumitru.flo...@xwiki.com >> To: users@xwiki.org >> Subject: Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT >> >> On Fri, Jan 6, 2012 at 2:24 PM, - Calhau Bruno >> wro

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread goldring, richard
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-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of goldring, richard Sent: 06 J

Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT

2012-01-06 Thread - Calhau Bruno
> Date: Fri, 6 Jan 2012 14:28:08 +0200 > From: mariusdumitru.flo...@xwiki.com > To: users@xwiki.org > Subject: Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT > > On Fri, Jan 6, 2012 at 2:24 PM, - Calhau Bruno > wrote: > > > > Hi guys, > > > > > I migrated to the XWiki version

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread goldring, richard
Thanks will try that on when I get back on Monday ... -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@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

Re: [xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT

2012-01-06 Thread Marius Dumitru Florea
On Fri, Jan 6, 2012 at 2:24 PM, - Calhau Bruno wrote: > > Hi guys, > > I migrated to the XWiki version 3.30, and once i have imported the backup (. > Xar) of my old XWiki, I can not use the wysiwyg. What version did you migrate from? Was it older than 3.0 or newer? > > Every time I try to edit

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread Marius Dumitru Florea
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-platform-core/xwiki-platform-wysiwyg/xwiki-platform-wysiwyg-server/src/main/java/org/xwiki/wysiwyg/server/internal/wiki/AbstractWikiService.java#L97 . You can

[xwiki-users] - WYSIWYG STOPPED WORK AFTER IMPORT CONTENT

2012-01-06 Thread - Calhau Bruno
Hi guys, I migrated to the XWiki version 3.30, and once i have imported the backup (. Xar) of my old XWiki, I can not use the wysiwyg. Every time I try to edit some content, the loading icon keeps loading up forever. Has anyone had this problem? Can you help me? Thanks in advance. Bruno C

Re: [xwiki-users] Script macros via RESTful API?

2012-01-06 Thread Marius Dumitru Florea
On Thu, Jan 5, 2012 at 12:07 AM, Eva Shon wrote: > 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 r

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread goldring, richard
Not that I can see -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@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?

Re: [xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread Marius Dumitru Florea
Is there any exception logged on the server side? Thanks, Marius On Fri, Jan 6, 2012 at 12:57 PM, goldring, richard 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 > err

[xwiki-users] Insert link on wysiwyg editor

2012-01-06 Thread goldring, richard
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 displa

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Jinyan Su
Thanks! What a great way to be exposed to a users group for the first time. Much appreciated! On Fri, Jan 6, 2012 at 5:53 PM, Vincent Massol wrote: > > On Jan 6, 2012, at 10:52 AM, Jinyan Su wrote: > > > Thanks. > > > > Is there a pointer to using XWQL to limit the query? (I've only started > >

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Vincent Massol
On Jan 6, 2012, at 10:52 AM, Jinyan Su wrote: > Thanks. > > Is there a pointer to using XWQL to limit the query? (I've only started > using xwiki.) > > Definitely don't want it trolling through all spaces in the wiki. http://platform.xwiki.org/xwiki/bin/view/DevGuide/QueryGuide -Vincent > --

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Jinyan Su
Thanks. Is there a pointer to using XWQL to limit the query? (I've only started using xwiki.) Definitely don't want it trolling through all spaces in the wiki. --Xiao Su On Fri, Jan 6, 2012 at 5:43 PM, Vincent Massol wrote: > > On Jan 6, 2012, at 10:39 AM, Guillaume Lerouge wrote: > > > Hi, >

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Vincent Massol
On Jan 6, 2012, at 10:39 AM, Guillaume Lerouge wrote: > Hi, > > one note: be careful when using something like this on your whole wiki. It > can have unexpected side effects (like replacing parts of words in place > you didn't expect) and you'll have no quick way to rollback (you'll have to > do

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Guillaume Lerouge
Hi, one note: be careful when using something like this on your whole wiki. It can have unexpected side effects (like replacing parts of words in place you didn't expect) and you'll have no quick way to rollback (you'll have to do it manually, page by page). Guillaume On Fri, Jan 6, 2012 at 10:3

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Jinyan Su
Thanks. I'll give it a try. Saw your name all over the pages. You rock. Regards, --Robs On Fri, Jan 6, 2012 at 5:32 PM, Vincent Massol wrote: > Hi, > > On Jan 6, 2012, at 1:40 AM, Jinyan Su wrote: > > > Hi. > > > > I'd like to search through the body of all xwiki documents for a > specified >

Re: [xwiki-users] global text search and replace

2012-01-06 Thread Vincent Massol
Hi, On Jan 6, 2012, at 1:40 AM, Jinyan Su wrote: > 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