Hello,
I wanted to know how to access the Xwiki workspace I created without downloading the package hsqldb (for the users of the workspace).
Thank you!
_________________________________________________________________
Hotmail: la nouvelle technologie anti-spam aide à bloquer les messages indésirables, ici vous pouvez régler votre filtre Spam.
http://mail.live.com/mail/options.aspx?subsection=4
Hello
i saw some posts here for defining page sections.
(http://n2.nabble.com/some-questions-concerning-editing-pages-more-specific-…)
what i did and fail apparently was: have some tables in a page and i wanted
to define each table as a section, so that when to edit, the user cand edit
just the specific table he wants to. not the hole part.
so i created for test 2 tables with titles:
1. section 1
..the actual table
1.1 section 2
..the actual table
but the sections weren't created.
Is there any documentation for this, please?
Thank you
--
View this message in context: http://n2.nabble.com/declare-sections-in-the-page-tp3973361p3973361.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello all!
There is a problem with a panel, which does not appear for a user. Here
is what I have done:
Xwiki Enterprise 2.0.3.24848
0. Login as User in Admingroup
1. Created a space "SpaceA" with several pages
2. Created a group "GroupA"
3. Created a user "UserA"
4. Put UserA in GroupA
5. Gave edit and view rights for SpaceA to GroupA
6. Changed Page Layout to Left column
7. Added only one panel PanelA which shows the documents of this page
8. All works fine
9. Login as UserA
10. Can only see documents in SpaceA but cannot see PanelA
Even if I give all rights to UserA for SpaceA I cannot see PanelA.
If I want to administrate SpaceA as UserA and choose the panels section
I became an error:
"Topic Panels.PanelWizard does not exist".
Sections Presentation and Rights are working fine.
Does someone know this behaviour? Can anybody give a hint or help me?
Greetings
Dirk
Hi,
I am having an interesting problem: content is getting duplicated in my
XWiki. This seems to affect only one page in my wiki (at least I have
noticed it only there). Parts of the content of the page get duplicated
on that same page, see:
https://e-research.cs.st-andrews.ac.uk/site/bin/view/Research+in+a+Connecte…
(I will leave this unmodified for a few days)
This is not just an artefact in the output. When I edit the content, the
duplication is there. I can remove it and it disappears but the problem
seems to re-occur. Any ideas what might be going on?
Best wishes,
Alex
--
Alexander Voss
SICSA Advanced Research Fellow
School of Computer Science
University of St Andrews
http://www.cs.st-andrews.ac.uk/~avoss
The University of St Andrews is a charity registered in Scotland : No
SC013532
Hi,
I was trying to build the XWiki Web project, version 1.8.1. At first, it looked for the smartgwt.jar. I downloaded it and manually installed it in the repository. Now, here is the error that I got:
[gwt:compile]
establishing classpath list (buildClaspathList - scope = COMPILE)
google.webtoolkit.home (gwtHome) *not* set, using project POM for GWT dependencies
The input line is too long.
I downloaded and installed gwt and set the GWT_HOME environment variable. The error still occurs. I'm not sure why.
Any ideas?
Thank you very much.
Regards,
J. Allen
Dear All,
We just updated to XWiki Enterprise 2.0.3.24848 for internal
documentation and are having difficulties with the display. We use the
toucan skin from version 1.9. When users log-in, they see the site
without our skin. When the admins log-in, the skin is there. What is the
problem? The login is also without the skin. Is the skin cached in the
browser?
greetings,
Steven Calkins
Hi
I get the errors below on my newly installed xwiki. I've followed the instructions in http://www.howtoforge.com/xwiki-tomcat-mysql-debian-etch (whith the exception of point 11, which I was trying to do now)
I've checked and re-checked my hibernate.cfg.xml and my MySQL-configuration and I'm unable to find the problem. Could you please help me solve this?
HTTP Status 500 -
________________________________
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: invalid configuration
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:339)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:400)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
________________________________
Apache Tomcat/5.5
mvh
Linda Ursin
Brukersenteret
_____________________________________________________________________
Brukersenter ved HiST er brukerens første kontaktpunkt ved IKT-relaterte spørsmål og problemer. Vi har betjent telefon mellom 08:00 og 15:00.
Tlf: (73 5)5 99 00
E-post: brukersenter(a)hist.no <mailto:brukersenter@hist.no>
Du finner oss også på Ansattportalen og Studentportalen. Vennligst sjekk våre sider der (spesielt veiviserne) før du melder et problem til oss.
NB! Da vi kommuniserer med deg vedrørende en sak, trenger vi tilbakemelding fra deg også når det fungerer slik at vi kan avslutte saken.
Vi ber om at du, så langt som mulig, benytter den adressen du er blitt tildelt her ved HiST når du kontakter oss pr. e-post. Da vet vi hvem du er med en gang og slipper å finne deg frem, pluss at vi vet at du faktisk jobber/studerer ved HiST.
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
>
Hi there,
This morning, I attended a meeting with a group of interest about FLOSS in
our area (South West of France).
We all want to start collaborating, but we definitely need a good wiki with
features like WISIWYG editor and Templates.
This group is totally not for profit, and is not even an established
organisation by now.
So I request to create a new wiki named gtllmipy on your farm so that I can
push Xwiki as the collaboration solution for our group.
Regards,
=======================================================
Gaël Blondelle
CTO of Petals Link
VP Technology of OW2
4 Rue Amélie
FR - 31000 Toulouse
Phone: +33 (0)5 62 73 43 82
Fax: +33 (0)5 62 24 40 90
Mobile: +33 (0)6 88 34 67 02
Email: <mailto:gael.blondelle@petalslink.com> gael.blondelle(a)petalslink.com
Website: <http://www.petalslink.com> www.petalslink.com
Petals Link is member of the OW2 Consortium( <http://www.ow2.org/>
www.ow2.org).
Please visit the site dedicated to our flagship product PEtALS ESB:
<http://petals.ow2.org/> http://petals.ow2.org
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.
Hi,
I'm currently evaluating xwiki.
My goal is to develop a data maintenance system for books and authors data.
Two entities, BOOK and AUTHOR, have a many-to-many relationship.
The new system should provide an ability to maintain the attributes of
each entity as well as the relationship between them using forms.
There are a large number of existing data, which are sourced from
other systems and I'm considering to store them using custom mapping
in XWiki.
Now I wonder how I should store the many-to-many relationship in XWiki
database. Is it a right approach for XWiki to introduce the
traditional intersection table?
Also, I'd like to know the subsequent steps to follow.
I need to create a .hbm file and define a many-to-many mapping, right?
And next...?
Any hint would be greatly appreciated.
Thanks,
ebi
I've made sure that the xwiki syntax is set to Xwiki 1.0 for the page but when I type "[]" or "$xwiki." as per the screenshots in the XWiki Page Editor section of the XEclipse user guide (http://xeclipse.xwiki.org/xwiki/bin/view/Main/UserGuide) no autocompletion popup boxes appear.
I'm using XEclipse 1.2.0 RC1
Radek
----- Original Message -----
From: Vincent Massol <vincent(a)massol.net>
Sent: Tue, 10/11/2009 6:30pm
To: XWiki Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] XEclipse syntax highlighting and code completion
Hi Radek,
On Nov 10, 2009, at 7:23 AM, Radek Rekas wrote:
> Hi,
>
> I can't seem to get the syntax highlighting and code completion
> working in XEclipse, is there anything that needs to be done to get
> this working or should it work out of the box?
It'll work OOB but only for the XWiki 1.0 syntax for now. We need
someone to make it work for the 2.0 syntax.
Thanks
-Vincent
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
On Nov 11, 2009, at 11:44 PM, Radek Rekas wrote:
> Whoops, that was it, i feel silly now.
Np
-Vincent
> Thank you very much for the help.
>
>
> Radek
>
> ----- Original Message -----
> From: Vincent Massol <vincent(a)massol.net>
> Sent: Wed, 11/11/2009 6:09pm
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] XEclipse syntax highlighting and code
> completion
>
>
> On Nov 11, 2009, at 12:10 AM, Radek Rekas wrote:
>
>> I've made sure that the xwiki syntax is set to Xwiki 1.0 for the
>> page but when I type "[]" or "$xwiki." as per the screenshots in the
>> XWiki Page Editor section of the XEclipse user guide (http://xeclipse.xwiki.org/xwiki/bin/view/Main/UserGuide
>> ) no autocompletion popup boxes appear.
>
> Have you pressed ctrl+space too?
>
> Thanks
> -Vincent
>
>>
>> I'm using XEclipse 1.2.0 RC1
>>
>>
>> Radek
>>
>> ----- Original Message -----
>> From: Vincent Massol <vincent(a)massol.net>
>> Sent: Tue, 10/11/2009 6:30pm
>> To: XWiki Users <users(a)xwiki.org>
>> Subject: Re: [xwiki-users] XEclipse syntax highlighting and code
>> completion
>>
>> Hi Radek,
>>
>> On Nov 10, 2009, at 7:23 AM, Radek Rekas wrote:
>>
>>> Hi,
>>>
>>> I can't seem to get the syntax highlighting and code completion
>>> working in XEclipse, is there anything that needs to be done to get
>>> this working or should it work out of the box?
>>
>> It'll work OOB but only for the XWiki 1.0 syntax for now. We need
>> someone to make it work for the 2.0 syntax.
>>
>> Thanks
>> -Vincent
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Is there a limit to the number of files that can be attached to an XWiki
page? If a page has 199 attachments, would it cause any problems or
issues?
** Mary Ellen
Hello,
I found this link :
http://code.xwiki.org/xwiki/bin/view/Modules/WysiwygEditorModule. It is an
useful one, but if i wanna edit more than one html element(in this case
textarea that has the id="demo") then it does now what to do.
i tried making an array of "hookedIds" but that does not help either.
my case scenario is something like this:
"i have a table with multiple <input type="text" .. or textarea . they are
grouped in a table(which had an id..thinking that if all elements are
integrated in an table that has an id i am doing a step forward..quess not).
each field has an id because when i press Edit i wanna edit all those
elements from the table, except some labels lets say. So, folowing the
example from the link above i tried, made a table, created input types and
labels. just like a normal table. i gave ids to all the elements that i
wanna edit later on. then when i call the editor on load in javascript, i
have this variable there:hookId. this one can receive only one id?. my scope
is to add as many ids as i need to so that when i press the edit button to
be ablet to edit those "
this is a long shot, but it's my best idea yet. if you think there is
something wrong in the logic, please tell me. did anybody ran into such
stuff?
thank you
--
View this message in context: http://n2.nabble.com/how-to-declare-in-a-js-script-that-the-editor-can-have…
Sent from the XWiki- Users mailing list archive at Nabble.com.