Hi users,
Is there any usefull and self-explaining image or diagram which describe
the Architecture of XWiki?
I am looking for something like this:
http://dev.xwiki.org/xwiki/bin/view/Drafts/OldArchitecture
but that is not "old" of course!
Any help?
Giordano.
Hi devs,
I’d like to propose that we move to Java 8 as the minimal Java version supported for XWiki 8.0+.
The rationale is:
* Java 7 is end of life since April 2015.
* It brings [Default Methods|https://docs.oracle.com/javase/tutorial/java/IandI/defaultmethods.h…] which would make retro compatibility a lot easier for us (it's very hard to add new features to existing API right now).
* Required for:
** Infinispan 8
** JGroups 4
** Jetty 9.3+ seems to require Java 8 (or maybe it's just optimized for it, http://download.eclipse.org/jetty/ is not crystal clear about what "Java 8+" means exactly)
Nice to have
* Lambda Expressions
* Repeating Annotations which would probably allow us to use several times \@Named instead of \@Component(hints=\{"hint1", "hint2"\}) for example
* New date/time APIs (pretty much what is in Joda Time). We should refactor our $datetool velocity tool to make the java.time api available from velocity
* more…
See http://jira.xwiki.org/browse/XCOMMONS-878
Here’s my +1 and my +1 to start requiring Java 8 for 8.0M2.
Thanks
-Vincent
Hi users,
In my java component I am handling the creation of spaces and pages. The
point is to write a java method that can create and update spaces and
terminal pages contained in them according to some data structure.
I already have created XClasses, XObjects and Sheets to handle the content
representations of both spaces and terminal pages, but the problem is that
I can´t put the pages inside the correct spaces.
I thought that the space´s Webhome page is a document like any other page,
thus I´ve managed it like the other terminal pages. Terminal pages creation
is ok, meaning that the content are diplayed properly, but the they are
contained in spaces that haven´t a page (if I go in the space´s page I am
asked to create it because it doesn´t exist), meanwhile there are other
pages which have the content that should be displayed in the space page.
Example of the structure that I have:
Space
Space(with no content/xobject)
Terminal Page
Terminal Page
.
.
.
Page with space´s content/xobject
Space(with no content/object)
Terminal Page
Terminal Page
.
.
.
Page with space´s content/object)
.
.
.
So my question is how do I have to create the space´s page if I want to
associate an XObject for the content representation? I used resolver for
both spaces and document, so I think that the references are handled
correctly...
Sorry for the long post and thank you for your answers.
Giordano.
In the 7.4 release, the Mocca Calendar extension and the calendar view of the
Meeting Application extension use different first days of the week. I'd like
to have our site consistently use the same first day (Sunday). Can anyone
give me a pointer on how to do this?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Mocca-Calendar-and-Meeting-Calendar-have-…
Sent from the XWiki- Users mailing list archive at Nabble.com.