Hi,
when working through the Distrbution Wizard of our freshly installed
XWiki Enterprise 7.4 (WEB installation), at step 1 (User Interface) we
are faced with the following message:
"
We couldn't find any extension with id
'org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki' and version '7.4'.
Make sure you have the right extension repositories configured.
"
The complete creenshot can be found at http://imgur.com/Uc2F9pr.
I've copied the file
"org.xwiki.enterprise:xwiki-enterprise-ui-mainwiki-7.4.xar" (from
http://extensions.xwiki.org/xwiki/rest/repository/extensions/org.xwiki.ente…")
into WEB-INF/extensions to no avail.
The installation instructions doesn't mention any required step
regarding the configuration of extensions or extension respositories or
where these respositories are. Therefore I'm a little bit at a loss here.
Our system is running on OpenSuSE 13.1 with PostgreSQL 9.2.14 (from
repo), Apache Tomcat 8.0.30 (manually installed) and XWiki Enterprise
7.4 (WEB, manually installed).
Any pointer to fix this problem are appreciated.
Cheers
Frank
Hi,
The last half year we have used a free wiki from myXWiki.org, thanks a lot.
Now we have decides to have a dedicated XWiki. Is it possible to migrate the local users in that myXWiki instance to the new wiki.
I tried to export one user as XAR and import it, but it does not convert to a user-object
The same problem with a macro page with the XWikiMacro and XWikiMacroParameters objects.
It results in empty wiki pages in the new wiki
myXWiki = 7.3
The new wiki is on 6.4.x
So maybe a downgrade export/import not possible?
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Is there a way to use the PDF Viewer macro and display the PDF at a particular heading within the document? (Akin to the header linking within a page link#Hheader)?
Paul Pinkerton
KnowledgeNow Project Lead
pinkerp(a)lao.on.ca<mailto:pinkerp@lao.on.ca>
Skype: pinkerp.lao<skype:pinkerp.lao>
Association of Community Legal Clinics of Ontario
416-847-1418 or 1-866-965-1416x 5177
www.aclco.org<http://www.aclco.org/>
I'm trying to setup an information page and wanted to see if someone has any ideas on how I can do this more easily. Since this is for several annual event information pages, doing the maintenance post-event to move/ delete 20+ pages each time is not a feasible solution.
Here's my idea for a 'better way'
I have a single Agenda page which shows the overall agenda for the event. Each session is linked to a specific information page for that session. (This is already in place).
All of these info pages are essentially PDF's which I'm using the PDFViewer macro to display (primarily to resolve user-browser handling of PDFs differences). The pages also have handouts attached as documents - and displayed in-page using the AttachmentViewer macro.
This is all working, but I would like to see if on the Agenda page, the link could go to a SINGLE PDF Viewer page that would display the appropriate PDF for the link clicked. I'm likely going to move all of the attachments to a single page anyway, so that's not particularly an issue. I don't know if the link on the agenda page can act like a form submission and configure the PDFViewer on-click to display different PDF's.
Your thoughts?
Paul Pinkerton
KnowledgeNow Project/ ACLCO
Hi,
I have an object on a page. Once in edit mode, I want certain properties of the object not to be editable. This in itself is not an issue since I can display the value using $object.getValue(‘propertyname’). I have however a custom displayer in place for this property which is activated using $doc.display($propertyname.getName()). Is it possible to use this displayer in edit mode?
With kind regards,
Peter
Is it possible to call a java component from a JavaScriptExtension? like
this:
In javascript:
require(['jquery'], function ($) {
$('#ToJava').click(function(){
var returnValue = $services.mycomponent.mymethod( someNumber );
// use return value
});
});
In java:
public int mymethod(int num){
return num +1;
}
I know that I can do the ajax round trip and invoke the method through
velocity:
http://extensions.xwiki.org/xwiki/bin/view/Extension/AJAX+example
-- just wondering if there is a way to shortcut this process by avoiding
velocity and only working in js?
or is my logic flawed?
--
View this message in context: http://xwiki.475771.n2.nabble.com/calling-a-java-component-from-JavaScriptE…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all, XWiki newbie here, just setting up XWiki for my company.
In addition to the Main wiki, I have created 2 other wikis, say “Development” and “Support”. Currently I can only switch among the wikis via the Wiki Index (in fact, the other wikis do appear in the breadcrumb widget at the top, but not when in the Main wiki).
I would like to put shortcuts to each wiki in the left panel, ideally with an icon and the wiki name. However, I have not found an out-of-the-box way to do this. Can someone point me in the right direction?
Thank you.
Regards,
Cris
What is the best way to get JSON data from a java component. In my java
component I'm compiling JSONObjects and JSONArrays, I would like to return
this data to my velocity script in JSON format, is this possible?
something like:
{{velocity wiki="false"}}
#if("$!request.outputSyntax" != '')
$response.setContentType('application/json')
#end
#set($map = [])
#set ($rightIN = ${request.rightIN})
#set ($spacenameIN = ${request.spacenameIN})
#set($disgard =
$map.add($services.g_pagebuilder.userAccessFindPages($spacenameIN,$rightIN
)))
$jsontool.serialize($map)
{{/velocity}}
and the Java:
public JSONObject javacomp(String spacenameIN, String rightIN ){
JSONObject obj = new JSONObject();
try {
obj.put("spacenameIN ", spacenameIN );
obj.put("rightIN", rightIN );
} catch (JSONException e) {
e.printStackTrace();
}
return obj;
}
At the end I would like to access this json object as a data return from an
ajax call. Is this possible?
Thanks
Gerrie
--
View this message in context: http://xwiki.475771.n2.nabble.com/Returning-JSON-data-from-a-java-component…
Sent from the XWiki- Users mailing list archive at Nabble.com.
In 7.4, I've created an app within minutes. One of the properties in the app
is a computed field that returns a list of users that meet some specific
criteria. If I leave the custom display field for the property blank, the
contents are displayed as follows:
[XWiki.john_smith, XWiki.mark_sack]
What I would really like to do is display them as hyperlinks to the
corresponding user page. I thought that I could use a script in the custom
display field to accomplish this. Reading the following note
http://www.xwiki.org/xwiki/bin/view/FAQ/Which+variables+I+can+use+in+%22Cus…
there are some variables available. It looks like the $value variable should
contain the computed list of users. But if I put a script like the following
into the custom display field:
{{velocity}}
$name
$prefix
$object
$type
$value
{{/velocity}}
the result is as follows
Usuarios
Secti.Admin.Setores.Code.SetoresClass_0_
com.xpn.xwiki.api.Object@543f3466
view
$value
The first four values are correct as far as I can tell. But the $value
variable does not appear to be populated. Does anyone have a suggestion as
to how I can achieve my desired result with the hyperlinks?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Custom-display-for-computed-field-which-i…
Sent from the XWiki- Users mailing list archive at Nabble.com.
With XWiki 7.4 I have a site setup in Brazilian Portuguese (pt_BR). I edited
the localization settings as follows:
Multilingual - Yes
Supported languages - pt_BR, en
Default language - pt_BR
After saving the settings, the site looks like it switches to the pt local
(European Portuguese?). I can tell this because the pt local is much more
sparsely translated. On the drop down menu on the right, I now see a
Languages item with Portuguese and English options and selecting English
switches the site to English.
I go back to the drop down menu and select languages. But now I only see
English - Portuguese is not listed as an available language.
I tried to repeat the above with a fresh install. This time I first set the
local to pt (no multilingual support) and verified that the site is switch
to pt. Then I set the multilingual support to yes and added the en local (pt
still the default). Now the site switches immediately to English and the
only language available on the drop down menu on the right is English.
I'd appreciate some help in setting up my site for multilingual support with
both English and Brazilian Portuguese. Is there something I'm doing wrong?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problems-setting-up-multilingual-site-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.