Hello all,
I'm coming from this page <http://myxwiki.org/xwiki/bin/view/Main/WebHome>
with a wiki request. I initially wanted to install XWiki myself, but it
appears the hosting I have is not sufficient for XWiki. Here's the
requested information:
- *description*: I am a volunteer in a NGO
<http://francais-langue-daccueil.org/> working with migrants in France
to help them learn the French language and recover their lives and jobs in
France. I would like your help to design a knowledge management platform.
- *owner name*: ttehir (username on xwiki.org)
- *wiki name*: francais-langue-daccueil
Thank you for your help and have a great day!
I found this code for editing panel and need help how to change the code to
give a space for each title in the panel.
<http://xwiki.475771.n2.nabble.com/file/n7602284/edit-panel_1.png>
As you can see from the my recent modification panel, i want to give a space
between upper title and below one.
If you see from the panel, it looks like no differences between upper and
below side. It looks like one overall title.
How to edit, give the space between the title?
Kindly please help me
thanks and love u guys
--
View this message in context: http://xwiki.475771.n2.nabble.com/Editing-panel-tp7602284.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi Xwiki users,
I have installed xwiki publication workflow 1.6 in xwiki 7.4.5 using the
extension manager. I am able
to successfully put a page in a workflow and then finally publish it to the
publication space.
But, for the second time I put a different page for publication using
the same workflow and page being put to same publication space, all these
mentioned in the publication workflow panel form, it gives me an error after
I click on Start Workflow. The error is as follows:
workflow doc ref: xwiki:Draft 1.demo 1.WebHome
Action : start
workflow.script.failed
Help in this would be greatly appreciated.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Publication-Workflow-Usage-tp7602272.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I wanted to import a word document to see how it does. I have xwiki 8.4.3.
The Office Importer Application needs to be installed, as far as I can tell.
Next to it's name it says 8.3, and in the header it has "Version 8.4.3 is
installed as dependency". It does not have the blue Install button; instead
it says "Downgrade".
Dependencies listed are
xwiki platform - office - importer 8.3 and then "version 8.4.3 is provided"
xwiki commons - component - api and then "version 8.4.3 is provided"
I have not found anything in the docs that explain what this means, although
I expect the info is there somewhere. Does it mean that I have to downgrade
my installation to 8.3 in order to get this extension to install? But
another extension "File Manager Application" does have the blue install
button; and it has many dependencies on apparently older extensions like
velocity macro 5.4.4.
I can't make sense of it. I've searched quite a bit and haven't found
anything relevant.
--
View this message in context: http://xwiki.475771.n2.nabble.com/What-does-Version-8-4-3-is-installed-as-d…
Sent from the XWiki- Users mailing list archive at Nabble.com.
One question I have about the very useful feature of xwiki is how to drag and
drop multiple images onto a page. Offhand xmarks seems to create an image
attachment called image.png; pasting another image onto the same page
overwrites the first image, using with the same name. Any way to have xwiki
increment the image names? I know I can attach the image and then reference
it in the page but it's more work.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Is-there-an-easy-way-to-copy-paste-multip…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I've been searching for docs and postings re categorization of xwiki pages. I
didn't see anything built in so far but I may have missed it. I see there is
a tags extension
http://extensions.xwiki.org/xwiki/bin/view/Extension/Tag+Application
I'd expect categorization to be a major interest for xwiki users. Is this
tag extension the main resource? Did I miss something built in? The page
Content Organization
<http://platform.xwiki.org/xwiki/bin/view/Features/ContentOrganization/>
has nested pages and subwikis as the primary artifacts of organization.
I will be creating a event tracker and it's going to be important to provide
metadata for the posts.
I'm very new to xwiki, but as I wrote this I realized that there are other
built in features of xwiki which will help solve my needs. For example, if I
can define a form or template (not sure about the terms) which contains a
field Event Date, I hope that can become a hard data point which can be
queried etc. Pretty sure this is so; and that solves some of the issues
without a "category" or "tag" feature.
Despite the fact that I'm positing a question which stretches far beyond my
current near zero skillset with xwiki, I'd still appreciate any pointers or
references.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Categorization-of-pages-tags-tp7602216.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everyone,
I recently tried to install a few applications onto my XWiki 8.4.2 instance, some of them (namely, Idea Application & Task Application) get this strange error whenever I tried to click Edit and just click Next to explorer the feature: the main screen will display some kind of exception about velocity macro and Space (I am sure you can reproduce this to see the details). Also, in the Application left navigation, application name will change to some kind of id/reference (e.g. ideas.app.title, TaskManager.panels.name). So, I have a few questions:
1. It doesn't seem natural to me that a user with role of normal user can Edit an Application. So what does it mean by "Editing an Application"? And why would it be normal to allow a user (non-admin) to edit an Application?
2. I am guessing Editing an application is some kind of administrative activities. If so, is there any documentation regarding Applications administration in XWiki? I found this: http://platform.xwiki.org/xwiki/bin/view/Features/Applications? but it covers only Installing and (a bit of) Usage. It references other documentation for Development of Application or XWiki itself but not administration.
Thanks,
Zoom
Hello,
I found how to fix my {{code}} macro issue.
I must use Tomcat 8.0.33 instead.
With tomcat-8.0.32 (with same java version) {{code}} macro doesn't work.
Pascal B
--------------------------------------------
En date de : Mer 30.11.16, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
...
>
> I try to deploy xwiki 8.4 on Tomcat
8.0.32/ java 1.8.0_74 on our datacenter but I have a issue
with the code macro:
> {{code}}
> My code
> {{/code}}
>
> The page displayed:
"Failed to execute the [code] macro. Cause: [String
index out of range: 3]. Click on this message for
details.".
> I pasted the details
here: http://pastebin.ca/3743091
>
...
howdy,
i have been trying the Filter Streams Converter Application and this Filter
Confluence XML module
for a brand new 8.4.3 xwiki install, but not having a lot of luck. going
back to basics i have exported a single page from confluence that contains
no attachments and just 5 lines of plain text. the resulting xml file is
11k. i have run it through the convertor app and it seems to have imported
it so that i can now see it in the list of available packages. but when i
click that package i just get a throbber spinning forever. no errors from
xwiki. nothing.
i originally tried importing an entire space but that just hit so many java
errors i had to go back to try
just one page. it seems not even one page is possible to convert/import.
any tips on how to migrate from confluence to xwiki or, gauging by the few
google hits over many years, is it simply not possible?
--
View this message in context: http://xwiki.475771.n2.nabble.com/is-it-possible-to-migrate-confluence-to-x…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have a few question:
I had import a document in xwiki 8.3. When I view the result, I encounter a
problem below:
- The page is not properly indent. (I need to do it manually, delete and put
line the words, image). How to do make it automatically?
- The picture is blur (How to make when user mouse over to the picture, user
can enlarge / zoom it ?
- The numbered list is scattered. How to fix it automatically instead of
manually?
Can anyone help me on thiss
Thanks in advance
--
View this message in context: http://xwiki.475771.n2.nabble.com/Editing-the-page-purpose-tp7602243.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Vincent,
You may want to have two stacks on StackShare; one for the software and one
for the platform.
I presume the software would be approved as a Tool. It could then be
included as a component in a Stack.
Thanks,
Dylan
--
"If it's a good idea, go ahead and do it. It's much easier to apologize
than it is to get permission."
- Grace Hopper
ISSUE # 1: I am receiving a message when accessing the LDAP application that
"LDAP authentication is not enabled. Please set LDAP as authentication
service in xwiki.cfg"
Here is a portion of my xwiki.cfg file as far as LDAP goes. Isn't that
correct?
#-# LDAP authentication service
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
#-# Turn LDAP authentication on - otherwise only XWiki authentication
#-# - 0: disable
#-# - 1: enable
#-# The default is 0
xwiki.authentication.ldap=1
ISSUE # 2: Some LDAP users are not able to log in. We are receiving an bad
username/password error. We even tried creating a new LDAP user, but we
still could not log in. What should I check?
--
View this message in context: http://xwiki.475771.n2.nabble.com/LDAP-authentication-is-not-enabled-but-it…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am configuring xwiki to run with sql server. The xwiki database is created,
and the xwiki user is the owner of the db. I can enter records in a table I
made in that db as the xwiki user.
I am using the jtds driver. Here is the jtds section on the sql server
config page:
<property
name="connection.url">jdbc:jtds:sqlserver://<server-url>:1433/XWiki;tds=8.0;lastupdatecount=true</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.mssql.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
There may be a couple of issues with this template.
The first line contains <server-url>. My first run through was generating a
mile long error number 11007. Near the bottom was the parse error
The element type "server-url" must be terminated by the matching end-tag
"</server-url>"
Either the tag was put in there in error or the expectation was that the
clever xwiki installer would see that as a placeholder and do something with
it. I swapped in localhost, and it solved that issue. It might be worth
adjusting the docs?
Note I am running on the default port for sql server.
After this I got errors. I compared the sql server config page with the
examples (mysql, postgres etc) in the hibernate file and made two more
changes.
The first line loses the jtds so
<property
name="connection.url">jdbc:sqlserver://localhost:1433/XWiki;tds=8.0;lastupdatecount=true</property>
and I added two mappings at the end (all other example dbs show these)
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
I was still getting error number 11007. I can't mine the error detail to get
to a next step. It's close - the xwiki initialization seems to get into the
90% range before bombing out. The bottom level error is root cause
java.sql.SQLException: No suitable driver
I'm using jtds-1.3.1.jar; that's supposed to be the right one for sql server
2012.
Here is the db section of the hibernate file. Note I've tried both jtds and
jdbc in the first line, not sure which is correct.
<property
name="connection.url">jtds:sqlserver://localhost:1433/XWiki;tds=8.0;lastupdatecount=true</property>
<property name="connection.username">xwiki</property>
<property name="connection.password">xwiki</property>
<property
name="connection.driver_class">net.sourceforge.jtds.jdbc.Driver</property>
<property name="dialect">org.hibernate.dialect.SQLServerDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<mapping resource="xwiki.mssql.hbm.xml"/>
<mapping resource="feeds.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
<mapping resource="instance.hbm.xml"/>
<mapping resource="mailsender.hbm.xml"/>
Here is the full error:
HTTP Status 500 - com.xpn.xwiki.XWikiException: Error number 11007 in 0:
Failed to extract Entity Resource Reference from URL
[http://localhost:8080/xwiki/bin/view/Main/]
type Exception report
message com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to
extract Entity Resource Reference from URL
[http://localhost:8080/xwiki/bin/view/Main/]
description The server encountered an internal error that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number
11007 in 0: Failed to extract Entity Resource Reference from URL
[http://localhost:8080/xwiki/bin/view/Main/]
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:520)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:427)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
com.xpn.xwiki.XWikiException: Error number 11007 in 0: Failed to extract
Entity Resource Reference from URL
[http://localhost:8080/xwiki/bin/view/Main/]
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:926)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
java.lang.RuntimeException: Failed to locate wiki descriptor for alias
[localhost]
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:80)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
org.xwiki.wiki.manager.WikiManagerException: Failed to locate
XWiki.XWikiServerClass document for wiki alias [localhost]
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:128)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
org.xwiki.query.QueryException: Exception while translating [where
doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like
'XWikiServer%'] XWQL query to the [hql] language. Query statement = [where
doc.object(XWiki.XWikiServerClass).server = :wikiAlias and doc.name like
'XWikiServer%']
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:130)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while
reading document [xwiki:XWiki.XWikiServerClass]
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:996)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1811)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1864)
com.xpn.xwiki.XWiki.getXClass(XWiki.java:6065)
com.xpn.xwiki.XWiki.getClass(XWiki.java:6078)
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)
org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
org.hibernate.HibernateException: Could not create a DBCP pool. There is an
error in the Hibernate configuration file, please review it.
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:232)
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:259)
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:703)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:861)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1811)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1864)
com.xpn.xwiki.XWiki.getXClass(XWiki.java:6065)
com.xpn.xwiki.XWiki.getClass(XWiki.java:6078)
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)
org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
java.sql.SQLException: Cannot create JDBC driver of class
'net.sourceforge.jtds.jdbc.Driver' for connect URL
'jtds:sqlserver://localhost:1433/XWiki;tds=8.0;lastupdatecount=true'
org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2161)
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:259)
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:703)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:861)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1811)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1864)
com.xpn.xwiki.XWiki.getXClass(XWiki.java:6065)
com.xpn.xwiki.XWiki.getClass(XWiki.java:6078)
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)
org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
root cause
java.sql.SQLException: No suitable driver
org.apache.commons.dbcp2.BasicDataSource.createConnectionFactory(BasicDataSource.java:2152)
org.apache.commons.dbcp2.BasicDataSource.createDataSource(BasicDataSource.java:2033)
org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)
com.xpn.xwiki.store.DBCPConnectionProvider.configure(DBCPConnectionProvider.java:215)
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:143)
org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:84)
org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:459)
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:90)
org.hibernate.cfg.Configuration.buildSettingsInternal(Configuration.java:2863)
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2859)
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1870)
com.xpn.xwiki.store.XWikiHibernateBaseStore.initHibernate(XWikiHibernateBaseStore.java:259)
com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:703)
com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore.java:861)
com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(XWikiCacheStore.java:280)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1811)
com.xpn.xwiki.XWiki.getDocument(XWiki.java:1864)
com.xpn.xwiki.XWiki.getXClass(XWiki.java:6065)
com.xpn.xwiki.XWiki.getClass(XWiki.java:6078)
com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isPropertyCustomMapped(DefaultDocumentAccessBridge.java:497)
org.xwiki.query.xwql.internal.QueryContext$PropertyInfo.isCustomMapped(QueryContext.java:153)
org.xwiki.query.xwql.internal.QueryContext$ObjectInfo.isCustomMapped(QueryContext.java:122)
org.xwiki.query.xwql.internal.hql.ObjectPrinter.print(ObjectPrinter.java:37)
org.xwiki.query.xwql.internal.hql.Printer.print(Printer.java:70)
org.xwiki.query.xwql.internal.hql.XWQLtoHQLTranslator.translate(XWQLtoHQLTranslator.java:61)
org.xwiki.query.xwql.internal.XWQLQueryExecutor.execute(XWQLQueryExecutor.java:97)
org.xwiki.query.internal.DefaultQueryExecutorManager.execute(DefaultQueryExecutorManager.java:72)
org.xwiki.query.internal.DefaultQuery.execute(DefaultQuery.java:287)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocumentReference(DefaultWikiDescriptorDocumentHelper.java:121)
org.xwiki.wiki.internal.descriptor.document.DefaultWikiDescriptorDocumentHelper.findXWikiServerClassDocument(DefaultWikiDescriptorDocumentHelper.java:140)
org.xwiki.wiki.internal.descriptor.DefaultWikiDescriptorManager.getByAlias(DefaultWikiDescriptorManager.java:146)
org.xwiki.url.internal.standard.AbstractWikiReferenceExtractor.getWikiDescriptorByAlias(AbstractWikiReferenceExtractor.java:78)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.resolveDomainBasedWikiReference(DomainWikiReferenceExtractor.java:61)
org.xwiki.url.internal.standard.DomainWikiReferenceExtractor.extract(DomainWikiReferenceExtractor.java:47)
org.xwiki.url.internal.standard.entity.BinEntityResourceReferenceResolver.extractWikiReference(BinEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:92)
org.xwiki.url.internal.standard.entity.AbstractEntityResourceReferenceResolver.resolve(AbstractEntityResourceReferenceResolver.java:51)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:61)
org.xwiki.url.internal.GenericResourceReferenceResolver.resolve(GenericResourceReferenceResolver.java:47)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:65)
org.xwiki.url.internal.standard.StandardExtendedURLResourceReferenceResolver.resolve(StandardExtendedURLResourceReferenceResolver.java:43)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:93)
org.xwiki.url.internal.DefaultResourceReferenceResolver.resolve(DefaultResourceReferenceResolver.java:48)
com.xpn.xwiki.XWiki.initializeResourceFromURL(XWiki.java:922)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:793)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:255)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:210)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
note The full stack trace of the root cause is available in the Apache
Tomcat/8.0.30 logs.
Apache Tomcat/8.0.30
--
View this message in context: http://xwiki.475771.n2.nabble.com/Need-help-configuring-xwiki-for-sql-serve…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'm not very good with java so I'm probably missing something very obvious.
The install in on windows 2012 r2. tomcat is running on port 8080. When I
browse to 8080 I see the tomcat success page. The XWiki 8.4.3 installer
seemed to go ok. I created the database and user (sql server), edited the
hibernate xml.
When I run the "start xwiki" the dos windows does ok for a bit and then
starts showing some failures like
2016-12-26 18:38:15.451:WARN:oejuc.AbstractLifeCycle:main: FAILED
ServerConnecto
r@205b73d8{HTTP/1.1}{0.0.0.0:8080}: java.net.BindException: Address already
in u
se: bind
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
viewing xwiki just show this:
HTTP Status 404 - /xwiki/bin/view/Main/
type Status report
message /xwiki/bin/view/Main/
description The requested resource is not available.
Apache Tomcat/8.0.30
Does this mean that tomcat is using 8080 for something already and xwiki
can't take it over? I could change the port that xwiki will run on; but will
wait for input.
BTW, as far as I can tell the install docs on xwiki.org do not include any
info on a windows exe type install.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Installing-XWiki-8-4-3-using-windows-exe-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I would like input on which input syntax might be best to use. I am not
habituated to any syntax, only light exposure to mediawiki and wikis in
general. I would value a syntax which is simple and terse.
xwiki has gone out of it's way to support many input syntaxes. The safe
choice for portability (of skillset and pages) would seem to be mediawiki.
But I might guess that the xwiki syntax was developed in order to better
utilize the special features of xwiki, and so in xwiki, xwiki syntax would
have to be the best and the default syntax.
If one chooses xwiki syntax, is there a way to convert/export to mediawiki
syntax if needed?
--
View this message in context: http://xwiki.475771.n2.nabble.com/Which-input-syntax-to-choose-tp7602190.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Thanks you.
Merry Christmas 2016 and a Happy New
Year. I wish you a good health
2017 the year without bounced mails, better stars war (ie without death star) and more excellent opensource project like xwiki!
Pascal
--------------------------------------------
En date de : Ven 23.12.16, Vincent Massol <vincent(a)massol.net> a écrit :
Objet: [xwiki-users] Merry Christmas 2016
À: "XWiki Developers" <devs(a)xwiki.org>, "XWiki Users" <users(a)xwiki.org>
Date: Vendredi 23 décembre 2016, 18h44
Hi everyone,
Let me wish everyone a Merry Christmas 2016 and a Happy New
Year.
May you continue to use XWiki in 2017!
And let’s make 2017 the year when XWiki takes the world by
storm… :)
Thanks
-Vincent
XWiki developer
Hi everyone,
Let me wish everyone a Merry Christmas 2016 and a Happy New Year.
May you continue to use XWiki in 2017!
And let’s make 2017 the year when XWiki takes the world by storm… :)
Thanks
-Vincent
XWiki developer
Hello,
I recently loaded ~3000 pages into my XWiki (8.2.1) instance. And noticed a
enormous increase in loading times of DocumentTree in my custom navigation
panel, which shows the pages under first level of space hierarchy:
#set( $root = $doc.getDocumentReference().getSpaceReferences().get(0).
toString().replaceAll('([~"])', '~$1').replace("Space ", "document:") +
".WebHome")
{{documentTree showTranslations="false" root="$root" showRoot="true"
showAttachments="false" /}}
Before loading the pages each request took around ~600ms. After adding the
pages load time was around 15 seconds. After bit of googling I found the
JIRA issue:
http://jira.xwiki.org/browse/XWIKI-13700
<http://jira.xwiki.org/browse/XWIKI-13700>
And decided to upgrade to 8.4.3. However, the issue did not get fixed and
there was no change in load times. Turning on debug prints for hibernate
resulted in the following:
2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.i.SessionImpl
- opened session at timestamp: 14823292564
2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.t.JDBCTransaction
- begin
2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.j.ConnectionManager
- opening JDBC connection
2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.t.JDBCTransaction
- current autocommit status: false
2016-12-21 16:07:36,479 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] INFO o.h.d.Dialect
- Using dialect: org.hibernate.dialect.HSQLDialect
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.l.Loader
- loading entity: [com.xpn.xwiki.doc.XWikiDocument#-
4652072126019899209]
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.j.AbstractBatcher
- about to open PreparedStatement (open PreparedStatements: 0,
globally: 0)
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.SQL
- select xwikidocum0_.XWD_ID as XWD1_0_0_, xwikidocum0_.XWD_FULLNAME
as XWD2_0_0_, xwikidocum0_.XWD_NAME as XWD3_0_0_, xwikidocum0_.XWD_TITLE as
XWD4_0_0_, xwikidocum0_.XWD_LANGUAGE as XWD5_0_0_,
xwikidocum0_.XWD_DEFAULT_LANGUAGE
as XWD6_0_0_, xwikidocum0_.XWD_TRANSLATION as XWD7_0_0_,
xwikidocum0_.XWD_DATE as XWD8_0_0_, xwikidocum0_.XWD_CONTENT_UPDATE_DATE as
XWD9_0_0_, xwikidocum0_.XWD_CREATION_DATE as XWD10_0_0_,
xwikidocum0_.XWD_AUTHOR as XWD11_0_0_, xwikidocum0_.XWD_CONTENT_AUTHOR as
XWD12_0_0_, xwikidocum0_.XWD_CREATOR as XWD13_0_0_, xwikidocum0_.XWD_WEB as
XWD14_0_0_, xwikidocum0_.XWD_CONTENT as XWD15_0_0_,
xwikidocum0_.XWD_VERSION as XWD16_0_0_, xwikidocum0_.XWD_CUSTOM_CLASS as
XWD17_0_0_, xwikidocum0_.XWD_PARENT as XWD18_0_0_,
xwikidocum0_.XWD_CLASS_XML as XWD19_0_0_, xwikidocum0_.XWD_ELEMENTS as
XWD20_0_0_, xwikidocum0_.XWD_DEFAULT_TEMPLATE as XWD21_0_0_,
xwikidocum0_.XWD_VALIDATION_SCRIPT as XWD22_0_0_, xwikidocum0_.XWD_COMMENT
as XWD23_0_0_, xwikidocum0_.XWD_MINOREDIT as XWD24_0_0_,
xwikidocum0_.XWD_SYNTAX_ID as XWD25_0_0_, xwikidocum0_.XWD_HIDDEN as
XWD26_0_0_ from xwikidoc xwikidocum0_ where xwikidocum0_.XWD_ID=?
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.j.AbstractBatcher
- about to open ResultSet (open ResultSets: 0, globally: 0)
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.j.AbstractBatcher
- about to close ResultSet (open ResultSets: 1, globally: 1)
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.j.AbstractBatcher
- about to close PreparedStatement (open PreparedStatements: 1,
globally: 1)
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG
h.e.StatefulPersistenceContext - initializing non-lazy collections
2016-12-21 16:07:36,480 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] DEBUG o.h.l.Loader
- done entity load
2016-12-21 16:07:36,481 [http://192.168.42.174/xwiki/
bin/get/XWiki/DocumentTree?outputSyntax=plain&root=
document%3Axwiki%3A2987218.WebHome&showAttachments=false&showRoot=true&
showTranslations=false&root=document%3Axwiki%3A2987218.
WebHome&showRoot=true&data=children&id=%23] INFO
h.e.d.DefaultLoadEventListener - Error performing load command
org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#-4652072126019899209]
at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(
SessionFactoryImpl.java:435)
at org.hibernate.event.def.DefaultLoadEventListener.load(
DefaultLoadEventListener.java:233)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(
DefaultLoadEventListener.java:285)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(
DefaultLoadEventListener.java:152)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:1090)
at org.hibernate.impl.SessionImpl.load(SessionImpl.java:974)
at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(
XWikiHibernateStore.java:873)
at com.xpn.xwiki.store.XWikiCacheStore.loadXWikiDoc(
XWikiCacheStore.java:299)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1736)
at com.xpn.xwiki.XWiki.getDocument(XWiki.java:1787)
at com.xpn.xwiki.doc.XWikiDocument.getTranslatedDocument(
XWikiDocument.java:6146)
at com.xpn.xwiki.doc.XWikiDocument.getTranslatedDocument(
XWikiDocument.java:6127)
at com.xpn.xwiki.doc.XWikiDocument.getTranslatedDocument(
XWikiDocument.java:6110)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4866)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:348)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:193)
at org.apache.struts.action.RequestProcessor.processActionPerform(
RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(
RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1669)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1652)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.
doFilter(ConversionFilter.java:127)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.
SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.
doFilter(SavedRequestRestorerFilter.java:208)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1652)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.
doFilter(SetCharacterEncodingFilter.java:111)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1652)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.
doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(
ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(
ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(
SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.
doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.
doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.
doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.
doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(
ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(
ContextHandlerCollection.java:215)
at org.eclipse.jetty.server.handler.HandlerCollection.
handle(HandlerCollection.java:110)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(
HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
at org.eclipse.jetty.server.HttpConnection.onFillable(
HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(
AbstractConnection.java:540)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(
QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(
QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)
*org.hibernate.ObjectNotFoundException: No row with the given identifier
exists: [com.xpn.xwiki.doc.XWikiDocument#-8266574047497816716]*So my guess
is that hibernate fails to load the entities and has to load each entity
multiple times? Is this result of a corrupt database due upgrade or
something else? This error repeats multiple times for each DocumentTree
loading ( and also some other resources ).
I have also tried to increase the amount of documents cached.
Any help is appreciated.
- Ekku Laukkarinen
Hi,
I modified the Navigation panel menu in order to have a structured tree menu
that always shows FOO page root and the opened path to reach the current
node (FOO project has nested pages).
{{velocity}}
#panelheader("FOO MENU")
## Escape special characters in macro parameter values.
#set ($openTo = $services.model.serialize($doc.documentReference,
'default').replaceAll('([~"])', '~$1'))
{{documentTree showTranslations="false" showAttachments="false"
compact="true" showRoot="true" openTo="document:$openTo"
root="document:xwiki:FOO.WebHome" /}}
#panelfooter()
{{/velocity}}
Considering all my projects are inside Main\projects page, is there a way to
find dinamically the toplevel page node without having to specify the root
page name (FOO.WebHome)?
Thanks for reply
-Matteo
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-get-top-level-page-node-in-documen…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Search results on wikis hosted on xxx.myxwiki.org returns:
"Failed to execute the [velocity] macro. Cause: [The execution of the
[velocity] script macro is not allowed. Check the rights of its last author
or the parameters if it's rendered from another script.]."
Thanks for your help, best regards,
--
View this message in context: http://xwiki.475771.n2.nabble.com/MyWiki-org-search-is-broken-tp7602163.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
We have editors that modified wiki pages and used the comment option that goes with a version.
But when viewing version history we see some comments ending with."..."
This suggests that the rest of the comment is in the database, but not viewable by the version history table
Is there a way to view the full comment made with a version
Is there a maximum text size for version comments
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi,
I am having issues when tring to link to headings in pages with markdown.
The regular syntax (which we'd have to keep, or at least keep as basis)
for this would be [link name](#headingId).
When markdown gets parsed for xwiki, ID's are being generated for the
headings, and if the id-codes are known it is a simple matter of linking
to those, however, this becomes a near impossibility to do
beforehand. Since we'd like to avoid having to re-edit every single page
after sending a markdown page to the api, we would like to keep
this quite simple syntax, since the only workaround we could do was
insert html tags at appropriate places - however these are not evaluated
when the document is parsed with markdown.
Plus, when I use a Link to #page, xwiki will try to link to a page
named %23page instead of linking to the heading "page".
So the question is - is there a way to keep the simple markdown-syntax,
or change it slightly, to link to a heading within this page?
Hi there,
Just want to ask where to find this path /var/lib/tomcatX/webapps/ ??
My distribution wizard is fail to appear at startup, and some notes said to
delete this file.
I dont found this path.
Somebody help
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Distribution-Wizard-tp7602145.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have recently upgraded from 3.5 to 5.5. The upgrade went fine however after logging in I accidentally hit the cancel button instead of the skip. I now want to rerun the Distribution Wizard but I cannot figure out how to re-trigger it. Can this be done?
Thank you for that information, it did indeed help.
Without understanding the phrase "on farm", that info
did not help too much, though =)
So, if you want to, blame it on me for not being informed
on what "on farm" means =)
Hi,
My wiki is in Portuguese (pt_BR), but the Tooltips of the Watchlist icons
at the top of the page are in English. How do I translate?
I need, for example, that the text "watch this page" be in Portuguese.
Http://extensions.xwiki.org/xwiki/bin/download/Extension/Watchlist+Applicat…
Best Regards,
Julio
Hi,
How can I manually migrate a page to Nested Pages without using the Nested
Pages Migrator Application (it does not work on my xwiki - I waited 15
minutes and nothing happened)?
Best Regards,
Julio
We have classes with date properties
Of these properties we set "Empty Is Today" = false
In the sheet we use
; <label for="WaihonaCode.qowClass_0_d1">$escapetool.xml($doc.displayPrettyName('d1', false, false))</label> : $doc.display('d1')
It displays a date and when saving the property is saved with that date while user did not enter any date. The date seems to be connected to the class-page-date?
The requirement is that the field can be left empty!
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Thxs for your advices but I didn't found a way to displayed last edited documents but finally I edited the code to resolve my use case.
My spaceindex
{{spaceindex sort="modificationDate" count="20" /}}
displayed this nice screen now:
https://snag.gy/ia6XOZ.jpg
Imodified spaceindex macro to list all last doc (nested and terminale page) from current space:
/bin/edit/Main/SpaceIndex?editor=object with
*****************
#if ("$!spaceMacroParam" != '')
#set ($spaceParam = $spaceMacroParam)
#end
#set ($docNames = $services.query.hql("where doc.space like ? or doc.space like ? order by $sortQuery").addFilter('currentlanguage').addFilter('hidden').setLimit($limit).bindValues(["${spaceParam}","${spaceParam}.%"]).execute())
#if ($docNames.size() == $limit)
##set ($docCount = $services.query.xwql('where doc.space = :space').bindValue('space', $spaceParam).addFilter('unique').count())
#set ($docCount = $services.query.hql("where doc.space like ? or doc.space like ?").bindValues(["${spaceParam}","${spaceParam}.%"]).addFilter('unique').count())
#set ($remaining = $mathtool.sub($docCount, $limit))
#if ($remaining > 0)
(% class="documentListMore" %) (((
//Liste des $limit derniers documents $sortMessg.//
{{html}}▶{{/html}} //[[Consulter la liste complète>>Main.SpaceIndex||queryString="space=$spaceParam"]]//
)))
#end
#end
{{html}}
#displayDocumentList($docNames false [])
*****************
and edited displayDocumentList macro in ./templates/macros.vm to add nice folder icon for parent page:
*****************
#foreach($document in $documentList)
#if ($document.getSpace() != $previousSpace && $displaySpaces)
#if($velocityCount > 1) </ul></div></li> #end ## Close previous space item if needed
<li class="xitem space"><div class="xitemcontainer">${escapetool.xml($document.getSpace())}<ul class="xlist"> ## Open new space item
#set($previousSpace = $document.getSpace())
#end
#if ($document.name == 'WebHome')
<li class="xitem space"><div class="xitemcontainer"><a href="$document.getURL()">${escapetool.xml($document.getPlainTitle())}</a></div></li>
#else
<li class="xitem page"><div class="xitemcontainer"><a href="$document.getURL()">${escapetool.xml($document.getPlainTitle())}</a></div></li>
#end
#end
#if($displaySpaces)
*****************
I haven't page and parent name with dot may be I will check my code again when I have some (I'm too lazy)
A better fix would be to add a new sort parameter in treeview but I didn't found the query in xwiki code.
Thxs
Pascal B
--------------------------------------------
En date de : Mer 14.12.16, Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] Nested document killed {{spaceindex}} macro?
À: "XWiki Users" <users(a)xwiki.org>
Date: Mercredi 14 décembre 2016, 16h11
...
"Space"' on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
, but take into account the issue described
at
http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HFindingp…
.
- replace my
target /Main/SpaceIndex?space=MySpace by ... ???
>
On
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki72#HFlami…
there is this mention:
"A new "children" viewer is now
accessible in the "more actions" menu,
along with the other viewers."
The URL is
/xwiki/bin/view/Path/To/Page/?viewer=children . It uses a
live
table. If you want a tree instead then
there is
http://extensions.xwiki.org/xwiki/bin/view/Extension/Children+Macro/
.
Hope this helps,
Marius
> Probably I must create a custom LT to list
every sub pages
>
Hello,
With my xwiki7.0.1 to 8.4 upgrade process, I noticed that all my WebHome on spaces (with dashboard+{{spaceindex}} macro) are "broken".
After a little bit of search, I understood that spaceindex macro list only direct children terminal page...
In some different post from dev list, it seem that I must use {{documentTree}} macro instead.
My spaces dashboard use
{{spaceindex sort="modificationDate" count="20" /}}
to list the 20 more recents page and I added a shortcut to /bin/view/Main/SpaceIndex?space=MySpace (broken too:-( )
Could you give me some advices how can I replace my "spaceindex" to:
- list the 20 more recents page (terminale and none terminale) on current space?
I didn't found a "modificationDate" sorting parameter in {{documentTree}}
- replace my target /Main/SpaceIndex?space=MySpace by ... ???
Probably I must create a custom LT to list every sub pages
Finaly, may be a caution text must be added on this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro
(ie "don't use this macro anymore with nested page!" or "list only direct children terminal page ")
Thxs for your help.
Pascal BASTIEN
Hi,
What alternatives to the default Gaptscha can be used? And how?
I like the 'I am not a robot' checkboxes that we see on more and more sites.
Our users complain about the read-ability of the current XWiki Gaptscha version
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Thanks for your help :)
Then I will have to make an update. And thanks for the Ticket...now I don't have to look for a version number.
Kind regards,
Patrick
Hello fellow Xwikiers,
I need your help to solve a livetable issue for my business unit wiki.
I have a Livetable displaying elements of a Class "Demandes", but only a
part of them are not visible to some users without admin or programming
rights.
Only demands from 2015 are shown despite as soon as I create a new one, it
is impossible to find it in the livetable. I checked the rights = no
restrictions, I checked the livetable Velocity code = no filters anywhere.
Is it possible that it is a trouble between database query and displaying in
the livetable ? Some kind of trouble in JSON results ?
Thank you for your help.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Livetable-and-rights-or-filter-issues-tp7…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The problem is, I am not even getting an error message when trying to
install. I simply cannot select to install on the extension manager.
See here:
http://imgur.com/a/FZtCr
I am using the war I got here:
http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.4.2.war
And I am at a loss to explain why this won't do at all. Especially since
installing pegdown manually did not seem to help, since pegdown has a
dependency on parboiled and that seems to have been ignored, or maybe I
did something wrong there.
Sorry for the missend, I am not used to working with mailing lists and
am not getting single replys back
How to startup XWiki-8.4.2 with Centos-7 and Tomcat-7?
I downloaded a .WAR version package of XWiki-8.4.2 under Centos-7.
And run it with Tomcat-7
The servlet always cannot be initialized:
Package versions:
tomcat-7.0.69-10.el7.noarch
java-1.8.0-openjdk-1.8.0.111-1.b15.el7_2.x86_64
The error message is below:
#] cat localhost.2016-12-13.log
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [action] in context with path [/xwiki] threw exception
javax.servlet.UnavailableException: Cannot initialize RequestProcessor of class com.xpn.xwiki.web.XWikiRequestProcessor: java.lang.NullPointerException
at org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:614)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1910)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:136)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationContext log
INFO: Marking servlet action as unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 6:59:06 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 6:59:14 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
Dec 13, 2016 7:00:34 PM org.apache.catalina.core.ApplicationDispatcher invoke
WARNING: Servlet action is currently unavailable
--
Kirby Zhou - 分机2557
Hi! I happily use comments to add somehow structured information to
documents. The most frequent case is to add new "tagged" attributes to
documents holding instances of the XWiki.XWikiUsers class. I'm sure there
must be better ways of doing that, but I've had no time yet to go deeper
into them, and I keep surviving that way.
What I'm not able to do is to select a set of documents not containing a
given string in any of the instances of XWiki.XWikiComments. Doing this...
select doc.fullName from Document as doc, doc.object(XWiki.XWikiComments)
as note where doc.parent like '%XWikiIDIS%' and length(doc.parent)=19 and
doc.parent not like '%Area%' and doc.parent not like '%Committee%' and
doc.parent not like '%Metagroup%' and doc.name not like '%Evidences%' and
doc.name not like '%OI' and doc.parent not like '%DirectionBoard%' and
doc.translation = 0 and note.comment not like '%IDIS Group Leader%' order
by doc.parent"
I get as many entries of each document as comments not containing '%IDIS
Group Leader%' are held by that document. But, please, how could I get one
entry for each document not containing that string in any of its comments?
Thanks for your help!
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
The problem is, I am not even getting an error message when trying to
install. I simply cannot select to install on the extension manager.
See here:
http://imgur.com/a/FZtCr
I am using the war I got here:
http://download.forge.ow2.org/xwiki/xwiki-enterprise-web-8.4.2.war
And I am at a loss to explain why this won't do at all. Especially since
installing pegdown manually did not seem to help, since pegdown has a
dependency on parboiled and that seems to have been ignored, or maybe I
did something wrong there.
Hi Vincent,
I deduced (possibly wrongly) that from the fact that there's only a
Markdown Syntax 8.3 extension available, and the extension manager was
not able to install said extension at all.
When I downloaded it and placed the jar into WEB-INF/libs, the container
would not even start correctly, since it was missing the
org/xwiki/contrib/rendering/markdown10/internal/parser/AbstractMarkdownStreamParser
- after building and installing the 8.3 extension of markdown 1.1, there
was a missing pegdown dependency and so on.
And since github seems to have a 8.4-SNAPSHOT-Tag on the markdown
parser, I assumed that so far, 8.4 has no support for it.
Can you maybe tell me how to install it? Or is that because I already
set markdown/1.1 as possible renderer in xwiki.properties?
Hey,
I tried to google a solution but I did not found anything. Maybe somebody here can help me :-)
I observed the following behaviour on my XWiki (v 7.1.1): Using the XWiki Syntax 2.1 for inserting images leads to a problem if I am using parameters. Let's say im using [[image:img.png||width="25px"]]. When I am saving the page the source code of the generated html is something like <img src="/xwiki/bin/download/Space/img.png?width=25" width="25px" alt="img.png">.
After a refresh of the page the source code gets <img src="/xwiki/bin/download/Space/img.png?width=25&width=25" width="25px" alt="img.png">. After another refresh the source code gets <img src="/xwiki/bin/download/Space/img.png?width=25&width=25&width=25" width="25px" alt="img.png">. And so on and so on .....
After a lot of refreshes the src path is too long for my server (restricted to 1024 chars) and the image is not shown anymore.
When I edit the page and save it the path gets "normal" again.
Am I using the syntax wrong or is it (I guess that is the problem) a XWiki problem? I guess the path resolving has a bug but maybe somebody can help me without updating the XWiki?
Thanks in advance,
Patrick
Hello,
since there is so far no official support for parsing and rendering
markdown 1.1 in XWiki Enterprise 8.4, and so far we failed to plug in an
older version of it into the 8.4 infrastructure, I'd like to know if
there is any way to test if the parser is compatible with our markdown
docs, and if it is likely that said parser and renderer will be
available when 7.4 hits end of life (or maybe even earlier)
Hey,
I reproduced the problem 2 times:
1. I created a page with content: [[image:img.png||width="25px]] on our system.
2. I started the linked jetty/hsqldb package and have the same issue when creating a page (and refresh it multiple times)
Maybe this is interesting: My browser is Google Chrome.
Kind regards,
Patrick
What and how should I supply solr-config parameters to:
- Not generate the Facet, drill down feature (as there is a button in the UI!)
- Enable/Disable highlighting (as there is a button in the UI!)
- How can I specify the spaces (multiple) (Actually Nested pages as I'm on 8.xx) that should be excluded or Included in the search? Are there other paramaters that need to be supplied when using the spaces (nested Pages)
What is the place to add/remove HtML-classes to tune what the user will see; as the default displays a lot of metadata of the pages (Located in, Last modified, ...)
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
I didn't found equivalent of {{spaceindex sort="modificationDate" count="20" /}} then I must modify hql query in: /bin/edit/Main/SpaceIndex?editor=object
but I failed too too! :-(
I would to list all documents (terminale page and child space) under a root space, the i use this query :
#set ($docNames = $services.query.hql("from XWikiSpace as space where doc.space = space.reference and ((doc.space like ? )) order by $sortQuery").addFilter('currentlanguage').addFilter('hidden').setLimit($limit).bindValues([${spaceParam}]).execute())
- $spaceParam is my root Space
- $sortQuery = 'doc.contentUpdateDate desc'
but the query displayed this error:
Caused by: org.hibernate.hql.ast.QuerySyntaxException: Invalid path: 'doc.space' [from com.xpn.xwiki.doc.XWikiSpace as space where doc.space = space.reference and ((doc.space like ? )) order by doc.contentUpdateDate desc]
Thxs.
(I didn't found the query of Document Tree in source code either)
Pascal B
--------------------------------------------
En date de : Jeu 8.12.16, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> a écrit :
Objet: Nested document killed {{spaceindex}} macro?
À: "XWiki Users" <users(a)xwiki.org>
Date: Jeudi 8 décembre 2016, 18h18
Hello,
With my xwiki7.0.1 to 8.4 upgrade process, I noticed that
all my WebHome on spaces (with dashboard+{{spaceindex}}
macro) are "broken".
After a little bit of search, I understood that spaceindex
macro list only direct children terminal page...
In some different post from dev list, it seem that I must
use {{documentTree}} macro instead.
My spaces dashboard use
{{spaceindex sort="modificationDate" count="20" /}}
to list the 20 more recents page and I added a shortcut to
/bin/view/Main/SpaceIndex?space=MySpace (broken too:-( )
Could you give me some advices how can I replace my
"spaceindex" to:
- list the 20 more recents page (terminale and none
terminale) on current space?
I didn't found a "modificationDate" sorting parameter in
{{documentTree}}
- replace my target /Main/SpaceIndex?space=MySpace by ...
???
Probably I must create a custom LT to list every sub pages
Finaly, may be a caution text must be added on this page: http://extensions.xwiki.org/xwiki/bin/view/Extension/SpaceIndex+Macro
(ie "don't use this macro anymore with nested page!" or
"list only direct children terminal page ")
Thxs for your help.
Pascal BASTIEN
Hello XWiki developers,
I would like to know if there’s any in-built feature in XWiki that can
allow us to show a user’s page-edit history.
I am aware of the activity-stream application. However, it only shows
recent changes. Our requirement is that a user, say Joe, is able to see his
entire edit history (say from past two years) in the form of a list where
each item in the list shows the page-title, timestamp of the edit, and any
‘version summary’ he might have entered for that edit. The list should
display as paginated if it has more than 20 results. The other requirement
is that this application has to be performant as we can expect a few
hundred people to access their contribution-history every hour.
Is there something already built into XWiki that can give us this
information? Or will we have to build a new application to return this data.
Thank you for your help,
Chetan
Hi,
This is a idea proposal for an Administration Overview that:
A. Provides generic/global information about the instance like 'version',
'instance id', etc.
B. Provides a summary of usage listing count of major entities (wikis,
users, pages, extensions, etc.)
C. Lists demo content installed in the wiki
D. Provides a way for administrators to subscribe to the XWiki Community
I'm curios which of the above section sounds interesting to you and would
like to see inside the product. Also maybe you have other ideas of what is
missing or could be represented better.
Thanks,
Caty
Thank you for your quick reply,
please excute my late one ;)
Thank you, that did indeed help with the issue of configuration.
Skins do not seem to work that way though, since there are
unevaluated expressions smeared all over the page when I use a linked skin.
We updated to version 8.4.2 for this, due to EOL of the 7.4 branch in
January. Should there be any idea how to use linked skins, I would be
very happy, if not I'll just use the second approach (which is using
a separate volume for the skins)
Hi Xwiki Team,
it seems as if there is a small bug in the "Menu Application"extension
(version 8.2). Every time a user, that is not in the XWikiAdminGroup,
does some changes on the menu page in edit mode, the menu crashes and is
no longer visible. To fix that an admin user of XWikiAdminGroup has to
edit and save the page. It is important that a small change has to be
done by the admin user.
Best regards
Alina
We use computed field in a class
We would like that the sheet, that creates a xform for this class, displays these fields always in a 'disabled' mode (read-only)
Using $doc.display('computedField') currently presents the field Editable when the user is creating a new object or edits the existing object of class
We tried using $doc.display('computedField','view') but this has no effect on the computedFields; funny enough $doc.display('normalField', 'view') does put the field in 'view' (read-only) mode.
We would actually prefer that it will just a 'disabled' tag to the form field
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi again,
I am using an XWiki Enterprise 8.4.2 in a docker container and use the
external data in a persisted volume. At this point, I am using no extra
database for storing the entries, so I assume that an embedded database
is used.
I am trying to import content from a MediaWiki using MediaWiki XML,
which works surprisingly well. However, none of the created pages appear
in my navigation panel. I tried creating a new page, this did also not
appear in navigation lists.
Since I imported into a sub-wiki, i changed back to the unchanged
main xwiki, but there are no pages there as well - not even the default
pages.
Skimming google for this kind of problem, I have often been sent to
Extension:Navigation-Pages, and documents about hoe hidden pages are
not displayed in said navigational tree - but as far as I can see, I
am creating regular pages which are not hidden and non-terminal as
well.
Is there anything known about this issue and maybe how to resolve it?
You must tell us what is this file?
A custom file per user? where did this file come from? Do you want this file attached to profile user?
Etc.
Your file is in your ldap ilike users photo:?
#-# [Since 8.1M2, XWikiLDAPAuthServiceImpl]
#-# On every login update photo from LDAP to XWiki avatar otherwise photo will not be updated.
#-# - 0: never
#-# - 1: at each authentication
#-# The default is 0
# xwiki.authentication.ldap.update_photo=0
Anyway you can add custom velocity code here:
/bin/edit/XWiki/XWikiUserProfileSheet?editor=wiki
(I don't know it it is a clean way, it depend of your use case desired)
--------------------------------------------
En date de : Mar 29.11.16, mh(a)ow2.org <mh(a)ow2.org> a écrit :
Objet: Re: [xwiki-users] API/Scripting : create user and attach some files to its profile
À: "XWiki Users" <users(a)xwiki.org>
Date: Mardi 29 novembre 2016, 9h00
Hi Pascal,
Thanks for the tip :)
It answers to the "how to add a
field" part of my question. But it
doesn't answer about attaching file to the
profile. The main issue I see
here is the
account is created on login. Or maybe there might be a
hook
system so we can trigger something when
the account is created( ie, to
attach files
to the profile) ?
Cheers,
Le
28/11/2016 à 08:46, Pascal BASTIEN a écrit :
> Hello,
>
> I added some others attributes (I
don't know if you can do the same with file)
> Add some attributes here:
/bin/edit/XWiki/XWikiUsers?editor=class
>
e.g. myaddress
> (disabled it to prevent
your user modified it)
>
> Add this field "myaddress" on
the sheet: /bin/view/XWiki/AdminUserProfileSheet
> and finally add it in xwiki.cfg:
> #-# retrieve the following fields from
LDAP and store them in the XWiki user object
(xwiki-attribute=ldap-attribute)
>
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=xxxxx....cut....,myaddress=street
> and choose a value for this setting:
> #-# On every login update the mapped
attributes from LDAP to XWiki otherwise this happens only
once when the XWiki
> #-# account is
created.
> #-# - 0: only when creating
user
> #-# - 1: at each authentication
> #-# The default is 0
>
xwiki.authentication.ldap.update_user=1
>
>
> (eventually add
a XWiki.TranslationDocumentClass to translate myaddress
attribute)
>
>
> Pascal BASTIEN
>
>
--------------------------------------------
> En date de : Ven 25.11.16, mh(a)ow2.org <mh(a)ow2.org> a écrit
:
>
> Objet:
[xwiki-users] API/Scripting : create user and attach some
files to its profile
> À:
"XWiki Users" <users(a)xwiki.org>
> Date: Vendredi 25 novembre 2016,
12h37
>
> Hi,
>
> I'm working
on a registration system around xwiki.
>
> The basic
workflow is the user is created in a LDAP
> directory at
>
registration time. Then the user can login to xwiki.
> It's only upon the first successful
login to xwiki that the
> user's
xwiki
> profile is created in xwiki
database.
>
> Now
here is my point : how could I prepare the user profile
> *before* he
> gets
connected ? For example I would be able to attach some
> files to
>
XWiki.<username> and why not some others
attributes.
>
>
Is anyone already achieved this ?
>
> Cheers
>
_______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
Hello,
I am new to xwiki (though like it a lot already...), I have installed the
release notes extension (1.3.1) but I have a problem with the
{{releasenotechanges}} macro. I may not use it properly, but I can't get my
changes appear in the release note page. I changed the default macro to use
the {{changes...}} macro instead, and it works better (but i need to
manually enter the product, version etc...) which is less convenient.
Once again I think I may not be using the extension correctly, but if
someone could point me to the documentation that could help me understand
how it works it would be much appreciated. (of course i have read this page
http://extensions.xwiki.org/xwiki/bin/view/Extension/Release+Notes+Applicat…
)
Also is there a way to change the default template of the RN to adapt it to
different context (for instance different languages)?
Regards,
Yann
Hello,
I am trying to create a docker container (based on tomcat:jre8) for
xwiki which keeps configuration and skins in volumes. So far, I have
made enough
progress that the xwiki is being deployes and the configuration
is accepted. My skins, however, are not.
I am using /var/local/xwiki/ as environment.PermanentDirectory
and I have 3 extras stored in there -
xwiki.cfg, xwiki.properties and a customSkin-directory.
I already tried to create symlinks in the container, pointing
to the files at the mount point, this was not working as the
properties file was simply ignored and the symlink was not followed.
I understood this concerning the properties file, I do not quite
understand why the cfg seems to be ignored as well (since several
template files were not loaded at all). So I had a workaround for this.
My problem is, that the symlink to the custom skin directory is present,
working, and it SHOULD work, but whenever I add ?skin=mySkin to the
current page URL (and the folder is named mySkin), my browser displays
the flamingo skin.
Is there another place, or another way, to keep the skins persisted, in
a volume to be mounted on docker?
Thanks in advance
This is the scenario that we would like to implement:
A page (we'll call it the master page) that contains a dashboard like interface that contains other objects in which the master page will keep history for all the objects that are attached. Each individual object that is added to the dashboard can be edited and saved from the master page in which the history of the master page is updated.
The operation is very similar to how the current dashboard macro works but instead of using the display gadget to only display a page it would actually allow the editing of the objects on the page. The history of the page would keep track of any edits made to the different objects.
I was wondering if there is any recommended direction to head in implementing this or if there is already a way to do such a thing. We are currently using XWiki Enterprise version 7.4.4.
Thanks,
Steve
Hi, all
I'm new to XWiki. Just finished a fresh installation of 8.4.1
with Tomcat any MySQL, which went absolutely smooth - great!
I intend to migrate the wiki of a small not-for-profit organisation
from Confluence to XWiki, so my first two questions are
- how do I create spaces?
- how do I get a hierachical navigation tree of all pages in a space
on the left?
I wouldn't be bothering you without doing some research first,
so I found this documentation about spaces:
http://platform.xwiki.org/xwiki/bin/view/Features/Spaces#HSpacecreation
Unfortunately my XWiki doesn't have that menu bar with the "Home | Main | WebHome | Add"
at all! What am I missing here?
Completely dumbfounded - the docs say "click Add -> Space" ...
Second there seems to be a "Document Tree Macro 8.4.1" extension
already installed. How do I get this - and only this - into the left menu column?
Thanks a lot for any hints. RTFM perfectly welcome with a pointer to the correct
fine manual. Search engine hasn't been of much help, but possibly my google-fu
is leaving me ;-)
Kind regards,
Patrick
Is it possible to get what images are inside a content page.
Note I do not mean Attached images, but the images displayed inline in the content
Is it also possible to display the content without these images, as plain Text (also remove the wiki-markup )
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
On Fri, Dec 2, 2016 at 12:28 PM, Vincent Massol <vincent(a)massol.net> wrote:
>
>> On 02 Dec 2016, at 12:13, Gerritjan Koekkoek <gerritjan(a)cdlsworld.org> wrote:
>>
>> {{velocity}}
>>
>> $services.rendering.getAvailableParserSyntaxes()
>>
>> #set($testDoc = $xwiki.getDocument('BlogNL.Peter'))
>>
>> #set($testObject = $testDoc.getObject('Blog.BlogPostClass'))
>>
>> #set ($xdom = $services.rendering.parse("${testObject.extract}","XWiki/2.0"))
You should ask the syntax to the document instead: $testDoc.syntax
>>
>> #set ($plainText = $services.rendering.render($xdom, "Plain/1.0”))
>
> It’s “plain/1.0” :)
>
> Thanks
> -Vincent
>
>>
>> {{{$plainText}}}
>>
>> {{/velocity}}
>>
>>
>> But plainText is not showing anything
>>
>>
>> Gerritjan Koekkoek
>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>> Visit our website<http://www.cdlsworld.org>
>> Facebook<https://www.facebook.com/gerritjan.koekkoek>
>> email<gerritjan(a)cdlsworld.org>
>>
>>
>>
>> ________________________________
>> From: users <users-bounces(a)xwiki.org> on behalf of Thomas Mortagne <thomas.mortagne(a)xwiki.com>
>> Sent: 02 December 2016 11:41:40
>> To: XWiki Users
>> Subject: Re: [xwiki-users] Content conversion
>>
>> On Fri, Dec 2, 2016 at 11:02 AM, Gerritjan Koekkoek
>> <gerritjan(a)cdlsworld.org> wrote:
>>> Is it possible to get what images are inside a content page.
>>>
>>> Note I do not mean Attached images, but the images displayed inline in the content
>>
>> You can parse any content into XDOM and then search for ImageBlock in
>> it. See http://rendering.xwiki.org/xwiki/bin/view/Main/GettingStarted#HExamples.
>>
>>>
>>>
>>> Is it also possible to display the content without these images, as plain Text (also remove the wiki-markup )
>>
>> We usually use plain text rendered (id "plain/1.0") for this.
>> Basically you use rendering framework to parse the content and then
>> serialize it with a special plain text renderer.
>>
>>>
>>>
>>> Gerritjan Koekkoek
>>> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
>>> Visit our website<http://www.cdlsworld.org>
>>> Facebook<https://www.facebook.com/gerritjan.koekkoek>
>>> email<gerritjan(a)cdlsworld.org>
>>>
>>>
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>
--
Thomas Mortagne
Hello,
A new version of the Nested Pages Migrator Application is available. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Nested+Pages+Migrator+…
You can install or upgrade with the Extension Manager.
This version brings a new tool that help you to check if the migration is
needed.
Thanks,
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
No the macro doesn't work with
{{code}}
test
{{/code}}
same error.
I must try with same couple tomcat/java on my dev server.
I think the problem coming from secure stuff (chroot, acl, reverse proxy, etc.) on our data center but i don't know where to search error source :-/
--------------------------------------------
En date de : Mar 29.11.16, Thomas Mortagne <thomas.mortagne(a)xwiki.com> a écrit :
Objet: Re: [xwiki-users] code macro/jython-standalone-2.7.0-xwiki-3.jar problem
À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
Date: Mardi 29 novembre 2016, 18h33
The error you pasted have
nothing to do with
http://jira.xwiki.org/browse/XWIKI-7984
plus XWIKI-7984 is specific to
Jboss
AS.
The code macro works
well with Tomcat and the setup you indicated is
pretty standard for XWiki. It's probably a
Jython or Pygments bug with
the specific
content you tried.
Does the
macro work with some very simple content like:
{{code}}
test
{{/code}}
?
If it work with other content then please
create a jira issue with the
content that
reproduce the error and we will try to reproduce it and
understand where it come from exactly.
On Tue, Nov 29, 2016 at 3:55 PM, Pascal BASTIEN
<pbasnews-xwiki(a)yahoo.fr>
wrote:
> Hello,
>
> I try to deploy xwiki 8.4 on Tomcat
8.0.32/ java 1.8.0_74 on our datacenter but I have a issue
with the code macro:
> {{code}}
> My code
> {{/code}}
>
> The page displayed:
"Failed to execute the [code] macro. Cause: [String
index out of range: 3]. Click on this message for
details.".
> I pasted the details
here: http://pastebin.ca/3743091
>
> I tested this way http://jira.xwiki.org/browse/XWIKI-7984
> (open jython-standalon jar/extract
everything in Lib/* and put this in a new jar at the root of
the jar/put the new ) but it doesn't work.
>
> Do you have an idea
what this problem coming from?
>
> (It seem that someone else have same
problem: https://demon.aeto.net/Macro/CitationBox)
>
> Thxs for any help
>
> Pascal
BASTIEN
--
Thomas
Mortagne
Hello,
I try to deploy xwiki 8.4 on Tomcat 8.0.32/ java 1.8.0_74 on our datacenter but I have a issue with the code macro:
{{code}}
My code
{{/code}}
The page displayed: "Failed to execute the [code] macro. Cause: [String index out of range: 3]. Click on this message for details.".
I pasted the details here: http://pastebin.ca/3743091
I tested this way http://jira.xwiki.org/browse/XWIKI-7984
(open jython-standalon jar/extract everything in Lib/* and put this in a new jar at the root of the jar/put the new ) but it doesn't work.
Do you have an idea what this problem coming from?
(It seem that someone else have same problem: https://demon.aeto.net/Macro/CitationBox)
Thxs for any help
Pascal BASTIEN
Hello,
I added some others attributes (I don't know if you can do the same with file)
Add some attributes here: /bin/edit/XWiki/XWikiUsers?editor=class
e.g. myaddress
(disabled it to prevent your user modified it)
Add this field "myaddress" on the sheet: /bin/view/XWiki/AdminUserProfileSheet
and finally add it in xwiki.cfg:
#-# retrieve the following fields from LDAP and store them in the XWiki user object (xwiki-attribute=ldap-attribute)
xwiki.authentication.ldap.fields_mapping=last_name=sn,first_name=givenName,email=xxxxx....cut....,myaddress=street
and choose a value for this setting:
#-# On every login update the mapped attributes from LDAP to XWiki otherwise this happens only once when the XWiki
#-# account is created.
#-# - 0: only when creating user
#-# - 1: at each authentication
#-# The default is 0
xwiki.authentication.ldap.update_user=1
(eventually add a XWiki.TranslationDocumentClass to translate myaddress attribute)
Pascal BASTIEN
--------------------------------------------
En date de : Ven 25.11.16, mh(a)ow2.org <mh(a)ow2.org> a écrit :
Objet: [xwiki-users] API/Scripting : create user and attach some files to its profile
À: "XWiki Users" <users(a)xwiki.org>
Date: Vendredi 25 novembre 2016, 12h37
Hi,
I'm working on a registration system around xwiki.
The basic workflow is the user is created in a LDAP
directory at
registration time. Then the user can login to xwiki.
It's only upon the first successful login to xwiki that the
user's xwiki
profile is created in xwiki database.
Now here is my point : how could I prepare the user profile
*before* he
gets connected ? For example I would be able to attach some
files to
XWiki.<username> and why not some others attributes.
Is anyone already achieved this ?
Cheers
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
I use Autohotkey to get text from a page with this url:
UrlDownloadToFile, http://
Server:8080/xwiki/rest/wikis/wiki/subwiki/Main/pages/MyPage?outputSyntax=plain&xpage=plain
C:\temp\MyText.txt
How do i do this with curl from a *SUBWIKI*?
curl -u Admin:admin
"Server:8080/xwiki/rest/wikis/wiki/*subwiki*/Main/pages/MyPage?outputSyntax=plain&xpage=plain"
is not working
Thanks Volker
Hi everyone,
I have spent some time trying to use the Include macro without success. It
requires a reference to the entity (e.g. document) that I want to be
included, but it is not obvious how to correctly generate this reference
value. Some guides say it should be in the form of <space name>.<document
name> but where are spaces in XWiki? I know XWiki has subwikis but I don't
see spaces anywhere. And I tried <subwiki name>.<document name> too, to no
avail. No errors were displayed either.
Thanks!
Hi,
I'm working on a registration system around xwiki.
The basic workflow is the user is created in a LDAP directory at
registration time. Then the user can login to xwiki.
It's only upon the first successful login to xwiki that the user's xwiki
profile is created in xwiki database.
Now here is my point : how could I prepare the user profile *before* he
gets connected ? For example I would be able to attach some files to
XWiki.<username> and why not some others attributes.
Is anyone already achieved this ?
Cheers
On Thu, Nov 24, 2016 at 2:28 PM, Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr> wrote:
>
>> >> >
>> >> > I use this methods,
>> >> hasParent(EntityReference
>> expectedParent) and i noticed that
>> >>
>> I can not use string to set EntityReference.
>> >> > Then i must use this before:
>> "#set
>> >> ($reference =
>> >>
>> $services.model.resolveSpace('xwiki:Encyclopédie'))"
>> >> and
>> "$doc.documentReference.hasParent($reference)"
>> >> because
>> >>
>> $doc.documentReference.hasParent('xwiki:Encyclopédie')
>> >> doesn't work.
>> >> > Am I right? Anyway, I
>> >> can understand that.
>> >>
>> >> There
>> >> is one magic thing about Velocity in
>> XWiki that you need to
>> >> keep
>> >> in mind: it automatically convert
>> >> parameters to the right type (when
>> >> there is
>> >> a
>> converter provided for that type).
>> >>
>> >> For example
>> the converter for the type
>> >>
>> EntityReference understand the
>> >>
>> following
>> >> syntax:
>> [<entitytype>:]<entityreference> (the
>> >> default entity
>> >> type is "document"
>> >> if you don't provide it) so the
>> space with
>> >> reference
>> "xwiki:Encyclopédie" will
>> >> be the string
>> >>
>> "space:xwiki:Encyclopédie" as in
>> >>
>> hasParent('space:xwiki:Encyclopédie').
>> >
>> > Right :-)
>> $doc.documentReference.hasParent('space:xwiki:Encyclopédie')
>> work well but I don't understand why we must use
>> "xwiki" in space name.
>>
>> You don't have to use "xwiki".
>> "xwiki" is is the wiki in which the
>> space is located, if you want the space
>> "Encyclopédie" in the current
>> wiki then just don't put the wiki as in
>> $doc.documentReference.hasParent('space:Encyclopédie').
>> Keep it mind
>> that we are talking about the
>> space reference here, not the space
>> name.
>
> Heu .... it is not the same?
>
> Then maybe I found an issue because without "xwiki:" documentReference.hasParent doesn't work:
> On jetty package 8.4:
> I paste this velocity code: in the page: http://localhost:8080/xwiki/bin/edit/Paréééént/sousParent/WebHome
> $doc.documentReference.hasParent('space:Paréééént') doesn't work (false)
> $doc.documentReference.hasParent('space:xwiki:Paréééént') work well (true)
>
> $doc.documentReference.hasParent('space:sousParent') doesn't work (false)
> $doc.documentReference.hasParent('space:xwiki:Paréééént.sousParent') work well (true)
Indeed I skipped the fact that hasParent does not resolve the
parameter, it has to be the full reference so indeed you have to
explicitly indicate the wiki or it won't match the document wiki.
Then it depend what is your exact use case:
* if you want to check if the document in in the space "Paréééént" of
the current wiki then you should resolve "Paréééént" and then passe
the resolved reference to hasParent
* if you know you are searching in wiki "xwiki" then it's fine with
hasParent('space:xwiki:Paréééént')
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
Hello
A new version of the Limits Application is available. See
http://extensions.xwiki.org/xwiki/bin/view/Extension/Limits+Application/#Hv…
You can install with the Extension Manager.
This version fixes an important bug which prevents the user to install the
application via the Extension Manager.
However, I would remind you that using the Extension Manager to install
this particular application is not the recommend way, since any user having
the administration right will be able to uninstall it. And thus remove the
limitations you wanted to enforce.
Have a good day,
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
> >
> > I use this methods,
> hasParent(EntityReference expectedParent) and i noticed that
> I can not use string to set EntityReference.
> > Then i must use this before: "#set
> ($reference =
> $services.model.resolveSpace('xwiki:Encyclopédie'))"
> and "$doc.documentReference.hasParent($reference)"
> because
> $doc.documentReference.hasParent('xwiki:Encyclopédie')
> doesn't work.
> > Am I right? Anyway, I
> can understand that.
>
> There
> is one magic thing about Velocity in XWiki that you need to
> keep
> in mind: it automatically convert
> parameters to the right type (when
> there is
> a converter provided for that type).
>
> For example the converter for the type
> EntityReference understand the
> following
> syntax: [<entitytype>:]<entityreference> (the
> default entity
> type is "document"
> if you don't provide it) so the space with
> reference "xwiki:Encyclopédie" will
> be the string
> "space:xwiki:Encyclopédie" as in
> hasParent('space:xwiki:Encyclopédie').
Right :-) $doc.documentReference.hasParent('space:xwiki:Encyclopédie') work well but I don't understand why we must use "xwiki" in space name.
I suppose I must use all space path.
>
> >
> >
> Another point about documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe…
> (because I spend a lot of time to identify my issue
> because the "x" characters:
> >
> Create a Document Reference: "#set ($reference =
> $services.model.createDocumentReference("wiki",
> ["space"], "page"))"
> > but
> >
> $doc.documentReference.spaceReferences.get(0) display
> "Space xwiki:Encyclopédie".
> >
> Reference use "xwiki" but createDocumentReference
> use "wiki"?
> > "wiki"
> is it a wiki name example?
>
> I don't really understand your example
> $services.model.createDocumentReference("wiki",
> ["space"], "page")
> have
> nothing to do with $doc.documentReference. It just means you
> are
> executing this script on main wiki
> ("xwiki").
>
> >
> > Another question:
> > What is the difference between:
> $services.model.createDocumentReference and
> services.model.resolveDocument?
> > With
> resolveDocument the Page must exist?
> >
> Can I use CreateDocumentReference if target document
> exist?
>
> resolveDocument take
> a reference as a String and parse it (it's using
> a DocumentResolver component for this) and find
> what is not provided
> in the String (by
> default from the context) while
> createDocumentReference takes each element of
> the reference separately
> and know nothing
> about reference syntax.
>
>
I mean: is it the same utility?
#set ($reference = $services.model.createDocumentReference("wiki", ["space1","space2"], "page"))
#set ($reference = $services.model.resolveDocument("wiki:space1.space2.page))
> >
> > Last point:
> > I think these 2 simples examples missing
> in: http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe…
> > #set ($reference =
> $services.model.resolveSpace('xwiki:MySpace'))
> > #set ($reference =
> $services.model.resolveSpace('xwiki:MySpace.MyPage'))
> > What do you think?
>
> Not sure people create space references that
> much but sure why not.
Sorry I wanted to write:
#set ($reference = $services.model.resolveSpace('xwiki:MySpace'))
#set ($reference = $services.model.resolveDocument('xwiki:MySpace.MyPage'))
but mayb it is not necessary because you told me than xwiki automatically convert parameters to the right type.
Hello xwiki users
I need a little bit of light about reference.
I use this methods, hasParent(EntityReference expectedParent) and i noticed that I can not use string to set EntityReference.
Then i must use this before: "#set ($reference = $services.model.resolveSpace('xwiki:Encyclopédie'))" and "$doc.documentReference.hasParent($reference)" because $doc.documentReference.hasParent('xwiki:Encyclopédie') doesn't work.
Am I right? Anyway, I can understand that.
Another point about documentation http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe… (because I spend a lot of time to identify my issue because the "x" characters:
Create a Document Reference: "#set ($reference = $services.model.createDocumentReference("wiki", ["space"], "page"))"
but
$doc.documentReference.spaceReferences.get(0) display "Space xwiki:Encyclopédie".
Reference use "xwiki" but createDocumentReference use "wiki"?
"wiki" is it a wiki name example?
Another question:
What is the difference between: $services.model.createDocumentReference and services.model.resolveDocument?
With resolveDocument the Page must exist?
Can I use CreateDocumentReference if target document exist?
Last point:
I think these 2 simples examples missing in: http://extensions.xwiki.org/xwiki/bin/view/Extension/Model+Module#HScriptSe…
#set ($reference = $services.model.resolveSpace('xwiki:MySpace'))
#set ($reference = $services.model.resolveSpace('xwiki:MySpace.MyPage'))
What do you think?
Ty
Pascal B
Due to some action all macro's on my XWiki are giving errors; not registered.
How can I do a batch registration to fix that problem...
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
According to your suggestions, I have started some iterations in a real
wiki.
Proposition 8, iteration 1
==================
http://jira.xwiki.org/secure/attachment/33243/P8_iter1.png
* Same wording
* Separation between wiki-related items and global items
* Remove "Home", because it's already in the breadcrumb and it is not
necessary to have it in this "often used features" menu.
"Create Wiki" and "Delete Wiki", because it should be done inside the Wiki
Index.
Proposition 8, iteration 2
==================
On subwiki:
http://jira.xwiki.org/secure/attachment/33245/P8_iter2.png
On main wiki:
http://jira.xwiki.org/secure/attachment/33246/P8_iter2_mainwiki.png
* Same but with a more human wording
* Applications is displayed before users, because I think we more often
need to use an app than we need to see other users
Proposition 8, iteration 3
==================
http://jira.xwiki.org/secure/attachment/33247/P8_iter3.png
* Same but introduced the "Recent Changes" entry (leads to an Activity
Stream maybe)
My conclusions
===
* Better look & feel
* More human wording
* Only feature we need often
Is it going in the right direction?
Thanks,
Guillaume
Thank you, Marius! It worked.
Best Regards,
Julio
De: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
Para: XWiki Users <users(a)xwiki.org>
Enviadas: Quinta-feira, 17 de Novembro de 2016 4:11
Assunto: Re: [xwiki-users] Search: how to return all documents without selecting all language?
Hi Julio,
As mentioned on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Applicatio…
the configuration can be found in the Main.SolrSearchConfig page. Edit in
Wiki edit mode and look for "facetQuery". Inside this group you have:
'locale': ["$xcontext.locale", '']
Try
'locale': ['pt', 'pt_BR']
Hope this helps,
Marius
On Wed, Nov 16, 2016 at 8:16 PM, Julio Brum <brumpaiva(a)gmail.com> wrote:
> Hello,
>
> In our XWiki, we have documents in the pt language and pt_BR (I do not know
> why ...). When I use wiki search it returns, by default, only the documents
> in the pt_BR language. To return all documents, it is necessary to mark in
> the filters the language pt and pt_BR (or uncheck all). How do I return, by
> default, all documents of all languages? Our users are having trouble
> finding the documents.
>
>
> Thank you in advance,
> Julio
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Dear Vincent and Ludovic,
After I added these configuration """* Its work*""" OMG. Thank you
very much.
Now I'll tuning the system It's slow and use a lot of memory.
Million Thank
Waranon
--
View this message in context: http://xwiki.475771.n2.nabble.com/I-can-t-integrate-google-apps-for-login-w…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
In our XWiki, we have documents in the pt language and pt_BR (I do not know
why ...). When I use wiki search it returns, by default, only the documents
in the pt_BR language. To return all documents, it is necessary to mark in
the filters the language pt and pt_BR (or uncheck all). How do I return, by
default, all documents of all languages? Our users are having trouble
finding the documents.
Thank you in advance,
Julio
Hi All,
I have two XWiki 8.3 instances, both are set up for multilangue support:
default language hu, enabled languages en, hu.
I have created a page by script in instance 1 and created a hu translation
for this page by the editor.
The page has many objects.
I have exported the page as xar from instance 1 and imported into instance
2.
When I access the localized page in instance 2 it does not lists its
objects,
the $doc.getxWikiObjects() in velocity returns an empty map.
Do you have any idea what can cause this?
What could be missing in instance2?
The XML content almost identical on instance1, but the
$doc.getxWikiObjects() gives a non empty result
when the localized page rendered.
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-translated-page-strange-behaviour-t…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi!
I just discovered an issue with renaming a space in a subwiki. Whenever I
rename a space in the main wiki the links are modified to reflect the new
space name - even links in subpages of the space are modified. But when I
rename a space in a subwiki the links are not modified and still points at
the old space name. Backlinks are not updated either.
I cannot find a bug or any other reference to this problem. Anyone else
experienced the same behavior. Discovered in XWiki 8.3. Upgraded to 8.4 but
no difference.
Regards,
Helge
--
View this message in context: http://xwiki.475771.n2.nabble.com/Rename-move-space-in-subwiki-does-not-upd…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi All,
I have downloaded the zip package of XWiki 8.4, started it and logged in as
Admin.
I have changed the Localization to support two languages.
When I created a page on the default laguage it is OK.
When I try to translate the page I get the editor but when I save the
document the
default page overwritten and the localized page not created.
I have created a screen capture of my trial: https://youtu.be/4K3lWqaKRxg
Did I forget to modify some settings or it is a bug in XWiki 8.4?
--
Best regards,
Zoltán
--
View this message in context: http://xwiki.475771.n2.nabble.com/Unable-to-create-localized-page-in-8-4-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
There are a discussion about this problem:
http://xwiki.markmail.org/message/f3bph6lrhlgtgwhw?q=Lots+of+disabled+Yahoo…
Pascal B
--------------------------------------------
En date de : Lun 14.11.16, Keith Davis <laurinkeithdavis(a)gmail.com> a écrit :
Objet: [xwiki-users] Bounced Emails
À: users(a)xwiki.org
Date: Lundi 14 novembre 2016, 16h40
My subscription keeps getting
disabled due to excessive bounces. I would
understand that if I was still hosting my web host's email
server, but I'm
not having email send to my Gmail account. Any ideas what
would be causing
that?
--
Keith Davis
214-906-5183
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Hi all,
I have been embedding svg inside html macro like this:
{{html}}
<svg ...>
...
</svg>
{{/html}}
and usually I can convert the resulting page to PDF without any problem.
However if I use *xmln:href* in the svg, the PDF converter throws an error
and renders a blank PDF.
Here's an example svg: https://jsfiddle.net/9dt5guab/1/
Here's the stack trace:
ERROR o.a.f.a.FOUserAgent - SVG graphic could not be built.
Reason: org.apache.batik.bridge.BridgeException: file:/opt/web/base/./:-1
The attribute "xlink:href" of the element <use> is required
org.apache.batik.bridge.BridgeException: file:/opt/web/base/./:-1
The attribute "xlink:href" of the element <use> is required
at
org.apache.batik.bridge.SVGUseElementBridge.buildCompositeGraphicsNode(Unknown
Source)
at
org.apache.batik.bridge.SVGUseElementBridge.createGraphicsNode(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.buildGraphicsNode(Unknown
Source)
at org.apache.batik.bridge.GVTBuilder.buildComposite(Unknown Source)
at org.apache.batik.bridge.GVTBuilder.build(Unknown Source)
at
org.apache.fop.render.pdf.PDFImageHandlerSVG.handleImage(PDFImageHandlerSVG.java:104)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:249)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImage(AbstractIFPainter.java:205)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingImageHandler(AbstractIFPainter.java:170)
at
org.apache.fop.render.intermediate.AbstractIFPainter.drawImageUsingDocument(AbstractIFPainter.java:319)
at
org.apache.fop.render.pdf.PDFPainter.drawImage(PDFPainter.java:286)
at
org.apache.fop.render.intermediate.IFRenderer.renderForeignObject(IFRenderer.java:1314)
at
org.apache.fop.render.AbstractRenderer.renderInlineViewport(AbstractRenderer.java:862)
at
org.apache.fop.render.AbstractPathOrientedRenderer.renderInlineViewport(AbstractPathOrientedRenderer.java:832)
at
org.apache.fop.render.intermediate.IFRenderer.renderInlineViewport(IFRenderer.java:864)
at
org.apache.fop.render.AbstractRenderer.renderInlineArea(AbstractRenderer.java:715)
at
org.apache.fop.render.intermediate.IFRenderer.renderInlineArea(IFRenderer.java:928)
at
org.apache.fop.render.AbstractRenderer.renderLineArea(AbstractRenderer.java:690)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:572)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557)
at
org.apache.fop.render.AbstractRenderer.renderBlock(AbstractRenderer.java:613)
at
org.apache.fop.render.intermediate.IFRenderer.renderBlock(IFRenderer.java:1000)
at
org.apache.fop.render.AbstractRenderer.renderBlocks(AbstractRenderer.java:557)
at
org.apache.fop.render.AbstractRenderer.renderFlow(AbstractRenderer.java:457)
at
org.apache.fop.render.AbstractPathOrientedRenderer.renderFlow(AbstractPathOrientedRenderer.java:785)
at
org.apache.fop.render.AbstractRenderer.renderMainReference(AbstractRenderer.java:434)
at
org.apache.fop.render.AbstractRenderer.renderBodyRegion(AbstractRenderer.java:358)
at
org.apache.fop.render.AbstractRenderer.renderRegionViewport(AbstractRenderer.java:305)
at
org.apache.fop.render.intermediate.IFRenderer.renderRegionViewport(IFRenderer.java:739)
at
org.apache.fop.render.AbstractRenderer.renderPageAreas(AbstractRenderer.java:270)
at
org.apache.fop.render.AbstractRenderer.renderPage(AbstractRenderer.java:243)
at
org.apache.fop.render.intermediate.IFRenderer.renderPage(IFRenderer.java:587)
at
org.apache.fop.area.RenderPagesModel.addPage(RenderPagesModel.java:123)
at
org.apache.fop.layoutmgr.AbstractPageSequenceLayoutManager.finishPage(AbstractPageSequenceLayoutManager.java:315)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.finishPage(PageSequenceLayoutManager.java:216)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:140)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:267)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:130)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:360)
at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:190)
at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
at
org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.renderXSLFO(PdfExportImpl.java:357)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHTML(PdfExportImpl.java:304)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:257)
at
com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:243)
at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:239)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:81)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:432)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:193)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:687)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1689)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:127)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1676)
at
org.xwiki.resource.servlet.RoutingFilter.doFilter(RoutingFilter.java:137)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1668)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:581)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:511)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at
org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:213)
at
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:119)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
at org.eclipse.jetty.server.Server.handle(Server.java:523)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
at
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:202)
at
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
at
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
at
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:671)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:589)
at java.lang.Thread.run(Thread.java:745)
I guess this is a problem with the converting library. Any help?
Hello dear developers and XWiki users.
I would you to take a look at the issue
http://jira.xwiki.org/browse/XWIKI-13070.
The problem is that the current order (that I have implemented based on my
intuition) seems to not be clear for our users. The main point is that the
menu mixes up global items (Home wiki, Wiki Index) and local ones
(Administer Wiki, Page Index, Delete wiki, etc...).
Caty and Oliver have made some proposals that you could find in the issue.
They are called P1, P2, P3, P4 and P5.
I propose you to express your preferences so we can implement it based on a
consensus.
Here are mine:
P1: There is a logical order and separation between item. However, it seems
the more used actions (Wiki Index, Page Index) are less visible than some
other (Delete Wiki, Create Wiki...)
P2: The order and the separation are logic. The "delete wiki" action is
still very visible but all other items are good.
P3: Same than P2. Except that having "Wiki Index" along with "User, Page
and Application Index" mixes up local and global items.
P4: Why not, but maybe the 3 first actions should be placed after the other
ones, since they would be less used. Same remark about the mixing of local
and global items.
P5: A clear distinction between local and global scope. More used items are
located first. This is my favorite one.
So +1 for P5, +0 for the other options so far.
Now, what about you?
Thanks,
Guillaume
PS: I send this message to both devs and users mailing lists, because I
think users are directly concerned by this topic.
--
Guillaume Delhumeau (guillaume.delhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
Hello,
My ODT (Open Office) files attachments are detected like "zip bomb" files by tika and i think theses file are not proprely indexed by solr...
Do you know a way to exclude, odt files from tika' zip bomb check?
Thxs.
Here my log for odt files:
2016-11-14 11:33:04,474 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor - Failed to retrieve the content of attachment [Attachment xwiki:MyFile.odt]
org.apache.tika.exception.TikaException: Zip bomb detected!
at org.apache.tika.sax.SecureContentHandler.throwIfCauseOf(SecureContentHandler.java:192)
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:123)
at org.apache.tika.Tika.parseToString(Tika.java:527)
...
at org.xwiki.search.solr.internal.DefaultSolrIndexer.run(DefaultSolrIndexer.java:377)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.tika.sax.SecureContentHandler$SecureSAXException: Suspected zip bomb: 100 levels of XML element nesting
at org.apache.tika.sax.SecureContentHandler.startElement(SecureContentHandler.java:234)
...
at org.apache.tika.parser.AutoDetectParser.parse(AutoDetectParser.java:120)
... 11 common frames omitted
Pascal B
Hi,
We use xwiki version 7.1.2 with tomcat 8 and nginx. In peak of load (when
many users come in) we see that number of Threads grow and xwiki freeze. Ok,
we increased maxThreads from 250 (default) up to 1100.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
maxThreads="1100"
redirectPort="8443" />
But it is not enough. We don't know cause of problem because number of
simultaneous users in xwiki we have less than 300-400. We did threads dump
and saw many url with words .../download/... as active thread (~ 800 of 1100
active threads ).
In our xwiki many pictures on pages (~10-15 per page) but we set
xwiki.store.cache.capacity=2000
In xwiki attachement cache folder only 1700 files (i.e.
xwiki.store.cache.capacity not need more).
What cause of problem with threads ? Why so many threads active long time ?
And may be someone know good settings for tomcat ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/xwiki-7-1-2-perfomance-problem-with-tomca…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I think this might a velocity/java script or groovy question more as a xwiki question.
We want to record a age (Period of days/seconds since birth date).
What datatype would you recommend:
- String structured
- Numeric integer of Days or Seconds
- Date/Time
We would like to be able to display the data as:
- Date notation
- Years, Months, Weeks
- Years, Months, Days
- Years, Months
Things to consider is that each month has different period lengths in days and that each 4 years we have different number of days in a year
Should/Can we do this server side (velocity)
What velocity tools or services can we use
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hi community,
I'm having a hard time getting a Javascript Extension for an
AppWithinMinutes livetable to work.
I have several livetable "enhancements" in it like changing background
color per field value which work properly.
As a reference I've used the example:
http://snippets.xwiki.org/xwiki/bin/view/Extension/Background+color+for+a+l…
Now I want to change the display of the value of a specific column, for
example to display an image or a button next to the value. This works only
for the last column in the livetable. All other rows look strange.
Example:
The simplified code:
```
document.observe("xwiki:livetable:newrow", function(ev){
$$('.sTxtUser').each(function(element){
var content = element.innerText;
if(content === undefined){
content = element.textContent;
}
element.replace('<td class="sTxtUser link typetext"
data-title="Username">"' + content + '"</td>')
});
});
```
I have 3 documents for the application with the following values for field
sTxtUser :
testuser1
test12345
anotheruser1
Using the above extension renders the livetable cells like this:
"""anotheruser1"""
""test12345""
"testuser1"
If I change the sort order:
"""testuser1"""
""test12345""
"anotheruser1"
So only the last row shows the desired output.
What am I doing wrong?
Regards,
Dennis
The XWiki development team is proud to announce the availability of XWiki
8.4.
This version brings a lot of usability improvements. The WYSIWYG editor (
*CKEditor*) has been upgraded and proposes a better dialog for the creation
of links. It is also possible to configure it from the administration.
Application Within Minutes does not enforce anymore the location where the
application's entries must be created, but proposes to the creator the
places *where* and *from where* these entries should be. We have also get
rid of the Data page where the entries where created before.
The default values of the user preferences are now better exposed to the
users. The order of the applications in the application panel can now be
changed by the administrator. And the users now have the ability to filter
the page types when they create a page.
As usual plenty of less noticeable improvements are proposed, and 45 bugs
have been fixed since XWiki 8.3.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/Data/XWiki/8.4/
Thanks for your support
-The XWiki dev team