Hi users,
My project in XWiki consists in a java component which offers some APIs
through a script service called by a Velocity script in a wiki page.
I put my .jar in the directory C:\XWiki Enterprise
7.3\*webapps\xwiki\WEB-INF\lib
*and this is the Velocity and HTML code that I've put in my XWiki page:
{{velocity}}
#if("$!request.evolver" == 1)
## Request for creating a new instance
$services.pars.parse()
$services.evo.removeInstance("Take bike")
$response.sendRedirect($xwiki.getURL('Main.WebHome'))
## Stop processing, since we already sent a redirect.
#stop
#end
{{html}}
<form action="" id="newEvolution" method="post">
<div>
<input type="hidden" name="evolver" value="1"/>
<span class="buttonwrapper">
<input type="submit" value="Evolve" class="button"/>
</span>
</div>
</form>
{{/html}}
{{/velocity}}
Let first say that nothing is happening when I click on the "Evolve" button
and I don't know why...it looks like it should work, also because creating
a Main_test class in Eclipse, I can run my software calling exactly the
same methods and it works!
Moreover my component must create some files to store some information,
thus I am wondering where to save those files in order to make them
accessible by the component.
Any suggestions?
Thanks in advance,
Giordano.
The XWiki development team is proud to announce the availability of XWiki
7.4.
This is our last stabilization release for the XWiki 7.x cycle and the new
Long Term Support (LTS) version. It mainly brings polishing and
stabilization for the Nested Pages feature, especially in the UI. Among
other things, this release introduces a new notifications menu with the
watchlist actions inside. Application Within Minutes now creates a *Code*
and a *Data* page where the application content is stored. And it is now
possible to have template hierarchies and to add an redirection when a page
is renamed.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki74
The following people have contributed code to this release (sorted
alphabetically):
* Andreas Jonsson
* Clemens Robbenhaar
* Ecaterina Moraru (Valica)
* Eduard Moraru
* Guillaume Delhumeau
* Jean SIMARD
* Manuel Smeria
* Marius Dumitru Florea
* Sergiu Dumitriu
* Thomas Mortagne
* Vincent Massol
Thanks for your support
-The XWiki dev team
Hey all,
I have an instance of XWiki running that is integrated with Active Directory. 99% of the time, users are able to log in without issues. However, once in a while (every month or two), a user will get kicked off (signed out and their credentials no longer work). After a couple hours, they are able to log in perfectly fine. During this time, other users have no login issues and using a different browser, clearing cookies/cache, etc do not seem to help at all. Additionally, the user can still log into other systems that use Active Directory with those same credentials. It also doesn't look like this is happening because of a password reset as far as I can tell; today a user was locked out but their last password reset was last week some time.
Does anyone have any ideas about what might be causing this, or at least know how to narrow it down to figure out if it's an XWiki issue or if it's something else? I have been poking around through the log files but I haven't been able to see anything out of the ordinary.
Thanks,
Harrison
American Express made the following annotations
******************************************************************************
"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."
American Express a ajout� le commentaire suivant le Ce courrier et toute pi�ce jointe qu'il contient sont r�serv�s au seul destinataire indiqu� et peuvent renfermer des
renseignements confidentiels et privil�gi�s. Si vous n'�tes pas le destinataire pr�vu, toute divulgation, duplication, utilisation ou distribution du courrier ou de toute pi�ce jointe est interdite. Si vous avez re�u cette communication par erreur, veuillez nous en aviser par courrier et d�truire imm�diatement le courrier et les pi�ces jointes. Merci.
******************************************************************************
Hi,
The default dashboard is located in Dashboard.WebHome. When you upgraded you should have had the Distribution Wizard upgrade that page. Was that the case? Could you check the history for that page?
Now two things could have happened:
1) you overwrote the changes brought by the Distribution Wizard by importing old versions of pages from your previous wiki. If you’ve done that then you’ve most likely broken the upgrade process since you’ve removed all the upgrades that were required to all default wiki pages! :) See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Upgrade for the canonical way of upgrading an XWiki instance. If you’ve done that I suggest that you redo the upgrade.
2) you have modified Dashboard.WebHome. If this is the case then you’ll need to update your version to use the {{documentTree}} macro instead of the spaces macro.
As I’ve mentioned already in my reply the notion of Spaces have been removed from the UI (I’ve linked you to some page with the explanation, have you been able to read that page? was it clear? should we improve things there with more explanations?).
Thanks
Hope it helps,
-Vincent
On 23 Dec 2015 at 12:19:45, KirbY ZhoU (kirbyzhou(a)gmail.com) wrote:
I belived that I have use the space widget version 7.3.
I created a new Xwiki-7.3, and then import the old spaces one by one, excluding 'Main', 'XWiki' and all spaces coming with Xwiki default pages.
I just want to get a simple space list.
发件人: Vincent Massol <vmassol(a)gmail.com> 代表 "vincent(a)massol.net" <vincent(a)massol.net>
日期: 2015年12月23日 星期三 上午4:41
至: XWiki Users <users(a)xwiki.org>
抄送: KirbY ZhoU <kirbyzhou(a)gmail.com>
主题: Re: [xwiki-users] How to avoid nested space?
Hi KirbY,
On 22 Dec 2015 at 21:27:47, KirbY ZhoU (kirbyzhou@gmail.com(mailto:kirbyzhou@gmail.com)) wrote:
> How to avoid nested space?
>
> Since the new nested space feature, a lot of nested space such as "XXX.YYY" appears in the "Space List" in my home page.
> If I want to create a sub page, a new nested space created silently. It becomes more and more, and bothers our users.
>
> I want keep the original simple one level space and documents tree model instead of the new nested space model. How can I get it?
The issue is that you haven’t upgraded your home page (the dashboard I presume). We have replaced the Space widget with a Documents widget. Normally, when you have upgrade you should have had the Distribution Wizard kicking in and updating the default wiki pages. Please let us know what you’ve done when the Distribution Wizard has executed.
The notion of Spaces has been removed starting with XWiki 7.2+
Please see http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization
The introduction of Nested Spaces is a large change and we wish to make it as seamless as possible to our users. Please let us know any issue you see and we’ll try to help you and see if we can improve things by default so that other users have less problems upgrading.
Thanks for your help and patience.
-Vincent
Is there a simple way to create a document tree default expand to 3 levels?
For example:
* Level 1
** Level 2
*** Level 3
*** Level 3
** Level 2
*** Level 3
** Level 2
*** Level 3
And, DO NOT use "see more" button to hide items.
DocumentTree macro seems do not work for this situation.
How to avoid nested space?
Since the new nested space feature, a lot of nested space such as "XXX.YYY" appears in the "Space List" in my home page.
If I want to create a sub page, a new nested space created silently. It becomes more and more, and bothers our users.
I want keep the original simple one level space and documents tree model instead of the new nested space model. How can I get it?
The XWiki development team is proud to announce the availability of XWiki 7.4 Release Candidate 1.
This is our last stabilization branch for the XWiki 7.x Cycle. It brings polishing and stabilization for the Nested Pages feature and the changes in UI that resulted from it.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki74RC1
The following people have contributed code to this release (sorted alphabetically):
Guillaume Delhumeau
Sergiu Dumitriu
Marius Dumitru Florea
Vincent Massol
Thomas Mortagne
Thanks for your support
-The XWiki dev team
Xwiki-7.3
For example:
My page hierarchy looks like:
Sandbox.WebHome
TestPage1
TestPage2
TestPage3
SubPage1
SubPage2
SubPage3
SubPage3-1
I want to create a tree open to 'SubPage2'
So the tree should like:
*Sandbox.WebHome
** TestPage1
** TestPage2
** TestPage3
*** SubPage1
*** SubPage2
*** SubPage3
I have a lot of code such like:
{{documentTree root="space:Sandbox" showRoot="false" showTranslations="false" hierarchyMode="parentchild" openTo="document:Sandbox.SubPage1"/}}
{{documentTree root="space:Sandbox" showRoot="false" showTranslations="false" hierarchyMode="parentchild" openTo="document:Sandbox.TestPage3.SubPage1"/}}
But none of it works; the tree view user seen is always NOT expanded! It has just one level:
*Sandbox.WebHome
My user have to expand the tree hand by hand.
Anyone can help me?
Hello,
Before installing XWiki, I wanted to play around in the Sandbox some to see
if it meets our requirements.
http://playground.xwiki.org/xwiki/bin/view/Sandbox/TestPage1 states:
Click on "Edit" and modify the contents of this page,
then click on "Save & View" to see how they look like on your page!
But there is no 'Edit' menu or button to be found.
And yes, I registered and logged in. Even tried different browsers to make
sure it isn't some pluggin I installed.
Is this supposed to work?
Kind regards,
Herta
--
"Life on Earth may be expensive,
but it comes with a free ride around the Sun."