The XWiki development team is proud to announce the availability of XWiki 7.4 Milestone 1.
This is our last stabilization release 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, especially for the Watchlist.
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/ReleaseNotesXWiki74M1
The following people have contributed code to this release (sorted alphabetically):
Marius Florea
Vincent Massol
Ecaterina Moraru
Eduard Moraru
Thomas Mortagne
Clemens Robbenhaar
Jean Simard
Manuel Smeria
Thanks for your support
-The XWiki dev team
On 26 Nov 2015 at 20:28:59, Anton Hughes (ah@tradeworks.io(mailto:ah@tradeworks.io)) wrote:
>
> On 26 November 2015 at 20:18, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > [[MyExamplePage]] works in XWiki too :)
> >
> > > This is so simple that anyone can do it!
> >
> > Why don’t you try it on xwiki?
> I have - and it doesnt work on XWiki. That is why I took the time to write about this.
It works. Create a page with [[test]]. You’ll see a question mark (wanted link). Click on it, add content and save. Navigate back to your first page. The link works.
What you’re showing in the screenshots is orange and apples. In one link you link to a new page called MyExamplePage. And in the second one you link to a page named MyExamplePage.WebHome.
In Mediawiki try create a page2 that exists (and a page1 that doesn’t). Then write in another page:
[[page1]]
[[page2]]
You’ll get the same result.
Thanks
-Vincent
> Anton Hughes
I'm trying to find "comparable tools" that we could document there as
being comparable experiences that users might have met already. I do not
see any yet (Confluence and Jenkins seem to have pedgown as an option,
that's the only similarity I find).
So... this is "just another extended markdown" ?
Caleb, did you have something more pangalactic in mind?
Paul
vincent(a)massol.net wrote:
>> I'm sure we could do more user-friendly by comparing to tools that
>> use PegDown maybe.
> I’m not sure what you have in mind but feel free to edit the page and
> add information.
Hello
In a Mediawiki page, a user can added [[category:my category]], and the
page will be accessible from the 'my category' category. The same page can
be added to many categories.
The nested page concept seems to be hierarchical only, so a page belongs in
a tree, but cannot therefore be in other trees.
Also, in Mediawiki, there is the possibility (
https://meta.wikimedia.org/wiki/Help:Embed_page) to embed pages ? I have
tried using the mediawiki syntax for this but it does not seem to work.
--
Anton Hughes
Hi Team,
I could not yet get a proper working instance of an object with Database Tree property. Is there any reference I can check on detais of how I can use this? Everything I could find related with DBTree was on JIRA and they're not clear.
I see that I need a page hierarchy to display. Is it only a matter of parent-child relationship (if so, how can I inform to DBTree property the "root" of the hierarchy) or I can use the XE's native "relational" mechanism between objetcs, as I do with Database List?
I've tested both approaches, without success. I'm not using App within minutes, because I would like to learn and understand how this works to build bigger applications.
Below is the example of what I'm trying to build.
Thanks again in advance,
Ramon Brandão
-----Original Message-----
From: users [mailto:users-bounces@xwiki.org] in name of Ramon Gomes Brandao
Sent on: terça-feira, 24 de novembro de 2015 19:30
To: users(a)xwiki.org
Subject: [xwiki-users] Database Tree property Error on XE 7.1.2
Hi Xwiki Team,
I'm building an application on XE 7.1.2 and it uses classes with 1:N relations between them through Database List and (potentially) Database Tree property. The relation using Database Tree is not working. For illustration of my use case, I have the following classes:
Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String
Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id Field Name=info0ID and Value Field Name=info0Name
Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and Parent Field Name=relatedInfo0
The relation I want to build is, then: 1 Instance of Info0Class can be related to (0...N) Info1Class, which then can be related to (0...N) Info2Class.
When creating a new instance of Info2Class, I would like to show the information on relatedInfo1's select box in a tree view manner, where the "relatedInfo0" instance name is the aggregator and all the related Info1Class instances are the leafs. Thus, the user can get a much better idea of which Info1Class she/he can select for relatedInfo1 field.
I've used, since then, only the default pages and codes generated by class editor (default sheet to display class properties and default template). I got the relation working like a charm between Info1Class and Info0Class, but things are not working with Info2Class and Info1Class. Creating a new instance of Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError" and infinite "com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)" calls. In this way, I could not even check if this use case is valid for the Database Tree List.
I've searched deeply and really could not find any further documentation about Database Tree Usage, neither examples, nor detailed information on how to get this working. The only reference is a brief description on the XWiki Data Model Page mentioning the Yahoo Javascript Tree Library.
So, the questions for the team are:
1) Where can I find more information (a good tutorial/documentation/usage example) about Database Tree List?
2) Is it suitable for this use case? Am I doing it right?
3) What do I need to get a Database Tree property/relation to work?
Thanks in advance for your help.
Best Regards,
Ramon Brandão
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hello.
How would I create a new space under Main or the toplevel entity from a java
component. So far I'm doing this, but not sure..
DocumentReference docref = new
DocumentReference(serverName,pageSpace,pageName);
if(xwiki.exists( docref, xcontext)){
//skip create do other stuff
}else{
XWikiDocument doc = new XWikiDocument(docref);
doc.setTitle(pageName);
DocumentReference docrefparent = new
DocumentReference(serverName,pageSpace,"WebHome");
doc.setParentReference(docrefparent);
xwiki.saveDocument(doc, xcontext);
}
Where:
serverName = $request.serverName
pageSpace = "Main"
pageName = "NewPage"
is there anything else I need to set on the document or am I referencing
wrong? Not sure why it is not creating the page..
--
View this message in context: http://xwiki.475771.n2.nabble.com/Create-spaces-and-page-in-toplevel-space-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dears,
I've just updated to XWiki 7.3. I'm really happy to keep enjoying XWiki and
to see how the framework is evolving. The interface is now cleaner, much
nicer. All behind the scene seems to me clearer release after release.
Thanks for the effort!
Warmest regards,
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Hi Xwiki Team,
I'm building an application on XE 7.1.2 and it uses classes with 1:N relations between them through Database List and (potentially) Database Tree property. The relation using Database Tree is not working. For illustration of my use case, I have the following classes:
Space.Info0Class with properties:
"info0ID" type String
"info0Name" type String
Space.Info1Class with properties:
"info1ID" type String
"info1Name" type String
"relatedInfo0" type Database List -> with Xwiki Class Name=Space.Info0Class, Id Field Name=info0ID and Value Field Name=info0Name
Space.Info2Class with properties:
"info2ID" type String
"info2Name" type String
"relatedInfo1" type Database Tree List -> with Xwiki Class Name=Space.Info1Class, Id Field Name=info1ID, Value Field Name=info1Name and Parent Field Name=relatedInfo0
The relation I want to build is, then: 1 Instance of Info0Class can be related to (0...N) Info1Class, which then can be related to (0...N) Info2Class.
When creating a new instance of Info2Class, I would like to show the information on relatedInfo1's select box in a tree view manner, where the "relatedInfo0" instance name is the aggregator and all the related Info1Class instances are the leafs. Thus, the user can get a much better idea of which Info1Class she/he can select for relatedInfo1 field.
I've used, since then, only the default pages and codes generated by class editor (default sheet to display class properties and default template). I got the relation working like a charm between Info1Class and Info0Class, but things are not working with Info2Class and Info1Class. Creating a new instance of Info2Class triggers a
"org.apache.velocity.exception.MethodInvocationException: Invocation of method 'display' in class com.xpn.xwiki.api.Document threw exception java.lang.StackOverflowError" and infinite "com.xpn.xwiki.objects.classes.DBTreeListClass.addToSelect(DBTreeListClass.java:319)" calls. In this way, I could not even check if this use case is valid for the Database Tree List.
I've searched deeply and really could not find any further documentation about Database Tree Usage, neither examples, nor detailed information on how to get this working. The only reference is a brief description on the XWiki Data Model Page mentioning the Yahoo Javascript Tree Library.
So, the questions for the team are:
1) Where can I find more information (a good tutorial/documentation/usage example) about Database Tree List?
2) Is it suitable for this use case? Am I doing it right?
3) What do I need to get a Database Tree property/relation to work?
Thanks in advance for your help.
Best Regards,
Ramon Brandão