Hi users,
I have installed XWiki 7.3 but when I start the service, you can see in the
attachments what the commando prompt is saying to me.
I have tried to unistall and re-install, I've cheched the environment
variable JAVA HOME and I don't know how to solve this.
Giordano.
Hi users,
I am wondering on how to update the content of a xwiki page, in paticular I
want to add a link to the content that already is in the page. Any
suggestions?
Giordano.
I'm creating a form but I prefer using HTML and bootstrap rather than only
velocity syntax. I have the following problem:
<http://xwiki.475771.n2.nabble.com/file/n7597164/userlist.png>
I want to insert user selection list into the form. By doing the following:
{{velocity}}
{{html velocity="true" }}
<div some html details>
#set( $tempobj = $doc.newObject('Classes.USR'))
$tempobj.display('userslist','edit')
</div>
{{html velocity="true" }}
{{/velocity}}
however I get the {{html}} tag around the search box which I don't want. How
can I remove this?
closing and opening the html before and after the call gives rendering
errors. Is there a way to all the $tempobj.display('userslist','edit')
function without rendering the {{html}} tags?
Which function in java lib will give me a simular output? maybe I can do
this through a java component?
What output does the displayEdit() method in BaseObject class give?
I tried something like this, but did not work, I might be totally wrong..
XWikiContext xcontext = this.xwikiContextProvider.get();
DocumentReference referenceClass = resolver.resolve("Classes.USR");
XWikiDocument doc = xcontext.getDoc();
BaseObject domainObject = doc.getXObject(referenceClass);
String disp = domainObject.displayEdit("userslist", xcontext);
return disp
--
View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-html-parsing-of-user-list-tp7597164…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi users,
I am developing a Java Component that offers APIs through a script service.
Those APIs have to modify space and pages' contents of a wiki, thus I was
wondering on how to do that....I already know that if I want to perform
modifications to a Wiki I must add the "xwiki-platform-oldcore" (in my case
the version 7.3) dependency to my pom.xml but I can't still access the
Classes and methods that I need. Meaning that I can't get the wiki from the
context, and this blocks everything because (if i am not wrong) then I
can't get the DocumentReference and the XWikiDocument that allow me to
perfom modification to the Wiki.
It is something related to the *settings.xml* file in the *.m2* folder?
What I've written in there is the same that i found at this page
http://dev.xwiki.org/xwiki/bin/view/Community/Building# but the
"xwiki-platform-oldcore" doesn't appear nor in the repository folder
neither in the Maven Dependencies....either the dependecy is written in the
pom....
Hope to find some help!
Giordano.
Hi Eduard,
Thank you for that response. I guess I should have detailed that I was
looking to get going in the fastest possible way with a long term, stable
deployment. I thought Jelastic might be a good way to provision but
they're pulling from edge rather than LTS. This might be something worth
looking at so not to discourage new deployments via Jelastic. Just good
customer experience and such...
I may have some time to look into this between semesters.
Best,
Andy
>
> ---------- Forwarded message ----------
> From: Eduard Moraru <enygma2002(a)gmail.com>
> To: XWiki Users <users(a)xwiki.org>
> Cc:
> Date: Wed, 9 Dec 2015 12:18:58 +0200
> Subject: Re: [xwiki-users] Click Deployment Issues with jelastic and wizard
> Hi,
>
> I don`t know about jelastic, but the fastest ways for you to try out XWiki
> would be (in order of simplicity):
>
> 1) Try out the live demo at
> http://playground.xwiki.org/xwiki/bin/view/Main/
> It's perfectly safe to do whatever you want, it is periodically reset. Note
> that not all features will be available though and it's not running the
> latest version.
>
> 2) Ask for a http://www.myxwiki.org account and you will receive a free
> subwiki instance that you can use for non-profit purposes, but with limited
> access (no Programming Rights) and no guarantees. This one has a currently
> a newer version than the playground.
>
> 3) Just grab the a local version of XWiki
> http://enterprise.xwiki.org/xwiki/bin/view/Main/Download and install/unzip
> it on your machine to try out all XWiki's features with full control. No
> difficult setups needed either, just make sure you have the Java runtime
> installed on your machine.
>
> Hope this helps,
> Eduard
>
Good day.
I'm trying to add users to a users list within a object. After I have
instanciated the object on the document which I want to ammend, how do I
"set" and "get" the user list property in a java component? I have:
BaseObject domainObject = doc.getXObject(referenceClass);
domainObj.set("lisfOfUsers", ??user?? , xcontext);
domainObj is of a class where the "lisfOfUsers" is a List of Users property.
Currently I have the username as a string. I have tried creating a User or
XWikiUser object and setting the property with the object but with no
success.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-users-to-a-user-list-form-a-java-c…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Tried To Change skins of Waihonapedia.myxwiki.org.
Got a authorization error. Since That the url give white screen?
Help...
Thanks,
Gerritjan
Verstuurd vanaf mijn iPhone
Import and Export XAR will lost tree hierarchy?
I used to have a multi level tree hierarchy inside my wiki space.
But, when I import it, all the pages are flatten as the direct children of the space WebHome.
I use the default export tools to export a large 100M+ xar file under Xwiki-6.3
I use "Admin Tools" application to import large xar file under Xwiki-7.3.
Is it incompatible with tree hierarchy?
How do I get all the spaces for which the current user has access in a java
component?
I have the following:
List<String> lstSpaces = new ArrayList<String>();
XWikiContext xcontext = this.xwikiContextProvider.get();
XWiki xwiki = xcontext.getWiki();
lstSpaces = xwiki.getSpaces(xcontext);
Although this successfully returns all the spaces, it also returns the
spaces for which the current user has no "view" or other access rights. Also
it seems that the Java .getSpaces is deprecated and I can't seem to find the
new method for this. http://maven.xwiki.org/site/docs/xwiki-javadoc-5.0.x/
seems outdated as xwiki.getSpaces() is still active in this javadoc, with no
alternative. Is there a new javadoc availible?
--
View this message in context: http://xwiki.475771.n2.nabble.com/spaces-for-which-the-current-user-has-acc…
Sent from the XWiki- Users mailing list archive at Nabble.com.