Hi Joshua,
(I apologize to all if this appears more than once; I haven't been
successful posting to the mailing list since before yesterday. Perhaps
attachments are prohibited? Trying again without.)
Thanks again, your explanation of spaces was very clear and helpful.
Now that I have a little better understanding of spaces, I'll present my
problem. For some reason when I create a FAQ entry, it's not going into
the FAQ space but instead into the Main space. Per the tutorial, I haven't
created a FAQ space explicitly this go round.
It seems to me this can only be happening as a result of the code that
adds a FAQ, or perhaps in the class definition code which specifies the
default space. Looks right to me and jibes with what you've said about
spaces. Here it is yanked directly out of my code .. which was simply a
copy/paste from the tutorial:
FAQClass code:
{{velocity}}
## Replace Main with the Space where you want your documents to be
created.
## Replace the default parent with the one of your choice and save the
document.
##
#set($className = $doc.name.substring(0, $doc.name.indexOf("Class")))
#set($defaultParent = 'FAQ.WebHome')
#set($defaultSpace = 'FAQ')
{{/velocity}}
{{include document="XWiki.ClassSheet"/}}
FAQTemplate code:
{{include document="FAQ.FAQSheet"/}}
FAQ WebHome code (http://localhost/xwiki/bin/edit/FAQ/WebHome?&editor=wiki
):
= Existing FAQ entries =
{{velocity}}
#set($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='FAQ.FAQClass' and obj.name<>'FAQ.FAQTemplate'")
#set($results = $xwiki.searchDocuments($sql))
#if($results.empty)
No FAQ has been created yet!
#else
#foreach ($item in $results)
#set($faq = $xwiki.getDocument($item))
* [[${faq.display("question").replace("<p>", "").replace("</p>",
"")}>>${item}]]
#end
#end
{{/velocity}}
{{velocity}}
#if("$!request.docName" != '')
## Request for creating a new instance
#set($targetDocName = "${request.spaceName}.${request.docName}")
#set($targetDocName = $targetDocName.replace("?", "").replace("#",
"").trim())
#if(!$xwiki.exists($targetDocName) && $xwiki.hasAccessLevel('edit',
$context.user, $targetDocName))
$response.sendRedirect($xwiki.getURL($targetDocName, 'inline',
"template=${request.template}&parent=${request.parent}"))
## Stop processing, since we already sent a redirect.
#stop
#end
#end
= Add a new question =
#if("$!targetDocName" != '' && $xwiki.exists($targetDocName))
{{warning}}The target document already exists. Please choose a different
name, or [[view the existing document>>$targetDocName]]{{/warning}}
#elseif("$!targetDocName" != '')
{{warning}}You don't have permission to create that document{{/warning}}
#end
{{html}}
<form action="" id="newdoc" method="post">
<div>
<input type="hidden" name="parent" value="${doc.fullName}"/>
<input type="hidden" name="template" value="FAQ.FAQTemplate"/>
<input type="hidden" name="sheet" value="1"/>
<input type="hidden" name="spaceName" value="FAQ"/>
Document: <input type="text" name="docName" value="Enter your
question here" class="withTip" size="50"/>
<span class="buttonwrapper"><input type="submit" value="Create this
FAQ" class="button"/></span>
</div>
</form>
{{/html}}
{{/velocity}}
So what am I missing?
Thanks,
Mark
"Rieken, Joshua" <Joshua_Rieken(a)reyrey.com>
Sent by: users-bounces(a)xwiki.org
11/10/2009 04:37 PM
Please respond to
XWiki Users <users(a)xwiki.org>
To
XWiki Users <users(a)xwiki.org>
cc
Subject
Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
Mark,
You're very welcome. It's not necessary to explicitly create the WebHome
in FAQ until later in the tutorial. Question/Answer documents that are
created from the FAQ Class page will go into the FAQ space, which "comes
into existence" the instant any document is placed in it.
For example, if you add a question/answer page called
"FAQ.Howtoeditapage", you can still get to it regardless of whether
"FAQ.WebHome" exists.
A space "disappears" when every document that is part of the space is
deleted. So a space is just a collection of documents and doesn't really
exist outside of those documents. It's really just a convenient way to
organize your documents.
Good luck, and if you have any more questions, please don't hesitate to
ask.
-Joshua-
> -----Original Message-----
> From: users-bounces(a)xwiki.org
> [mailto:users-bounces@xwiki.org] On Behalf Of Mark_Marziale(a)BCBSIL.COM
> Sent: Tuesday, November 10, 2009 3:31 PM
> To: XWiki Users
> Cc: XWiki Users; users-bounces(a)xwiki.org
> Subject: Re: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
>
> Hi Joshua,
>
> Thanks very much for your prompt reply. It helps a lot to
> know the history and what WebHome means!
>
> Am I correct then in first creating the FAQ space explicitly,
> even though that's not called for in the tutorial? Like so:
>
> "I've first created the FAQ Space, then built the FAQ Class,
> etc, then put the code into the 'home' page for the space, ie
> http://localhost/xwiki/bin/view/FAQ/"
>
>
> Thanks,
> Mark
>
> BCBS-IL
> ph 312-653-4293
> mark_marziale(a)bcbsil.com
>
>
>
>
>
> "Rieken, Joshua" <Joshua_Rieken(a)reyrey.com>
> Sent by: users-bounces(a)xwiki.org
> 11/10/2009 03:18 PM
> Please respond to
> XWiki Users <users(a)xwiki.org>
>
>
> To
> XWiki Users <users(a)xwiki.org>
> cc
>
> Subject
> Re: [xwiki-users] problem with FAQ tutorial .. space assignment?
>
>
>
>
>
>
> Hi Mark,
>
> http://localhost/xwiki/bin/view/FAQ/ actually takes you to
> http://localhost/xwiki/bin/view/FAQ/WebHome. "WebHome" is the
> home page
> for any given space. The name "WebHome" came from earlier versions of
> XWiki, when a Space was called a Web.
>
> Hope this helps,
> -Joshua-
>
> > -----Original Message-----
> > From: users-bounces(a)xwiki.org
> > [mailto:users-bounces@xwiki.org] On Behalf Of
> Mark_Marziale(a)BCBSIL.COM
> > Sent: Tuesday, November 10, 2009 3:06 PM
> > To: users(a)xwiki.org
> > Subject: [xwiki-users] problem with FAQ tutorial .. space
> assignment?
> >
> > Hi,
> >
> > I've followed along in the tutorial in the dev guide for
> > creating a FAQ at
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorial
> >
> > Here's my first point of confusion: in section 'Create a
> > homepage for your application' it states 'Go to the
> > "FAQ.WebHome" page'. I do not see such a page. In the latest
> > iterations of building the FAQ I've first created the FAQ
> > Space, then built the FAQ Class, etc, then put the code into
> > the 'home' page for the space, ie
> http://localhost/xwiki/bin/view/FAQ/
> >
> > I'm sure my problems stem from my weak understanding of this
> > step and how spaces are created and referenced.
> >
> > Thanks,
> > Mark
> >
> > BCBS-IL
> > ph 312-653-4293
> > mark_marziale(a)bcbsil.com
> >
> >
> >
> > HCSC Company Disclaimer
> >
> > The information contained in this communication is
> > confidential, private,
> > proprietary, or otherwise privileged and is intended only for
> > the use of
> > the addressee. Unauthorized use, disclosure, distribution or
> > copying is
> > strictly prohibited and may be unlawful. If you have received this
> > communication in error, please notify the sender
> immediately at (312)
> > 653-6000 in Illinois; (800)835-8699 in New Mexico; (918)560-3500 in
> > Oklahoma; or (972)766-6900 in Texas.
> > _______________________________________________
> > 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
>
> _______________________________________________
> 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 Sergiu,
The image I sent made the message to large. If you would like to see the rendering I would be glad to send it to you. Simply put, the code you supplied still doesn't work even though I copied and pasted your code directly into my wiki 2.0 page.
greetings,
Steven Calkins
E-Mail: steven.calkins(at)crossmediasolutions.de
> -----Ursprüngliche Nachricht-----
> Von: Steven Calkins
> Gesendet: Montag, 16. November 2009 10:50
> An: 'XWiki Users'
> Betreff: AW: [xwiki-users] Latex {cases} command doesn't work
> in default xwiki 2.0 formula macro
>
> Hi Sergiu,
>
> I tried your example after changing the line
> "macro.formula.renderer" in the properties file back to
> "native"and restarting xwiki. Sadly it still didn't work on
> my machine. So what is different on your machine compared to
> mine? (Do you perhaps have a developing environment which
> automatically finds the proper TeX parts?) I just copied and
> pasted your example. The rendered results are seen in the
> attached screenshot. I'm not sure that attachments get
> through to you, but if you can view it, you can see that the
> formulae are rendered, just the cases command is not
> executed. I'm still using a SKIN from 1.9. on XWiki
> Enterprise 2.0.3.24848, running on postgres but I believe
> that should be irrelevant. Here's my code:
>
> ================START XWIKI CODE ==================================
>
> === Continuation and cases===
> This example from wikipedia doesn't seem to work:
> {{formula fontSize="normal"}}
> f(x) = \begin{cases}1 & \mbox{-1 \le x < 0\par} \\
> \frac{1}{2} & \mbox{x = 0} \\ 1 - x^2 &
> \mbox{otherwise\par}\end{cases} {{/formula}}
>
> Example from Sergiu
> {{formula}}
> f(x) =
> \begin{cases}
> 1 & -1 \le x \le 0 \\
> \frac{1}{2} & x = 0 \\
> 1 - x^2 & \mbox{otherwise}
> \end{cases}
> {{/formula}}
>
>
> Case definitions
>
> Used when a definition has two or more cases. Use the case
> statement. Notice that the spaces after the instances of if
> were included inside the mbox declarations.
>
> {{formula fontSize="normal"}}f(n) = \begin{cases} n/2, &
> \mbox{if } n\mbox{ is even} \\ 3n+1, & \mbox{if } n\mbox{ is
> odd} \end{cases}{{/formula}}
>
> Third try
> {{formula fontSize="normal"}}f(n) = \left\{ \begin{array}{l l}
> n/2 & \quad \text{if $n$ is even}\\
> -(n+1)/2 & \quad \text{if $n$ is odd}\\ \end{array}
> \right.{{/formula}}
>
> ======================END XWIKI CODE==================
>
> Cheers,
>
> Steven Calkins
> E-Mail: steven.calkins(at)crossmediasolutions.de (in the
> event you want to see my image and can't)
>
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> Im Auftrag von Sergiu Dumitriu
> Gesendet: Freitag, 13. November 2009 19:16
> An: XWiki Users
> Betreff: Re: [xwiki-users] Latex {cases} command doesn't work
> in default xwiki 2.0 formula macro
>
> On 11/13/2009 02:56 PM, Steven Calkins wrote:
> > Hi Sergiu,
> >
> > I tried what you said, adding the line
> "macro.formula.renderer = native" to WEB-INF/xwiki.properties
> and saving it. Then I restarted Xwiki but it didn't work. It
> still rendered the formula in a single line. Then I tried
> "the line "macro.formula.renderer=mathtran", saved it, and
> restarted xwiki. It still didn't work. Is there some part of
> the the TeX package still missing? I just installed XWiki
> Enterprise 2.0.3.24848, it runs on postgres.
>
> OK, it seems that the default renderer is the native one, so
> there was no need to change it.
>
> I tried your example, and actually there's a problem with the
> formula.
> The code from your mail causes the native renderer to fail
> because there's a syntax error, specifically the first mbox
> contains \le, which is only valid in math mode. This works fine:
>
> {{formula}}
> f(x) =
> \begin{cases}
> 1 & -1 \le x \le 0 \\
> \frac{1}{2} & x = 0 \\
> 1 - x^2 & \mbox{otherwise}
> \end{cases}
> {{/formula}}
>
> > I was a little surprised that I had to add a line in the
> WEB-INF/xwiki.properties file and not uncomment a line and
> change its value, as you do in most cases. Could it be that I
> have an older config file or is the line in
> WEB-INF/xwiki.properties not available yet in the newest
> version? I used the config from the download, and changed
> only those values that pertained to my earlier system settings.
>
> My fault, I forgot to add this setting in the template that
> generates xwiki.cfg.
>
> > Greetings,
> >
> > Steven Calkins
> >
> >
> > -----Ursprüngliche Nachricht-----
> > Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im
> > Auftrag von Sergiu Dumitriu
> > Gesendet: Freitag, 13. November 2009 12:31
> > An: XWiki Users
> > Betreff: Re: [xwiki-users] Latex {cases} command doesn't work in
> > default xwiki 2.0 formula macro
> >
> > On 11/13/2009 11:45 AM, Steven Calkins wrote:
> >> Dear all,
> >>
> >> The LaTeX {case} macro doesn't seem to work in Xwiki
> 2.0 with the
> >> default LaTeX renderer.
> >>
> >> Try these two examples to reproduce it and compare with
> >> http://en.wikipedia.org/wiki/Math_markup#Examples_2:
> >> [XWIKI CODE STARTS HERE]
> >>
> >> === Continuation and cases===
> >> This example from wikipedia doesn't seem to work:
> >> {{formula fontSize="normal"}}f(x) = \begin{cases}1&
> \mbox{-1 \le x<
> >> 0\par} \\
> >> \frac{1}{2} \;\;\;& \mbox{x = 0\par} \\ 1 - x^2&
> >> \mbox{otherwise\par}\end{cases}{{/formula}}
> >>
> >> ===Case definitions===
> >>
> >> {{formula fontSize="normal"}}f(n) = \begin{cases} n/2,&
> \mbox{if }
> >> n\mbox{ is even} \\ 3n+1,& \mbox{if } n\mbox{ is odd}
> >> \end{cases}{{/formula}}
> >>
> >> [XWIKI CODE ENDS HERE]
> >>
> >> Any suggestions?
> >
> > The cases environment is not standard TeX, it belongs to
> the amsmath
> > package. This means that it is not supposed to work using
> the default
> > backend. It should work with the native one, which uses the amsmath
> > package, and you could try using the mathtran one. If you decide to
> > change the backend, you'll find instructions in the last
> paragraph on
> >
> http://code.xwiki.org/xwiki/bin/view/Macros/FormulaMacro#HTechnicalinf
> > ormation
>
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hello :)
I belong to an association of statistics and history of Spanish football. It's a non-profit, rather it's a hobby.
I need a wiki, it's a free encyclopaedia statistical Spanish League football, with lots of data. The wiki has between 3,000 and 6,000 pages.
User name: arf
Server name: arfpedia
Thank you very much, get a bear hugÂ
:)
Dear all,
The LaTeX {case} macro doesn't seem to work in Xwiki 2.0 with
the default LaTeX renderer.
Try these two examples to reproduce it and compare with
http://en.wikipedia.org/wiki/Math_markup#Examples_2:
[XWIKI CODE STARTS HERE]
=== Continuation and cases===
This example from wikipedia doesn't seem to work:
{{formula fontSize="normal"}}f(x) = \begin{cases}1 & \mbox{-1 \le x <
0\par} \\
\frac{1}{2} \;\;\;& \mbox{x = 0\par} \\ 1 - x^2 &
\mbox{otherwise\par}\end{cases}{{/formula}}
===Case definitions===
{{formula fontSize="normal"}}f(n) = \begin{cases} n/2, & \mbox{if }
n\mbox{ is even} \\ 3n+1, & \mbox{if } n\mbox{ is odd}
\end{cases}{{/formula}}
[XWIKI CODE ENDS HERE]
Any suggestions?
Greetings,
Steven Calkins
Dear xwiki-list,
I have a problem with the OpenOffice converter.
XE is 2.0.1.24472, OpenOffice 3, Ubuntu 9.04 server.
OpenOffice server is running & connected.
But when I try to import even a very simple .odt test file, I get the
error message:
"could not complete task".
xwiki.log (attached) shows the following problem:
com.sun.star.lang.IllegalArgumentException: URL seems to be an
unsupported one.
Any suggestions ?
Thanks!
Ralf.
/var/lib/tomcat6/webapps/xwiki/WEB-INF/xwiki.properties
#-# Default port is
8100
openoffice.serverPort=8100
#-# [Since 1.9M2]
#-# If the openoffice server should be started / connected upon XE start.
#-# Default value is false
openoffice.autoStart=true
#-# [Since 1.8RC3]
#-# Path to openoffice installation (serverType:0 only).
#-# If no path is provided, a default value will be calculated based on
the operating environment.
openoffice.homePath=/usr/lib/openoffice/
#-# [Since 1.8RC3]
#-# Path to openoffice execution profile (serverType:0 only).
#-# If no path is provided, a default value will be calculated based on
the operating environment.
openoffice.profilePath=/home/OOo/.openoffice.org/3
#-# [Since 1.8RC3]
#-# Maximum number of simultaneous conversion tasks to be handled by a
single openoffice process (serverType:0 only).
#-# Default value is
50
#
openoffice.maxTasksPerProcess=50
#-# [Since 1.8RC3]
#-# Timeout for conversion tasks (in miliseconds) (serverType:0 only).
#-# Default value is 30 seconds
# openoffice.taskExecutionTimeout=30000
#-------------------------------------------------------------------------------------
#
Velocity
#-------------------------------------------------------------------------------------
#-# [Since 2.0M1]
/tmp/tomcat6-temp
2009-11-12 11:23:33,936 [] [main] INFO ffice.DefaultOpenOfficeManager
- Open Office instance started.
2009-11-12 11:23:40,649
[http://mswiki.scripps.edu:8080/xwiki/bin/admin/XWiki/XWikiPreferences]
[http://mswiki.scripps.edu:8080/xwiki/bin/admin/XWiki/XWikiPreferences]
INFO .AbstractXWikiMigrationManager - No storage migration required
since current version is
[15429]
2009-11-12 11:24:06,717
[http://mswiki.scripps.edu:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
[http://mswiki.scripps.edu:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
ERROR rterVelocityContextInitializer - could not complete
task
org.xwiki.officeimporter.OfficeImporterException: could not complete
task
at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:175)
at
org.xwiki.officeimporter.internal.OfficeImporterVelocityBridge.importDocument(OfficeImporterVelocityBridge.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:554)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:571)
at
com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618)
at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618)
at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:637)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at
java.lang.Thread.run(Thread.java:636)
Caused by: net.sf.jodconverter.office.OfficeException: could not
complete
task
at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:95)
at
net.sf.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:71)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeDocumentConverter.convert(DefaultOpenOfficeDocumentConverter.java:99)
at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:151)
... 109
more
Caused by: java.util.concurrent.ExecutionException:
net.sf.jodconverter.office.OfficeException: conversion
failed
at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:262)
at
java.util.concurrent.FutureTask.get(FutureTask.java:119)
at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:90)
... 112
more
Caused by: net.sf.jodconverter.office.OfficeException: conversion
failed
at
net.sf.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:71)
at
net.sf.jodconverter.office.ManagedProcessOfficeManager$2.run(ManagedProcessOfficeManager.java:85)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at
java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
... 1
more
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be
an unsupported
one.
at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
at
com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
at $Proxy27.loadComponentFromURL(Unknown
Source)
at
net.sf.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:58)
... 7
more
2009-11-12 11:26:42,876
[http://mswiki.scripps.edu:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
[http://mswiki.scripps.edu:8080/xwiki/bin/view/XWiki/OfficeImporterResults]
ERROR rterVelocityContextInitializer - could not complete
task
org.xwiki.officeimporter.OfficeImporterException: could not complete
task
at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:175)
at
org.xwiki.officeimporter.internal.OfficeImporterVelocityBridge.importDocument(OfficeImporterVelocityBridge.java:94)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:554)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:571)
at
com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618)
at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor118.invoke(Unknown
Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at
java.lang.reflect.Method.invoke(Method.java:616)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1697)
at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1618)
at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.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:637)
at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:636)
Caused by: net.sf.jodconverter.office.OfficeException: could not
complete task
at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:95)
at
net.sf.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:71)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeDocumentConverter.convert(DefaultOpenOfficeDocumentConverter.java:99)
at
org.xwiki.officeimporter.internal.DefaultOfficeImporter.importStream(DefaultOfficeImporter.java:151)
... 109 more
Caused by: java.util.concurrent.ExecutionException:
net.sf.jodconverter.office.OfficeException: conversion failed
at
java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:262)
at java.util.concurrent.FutureTask.get(FutureTask.java:119)
at
net.sf.jodconverter.office.ManagedProcessOfficeManager.execute(ManagedProcessOfficeManager.java:90)
... 112 more
Caused by: net.sf.jodconverter.office.OfficeException: conversion failed
at
net.sf.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:71)
at
net.sf.jodconverter.office.ManagedProcessOfficeManager$2.run(ManagedProcessOfficeManager.java:85)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
... 1 more
Caused by: com.sun.star.lang.IllegalArgumentException: URL seems to be
an unsupported one.
at
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job.java:182)
at
com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
at
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
at
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.java:101)
at
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_remote_bridge.java:652)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFactory.java:154)
at
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactory.java:136)
at $Proxy27.loadComponentFromURL(Unknown Source)
at
net.sf.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:58)
... 7 more
Hello,
I've tried to add toolbar buttons for fonts and colours to the Syntax 2.0 WYSIWYG toolbar in XWiki 1.9.3 by following the online guide at: http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor .
First, in "macros.vm" (or anywhere else) I didn't find any lines that looked like these:
plugins: '$xwiki.getXWikiPreference("wysiwyg.plugins", "submit line separator text list indent history format symbol link image table macro importer#if($full && $request.sync) sync#end")',
toolbar: '$xwiki.getXWikiPreference("wysiwyg.toolbar", "bold italic underline strikethrough | subscript superscript | unorderedlist orderedlist | outdent indent | undo redo | hr symbol")',
they looked like this:
plugins: 'submit line separator text valign list indent history format symbol link image table macro importer#if($full && $request.sync) sync#end',
toolbar: 'bold italic underline strikethrough | subscript superscript | unorderedlist orderedlist | outdent indent | undo redo | format | hr symbol | link unlink | importer',
I changed the two lines to this:
plugins: 'submit line separator text font color valign list indent history format symbol link image table macro importer#if($full && $request.sync) sync#end',
toolbar: 'bold italic underline strikethrough | subscript superscript | unorderedlist orderedlist | outdent indent | undo redo | format fontname fontsize forecolor backcolor | hr symbol | link unlink | importer',
According to the documentation: "You can reload your web container." and "You don't have to restart the server.". By reloading the web container do you mean refreshing the browser page? Or exiting and re-entering the WYSIWYG editor? I have not tried restarting the server but the buttons are not showing up.
Thanks,
Trevor
Hello,
categories are part of XWiki Workspaces. However, I cannot find this feature in XWiki Enterprise (neither in the software itself nor the documentation). In general, I consider categories a useful extension to spaces and tags and, thus, would like to have them at my disposal. Is there a way to include categories into XWiki Enterprise?
Kind regards,
Gerhard
Festo AG & Co. KG
Gerhard Peter
Abteilung IS-KM
Methoden und Prozesse
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4530
Telefax +49(711)34754-4530
http://www.festo.com
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. FN 303027 d
Vorstand:
Dr. Ekkehard Gericke
Dipl.-Kfm. Alfred Goll
Dr. Ansgar Kriwet
Dr. Thomas Rubbe
Dr. Eberhard Veit (Vorsitzender)
Dr. Ulrich Walker
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll
Hello
isn't this suppose to get the content of the each page?
#foreach($sourceDoc in $xwiki.getSpaceDocsName($sourceSpace))
$contents = $xwiki.getDocument($sourceSpace.$sourceDoc)
contents = $contents
#end
so that latter on i can set that content to another
page.($pageclass.setContent($contents)) it's about copying one document from
one space to another space.
--
View this message in context: http://n2.nabble.com/get-content-of-page-tp3992676p3992676.html
Sent from the XWiki- Users mailing list archive at Nabble.com.