The XWiki development team is proud to announce the availability of XWiki
6.3.
This release provides a great stabilization of the Flamingo Skin, and
includes new themes and some improvements to manage them.
It also contains a new mail API and module to replace the old mailsender
plugin, a new dynamic tree widget that is progressively replacing all
existing trees in XWiki (Document Index, Navigation Panels, etc...), some
improvements on the Extension Manager as well as on the User Directory and
the Applications Panel.
Efforts have been made on the performances side, with good results on view
mode (except on the first loaded-page). We reach the same performances as
5.4.6, which was not the case during the 6.x cycle until now. This is a
first milestone to get even better!
Finally, and like every releases, a lot of bugs have been fixed.
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/ReleaseNotesXWiki63
Thanks
-The XWiki dev team
Hello all,
I have a list on a page which defaults to a value defined in the objects of the page. What I want to do is access the value of the list after the page is refreshed from velocity code on the same page. My users would open the page and see the lists with their default values, then select some values from the list and press a button causing a post-back. After the post-back happens, I need to essentially "reflect" the selection that the user made from velocity code.
So far if I use the following code:
#set($obj = $doc.getObject("myspace.myclass",0))
$doc.display("myprop","view",$obj)
But, I get the default value after the page posts back, even though the selected value persists.
Any help is greatly appreciated.
Hello
I have a little question and I couldn't find an answer on the internet...
In a groovy part, I can create list the attachments of the current document with this :
{{groovy}}
list = doc.getAttachmentList();
print(list);
{{/groovy}}
how can I access the documents of another page in the same way?
On a different page of the wiki I tried
{{groovy}}
list = XWiki.WebHome.getAttachmentList();
print(list);
{{/groovy}}
to get a list of the attachments on XWiki.WebHome, but it didn't work...
Do you have any clue?
Thank you very much !
Adrien
Hey everyone!
I am looking to place page breaks in specific locations within the content
on a page.
The content in the wiki pages is instructions on how to operate various
machines on our manufacturing floor.
The most common export used to print these instructions id PDF.
Many times a single step will be printed on two different pages.
I am tasked with eliminating this.
I have found a post about page breaks from 2009.
*(% style="page-break-before:always" %)*
It was mentioned that this was considered an advanced feature and was seldom
used.
It was also mentioned that there might be added support to enter parameters,
such as CSS) and the WYSIWYG in XE 1.9.
I was hoping someone might be able help me on this or maybe even direct me
to more information about using page breaks in the xwiki.
Thanks!
--
Hello,
I try to use $cookietool without success...
(I try to get my cookie with $request too but I didn't mange either)
Any help to use it?
My need, I created some cookie with javascript + onclick and I need to get them in my velocity code to avoid blinking during loading page (to hide some div if cookie is present)
Thxs
Pascal B
Hi all,
I'm running XWiki 6.2 (Oracle-DB / Tomcat7) with two sub-wikis.
I learned that for each sub-wiki, a database is created. Does anyone know the username and password for the sub-wiki databases? Are they the same as for the main database?
Here's why I'm asking: I'm trying to transfer the wiki including the sub-wikis to a new server, but the XWiki-User is not allowed to create databases there. So I had the admin set up the databases and sent three dumps of the main and sub-wiki databases. After importing, I can't access the wiki, I get an error message like this:
SQL Error: 1435, SQLState: 72000ORA-01435: No such user
So, basically, the question is: How to transfer a wiki including sub-wikis to a new server?
Hello,
I finalized my "ShowHide only right panel" extension.
I use only one JS function and 1 cookie.
Here the code and instruction if you want (like you show me your xar :-) )
---------------------------
To use it:
- you must add this html code in a page (in footer by example)
{{html}}
<label id="BtnSHPanel" class="btn" onclick="ShowHidePanel('#rightPanels',90)" title="Replier/Déplier le panel de droite">⇄</label>
{{/html}}
- add JS Cookie function (Cookie.xar)
- and replace this line in template (or use xwiki object):
./templates/rightpanels.vm
<$bodyTagName id="body" class="skin-flamingo wiki-${xcontext.database} space-${escapetool.xml($doc.space.replaceAll(' ', '_'))} ${bodyAction}body #if($showLeftPanels == "0" || $!request.getCookie('CkPanelhidden'))hideleft#end#if($showRightPanels == "0" || $!request.getCookie("CkPanelhidden"))hideright#end#if($hidecolumns && ($!hidecolumns == 1))hidelefthideright#end #if($showLeftPanels != "0" && $showRightPanels != "0" && $!hidecolumns != 1)content#end panel-left-width-${leftPanelsWidth} panel-right-width-${rightPanelsWidth}">
./skins/flamingo/htmlheader.vm
#if($showRightPanels == "1" || $request.getParameter("forceRightPanels") || $!request.getCookie("CkPanelhidden"))
<div id="rightPanels" class="panels right panel-width-$!{rightPanelsWidth}"#if(($showRightPanels != "1" && $request.getParameter("forceRightPanels")) || $!request.getCookie("CkPanelhidden"))) style="display: none;"#end>
#set($panelUixs = $services.uix.getExtensions('platform.panels.rightPanels'))
---------------------------
My JS function:
----------
function ShowHidePanel(VarPanelId, day) {
//Show or Hide panel depend of cookie
var PHidden = readCookie('CkPanelhidden');
require(['jquery'], function ($) {
if (!PHidden) {
//Hide the panel and save state in a cookie
$('#xwikicontent').append("<p>Debug Hide Panel:VarPanelId "+VarPanelId+"</p>");
createCookie('CkPanelhidden',true,day);
$(VarPanelId).slideUp(0);
}
$('#body').toggleClass('hideleft hidelefthideright');
$('#contentcontainer').toggleClass('hideleft hidelefthideright');
if (PHidden) {
//Show the panel and delete the cookie
eraseCookie('CkPanelhidden');
$(VarPanelId).slideDown(0);
}
});
}----------
(xwiki users list in copy if interested)
Pascal BASTIEN
________________________________
De : Paul-Catalin Cojan <paul.cojan(a)xwiki.com>
À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>
Envoyé le : Mardi 4 novembre 2014 17h21
Objet : Re: [xwiki-devs] [Contrib] Hide-Show Panels extension
Hello,
I attached the xar.
On Tue, Nov 4, 2014 at 5:59 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
Hello,
>
>Could you send me your xar, plz?
>I'm interested with it (I'm started to work on a similar panel in CSS but I hadn't time to add some JS to make it persistent with cookie + JS) and worked on another job priority before to continue...
>
>I will send you eventually bugs if I encountered some before you publish on e.x.o.
>
>Thanks by advance.
>
>Pascal B
>
>
>
>________________________________
> De : Paul-Catalin Cojan <paul.cojan(a)xwiki.com>
>À : devs(a)xwiki.org
>Envoyé le : Mardi 4 novembre 2014 16h18
>Objet : [xwiki-devs] [Contrib] Hide-Show Panels extension
>
>
>Hello devs! I created an extension that allows to hide and show the left
>and the right panel column. It have only one document XWiki.PanelsShowHide
>with one jsx and one ssx object. I need a repository on
github. The name
>can be : panels-showhide-extension or application-showhide-panels or if
>you have any suggestion. Thank you!
>_______________________________________________
>devs mailing list
>devs(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/devs
>
>
>
The XWiki development team is proud to announce the availability of
XWiki 6.3 Release Candidate 1. This release comes with 16 new Flamingo
themes adapted from Bootswatch and a new application to manage them.
The document index tree and the Navigation panel have been greatly
improved by using a new tree widget which is exposed as a wiki macro.
The developers will be interested by the new WebJar integration
features. This, along with 17 improvements and 33 bug fixes, makes
this release worth trying.
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/ReleaseNotesXWiki63RC1
Thanks
-The XWiki dev team
Hi users and devs,
I would like to have your opinion on the topic of case sensitive vs case
insensitive and which one you prefer in XWiki.
Currently, XWiki is case sensitive. This means the same resource name
(document name, space name, etc) can be written with either small letters
or big letters or a mix.
Examples: You can have both "Main.Test" and "Main.test" as 2 different
documents. Also, you can have "XWiki.Admin" and "XWiki.admin" as 2
different users. This also applies to URLs, as "/Main/Test" is different
from "/Main/test" or "/main/test", so all these 3 are different resources.
Even from this short description, one can already identify possible
problems of this approach.
>From the top 3 operating systems (Linux, Mac an Windows), only Linux is
case sensitive, the other two (more user-focused Operating Systems) are
both case insensitive.
Since XWiki has one of its main targets the Enterprise users, it is safe to
assume that the correct approach would be to also be more user-focused and
simplify things and avoid confusions by being case insensitive as well.
Also, a quick search on existing issues validates the need for this
improvement:
http://jira.xwiki.org/issues/?jql=text%20~%20%22case%20insensitive%22
What do you think? Is it OK to keep XWiki case sensitive, or would you
prefer it case insensitive? Bring arguments.
I have also created a jira issue for this idea:
http://jira.xwiki.org/browse/XWIKI-11412 to track it in the future.
Thanks,
Eduard