Hi,
I am trying XWiki 7.3.
I want to add add a menu with icon in the top menu. I have read
http://platform.xwiki.org/xwiki/bin/view/ExtensionPoint/TopMenuLeft, but
still can not understand where to add the following:
{{velocity}}{{html clean="false"}} ## we need clean="false" because we want
to display the raw content
<li class="dropdown">
<a class="icon-navbar dropdown-toggle" data-toggle="dropdown"
role="button" arias-haspopup="true" aria-expanded="false"><span
class="sr-only">$services.localization.render('core.menu.toggleNavigation')</span>Some
text</a>
<ul class="dropdown-menu">
<li><a href="">Some link</a></li>
</ul>
</li>
{{/html}}{{/velocity}}
Could you give me advice where to add the above lines?
Thanks for your help very much.
Guofeng
I am having the hardest time figuring out how to convert terminal pages
into nested spaces. After the upgrade to 7.2 our document organization got
completely hosed and the only way I can currently determine to reorganize
our documents is a painstakingly manual process located here:
http://test.xwiki.org/xwiki/bin/view/Nested+Spaces/Convert+a+Terminal+Docum…
Am I missing something here? If someone has a better way to do this please
let me know.
Thanks!
Hi,
I have a panel with a documentTree to display documents but I'm not able
to make finder work properly.
For non-existing pages it returns correctly "No results!", but for
existing ones it works for some and fails for other writing both
following errors in catalina.out:
- Exception in macro #handleDocumentTreeRequest called at
49:template:XWiki.DocumentTree[line 3, column 1]
- Exception in macro #getSuggestions called at
43:template:XWiki.DocumentTree[line 43, column 1]
I'm affraid I can't I find a pattern to give you any clue... But here
some examples:
- Searching "02Audit", at "Doc.03BusinessProcesses.02Audit": working
- Searching "03Reports", at "Doc.03BusinessProcesses.03Reports": NOT working
- Searching "02Functionalities", at
"Doc.01Specifications.02Functionalities": working
- Searching "01Entities", at "Doc.01Specifications.01Entities": NOT working
Note that Search functionality (up-right on the page) works fine for all
cases.
FYI, this is my macro in the panel (copy of Navigation panel but with
finder=true):
{{documentTree showTranslations="false" showAttachments="false"
compact="true" openTo="document:$openToDoc" finder="true" /}}
What might be happening?
--
ASOL Email Un cordial saludo,
Iago Lluque
/
*AlÃnea Software Solutions S.L.*
TravesÃa del Comercio 3, 2º 36002 Pontevedra España
Tel: +34 986 845 699
Email: info(a)alineasol.com <mailto:info@alineasol.com>
Web: http://www.alineasol.com
/
Hello,
i want to tuse some Carousel/slider on Xwiki.
I find 2 of them:
- http://www.xwiki.org/xwiki/bin/view/Carousel/Slider I don't know if it is simple to use it
- and totem extension: http://extensions.xwiki.org/xwiki/bin/view/Extension/TotemApplication
but totem doesn't work on my xwiki 7.0.1 version :-(
A nice working xar example will be welcome to test :-)
Totem documentation is clear except one important point: last step missing: howt to display our new totem page? with include but which one?
Thxs for your help or any carousel you use on your xwiki.
Pascal B
Hello,
I'm running a fresh 7.2 XWiki install (RHEL 7, tomcat 7, postgreSQL 9.1)
and I'm experiencing strange behaviour when I try to create new pages in a
given space.
If I use the big "+" sign on the top of the page in the space I want, the
result is always the same : a new space is created instead of a new page.
This is not a "parenting" problem, the space in question is indeed child
of the parent space.
I can try to change the location of the page in the "Location in the page
hierarchy where this new page will be created." menu
But it doesn't appear in the page list of the space, and it appears in the
list of all the spaces.
The template doesn't seem to be the problem (Page Type). I can use a page
template or a blank page (default choice) in the page type.
The only workaround that I found is to create a new page through the space
WYSIWIG editor.
I edit the home page of the space, then in the WYSIWIG editor I click on
"Link" and then "XWiki Page". This way a link to a new unknown page is
created in the space, and then and only then can I create a page inside
the space.
This doesn't seem normal. Can someone give me some insights on what might
cause this ?
Regards,
Denis GERMAIN
Hi guys,
I have an error when trying to send an email from inside a job.
The error I get is :
2015-11-19 11:09:16,507 ERROR o.x.m.i.DatabaseMailListener - Failed to save mail status [messageId = [04e467fb-0982-475b-9e8d-e3b1cc58c3a1], batchId = [9e5aa5f2-2372-40c9-b4c0-f6c5b7579560], state = [ready], date = [Thu Nov 19 11:09:16 CET 2015], recipients = [p.huisman(a)ximml.nl], wiki = [testwiki]] to the database
org.xwiki.mail.MailStoreException: Failed to save mail status [messageId = [04e467fb-0982-475b-9e8d-e3b1cc58c3a1], batchId = [9e5aa5f2-2372-40c9-b4c0-f6c5b7579560], state = [ready], date = [Thu Nov 19 11:09:16 CET 2015], recipients = [p.huisman(a)ximm.nl], wiki = [testwiki]] to the database.
at org.xwiki.mail.internal.DatabaseMailStatusStore.save(DatabaseMailStatusStore.java:88) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailListener.saveStatus(DatabaseMailListener.java:151) [xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailListener.onPrepare(DatabaseMailListener.java:82) [xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareSingleMail(PrepareMailRunnable.java:162) [xwiki-platform-mail-send-default-6.4.4.jar:na]
at org.xwiki.mail.internal.thread.PrepareMailRunnable.prepareMail(PrepareMailRunnable.java:133) [xwiki-platform-mail-send-default-6.4.4.jar:na]
at org.xwiki.mail.internal.thread.PrepareMailRunnable.run(PrepareMailRunnable.java:94) [xwiki-platform-mail-send-default-6.4.4.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_79]
Caused by: org.xwiki.mail.MailStoreException: Failed to delete mail status (message id [04e467fb-0982-475b-9e8d-e3b1cc58c3a1]) from the database.
at org.xwiki.mail.internal.DatabaseMailStatusStore.delete(DatabaseMailStatusStore.java:194) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailStatusStore.save(DatabaseMailStatusStore.java:76) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
... 6 common frames omitted
Caused by: com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1305) ~[xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1413) ~[xwiki-platform-legacy-oldcore-6.4.4.jar:na]
at org.xwiki.mail.internal.DatabaseMailStatusStore.delete(DatabaseMailStatusStore.java:182) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
... 7 common frames omitted
Caused by: org.hibernate.QueryParameterException: could not locate named parameter [id]
at org.hibernate.engine.query.ParameterMetadata.getNamedParameterDescriptor(ParameterMetadata.java:101) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.engine.query.ParameterMetadata.getNamedParameterExpectedType(ParameterMetadata.java:107) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.AbstractQueryImpl.determineType(AbstractQueryImpl.java:460) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.hibernate.impl.AbstractQueryImpl.setParameter(AbstractQueryImpl.java:430) ~[hibernate-core-3.6.9.Final.jar:3.6.9.Final]
at org.xwiki.mail.internal.DatabaseMailStatusStore$4.doInHibernate(DatabaseMailStatusStore.java:189) ~[xwiki-platform-mail-send-storage-6.4.4.jar:na]
at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1299) ~[xwiki-platform-legacy-oldcore-6.4.4.jar:na]
... 9 common frames omitted
The code I use is base on the example on http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HCompa… <http://extensions.xwiki.org/xwiki/bin/view/Extension/Mail+Sender+API#HCompa…> :
I Inject the following:
@Inject
MailSenderConfiguration mailConfiguration;
@Inject
@Named("text/html")
MimeBodyPartFactory<String> htmlPartFactory;
@Inject
@Named("database")
private Provider<MailListener> mailListenerProvider;
@Inject
MailSender mailSender;
The calls are:
[…]
MailListener maillistener = this.mailListenerProvider.get();
Session session = Session.getInstance(this.mailConfiguration.getAllProperties());
MimeMessage message = new MimeMessage(session);
message.setFrom(new InternetAddress("p.huisman(a)ximm.nl"));
message.addRecipient(RecipientType.TO, new InternetAddress("p.huisman(a)ximm.nl"));
message.setSubject("XML Export");
Multipart multipart = new MimeMultipart("mixed");
Map<String, Object> parameters = new HashMap<>();
parameters.put("alternative", "text");
multipart.addBodyPart(this.htmlPartFactory.create(resultaat, parameters));
message.setContent(multipart);
MailResult result = this.mailSender.sendAsynchronously(Arrays.asList(message), session, maillistener);
[…]
The error is created on the this.mailSender.sendAsynchronously call. I’m using the 6.4.4 version.
Any help and suggestions of what I’m doing wrong is appreciated.
With kind regards,
Peter
I guess there is a type in the code: in org <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg>.xwiki <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki>.job <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki.job>.internal <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki.job.internal>.AbstractJob <eclipse-javadoc:%E2%98%82=XMLExporter/%5C/Users%5C/peterhuisman%5C/.m2%5C/repository%5C/org%5C/xwiki%5C/commons%5C/xwiki-commons-job%5C/6.4%5C/xwiki-commons-job-6.4.jar%3Corg.xwiki.job.internal(AbstractJob.class%E2%98%83AbstractJob>.progressManager , the stepPropress (with a P) is defined where it should be stepProgress - or is there a reason for this?
Br,
P
Hi all,
Is there a way to set a different color theme to an "space" with the
Nested Pages feature? Previously with spaces it was possible.
I see that rights are inherited, but not color theme.
--
ASOL Email Un cordial saludo,
Iago Lluque
/
*AlÃnea Software Solutions S.L.*
TravesÃa del Comercio 3, 2º 36002 Pontevedra España
Tel: +34 986 845 699
Email: info(a)alineasol.com <mailto:info@alineasol.com>
Web: http://www.alineasol.com
/
Just an FYI,
the Open Source Initiative will be hosting a free webinar on XWiki with
Vincent Massol, today at 12:00noon ET, 6:00pm CET
Details at: http://wiki.opensource.org/bin/Communities/OSIdeas
Hope you can join us,
Patrick
--
|| | | |||| || || | |||| ||| | |||
Patrick Masson
General Manager & Director
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
OSI Phone: (415) 857-5398
Direct Phone: (970) 4MASSON
Skype: massonpj
Em: masson(a)opensource.org
Ws: www.opensource.org
Good day.
Had xwiki set up and running for a while now. This morning windows 7 dicided
to do a system recovery on startup. Now when I try to run XWiki I get a HTTP
500 error:
java.lang.NullPointerException
com.xpn.xwiki.web.Utils.getContextComponentManager(Utils.java:695)
com.xpn.xwiki.web.Utils.getComponent(Utils.java:752)
com.xpn.xwiki.web.Utils.getComponent(Utils.java:719)
com.xpn.xwiki.web.XWikiRequestProcessor.processPath(XWikiRequestProcessor.java:47)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:154)
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:624)
javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:115)
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)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
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:137)
Any ideas where to start looking for the problem? I went over the
configuration and all looks fine and MySQL is running and tomcat7 is
running..
Not sure how to recover.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-startup-HTTP-500-issue-tp7596904.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.