Hello my fellow XWIKI-people.
I would like to create a button to generate some content.
Pseudo-code example
{{velocity}}
#set(button=false)
Click this Button causes #set(button=true)
#if($button)
script starts
#end
{{/velocity}}
Any ideas? I am pretty new to WIKI
Mit freundlichen Grüßen / Best regards
Oleg Rochlin | Werkstudent | System implementation
SSI SCHÄFER | SSI Schäfer Noell GmbH | i_Park Klingholz 18/19 | 97232 Giebelstadt | Germany
oleg.rochlin(a)ssi-schaefer.com<mailto:oleg.rochlin@ssi-schaefer.com>
Website<http://www.ssi-schaefer.de/> | Blog<http://www.ssi-schaefer.de/blog> | YouTube<http://youtube.com/lagerlogistik1> | Facebook<http://facebook.com/SSI.SCHAEFER.DE>
SSI Schäfer Noell GmbH | 97232 Giebelstadt | Germany
Incorporated in Würzburg | Commercial Register B 6936 | VAT no. DE170860279
Managing Directors: Rudolf Keller, Henricus Swinkels
Hi all,
Im running Xwiki 7.0.1 and I would like to configure LDAP Authentification.
I configured my xwiki.cfg like that http://pastebin.com/08DAw0eb
BUT I can't connect with my AD user.
Can you help me to setup this features please ?
Thanks you very much in advance.
Sébastien
Hello,
I was trying to write a program which would upload new pages on my wiki. I
was following these instructions
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI , but
unfortunately most of the examples use old version of Apache's HTTP library,
so they are not very useful for me.
So I decided to try writing a program by following Apache's examples, but
when I was testing connectivity I realised that I can't even get access to
admin-only pages.
Here's my code:
import java.io.IOException;
import org.apache.http.auth.AuthScope;
import org.apache.http.auth.UsernamePasswordCredentials;
import org.apache.http.client.CredentialsProvider;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.impl.client.BasicCredentialsProvider;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.util.EntityUtils;
public class RestTest {
public static void main(String[] args) throws IOException {
CredentialsProvider credsProvider = new
BasicCredentialsProvider();
credsProvider.setCredentials(
new AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT,
AuthScope.ANY_REALM, AuthScope.ANY_SCHEME),
new UsernamePasswordCredentials("Tobi", "mypass"));
CloseableHttpClient httpclient = HttpClients.custom()
.setDefaultCredentialsProvider(credsProvider)
.build();
try {
HttpGet httpget = new
HttpGet("http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHome");
System.out.println("Executing request " +
httpget.getRequestLine());
CloseableHttpResponse response = httpclient.execute(httpget);
try {
System.out.println("----------------------------------------");
System.out.println(response.getStatusLine());
EntityUtils.consume(response.getEntity());
} finally {
response.close();
}
} finally {
httpclient.close();
}
}
}
It gives me:
Executing request GET http://xwiki.aircr.ru/xwiki/bin/edit/Main/WebHome
HTTP/1.1
----------------------------------------
HTTP/1.1 401 Unauthorized
I would really appreciate any help! Also, it would be great if you show me
more examples of using PUT method for xWiki RESTful!
--
View this message in context: http://xwiki.475771.n2.nabble.com/xWiki-RESTful-HTTP-Connection-tp7599026.h…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
i want to count over different document a $counter in velocity. Do you have
an easy way that i can store and read that value so i can use it on all
documents (with different context)?
Is there a macro for such a job? I not found anything.
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Parameter-in-different-contexts-tp7598994…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello:
I want to upload the latest PlantUML.jar server as an attachment to the
PlantUMLMacroGClass page. The current PlantUML.jar is outdated, and is
already an attachment to this page.
I press the "chose file"button, search for the .jar file, and invariably it
stops at about 2MB with an error message that says "an error occured while
uploading plantuml.jar". What could be the problem? the file is about 5MB
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Uploading-jar-as-attachment-to-page-fails…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello there. I am pretty new to XWIKI. I have some questions to LDAP and User information.
User management is currently used with LDAP. I changed user profile information and mapped fields to LDAP. Information is as usual updated once user logged in to XWIKI
I would like to know if there is any possibility to auto update user information in some time periods without pushing them to login in wiki.
Thanks!
Mit freundlichen Grüßen / Best regards
Oleg Rochlin | Werkstudent | System implementation
SSI SCHÄFER | SSI Schäfer Noell GmbH | i_Park Klingholz 18/19 | 97232 Giebelstadt | Germany
oleg.rochlin(a)ssi-schaefer.com<mailto:oleg.rochlin@ssi-schaefer.com>
Website<http://www.ssi-schaefer.de/> | Blog<http://www.ssi-schaefer.de/blog> | YouTube<http://youtube.com/lagerlogistik1> | Facebook<http://facebook.com/SSI.SCHAEFER.DE>
SSI Schäfer Noell GmbH | 97232 Giebelstadt | Germany
Incorporated in Würzburg | Commercial Register B 6936 | VAT no. DE170860279
Managing Directors: Rudolf Keller, Henricus Swinkels
From the XWiki source code, I see there is a difference in passing a document to the evenmanager:
The DocumentDeletingEvent is passing a “new XWikiDocument(doc.getDocumentReference())"
The DocumentUpdatedEvent (as an example) is passing the doc (the actual XWikiDocument)
The difference is, that the Document passed in the DeleteEvent is a new XWikiDocument and not the XWikiDocument that is about to be deleted.
Is there a reason why this difference exists?
Br,
Peter
Hello:
hyperlinks don't work in svg images. I have the following example on a page:
but you cannot click on it. You should be able to. Does it have something to
do with how xwiki renders images? or is the problem in the svg macro? I
really would like this to work.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/hyperlinks-in-SVG-images-tp7598960.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi there, I would like to request a wiki for our organization
Description: The organization is California Dragon Boat Association (
http://cdba.org/) and we are a non-profit helping to push the sport of
dragon boating in our community for adults, college students, and youths.
I'm hoping to create a space for all collaborators to not only keep track
of our ongoing projects and logistical planning but to also archive
historical information.
Owner Name: John Yu
Wiki Name: cdba
Much appreciated and thank you!
--
John Yu
Hi all,
I'm new to Xwiki, and I recently imported a XAR for an extension, to see
what the process would be like for airgapped instances. Unfortunately, that
extension was already installed, and that seems to have broken its status
in the extension manager. If I click uninstall from the extension manager,
i get:
Starting job of type [uninstallplan] with identifier
[extension/plan/org.xwiki.contrib:application-project-management-taskmanager/wiki:xwiki]
Extension [org.xwiki.contrib:application-project-management-taskmanager] is
not installed
Finished job of type [uninstallplan] with identifier
[extension/plan/org.xwiki.contrib:application-project-management-taskmanager/wiki:xwiki]
Manually deleteing all of the extension's pages doesn't work either. How
can I fix things so I can use extension manager for this extension again?