The XWiki development team is (not so) pleased to announce the release
of XWiki Enterprise Manager 2.0.1.1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release fix one critical bug found in XWiki Enterprise Manager 2.0.1.
* XAWM-106 - NullPointer Exception on WikiManager.CreateNewWiki page
For more information see the Release notes at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM2011.
Thanks
-The XWiki dev team
Hello,
I try to import an Office (word 2003 document) with a "Ç" character (ALT 128).
The result into the wiki page is: "Ç".
The result is the same in "UTF-8" or in "ISO-8859-1".
Is this due to a configuration issue or a bug?
Thank's in advance for your answer.
Best Regards,
Is anyone working on an XWiki book and can tell us about it? :-) I think the current documentation improvement efforts are great, but what we really need is a good book that ties together XWiki capabilities with up-to-date examples.
-Joshua-
Hi,
I'm writing a comoponent that needs to access and modify XWiki objects. I'm
using the DocumentAccessBridge interface, but a little puzzled by the
interface. It seems like, to inspect the objects of a given class in a
given document, I have to do something like:
String[] properties = new String {"firstName, lastName"};
int objectNum = 0;
boolean moreObjects = true;
while (moreObjects) {
for (String property : properties) {
String value = (String) documentAccessBridge.getProperty(documentName,
"Main.MyClass", objectNum, property);
if (value == null) {
moreObjects = false;
break;
}
// ...
}
objectNum++;
}
It also seems like it's impossible to set properties of any object other
than the first one of its class in a document, using the one setProperty
method.
Is this a correct way to access objects (I've been having trouble testing as
per my previous post)? Is there another way to modify objects?
I did notice that this interface is only intended to be temporary until a
redesign exposes the whole model as a component. When is this expected to
happen?
Thanks,
David Breeden
--
View this message in context: http://n2.nabble.com/Accessing-objects-via-DocumentAccessBridge-tp3825435p3…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm writing a component with a dependency on a 3rd-party JAR. I've
installed the JAR in my local repository and added the dependency in the
component's POM, and everything builds fine. However, when I add the
component to my XWiki install (on the same machine) and try to start it up,
I get a NoClassDefFound error.
What is the standard way to write a component with 3rd-party dependencies?
Thanks!
~David
--
View this message in context: http://n2.nabble.com/Component-with-3rd-party-dependency-tp3818195p3818195.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I want to sort the items in a panel by name.
I'm using as follows, but the items in the panel are not in alphabetical
order.
How can I do this with the same code below?
#set($web = $doc.web)
#panelheader('Name')
#foreach($subdoc in $xwiki.getSpaceDocsName("$doc.web"))
#if($subdoc!='WebPreferences' && $subdoc!='WebHome')
- [${doc.web}.${subdoc}]
#end
#end
#panelfooter()
Thanks,
Alexandre Souza
Hi All ,
Could someone explain me if exists any possibility to migrate a mysql
database in syswiki to a mysql database in xwiki?
Thanks in advance,
Carolina Ramirez
Hi,
I'm new to XWiki (and Maven, for that matter) and would like to write a
component. I've gone through the Writing XWiki Components tutorial and the
Building XWiki from sources page and also found this helpful post:
http://n2.nabble.com/Components-in-XWiki-td2621693.html#a2621693. I
generated the sample org.xwiki.component.HelloWorld component from the
archetype in the tutorial, compiled it using the Maven Eclipse plugin, then
dropped the jar in my WEB-INF\lib. But when I try to load the component
with the sample script:
{{groovy}}
def greeter =
com.xpn.xwiki.web.Utils.getComponent(org.xwiki.component.HelloWorld.class);
{{/groovy}}
I get exceptions saying "Failed to load component
[org.xwiki.component.HelloWorld] for hint [default]" and "Can't find
descriptor for the component [role = [org.xwiki.component.HelloWorld] hint =
[default]]"
I've also tried adding the @ComponentRole and @Component annotations (with
no hints) to HelloWorld.java and DefaultHelloWorld.java which weren't there
before, and also adding org.xwiki.component.HelloWorld to the plugins in
xwiki.cfg, but this doesn't seem to change anything.
What am I missing to successfully load the component?
Much thanks,
David Breeden
--
View this message in context: http://n2.nabble.com/Installing-components-tp3811159p3811159.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I've got lots and lots of pages created in xwiki/1.0 syntax. Now we decided to migrate to V2.0. Furthermore it's noticeable that we use XMLRPC to upload pages to our wiki. Migration lead to rendering problems in the new version since it expects the pages to be in xwiki/2.0 format by default. I changed the default to xwiki/1.0, cleared the wiki and did another upload and it worked as expected.
However this isn't the approach we would like to use in production. To avoid migrating hundreds of pages (and lots of code that builds pages) to 2.0 syntax but to keep the default value xwiki/2.0 we're somehow stuck. A possible and reasonable compromise could be to set the syntax of a page during creation time, meaning that legacy pages will be created as 1.0 others maybe as 2.0, or (to start dreaming) in a way of autodetecting the page's syntax.
To make it short:
Is there a way we could easily upload our 1.0 pages to a 2.0 wiki without changing the default value? Otherwise we would have to spend several days in migrating our code, which costs us without giving us any additional functionality.
Thank you
Mike