Hi,
The new XWatch User Interface Proposal is available at:
http://watch.xwiki.org/xwiki/bin/view/Design/NewUIProposal
I'd be glad to get some feedback either on the list or in comments right on
the page.
I would also like to thank Anca, Guillaume and Eduard for their feedback and
help given so far :)
Thanks,
Ecaterina Valica
Hi XWikians,
I have trouble looking at the Syntax Page at
http://platform.xwiki.org/xwiki/bin/viewrev/Main/XWikiSyntax :
Exception:
> Error number 4001 in 4: Error while parsing velocity page Main.XWikiSyntax
> Wrapped Exception: Failed to evaluate content with id XWiki Syntax
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.XWikiSyntax
> Wrapped Exception: Failed to evaluate content with id XWiki Syntax
> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:231)
> at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:93)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:258)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:182)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:151)
> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:140)
> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:423)
> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:371)
> at sun.reflect.GeneratedMethodAccessor2346.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
> at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
> at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
> at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
> at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
> at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:145)
> at org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:117)
> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:226)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1504)
> at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:608)
> at sun.reflect.GeneratedMethodAccessor2285.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> ......
nice Greetings
Jonas
Hi Artem,
On Jul 21, 2008, at 12:32 AM, amelentev (SVN) wrote:
> Author: amelentev
> Date: 2008-07-21 00:32:54 +0200 (Mon, 21 Jul 2008)
> New Revision: 11388
>
> Modified:
> xwiki-platform/core/trunk/xwiki-core/pom.xml
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/XWikiCacheStore.java
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/XWikiHibernateStore.java
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/XWikiStoreInterface.java
> xwiki-platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/
> store/jcr/XWikiJcrStore.java
> xwiki-platform/core/trunk/xwiki-core/src/main/resources/META-INF/
> plexus/components.xml
> Log:
> XWIKI-2444: QueryManager in Store
>
> Add QueryManager to main store interface
If I understand correctly the query manager is going to be the new way
to perform queries and it'll replace methods from the *Store classes,
correct?
If this is true I think you should add more javadoc in
#getQueryManager to explain what is the query manager, when it should
be used rather than the other methods of the *Store.
Thanks
-Vincent
Hi
How can i check if a space exists or not ?
I try :
if(context.getWiki().exists(MySpaceName, context)){
(...)
}
but don`t work.
Any ideas ?
Regards,
Bruno Amaro Almeida
Hi
Regarding permissions when creating a new space :
//add the rights for the group
XWikiDocument spaceDoc =
context.getWiki().getDocument(newspace.getSpaceName()+ "." +
"WebPreferences", context);
BaseObject rightsObject =
spaceDoc.getObject("XWiki.XWikiGlobalRights", false, context);
rightsObject.setLargeStringValue("groups",
"XWiki.".concat(MyGroupName));
rightsObject.setStringValue("levels", "view,comment,edit");
rightsObject.setLargeStringValue("users", "");
rightsObject.setIntValue("allow", 1);
spaceDoc.setMetaDataDirty(true);
context.getWiki().saveDocument(spaceDoc,
context.getMessageTool().get("core.comment.createdUser"), context);
context.getWiki().getGroupService(context).flushCache();
context.getWiki().flushCache();
//add the rights for the admin
spaceDoc =
context.getWiki().getDocument(newspace.getSpaceName()+ "." +
"WebPreferences", context);
rightsObject =
spaceDoc.getObject("XWiki.XWikiGlobalRights", false, context);
rightsObject.setLargeStringValue("groups", "");
rightsObject.setStringValue("levels",
"view,comment,edit,delete,admin");
rightsObject.setLargeStringValue("users",
"XWiki.".concat(MyuserName));
rightsObject.setIntValue("allow", 1);
spaceDoc.setMetaDataDirty(true);
context.getWiki().saveDocument(spaceDoc,
context.getMessageTool().get("core.comment.createdUser"), context);
Only the second part works, the first part is overwrited by the second, so,
how can i set one level(s) for a group and another level(s) for a user ?
Thanks !
Hello,
I'm following what's written here
http://dev.xwiki.org/xwiki/bin/view/Community/Building#HExecutingtheStandar…
so I can test more easily what I'm doing, but I'm having some problems
to change the default xwiki.cfg file.
I need it to start it with the GraphViz plugin enabled. I found the
pom.xml that contains the plugin declarations and added GraphViz
plugin there, that works, but I can't find where I need to uncomment
and set the properties that define where the executables are. I tried
changing the \trunks\xwiki-platform-tools\xwiki-configuration-resources\src\main\resources\xwiki.cfg.vm
file but that doesn't seem to be enough, as the target xwiki.cfg is
always generated with the default values, that is, GraphViz properties
commented and unset.
Which file do I need to change to get a different xwiki.cfg at my build?
Thanks,
--
Tiago Rinck Caveden
http://caveden.multiply.com
Hello,
I'm trying to make an update of my copy of XWiki source, checked out from
the anonymous SVN, but when it gets to the xwiki-product-curriki directory,
it changes to HTTPS and requires authentication. This has never happened
before.
Any ideas?
Best regards,
--
Tiago Rinck Caveden
http://caveden.multiply.com