Hi Vincent,
This feature isn't implemented. Is that something Mediawiki does?
MediaWiki does not support manually annotating a section, but MediaWiki will
automatically divide all html head titles(h1, h2 ...) into a section, so the
granularity of a page is relatively small, and conflict will happen
rarely, while in Xwiki, only " 1.1" tag will generate a section to edit.
This is a bug. Would you mind creating a JIRA issue for it? (in the
> XWiki Platform project - http://jira.xwiki.org)
Issue created.
http://jira.xwiki.org/jira/browse/XWIKI-1531
Regards,
Yue
Lets say I have this 2 line text file called Hello.txt.
Hello world.
goodbye world.
How can I display the contents of this file on a page? I believe I can do it
with page.setTextArticle(article);. However, I am a newbie to xwiki and I
am still in the dark. What is the full code snippet to use?
Thanks in advance.
carlos
Hi,
I installed XWiki standalone on windows. I went in using Admin/admin then entered my own personal details. Now I can�t log in using either Admin or my account details, it always says Wrong User Name. So I uninstalled and reinstalled, same problem. Strangely after the reinstall the welcome message and other characteristics of the virgin installation don�t come back. Is something left in the registry?
Any tips please?
TIA
John
I found something like this on the xWiki web site but it doesn't quite work.
This is what I put on the page.
#set($attachment=$doc.getAttachment("MyFile.doc"))
#mimetypeimg($attachment.getMimeType().toLowerCase()
$attachment.getFilename().toLowerCase())
"MyFile.doc" is an attached MS Word document. (Attached to that page.)
The funny thing about it is that when the page displays it shows the ICON
followed by some extra stuff that looks like this:
doc?" title="doc?<http://10.57.38.187:8080/xwiki/bin/edit/WARS/doc?parent=WARS.2005&editor=wy…>
"/>
The problem seems to lie in the html where the code generated by the
Velocity stuff above looks like this:
<img src="/xwiki/skins/albatross/mimetypes/word.png"
alt="<a class="wikicreatelink" href="/xwiki/bin/edit/WARS/doc?parent=
WARS.2005&editor=wysiwyg"><span class="wikicreatelinktext">doc</span><spanclass
="wikicreatelinkqm">?</span></a>" title="<a class="wikicreatelink" href=
"/xwiki/bin/edit/WARS/doc?parent=WARS.2005&editor=wysiwyg"><span class=
"wikicreatelinktext">doc</span><span class="wikicreatelinkqm">?</span></a>"
/>
I first looked at xWiki last Thursday so I don't know much about what's
going on. But that looks to me like some sort of text substitution is taking
place where the contents of the "alt" is expanded into something containing
a double-quote that ends the "alt" before its time. That makes the funny
stuff display when it should only create an "alt" message for the image. The
class "wikicreatelink" makes me suspicious as well.
So ... am I doing something wrong in the Velocity code above when I try to
create the interesting icon on the page?
Or ... is something in the xwiki application messing it up? (And, if so, is
there some workaround.)
Thanks.
--
-- Lee Meador
The folliwing error occurs when saving custom article documents; I can't
seem to find the problem (probably something daft). Anyone ever seen
this, or could suggest where to start looking?
====
Error number 3201 in 3: Exception while saving document Daiwa.Title
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringListProperty#
]
com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while
saving document Daiwa.Title
Wrapped Exception: Row was updated or deleted by another transaction (or
unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringListProperty#
]
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:321)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:10
0)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:934)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:116)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.jav
a:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
0)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:685)
at java.lang.Thread.run(Thread.java:595)
Wrapped Exception:
org.hibernate.StaleObjectStateException: Row was updated or deleted by
another transaction (or unsaved-value mapping was incorrect):
[com.xpn.xwiki.objects.StringListProperty#
]
at
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEnt
ityPersister.java:1635)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2208)
at
org.hibernate.persister.entity.AbstractEntityPersister.updateOrInsert(Ab
stractEntityPersister.java:2118)
at
org.hibernate.persister.entity.AbstractEntityPersister.update(AbstractEn
tityPersister.java:2374)
at
org.hibernate.action.EntityUpdateAction.execute(EntityUpdateAction.java:
84)
at
org.hibernate.engine.ActionQueue.execute(ActionQueue.java:243)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:227)
at
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(
AbstractFlushingEventListener.java:296)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEv
entListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1009)
at
org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:356)
at
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:10
6)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:617)
at
com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernat
eBaseStore.java:591)
at
com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore
.java:316)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:10
0)
at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:94
)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:934)
at com.xpn.xwiki.web.SaveAction.save(SaveAction.java:116)
at
com.xpn.xwiki.web.SaveAndContinueAction.action(SaveAndContinueAction.jav
a:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:149)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodi
ngFilter.java:118)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:188)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:210)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.java:174)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:117)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
java:108)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:1
51)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:87
0)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.proc
essConnection(Http11BaseProtocol.java:665)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint
.java:528)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollow
erWorkerThread.java:81)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.java:685)
at java.lang.Thread.run(Thread.java:595)
Hello everyone,
I tried to use the Panel Wizard to change the Page Layout from the default setting of "Right Column" to "Left Column". When I clicked "Save the new layout" I received a prompt "The layout has been saved properly". However, a stack trace was written to the console. I am now left with no side columns at all.
What am I doing wrong?
Here's the message that is now written to the console when I navigate to the Panel Wizard page.
16:22:30,727 ERROR P1-18 http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&f…
SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Panels.PanelWizard [line 6, column 14]
16:22:30,747 ERROR P1-18 http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&f…
SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Panels.PanelWizard [line 6, column 14]
16:22:30,747 ERROR P1-18 http://localhost:8080/xwiki/bin/view/Panels/PanelWizard?forceLeftPanels=1&f…
SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Panels.PanelWizard [line 6, column 14]
I have installed xwiki-enterprise-1.1-milestone-3 on a Windows XP machine. For now, I'm using the default HSQL database and Jetty web server.
Regards,
Justin Robbins
Hi,
I installed XWiki standalone on windows. I went in using Admin/admin
then entered my own personal details. Now I can't log in using either
Admin or my account details, it always says Wrong User Name. So I
uninstalled and reinstalled, same problem. Strangely after the reinstall
the welcome message and other characteristics of the virgin installation
don't come back. Is something left in the registry?
Any tips please?
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail.
Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail.
Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.
Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.