Hello,
I create a JSX object with parse option enabled and in the code I put
something like:
doit("${my_vm_variable}")
in my XWiki doc, i put:
#set($my_vm_variable = "my_value")
$xwiki.jsx.use("my_jsx_doc")
But, the variables are not interpreted... (I also tried to put the variable
in the jsx doc but doesn't work either)
I may misunderstand something :)
regards
Pascal
Hi I am trying to deploy the xwiki Enterprise 1.6 that comes bundles
with Jetty and HSQLDB in Fedora 3 environment. I unzipped it and
placed that folder in /usr/local folder. I started the server and it starts
fine. When I go to the browser with URL http://localhost:8080/xwiki I
get the following message, which was expected:
-------------------------------------------------------------------------------------------------------
Error 404 - Not Found.
No context on this server matched or handled this request.
Contexts known to this server are:
* WebApplicationContext[/xwiki,xwiki]
The links above may not work if a virtual host is configured
--------------------------------------------------------------------------------------------------------
Now when I click "WebApplicationContext[/xwiki,xwiki]" - instead
of showing the welcome page, it gives me the error message as
following:
--------------------------------------------------------------------------------------------------------
HTTP ERROR: 500
Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Unable to build interceptor chain
RequestURI=/xwiki/bin/view/Main/
Powered by Jetty://
--------------------------------------------------------------------------------------------------------
Please suggest how can I fix this problem.
Best regards....
Hi devs,
As XE 1.6.1 as been released, I would like to release XEM 1.4 based on it.
As usual the main difference with previous version is the XE version upgrade.
You can look at
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM14 for more
details.
Thanks,
--
Thomas Mortagne
Hi Sergiu,
I have created a JIRA issue at
http://jira.xwiki.org/jira/browse/XWIKI-2763and attached a patch that
would complete the migration.
Please review it and apply it as you see fit. I can start the integration as
soon as this is done.
I kind of have to turn off my computer now because it's thundering outside
(really scary).
Hope to be online in couple of hours.
Thanks.
- Asiri
Hi devs,
I started writing an Add-in for Microsoft Word that could be a part of
our Office integration strategy.
In the next period I'm going to spend 50% of my time on developing this,
here at XWiki Romania.
The technology I use is .NET + VSTO. Yes, I know that .NET it's not in
XWiki's area, but this technology is very powerfull and it can bring an
advantage for our platform.
Here is the design page:
http://dev.xwiki.org/xwiki/bin/view/Design/MicrosoftOfficeAddin
Please read it and give me some feedback.
Florin Ciubotaru
Hi guys, regarding the bug from
http://jira.xwiki.org/jira/browse/XPXARPLUGIN, I would like to know your
oppinion regarding this issue:
If there is already a package.xml document, but it's invalid, the plugin
should:
a) Display a warning, ignore the existing package.xml and generate a new one.
b) Throw an error, thus causing the build to fail
Personally, I'm for a), since it's not a critical issue.
Thomas M. says that if there is a package.xml it's because someone wants
that package.xml to be taken into account, so if for b)
Tnx.
Hi Thomas,
Configuration properties must have namespaces specified.
For ex it shouldn't be "cacheHint=jbosscache" but something like:
cache.defaultCacheHint=jbosscache
cache.localCacheHint=jbosscache/local
You have to do that anyway when using the configuration components
(unless you've used an empty string which isn't correct).
Thanks
-Vincent
On Oct 15, 2008, at 3:19 PM, tmortagne (SVN) wrote:
> Author: tmortagne
> Date: 2008-10-15 15:18:38 +0200 (Wed, 15 Oct 2008)
> New Revision: 13576
>
> Modified:
> platform/xwiki-tools/trunk/xwiki-configuration-resources/src/main/
> resources/xwiki.cfg.vm
> platform/xwiki-tools/trunk/xwiki-configuration-resources/src/main/
> resources/xwiki.properties.vm
> Log:
> XTCONFRES-24: Move cache components configuration from xwiki.cfg to
> xwiki.properties
>
> Modified: platform/xwiki-tools/trunk/xwiki-configuration-resources/
> src/main/resources/xwiki.cfg.vm
> ===================================================================
> --- platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
> main/resources/xwiki.cfg.vm 2008-10-15 13:15:33 UTC (rev 13575)
> +++ platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
> main/resources/xwiki.cfg.vm 2008-10-15 13:18:38 UTC (rev 13576)
> @@ -180,6 +180,7 @@
>
> #-------------------------------------------------------------------------------------
> # Cache
> +# [DEPRECATED since 1.7M1: this way to configure cache provider is
> deprecated, you should use xwiki.properties instead.]
> #-------------------------------------------------------------------------------------
>
> #-# [Since 1.5M2]
>
> Modified: platform/xwiki-tools/trunk/xwiki-configuration-resources/
> src/main/resources/xwiki.properties.vm
> ===================================================================
> --- platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
> main/resources/xwiki.properties.vm 2008-10-15 13:15:33 UTC (rev 13575)
> +++ platform/xwiki-tools/trunk/xwiki-configuration-resources/src/
> main/resources/xwiki.properties.vm 2008-10-15 13:18:38 UTC (rev 13576)
> @@ -3,3 +3,15 @@
> # As time progresses more and more component will get their
> configurations from
> # this file.
>
> +
> #-------------------------------------------------------------------------------------
> +# Cache
> +
> #-------------------------------------------------------------------------------------
> +
> +#-# [Since 1.7M1]
> +#-# The cache component implementation to use as "normal" (can be
> local or distributed depending on the implementation)
> +#-# cache component.
> +# cacheHint=jbosscache
> +
> +#-# [Since 1.7M1]
> +#-# The cache component to use as local cache component.
> +# localCacheHint=jbosscache/local
> \ No newline at end of file
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications
hmm the code doesn't look commented.
Asiri can you please fix this for all the new code you've asked to
commit in trunks? At the minimum in places where it's required and at
the maximum it should pass our checkstyle rules.
Note: You should also add @version and @since tags.
Thanks
-Vincent
On Oct 16, 2008, at 5:28 PM, sdumitriu (SVN) wrote:
> Author: sdumitriu
> Date: 2008-10-16 17:28:20 +0200 (Thu, 16 Oct 2008)
> New Revision: 13636
>
> Removed:
> platform/xwiki-plugins/trunk/webdav/src/main/resources/
> platform/xwiki-plugins/trunk/webdav/src/test/resources/
> Modified:
> platform/xwiki-plugins/trunk/webdav/pom.xml
> platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/xwiki/
> plugin/webdav/XWikiDavApi.java
> platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/xwiki/
> plugin/webdav/XWikiDavPlugin.java
> Log:
> [cleanup] Apply codestyle, add license headers, fix dependencies
>
>
> Modified: platform/xwiki-plugins/trunk/webdav/pom.xml
> ===================================================================
> --- platform/xwiki-plugins/trunk/webdav/pom.xml 2008-10-16 15:18:16
> UTC (rev 13635)
> +++ platform/xwiki-plugins/trunk/webdav/pom.xml 2008-10-16 15:28:20
> UTC (rev 13636)
> @@ -1,20 +1,48 @@
> +<?xml version="1.0" encoding="UTF-8"?>
> +
> +<!--
> + *
> + * See the NOTICE file distributed with this work for additional
> + * information regarding copyright ownership.
> + *
> + * This is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU Lesser General Public License as
> + * published by the Free Software Foundation; either version 2.1 of
> + * the License, or (at your option) any later version.
> + *
> + * This software is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this software; if not, write to the Free
> + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> + * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> + *
> +-->
> +
> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance
> "
> - xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd
> ">
> - <modelVersion>4.0.0</modelVersion>
> - <groupId>com.xpn.xwiki.platform.plugins</groupId>
> - <artifactId>xwiki-plugin-webdav</artifactId>
> - <name>xwiki-webdav-plugin</name>
> - <version>0.0.1-SNAPSHOT</version>
> - <dependencies>
> - <dependency>
> - <groupId>com.xpn.xwiki.platform</groupId>
> - <artifactId>xwiki-core</artifactId>
> - <version>1.6-SNAPSHOT</version>
> - </dependency>
> - <dependency>
> - <groupId>com.xpn.xwiki.platform</groupId>
> - <artifactId>xwiki-webdav</artifactId>
> - <version>0.0.1-SNAPSHOT</version>
> - </dependency>
> - </dependencies>
> -</project>
> \ No newline at end of file
> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0http://maven.apache.org/maven-v4_0_0.xsd
> ">
> + <modelVersion>4.0.0</modelVersion>
> + <parent>
> + <groupId>com.xpn.xwiki.platform.plugins</groupId>
> + <artifactId>xwiki-plugins</artifactId>
> + <version>11-SNAPSHOT</version>
> + </parent>
> + <artifactId>xwiki-plugin-webdav</artifactId>
> + <name>XWiki Platform - Plugins - WebDAV plugin</name>
> + <version>0.0.1-SNAPSHOT</version>
> + <dependencies>
> + <dependency>
> + <groupId>com.xpn.xwiki.platform</groupId>
> + <artifactId>xwiki-core</artifactId>
> + <version>1.7-SNAPSHOT</version>
> + </dependency>
> + <dependency>
> + <groupId>com.xpn.xwiki.platform</groupId>
> + <artifactId>xwiki-webdav</artifactId>
> + <version>0.0.1-SNAPSHOT</version>
> + </dependency>
> + </dependencies>
> +</project>
>
> Modified: platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/
> xwiki/plugin/webdav/XWikiDavApi.java
> ===================================================================
> --- platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/xwiki/
> plugin/webdav/XWikiDavApi.java 2008-10-16 15:18:16 UTC (rev 13635)
> +++ platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/xwiki/
> plugin/webdav/XWikiDavApi.java 2008-10-16 15:28:20 UTC (rev 13636)
> @@ -1,3 +1,23 @@
> +/*
> + * See the NOTICE file distributed with this work for additional
> + * information regarding copyright ownership.
> + *
> + * This is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU Lesser General Public License as
> + * published by the Free Software Foundation; either version 2.1 of
> + * the License, or (at your option) any later version.
> + *
> + * This software is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this software; if not, write to the Free
> + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> + * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> + */
> +
> package com.xpn.xwiki.plugin.webdav;
>
> import com.xpn.xwiki.XWikiContext;
> @@ -6,16 +26,18 @@
> import com.xpn.xwiki.api.Document;
> import com.xpn.xwiki.plugin.webdav.utils.XWikiDavUtils;
>
> -public class XWikiDavApi extends Api {
> -
> - private XWikiDavPlugin plugin;
> -
> - public XWikiDavApi(XWikiDavPlugin plugin, XWikiContext context) {
> - super(context);
> - this.plugin = plugin;
> - }
> -
> - public String getDavURL(Document doc, Attachment attachment) {
> - return XWikiDavUtils.getDavURL(doc, attachment);
> - }
> +public class XWikiDavApi extends Api
> +{
> + private XWikiDavPlugin plugin;
> +
> + public XWikiDavApi(XWikiDavPlugin plugin, XWikiContext context)
> + {
> + super(context);
> + this.plugin = plugin;
> + }
> +
> + public String getDavURL(Document doc, Attachment attachment)
> + {
> + return XWikiDavUtils.getDavURL(doc, attachment);
> + }
> }
>
> Modified: platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/
> xwiki/plugin/webdav/XWikiDavPlugin.java
> ===================================================================
> --- platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/xwiki/
> plugin/webdav/XWikiDavPlugin.java 2008-10-16 15:18:16 UTC (rev 13635)
> +++ platform/xwiki-plugins/trunk/webdav/src/main/java/com/xpn/xwiki/
> plugin/webdav/XWikiDavPlugin.java 2008-10-16 15:28:20 UTC (rev 13636)
> @@ -1,3 +1,23 @@
> +/*
> + * See the NOTICE file distributed with this work for additional
> + * information regarding copyright ownership.
> + *
> + * This is free software; you can redistribute it and/or modify it
> + * under the terms of the GNU Lesser General Public License as
> + * published by the Free Software Foundation; either version 2.1 of
> + * the License, or (at your option) any later version.
> + *
> + * This software is distributed in the hope that it will be useful,
> + * but WITHOUT ANY WARRANTY; without even the implied warranty of
> + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
> + * Lesser General Public License for more details.
> + *
> + * You should have received a copy of the GNU Lesser General Public
> + * License along with this software; if not, write to the Free
> + * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
> + * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
> + */
> +
> package com.xpn.xwiki.plugin.webdav;
>
> import com.xpn.xwiki.XWikiContext;
> @@ -5,19 +25,21 @@
> import com.xpn.xwiki.plugin.XWikiDefaultPlugin;
> import com.xpn.xwiki.plugin.XWikiPluginInterface;
>
> -public class XWikiDavPlugin extends XWikiDefaultPlugin {
> +public class XWikiDavPlugin extends XWikiDefaultPlugin
> +{
> + public XWikiDavPlugin(String name, String className,
> XWikiContext context)
> + {
> + super(name, className, context);
> + init(context);
> + }
>
> - public XWikiDavPlugin(String name, String className, XWikiContext
> context) {
> - super(name, className, context);
> - init(context);
> - }
> + public String getName()
> + {
> + return "webdav";
> + }
>
> - public String getName() {
> - return "webdav";
> - }
> -
> - public Api getPluginApi(XWikiPluginInterface plugin, XWikiContext
> context) {
> - return new XWikiDavApi((XWikiDavPlugin) plugin, context);
> - }
> -
> + public Api getPluginApi(XWikiPluginInterface plugin,
> XWikiContext context)
> + {
> + return new XWikiDavApi((XWikiDavPlugin) plugin, context);
> + }
> }
>
> _______________________________________________
> notifications mailing list
> notifications(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/notifications