Hi,I have the following hierarchy of pages in the same space:
page 1└ page 1.1 ├ page 1.1.1 └ page 1.1.2page 2└ page 2.1
On page 1.1, I want to display the subtree from this page (ie. pages 1.1.1
and 1.1.2) but neither page 1 and page 2 tree.I use the hierarchy macro, but
I don't kwow how to specify page 1.1 as the root.{{hierarchy space="Intern"
excludes="Intern.WebPreferences" displayvalue="displayTitle"/}}Is it
possible to do that?Thanks.
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-can-I-display-a-subtree-with-hierarch…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have the same kind of objects: part of them are publicly available,
but others ar private.
Using Livetable macro, for anonymous user it shows entries with
documents (without hyperlinks), which actually are not accessible.
With note under table:
(*) Some documents require special rights to be viewed
Is it possible to show only accessible documents?
Currently I look at /xwiki/bin/edit/XWiki/LiveTableResultsMacros
page, though cannot see anything related to it...
Thanks!
Valdis
Hi XWikiers,
I just installed a XWiki Enterprise 5.2 using the exe installer on my
windows laptop.
I then connected successfully as Admin and tried to install extensions
using the Extension Manager. But the answers to my queries are always : "no
extensions found".
In the XWiki command window, I found theses lines :
2013-11-03 00:00:37,459 [main] ERROR aultExtensionRepositoryManager -
Failed to
add repository [extensions.xwiki.org (
http://extensions.xwiki.org/xwiki/rest/)]
org.xwiki.extension.repository.ExtensionRepositoryException: Unsupported
reposit
ory type [xwiki]
at
org.xwiki.extension.repository.internal.DefaultExtensionRepositoryMan
ager.addRepository(DefaultExtensionRepositoryManager.java:128)
~[xwiki-commons-e
xtension-api-5.2.jar:na]
.............
Caused by: org.xwiki.component.manager.ComponentLookupException: Failed to
looku
p component
[org.xwiki.extension.repository.xwiki.internal.XWikiExtensionReposit
oryFactory] identified by [role = [interface
org.xwiki.extension.repository.Exte
nsionRepositoryFactory] hint = [xwiki]]
at
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInst
ance(EmbeddableComponentManager.java:349)
[xwiki-commons-legacy-component-defaul
t-5.2.jar:na]
..............
Caused by: java.lang.LinkageError: JAXB 2.0 API is being loaded from the
bootstr
ap classloader, but this RI (from
jar:file:/C:/tools/XWikiEnterprise5.2/webapps/
xwiki/WEB-INF/lib/jaxb-impl-2.1.12.jar!/com/sun/xml/bind/v2/model/impl/ModelBuil
der.class) needs 2.1 API. Use the endorsed directory mechanism to place
jaxb-api
.jar in the bootstrap classloader. (See
http://java.sun.com/j2se/1.5.0/docs/guid
e/standards/)
I suppose it's caused by my old java 1.6 version, but it's supported (
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HPrerequis…
).
Could someone confirm that I'm right ? Thank you.
Maxime
Hi xwiki-userlist,
I am new to xWiki and would like to deploy xwiki to my tomcat 7 using
JNDI and MySQL. While I think this is pretty standard, I am now really
stuck with the database since two days.
I am pretty sure that I have correctly configured the JNDI resource
within tomcat. I have also tested the container + resource by just
deploying am completely different application. I also made sure that the
test application didn't contain the JDBC-Driver so that it had to take
the driver provided from the container.
Still I am getting this error message when I try to run xWiki with the
above described configuration:
java.sql.SQLException: No suitable driver found for java:/jdbc/xwiki
java.sql.DriverManager.getConnection(DriverManager.java:596)
java.sql.DriverManager.getConnection(DriverManager.java:187)
org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:133)
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1700)
org.hibernate.loader.Loader.doQuery(Loader.java:801)
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
org.hibernate.loader.Loader.loadEntity(Loader.java:2037)
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:86)
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:76)
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3293)
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:496)
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:477)
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:227)
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:285)
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:152)
org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
...
My Hibernate configuration looks like this:
|<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC
"-//Hibernate/Hibernate Configuration DTD//EN"
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="jdbc.use_scrollable_resultset">false</property>
<property name="connection.url">java:comp/env/jdbc/xwiki</property>
<property name="dialect">org.hibernate.dialect.MySQL5Dialect</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
</session-factory>
</hibernate-configuration>
Can anybody please give me a hint about what went wrong with my configuration?
Kind regards
Randy
|
Hello,
Were there any database configuration changes between XWiki 4.2 and 5.2?
I'm trying to upgrade our XWiki installation, as usually configured
hibernate.cfg.xml to point to local MySQL database
(name='xwiki_52_innodb_utf8'):
<property
name="connection.url">jdbc:mysql://localhost/xwiki_52_innodb_utf8?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">com.mysql.jdbc.Driver</property>
<property
name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<property name="dbcp.ps.maxActive">20</property>
<mapping resource="xwiki.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
But when XWiki starts it fails with an error:
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for
user 'xwiki'@'localhost' to database 'xwiki'
Is it still possible to specify database name different than xwiki?
Regards,
Roman
--
View this message in context: http://xwiki.475771.n2.nabble.com/Changes-in-the-database-configuration-bet…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I am interested in the Classes and objects feature. I managed to create
a class from a xwiki page and to add several properties. I also was able
to create some objects of this class.
My question is: how can I display the list of objects nicely scripting
with Velocity/groovy? Is there a standard binding to access the list of
objects?
Thank you in advance
Matthias
Hi, All!
5.2 Brand new install + Short URLs with Tuckey.org plugin as described in
http://platform.xwiki.org/xwiki/bin/view/Main/ShortURLs#HUrlRewriteFilter
Short URLs work perfect, XWiki generates correct link in pages, BUT some links are genereated with /bin/ part still.
Quick search showed some places:
1. XWiki Logo
2. Attachments
3. "Welcome to your wiki" link in the Recent Changes Panel
Should it be considered as a bug?
Is there a reason NOT to bundle Tuckey's solution with standard XWiki distribution?
Kind regards,
Dmitry
Hi,
I've been using XWiki within my team at work and would like to expand
adoption of it across different groups. While doing research I was
thoroughly confused by the differences between Workspaces, SubWikis, Wikis,
multi-tenancy, etc...
What I would like to do is be able to run one instance of XWiki and be able
to create separate Wikis (in different schemas). Within each Wiki I'd like
to allow users to create their own Workspaces (I think I'm using that
correctly).
Example:
- IT Wiki
-- Bob's Workspace
-- Alice's Workspace
- Finance Wiki
-- Joe's Workspace
-- Jane's Workspace
I want to be able to keep the users separated between the IT Wiki and
Finance Wiki but allow shared users for the Workspaces under each of those
Wikis.
I think installing the Wiki Manager Application and Workspace Application
should do the trick. However, it sounds like Wiki Manager is the old way
of doing it and it's being deprecated.
Thanks in advance for any feedback.