On 01/20/2010 04:54 PM, Dilipkumar Jadhav wrote:
Hello folks,
The Meta+G feature is one of the coolest& widely used feature at my
organization.
I am trying to use the Meta+G/Jump To Page feature over XEM 2.1.1 "wikis".
The feature works fine over the "Main" XWiki instance. However, when I
use this from a child wiki in a wiki farm, it still picks it's pages
from the main XEM instance. It does not pickup any documents from the
child farm.
I checked the JIRA for the Meta+G feature but couldn't find any
documentation in this regard.
Can we change something in the ajaxSuggest.js so it will pick pages
from the child wikis?
Is there a page called XWiki.JumpToPage such as mentioned on
http://jira.xwiki.org/jira/browse/XWIKI-1485 where we could probably
point the ajax suggest to the appropriate child wiki. I looked up my
XWiki instance but could not find this JumpToPage.
Any help will be appreciated. Thank you.
That is strange, it should work perfectly well in a virtual wiki, and
you can try to see that it works on the *.xwiki.org farm, and on
incubator.myxwiki.org.
You can check with Firebug or HttpHeaders to check where does the
suggest request go to, maybe there's something weird in the URL setup.
Normally, the request goes to something like:
"${request.contextPath}/rest/wikis/${context.database}/search?scope=name&number=10&media=json&"
Here, ${request.contextPath} is usually /xwiki, and ${context.database}
is the name of the virtual wiki.
Could it be that you're using a path-based virtual wiki?
--
Sergiu Dumitriu
http://purl.org/net/sergiu/