Hi,
I am currently trying to set up XWiki Enterprise 1.6.1 to use JBossCache in
REPL_ASYNC mode, but I am current experiencing a few issues.
I discovered that the directory structure WEB-INF/cache/jbosscache is not
correct, so I renamed the folder jbosscache to jboss. The default.xml file
had an incorrect tag EvictionConfig instead of the correct
EvictionPolicyConfig.
After fixing the 2 minor issues (tested in LOCAL mode) mentioned above,
nothing can be stored in the cache due to serializable issue, the stack
traces:
With UseLazyDeserialization = true
2009-07-13 12:30:05,080 ERROR [STDERR] org.jboss.cache.CacheException:
java.io.NotSerializableException: Marshalled values can only wrap Objects
that are serializable! Instance of class com.xpn.xwiki.doc.XWikiD
ocument won't Serialize.
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:227)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.jboss.cache.invocation.CacheInvocationDelegate.put(CacheInvocationDelegate.java:480)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.xwiki.cache.jbosscache.internal.JBossCacheCache.set(JBossCacheCache.java:146)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:143)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:128)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1271)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1233)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1228)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.plugin.calendar.CalendarPlugin.getCalendarEventClass(CalendarPlugin.java:84)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.plugin.calendar.CalendarPlugin.init(CalendarPlugin.java:335)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1008)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:727)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.<init>(XWiki.java:655)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:315)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:386)
2009-07-13 12:30:05,081 ERROR [STDERR] at
com.xpn.xwiki.xmlrpc.XWikiReflectiveXmlRpcHandler.execute(XWikiReflectiveXmlRpcHandler.java:85)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.apache.xmlrpc.server.XmlRpcServerWorker.execute(XmlRpcServerWorker.java:43)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.apache.xmlrpc.server.XmlRpcServer.execute(XmlRpcServer.java:83)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.apache.xmlrpc.server.XmlRpcStreamServer.execute(XmlRpcStreamServer.java:182)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.apache.xmlrpc.webserver.XmlRpcServletServer.execute(XmlRpcServletServer.java:103)
2009-07-13 12:30:05,081 ERROR [STDERR] at
org.apache.xmlrpc.webserver.XmlRpcServlet.doPost(XmlRpcServlet.java:120)
2009-07-13 12:30:05,081 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
..............
And with UseLazyDeserialization = false
2009-07-13 12:38:57,160 ERROR [STDERR] org.jboss.cache.CacheException:
Unable to invoke method public void org.jboss.cache.RPCManagerImpl.start()
on object instance org.jboss.cache.RPCManagerImpl@1938222
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.util.reflect.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:127)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.factories.ComponentRegistry$PrioritizedMethod.invoke(ComponentRegistry.java:932)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.factories.ComponentRegistry.internalStart(ComponentRegistry.java:718)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.factories.ComponentRegistry.start(ComponentRegistry.java:582)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.invocation.CacheInvocationDelegate.start(CacheInvocationDelegate.java:279)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:95)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.jboss.cache.DefaultCacheFactory.createCache(DefaultCacheFactory.java:79)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.xwiki.cache.jbosscache.internal.JBossCacheCache.initialize(JBossCacheCache.java:101)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.xwiki.cache.jbosscache.internal.JBossCacheCacheFactory.newCache(JBossCacheCacheFactory.java:78)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiCacheStore.initCache(XWikiCacheStore.java:99)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiCacheStore.initCache(XWikiCacheStore.java:84)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.store.XWikiCacheStore.<init>(XWikiCacheStore.java:64)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.XWiki.initXWiki(XWiki.java:679)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.XWiki.<init>(XWiki.java:655)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:315)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:386)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
2009-07-13 12:38:57,161 ERROR [STDERR] at
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
2009-07-13 12:38:57,161 ERROR [STDERR] at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
2009-07-13 12:38:57,162 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
2009-07-13 12:38:57,162 ERROR [STDERR] at
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
2009-07-13 12:38:57,162 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
2009-07-13 12:38:57,162 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
2009-07-13 12:38:57,162 ERROR [STDERR] at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:94)
2009-07-13 12:38:57,162 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
2009-07-13 12:38:57,162 ERROR [STDERR] at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
Has anyone ever managed to get XWiki running with a replicated cache (JBoss
or OSCache) ????
Any help is greatly appreciated.
Cheers,
Andy
Hi,
After Vincent made my mouth water today at the Jazoon, I wanted to try
XWiki but I could get the FAQTutorial to work with the 1.9 release
(xwiki-enterprise-installer-generic-1.9-standard.jar). Specifically:
After I enter the two strings "FAQs" and "FAQ" in the text fields, I get
this text in the editor:
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
This looks good. After save&view, I see this:
replace Main with the Space where you want your documents to be created
replace the default parent with the one of your choice
Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
Note how the formatting is completely broken and that some ")" are
missing. When I open the page for editing, I see this:
## replace Main with the Space where you want your documents to be created
## replace the default parent with the one of your choice
## Save this template using the 'Save' button
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"##
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
As you can see, there is suddenly an empty line, the ")))" have been
replaced with "##" and the whole thing doesn't work. When I get rid of
the Comments near the start and just leave this code:
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class")))
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
that gets mangles as well:
#set( $class = $doc.name.substring(0,$doc.name.indexOf("Class"
#set($defaultparent = "XWiki.${class}Class")
#set($defaultweb = "Main")
#includeForm("XWiki.ClassSheet")
Any ideas what could be wrong?
Oh, and when starting XWiki for the first time, I get this exception:
2009-06-24 20:58:26,853 [http://localhost:8080/xwiki/bin/view/Main/]
[481877743@qtp0-7] ERROR lucene.LucenePlugin - cannot open
index /home/digulla/XWiki
Enterprise/jetty/work/Jetty_0_0_0_0_8080_xwiki__xwiki__5alevh/lucene
org.apache.lucene.index.CorruptIndexException: failed to locate current
segments_N file
at
org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:207)
at
org.apache.lucene.index.IndexWriter.init(IndexWriter.java:722)
at
org.apache.lucene.index.IndexWriter.init(IndexWriter.java:673)
at
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:523)
at
com.xpn.xwiki.plugin.lucene.LucenePlugin.createSearchers(LucenePlugin.java:560)
at
com.xpn.xwiki.plugin.lucene.LucenePlugin.openSearchers(LucenePlugin.java:579)
at
com.xpn.xwiki.plugin.lucene.LucenePlugin.init(LucenePlugin.java:508)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:155)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:92)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:120)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1022)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:742)
at com.xpn.xwiki.XWiki.<init>(XWiki.java:670)
which is probably safe to ignore but maybe you can rid of it nonetheless :)
Best regards,
--
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/http://www.pdark.de/
Hello,
I'm trying to connect to my XWiki 1.9.2 instance using XWiki Eclipse.
In the XWiki connection settings dialog box, the field "Server URL" is set
to "http://<server>/xwiki". And when I click on Finish, I get the following
error message :
Error connecting to remote XWiki: 'Failed to create input stream: Server
returned HTTP response code: 401 for URL:
http://<real_server>/xwiki/bin/login/XWiki/XWikiLogin;jsessionid=79C01C68A222CC518927BECE744B53F2?srid=W0osUbgb'.
Please check your settings.
I know that 401 is for Unauthorized but my username and password are valid.
Is there something to configure in xwiki.cfg ?
Could anyone help me ? Thank you.
Maxime Mathieu
Hi,
I am trying create a page using "curl", but I need insert the page as a html
macro in content tag, like following:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<page xmlns="http://www.xwiki.org">
<title>Hello world</title>
<content>
* {{html}}
<html xmlns:fo="http://www.w3.org/1999/XSL/Format"
xmlns:html="http://www.w3c.org/1999/xhtml">
<body>test</body>
</html>
{{/html}}*
</content>
</page>
But, it doesn't accept the content inside {{html}} tag, showing as content
only the {{/html}} tag.
How can I create a page this way or must be created of another way?
Thanks,
Alexandre Souza
2009/8/31 <users-request(a)xwiki.org>
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. the links I see don't look like the links I posted (clay)
> 2. Panels in Chronopolys (Anna M Wiese)
> 3. Re: the links I see don't look like the links I posted
> (Marius Dumitru Florea)
> 4. How do I create an ImageMap in Xwiki with Syntax 2.0?
> (Steven Calkins)
> 5. Re: How do I create an ImageMap in Xwiki with Syntax 2.0?
> (Vincent Massol)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 30 Aug 2009 14:30:21 -0500
> From: "clay" <clay(a)grabafact.com>
> Subject: [xwiki-users] the links I see don't look like the links I
> posted
> To: <users(a)xwiki.org>
> Message-ID: <EEEEKPCFNEOKNFCCMDBDIEELCAAA.clay(a)grabafact.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> I'm using 1.9.3.22597 & Syntax 2.0,
>
> When I paste text like this:
>
>
>
> http://forum.doityourself.com/general-chats-discussions/273144-painting-hou
> se-numbers-curb.html<http://forum.doityourself.com/general-chats-discussions/273144-painting-hou…>
>
> done by the city.They leave a
>
>
> into a page, after save & view the text shows up like this:
>
>
> http:~/~/
> forum.doityourself.com/general-chats-discussions/273144-painting-h
>
> ouse-numbers-curb.htmlhttp://forum.doityourself.com/general-chats-discussion
> s/273144-painting-house-numbers-curb.html<http://forum.doityourself.com/general-chats-discussions/273144-painting-h%0…>
>
> done by the city.They leave a
>
>
> where the first http is a label & the 2nd is the link what can I do?
>
>
>
>
> Page Source:
> <div id="xwikicontent">
> <p> </p><p><span
> style="color:#0000ff;">http:~/~/
> forum.doityourself.com/general-chats-discuss
> ions/273144-painting-house-numbers-curb.html<http://forum.doityourself.com/general-chats-discuss%0Aions/273144-painting-…>
> <!--startwikilink:http://forum.d
>
> oityourself.com/general-chats-discussions/273144-painting-house-numbers-curb
> .html--><span class="wikiexternallink"><a
> href="
> http://forum.doityourself.com/general-chats-discussions/273144-paintin
> g-house-numbers-curb.html<http://forum.doityourself.com/general-chats-discussions/273144-paintin%0Ag-…>
> "><span
> class="wikigeneratedlinkcontent">
> http://forum.doityourself.com/general-chats
> -discussions/273144-painting-house-numbers-curb.html<http://forum.doityourself.com/general-chats%0A-discussions/273144-painting-…>
> </span></a></span><!--st
> opwikilink--></span></p><p><span class="Apple-style-span" style="WIDOWS: 2;
> TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT:
> 13px verdana; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal;
> COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing:
> 1px; -webkit-border-vertical-spacing:
> 1px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
> auto; -webkit-text-stroke-width: 0px">done by the city. They leave a
> note on your door you fill it out and tape it back on the door. They come
> take the note. You do this so they know who's getting it done.</span></p>
> </div>
>
> xWiki Source:
> (% style="COLOR: #0000ff"
> %)http:~~~~/~~~~/
> forum.doityourself.com/general-chats-discussions/273144-pai
>
> nting-house-numbers-curb.html[[http://forum.doityourself.com/general-chats-d
> iscussions/273144-painting-house-numbers-curb.html]]<http://forum.doityourself.com/general-chats-discussions/273144-pai%0Anting-…>
>
> (% class="Apple-style-span" style="WIDOWS: 2; TEXT-TRANSFORM: none;
> TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 13px verdana;
> WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0);
> WORD-SPACING: 0px; -webkit-border-horizontal-spacing:
> 1px; -webkit-border-vertical-spacing:
> 1px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
> auto; -webkit-text-stroke-width: 0px" %)done by the city. They leave a
> note
> on your door you fill it out and tape it back on the door. They come take
> the note. You do this so they know who's getting it done.
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 30 Aug 2009 20:57:11 -0700 (PDT)
> From: Anna M Wiese <orngtictac(a)yahoo.com>
> Subject: [xwiki-users] Panels in Chronopolys
> To: xwiki <users(a)xwiki.org>
> Message-ID: <451830.60775.qm(a)web52811.mail.re2.yahoo.com>
> Content-Type: text/plain; charset=us-ascii
>
> I have figured out how to change the panels on the main page using the
> panel wizard by going to the link
> http://localhost:8080/xwiki/bin/view/Panels/ and clicking the panel
> wizard, but I can seem to find how to adjust the panels in the working
> groups. Is there a way to use the panel wizard on other pages besides the
> main page?
>
> Also, when I have set up a panel configuration for a working group page is
> there a way to save that configurations to be used on other pages.
>
> Any assistance will be greatly appreciated.
>
> -Anna
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 31 Aug 2009 11:24:28 +0300
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> Subject: Re: [xwiki-users] the links I see don't look like the links I
> posted
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4A9B88BC.6000909(a)xwiki.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi,
>
> clay wrote:
> >
> > I'm using 1.9.3.22597 & Syntax 2.0,
> >
>
> > When I paste text like this:
>
> In which editor did you paste? Wiki or WYSIWYG?
>
> >
> >
> >
> http://forum.doityourself.com/general-chats-discussions/273144-painting-hou
> > se-numbers-curb.html
> >
> > done by the city.They leave a
>
> Are the new lines, the tabs and the text after the URL important? I
> mean, does this issue reproduce without them (if you paste/write just
> the URL)? What happens if you paste/write a URL in an empty page?
>
> What version of Safari do you use? Does this issue reproduce in Firefox?
>
> Thanks,
> Marius
>
> >
> >
> > into a page, after save & view the text shows up like this:
> >
> >
> > http:~/~/
> forum.doityourself.com/general-chats-discussions/273144-painting-h
> > ouse-numbers-curb.htmlhttp://
> forum.doityourself.com/general-chats-discussion
> > s/273144-painting-house-numbers-curb.html
> >
> > done by the city.They leave a
> >
> >
> > where the first http is a label & the 2nd is the link what can I do?
> >
> >
> >
> >
> > Page Source:
> > <div id="xwikicontent">
> > <p> </p><p><span
> > style="color:#0000ff;">http:~/~/
> forum.doityourself.com/general-chats-discuss
> > ions/273144-painting-house-numbers-curb.html<!--startwikilink:
> http://forum.d
> >
> oityourself.com/general-chats-discussions/273144-painting-house-numbers-curb
> > .html--><span class="wikiexternallink"><a
> > href="
> http://forum.doityourself.com/general-chats-discussions/273144-paintin
> > g-house-numbers-curb.html"><span
> > class="wikigeneratedlinkcontent">
> http://forum.doityourself.com/general-chats
> >
> -discussions/273144-painting-house-numbers-curb.html</span></a></span><!--st
> > opwikilink--></span></p><p><span class="Apple-style-span" style="WIDOWS:
> 2;
> > TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT:
> > 13px verdana; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal;
> > COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing:
> > 1px; -webkit-border-vertical-spacing:
> > 1px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
> > auto; -webkit-text-stroke-width: 0px">done by the city. They leave
> a
> > note on your door you fill it out and tape it back on the door. They come
> > take the note. You do this so they know who's getting it done.</span></p>
> > </div>
> >
> > xWiki Source:
> > (% style="COLOR: #0000ff"
> > %)http:~~~~/~~~~/
> forum.doityourself.com/general-chats-discussions/273144-pai
> > nting-house-numbers-curb.html[[
> http://forum.doityourself.com/general-chats-d
> > iscussions/273144-painting-house-numbers-curb.html]]
> >
> > (% class="Apple-style-span" style="WIDOWS: 2; TEXT-TRANSFORM: none;
> > TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 13px verdana;
> > WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR:
> rgb(0,0,0);
> > WORD-SPACING: 0px; -webkit-border-horizontal-spacing:
> > 1px; -webkit-border-vertical-spacing:
> > 1px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
> > auto; -webkit-text-stroke-width: 0px" %)done by the city. They leave a
> note
> > on your door you fill it out and tape it back on the door. They come take
> > the note. You do this so they know who's getting it done.
> >
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 31 Aug 2009 10:50:30 +0200
> From: "Steven Calkins" <steven.calkins(a)crossmediasolutions.de>
> Subject: [xwiki-users] How do I create an ImageMap in Xwiki with
> Syntax 2.0?
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID: <F63091682B4CC141B8AB9D347A9C50EF0389AE2F(a)ms1.stuertz.wue>
> Content-Type: text/plain; charset="us-ascii"
>
> Dear All,
> How do I create an ImageMap in Xwiki with Syntax 2.0?
>
> I already have the image map created with an open source tool. I can
> include an image in syntax 2 with the [[image:URL||width="xxx"]] syntax.
> But where do I tell it to use the image map? And where can I put the
> image map?
>
> Thanks for any help.
>
> Steven Calkins
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 31 Aug 2009 10:56:16 +0200
> From: Vincent Massol <vincent(a)massol.net>
> Subject: Re: [xwiki-users] How do I create an ImageMap in Xwiki with
> Syntax 2.0?
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <E9510CD0-E17B-4493-89C6-39A14E7C45FC(a)massol.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Hi Steven,
>
> On Aug 31, 2009, at 10:50 AM, Steven Calkins wrote:
>
> > Dear All,
> > How do I create an ImageMap in Xwiki with Syntax 2.0?
> >
> > I already have the image map created with an open source tool. I can
> > include an image in syntax 2 with the [[image:URL||width="xxx"]]
> > syntax.
> > But where do I tell it to use the image map? And where can I put the
> > image map?
>
> You'll need to use the HTML macro:
> http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro
>
> Thanks
> -Vincent
>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 25, Issue 60
> *************************************
>
Hello,
my setup is: XWiki 2.0 milestone 3, GlassFish, Windows XP
how can I make my XWiki execute a macro for every page rendered? In
other words: I hoped to get a TOC on every single page when I edited
templates\view.vm in the following way:
###
### Main "view" template
###
### General wrapper for view actions
###
#if ($request.getParameter("raw").equals("1"))
#template("code.vm")
#else
#template("startpage.vm")
#if((!$viewer) || ($viewer == ""))
#set($viewer = $request.getParameter("viewer"))
#end
#if((!$viewer) || ($viewer == ""))
#set($viewer = "view")
#end
#if($viewer == "view")
<div class="minwidthb"></div>
<div class="main layoutsubsection">
#template("contentview.vm")
#template("docextra.vm")
<div class="clearfloats"></div>
#else
<div class="main layoutsubsection">
#template("${viewer}.vm")
<div class="clearfloats">
</div>
#end
#toc("2", "6", "true", "page")
</div>## main
#template("endpage.vm")
#end
This is the original view.vm with an additional #toc ... near the end.
Unfortunately, this has no (visible) effect.
Any ideas?
Best regards
Philippp
I tried to follow the following instructions from
http://dev.xwiki.org/xwiki/bin/view/Drafts/Documenting+XWiki+Velocity+Ma
cros :
How to install and run from within XWiki Enterprise
* Download xwiki-plugin-velocidoc-0.3.jar and
xwiki-core-xmlrpc-client-1.5.jar from this page
* Install them in your WEB-INF/lib installation and restart your
XWiki Enterprise
* Import velocidoc-0.3.xar in your Wiki
* Visit XWiki.Velocidoc. You can choose 3 parameters to generate
your documentation:
o Name: name of your wiki: Test
o Filename: name of your output zip file: test.zip
o Spaces: list of spaces to analyse: leave empty if your wiki
is small
* The output will be a zip file attached in XWiki.Velocidoc and a
macro will automatically display it in the page
The Xwiki.Velocity page has the following input boxes, which indicates
that something has changed from the instructions above:
"File name: EGS.zip
Spaces: EGS EGSroot
Package Name: EGS Documentation"
When I filled the document out as above no attachments and no new
display are produced. In Xwiki.VelocityGroovy the following is
displayed:
======================= [DISPLAY] =============================
import net.sourceforge.velocidoc.Velocidoc; import com.xpn.xwiki.*;
import com.xpn.xwiki.api.*; import com.xpn.xwiki.doc.*;
public class VelocidocGroovy4 {
public byte[] generateZip(name, filename, spaces, context) { def gen =
new net.sourceforge.velocidoc.Velocidoc(); gen.setDefaultName(name); if
(spaces!="") gen.setSpaceList(spaces); gen.setOutputDir(filename);
gen.setZip(true); gen.setContext(context.getContext()) return
gen.generateZip(); }
public int addAttachment(pagename, filename, zipdata, context1) { if
(!context1.hasProgrammingRights()) return -10; def context =
context1.context; if (context==null) return -10; def xwiki =
context.getWiki(); def doc = xwiki.getDocument(pagename, context); def
attachment = doc.getAttachment(filename); if (attachment==null) {
attachment = new XWikiAttachment();
doc.getAttachmentList().add(attachment); // Add the attachment to the
document attachment.setDoc(doc); } attachment.setContent(zipdata);
attachment.setFilename(filename); // TODO: handle Author
attachment.setAuthor(context1.user);
doc.saveAttachmentContent(attachment, context); return 1; } }
============================[END DISPLAY]========================
Does the line "import net.sourceforge.velocidoc.Velocidoc;" indicate
that the velocidoc-bin-0.3.zip also needs to be installed first as a
prerequisite to "Xwiki" version?
Here the signature at the bottom of the page:
"Creator: LudovicDubost on 2008/08/20 23:38
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 1.9.1.21780 - Documentation"
Greetings,
Steven Calkins
I'm using 1.9.3.22597 & Syntax 2.0,
When I paste text like this:
http://forum.doityourself.com/general-chats-discussions/273144-painting-hou
se-numbers-curb.html
done by the city.They leave a
into a page, after save & view the text shows up like this:
http:~/~/forum.doityourself.com/general-chats-discussions/273144-painting-h
ouse-numbers-curb.htmlhttp://forum.doityourself.com/general-chats-discussion
s/273144-painting-house-numbers-curb.html
done by the city.They leave a
where the first http is a label & the 2nd is the link what can I do?
Page Source:
<div id="xwikicontent">
<p> </p><p><span
style="color:#0000ff;">http:~/~/forum.doityourself.com/general-chats-discuss
ions/273144-painting-house-numbers-curb.html<!--startwikilink:http://forum.d
oityourself.com/general-chats-discussions/273144-painting-house-numbers-curb
.html--><span class="wikiexternallink"><a
href="http://forum.doityourself.com/general-chats-discussions/273144-paintin
g-house-numbers-curb.html"><span
class="wikigeneratedlinkcontent">http://forum.doityourself.com/general-chats
-discussions/273144-painting-house-numbers-curb.html</span></a></span><!--st
opwikilink--></span></p><p><span class="Apple-style-span" style="WIDOWS: 2;
TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT:
13px verdana; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal;
COLOR: rgb(0,0,0); WORD-SPACING: 0px; -webkit-border-horizontal-spacing:
1px; -webkit-border-vertical-spacing:
1px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0px">done by the city. They leave a
note on your door you fill it out and tape it back on the door. They come
take the note. You do this so they know who's getting it done.</span></p>
</div>
xWiki Source:
(% style="COLOR: #0000ff"
%)http:~~~~/~~~~/forum.doityourself.com/general-chats-discussions/273144-pai
nting-house-numbers-curb.html[[http://forum.doityourself.com/general-chats-d
iscussions/273144-painting-house-numbers-curb.html]]
(% class="Apple-style-span" style="WIDOWS: 2; TEXT-TRANSFORM: none;
TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: 13px verdana;
WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; COLOR: rgb(0,0,0);
WORD-SPACING: 0px; -webkit-border-horizontal-spacing:
1px; -webkit-border-vertical-spacing:
1px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust:
auto; -webkit-text-stroke-width: 0px" %)done by the city. They leave a note
on your door you fill it out and tape it back on the door. They come take
the note. You do this so they know who's getting it done.
I have figured out how to change the panels on the main page using the panel wizard by going to the link http://localhost:8080/xwiki/bin/view/Panels/ and clicking the panel wizard, but I can seem to find how to adjust the panels in the working groups. Is there a way to use the panel wizard on other pages besides the main page?
Also, when I have set up a panel configuration for a working group page is there a way to save that configurations to be used on other pages.
Any assistance will be greatly appreciated.
-Anna
Hi xwiki-users,
Just wondering if there's a reason for making <div> tags not take any
non-inline-able macros (like {{toc}}). I'm trying out the following code:
{{velocity}}
{{html wiki="true"}}
#startfloatingbox()
{{toc depth="3" /}}
#endfloatingbox()
{{/html}}
{{/velocity}}
but this fails with an error message saying "Not an inline macro." I
understand that {{toc}} shouldn't be inline-able (well, I actually don't
quite understand inline completely tho), but why does the <div> resulting
from #startfloatingbox() end up as the start of an inline element?
Appreciate the help as always!
-- Lewis