Hello again.
Windows 7 and Vista, and latest Xwiki (I believe - how do you check?)
I am storing Tibetan unicode in my wiki. It renders properly in the browser.
2 questions:
1) I have updated the export function according to the instructions from
Sergiu Dimitriu in a comment to
http://platform.xwiki.org/xwiki/bin/view/Features/Exportshttp://platform.xwiki.org/xwiki/bin/view/Features/Exports?viewer=comments#x…
The comment:
--
# means that the used font doesn't support that character. You should make
sure you use a font that supports the Unicode range corresponding to the
target charset.
You should find the right fonts and put them in the
webapps/xwiki/WEB-INF/fonts/
Copy xhtml2fo.xsl from webapps/xwiki/WEB-INF/lib/xwiki-oldcore-x.y.jar into
webapps/xwiki/WEB-INF/classes/ and edit it, adding the name of your font
before FreeSerif and FreeMono wherever you find them listed in that file.
--
I did this, copying the font files I needed from my font directory.
Now when I export to .rtf and .html, the documents render properly with the
fonts I expect. However when I export to .pdf, the correct fonts are found,
but the Tibetan letters that are stacked do not render properly. Thus I
think there is something wrong with the pdf engine, but don't know if this
is true, and how to fix it. Any suggestions?
2) I would like to tell the rendering engine to make the font larger when
it is rendering Tibetan than when it is rendering Western languages. I know
next to nothing about xsl transformations etc. Is this possible, and if so
how might I do it?
I realise this is a rather obscure subject, but I did see one post to the
mailing list that contained Tibetan, so I hope someone might have some
experience with this.
Thanks in advance,
Tom Troughton
Hi. Maybe a more interesting question this time :-)
I'm currently writing a perl script which will poll xwiki looking for
newly-minted objects of a class I've created representing a kind of
task. The script will handle the task and then update the corresponding
object. The fun part is that along the way it may create new task
objects and insert them into the wiki, leading to a cascade of related
tasks until the overall job is fully completed.
This is a design pattern I've encountered repeatedly in the past and I
don't know what it's called. "Task graph"? Like make, or maven I guess.
For various task types TaskX, TaskY, TaskZ I want to do something like:
* Seach for objects of class TaskX with field f having value v
* Foreach object j TaskX:1 to TaskX:N
* update j:f to something indicating the task is underway
* run command line with parameters retrieved from j
* update j:f to something indicating the task is finished
* based on command line output (velocity fragment?) create new tasks
So the thought occurs, a) this should be a plugin that allows me to
configure these task classes and the command line to process them all
via the wiki, and b) someone might have already made one :-) But I can't
find anything like that in the extensions wiki. I did find the
scheduler plugin, which is a bit like this in some respects.
Does anyone have any suggestions?
Hi Devs and User
Hope I can find help about this topic : Is there any macro , function
or utility to strip HTML tags from HTML String ? , because I am getting
HTML string on description attribute of type TextArea on my class and when
show the saved data in textarea HTML tags appear on the to be edited, so
what I need is to show that text without HTML Tags
Thanks
I configured Mysql, Xwiki 4.2 and Apache/2.2.16 behind Tomcat7 like adviced
with UTF8-encoding by the XWiki-developers. The URL-encoding works fine,
also with special characters.
I installed PHP5 and added the following into the 'httpd.conf'-file:
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTAL
PHPIniDir "../PHP"
LoadModule php5_module "../PHP/php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
After doing that, something goes wrong. When I request this URL:
http://localhost/xwiki/bin/view/Sandbox/M%C3%BCnchen
(http://localhost/xwiki/bin/view/Sandbox/München)
I get a wrong response and I will land on not the right site:
http://localhost/xwiki/bin/view/Sandbox/MüFCnchen
The character 'ü' in UTF8 '%C3%BC' gets decoded in Latin1 'ü'.
How can activating PHP have influence on that? The problem has to be
somewhere between Tomcat and Apache. I tried to configure every parameter in
php.ini with UTF8 like the common advices when you google on that, but with
no effect.
Has anybody any experience on running and configuring PHP and XWiki on
Apache?
--
View this message in context: http://xwiki.475771.n2.nabble.com/PHP5-and-XWiki-4-2-running-on-Apache-2-2-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I try to install extension "Batch Import API" with Extension Manager:
1st try:
Resolving extension [Batch Import API 1.0] on namespace [wiki:xwiki]
Applying INSTALL for extension [Batch Import API 1.0] on namespace [wiki:xwiki]
Failed to get fields for class
[org.xwiki.batchimport.internal.iterators.CSVImportFileIterator]
because the class [Lau/com/bytecode/opencsv/CSVReader;] couldn't be
found in the ClassLoader.
1/ I suppose that Extension Manager works like maven and so is able so
solved dependencies.
Am I wrong?
2/ If extension manager managed dependencies, I suppose that "Batch
Import API" need some dependency declaration.
IMO, extension like "Batch Import API" provided as jar should have
dependency declaration to be tagged as "Installable with Extension
Manager" in Extension pages
2nd try after manual installation of openCSV in WEB-INF/lib
Resolving extension [Batch Import API 1.0] on namespace [wiki:xwiki]
Applying INSTALL for extension [Batch Import API 1.0] on namespace [wiki:xwiki]
Failed to get fields for class
[org.xwiki.batchimport.internal.iterators.ExcelImportFileIterator]
because the class [com/xpn/xwiki/plugin/excel/ExcelPluginException]
couldn't be found in the ClassLoader.
3/ "Batch Import API" page wrong information.
>From extension page, I understand that Excel plug-in is not mandatory,
from installation, it looks to be mandatory: X-CONTRIB-183
Regards,
Arnaud.
This is a new install and I am a new XWiki user.
Our setup is XWiki 4.4, Tomcat 7.0 on a Windows 2003 R2 virtual server
using MSSQLServer 2005. I have the Admin Tools extension installed (ver.
3.0.2) and when I run the SanityCheck it reports that Parent fields
don't exist. This occurs for every new user added. New users have been
added 2 different ways; 1) Manually through the wiki
Administration:Users page and 2) through ldap script if first time user
is connecting. The value that is being entered for xwd_parent is
different depending on which method is used but both will give this
report. For manually added users the value entered for xwd_parent is
xwiki:Main.UserDirectory and for ldap created users the value is
XWikiUsers.
I have not come across any errors that point to this yet but it has had
very little use as we are still in the testing stage. What errors might
this produce (if any), should this be a concern, and what would be the
best way to correct this?
Steve Martin
IT Support
Jones Metal Products
stevem(a)jonesmetal.com
(740) 623-5102
Hi,
I have currently having a problem of exporting RTF documents on certain
pages on my xwiki install, I am using version 4.1.4 and have got open office
server installed
the following is what error I get when trying to export, any help would be
amazing
Detailed information:
Error number 11015 in 11: Exception while exporting
Wrapped Exception: Error number 11011 in 12: Exception while exporting to
Rich Text Format (rtf).
Wrapped Exception: Error while performing conversion.
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
Wrapped Exception: Error number 11011 in 12: Exception while exporting to
Rich Text Format (rtf).
Wrapped Exception: Error while performing conversion.
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:67)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: com.xpn.xwiki.XWikiException: Error number 11011 in 12: Exception
while exporting to Rich Text Format (rtf).
Wrapped Exception: Error while performing conversion.
at
com.xpn.xwiki.internal.export.OfficeExporter.exportXHTML(OfficeExporter.java:125)
at
com.xpn.xwiki.internal.export.OfficeExporter.exportXHTML(OfficeExporter.java:94)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:280)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:266)
at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:204)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
... 39 more
Caused by: org.xwiki.officeimporter.openoffice.OpenOfficeConverterException:
Error while performing conversion.
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeConverter.convert(DefaultOpenOfficeConverter.java:115)
at
com.xpn.xwiki.internal.export.OfficeExporter.exportXHTML(OfficeExporter.java:121)
... 44 more
Caused by: org.artofsolving.jodconverter.office.OfficeException: task failed
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:96)
at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeConverter.convert(DefaultOpenOfficeConverter.java:99)
... 45 more
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)
... 49 more
Wrapped Exception:
org.xwiki.officeimporter.openoffice.OpenOfficeConverterException: Error
while performing conversion.
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeConverter.convert(DefaultOpenOfficeConverter.java:115)
at
com.xpn.xwiki.internal.export.OfficeExporter.exportXHTML(OfficeExporter.java:121)
at
com.xpn.xwiki.internal.export.OfficeExporter.exportXHTML(OfficeExporter.java:94)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:280)
at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:266)
at com.xpn.xwiki.web.ExportAction.export(ExportAction.java:204)
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:231)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1813)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.artofsolving.jodconverter.office.OfficeException: task failed
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:96)
at
org.artofsolving.jodconverter.office.ProcessPoolOfficeManager.execute(ProcessPoolOfficeManager.java:78)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
at
org.xwiki.officeimporter.internal.openoffice.DefaultOpenOfficeConverter.convert(DefaultOpenOfficeConverter.java:99)
... 45 more
Caused by: java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
at java.util.concurrent.FutureTask.get(Unknown Source)
at
org.artofsolving.jodconverter.office.PooledOfficeManager.execute(PooledOfficeManager.java:85)
... 49 more
--
View this message in context: http://xwiki.475771.n2.nabble.com/Can-t-Export-to-RTF-tp7583253.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, hopefully another easy question, I can't find anything in the
documentation.
I want to create a new page in a velocity macro. I know how to create a
new object, with something like:
#set($object = $doc.newObject("My.Class"))
#set($discard = $doc.save())
But how do I do the same thing for a new page?
Hi all,
I'm proud to announce that after a few weeks of hectic downtime I finally
got XWiki.TableEdit extension finished. XWiki.TableEdit allows you to edit
wiki tables as if they were spreadsheets using the jquery.sheet in-browser
spreadsheet editor.
Internally XWiki.TableEdit is an exiting foray into a new frontier of modular
javascript, relying entirely on Asynchronous Modular Definition to load it's
component parts. ( https://github.com/amdjs/amdjs-api/wiki/AMD )
XWiki.TableEdit is still in it's infancy, future plans include editing of
spreadsheets in attachments, conversion of the loading and saving APIs to the
simple REST-like JIO standard ( http://www.j-io.org/ ) so that others can more
easily develop similar editors, and porting the entire widget from painful
hand written javascript to simple HTML5 based on renderjs
( http://www.renderjs.org/ ) which can be installed in other frameworks.
More information about the extension:
http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+TableEdit
I'd love to hear your feedback, especially browsers where it doesn't work.
xwiki-contrib JIRA project coming soon..
Thanks,
Caleb
Hi
I want to get instantly the html content of Wysiwyg in javascript , I am
using it that way
....
<textarea id="content" name="content" width="100%" height="300px" >
....
Wysiwyg.onModuleLoad(function() {
editor = new WysiwygEditor({
hookId: 'content',
syntax: 'xwiki/2.0'
});
});
I could not get HTML content of editor instantly
Thanks
Dear Friends,
I am working on a xwiki deployment and one particular feature has me
stumped.
The Link Checker module. So I have activated it as per instructions, I am
using xwiki4.2.1. The tab for broken links shows up on the Index application
I have also added a page that shows the Link Checker Index. While the index
count shows 283, no links appear on the broken links tab.
Any help on this would be greatly appreciated.
Thanks,
Kohinoor
Hi,
I'm writing a macro as described on 'Writing XWiki Rendering Macros in wiki pages'
I've create a object of class WikiMacroClass
I fail to understand what is meant by the two attributes: Macro Content Type; No Content, Optional or Mandatory
and Content Description. This is what's in the manual:
• Macro content type: Whether this macro should support a body or not
• Content description: A short description about the macro's content to be displayed on the WYSIWYG editor
What is a body, can somebody give a example? Maybe good to extend the manual also with such a example?
thxs
Gerritjan
Good Morning All,
I have a question about search and blacklisted space, I need the Allusers
group to be able to search a specific blacklisted space (if this isn't
possible I guess allowing the user to search all blacklisted spaces is a
necessary evil). When a user uses the top right dynamic search this seems to
search the entire wiki including blacklisted pages but as soon as you search
using the LuceneSearch page it won't search the blacklisted spaces.
Is there a way to change this?
I hope I am clear enough in explaining this
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Searching-blacklisted-Spaces-tp7583246.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
I would like to install the extension "Other Hierarchical Navigation Panel".
But how do i create the macro and how active i it?
I am completely new with Xwiki.
Thank you for any help
Stefan
--
View this message in context: http://xwiki.475771.n2.nabble.com/need-help-with-Extd-Other-Hierarchical-Na…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I'd like to include <video> tags in my pages, but at the moment the
rendering engine seems to be scrubbing them out. I can understand how
this is a Good Thing, HTML5 doesn't technically exist yet and random
tags should be scrubbed out of my stuff. But is there some way to
configure xwiki to make this one teeny tiny exception for me?
Hi,
I am interested in trying out xwiki concerto but I am unable to download the
installer jar from its website at
http://concerto.xwiki.org/xwiki/bin/view/Main/DownloadAndInstall.
Does anybody know what is the current state of the xwiki concerto project?
I understand that xwiki concerto was a research project that ran until
sometime in 2008 and I am interested in knowing what progress there's been
on it since then (if any). i.e. does the main xwiki project now maybe
include support for replication of xwiki content in a distributed
environment?
Any insight on this would be much appreciated!
Regards,
PM.
Hello Everyone I have this situation:
I have a page with 3 attachment files:
I used the Filesystem Attachment Porter to "move" the attachment in the
database to the filesystem but it didn't worked, I get the message "File Not
Found" so I was triying to going back to database attachment just for
testing purposes, edited xwiki.cfg and restarted tomcat but it seems that
the files are lost and cant add or remove them from the page, I clicked the
attachment link on the page but nothing happen. Is there anything I can do
to get my files back?
Thanks in advance.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Database-Attachment-and-Filesystem-Attach…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am following the guide for creating a Macro by extending AbstractMacro: http://rendering.xwiki.org/xwiki/bin/view/Main/ExtendingMacro although I have implemented it in Groovy rather than core Java.
I have managed to get the example to successfully build with maven and for the resulting JAR file to work with my xwiki Enterprise 4.4 install.
I then changed the content of the execute method to:
List<Block> result = Arrays.<Block> asList(new WordBlock("|=one|=two"))
return result
And added a new .test file:
.runTransformations
.#-----------------------------------------------------
.input|xwiki/2.1
.# Test the macro in standalone mode
.#-----------------------------------------------------
{{releases artifactIds="test1,test2" server="test3"/}}
.#-----------------------------------------------------
.expect|xhtml/1.0
.#-----------------------------------------------------
|=one|=two
This test passed when running the maven build, but produced the text output "|=one|=two" when deployed to xwiki, rather than rendering a table. I then changed the execute method to:
List<Block> result = Arrays.<Block> asList(new RawBlock("|=one|=two",Syntax.XWIKI_2_0))
return result
with the same test as above. This time the test does not pass, and fails with the error:
releases1.test [xwiki/2.1, xhtml/1.0](org.xwiki.rendering.test.integration.RenderingTest): expected:<[|=one|=two]> but was:<[]>
When deployed to xwiki there is no output either. As such, I can't seem to get RawBlock to actually output my pre-formatted xwiki code.
Am I doing something wrong with my use of RawBlock?
How can I get xwiki syntax content (e.g. a table) to output from the execute method so that a) the tests pass and b) the content is rendered into a table?
________________________________________________________________________
This e-mail has been scanned for all known viruses by Star Internet. The
service is powered by MessageLabs. ________________________________________________________________________
Good Morning All,
I have started testing the email features of XWiki this morning, and there
is one thing I was wondering if it is possible to do once a comment has been
made, I need an email notification to be send to a set admin user informing
them that a comment has been made on the wiki and if the comment is replied
to the original author to also receive a notification.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-Comment-help-tp7583217.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'm looking to contribute an extension which is installable with the EM
and I can't find any documentation on it, if there is no documentation
I am willing to write it if someone will walk me through the process.
How do I go about getting published and how are dependencies declared?
Thanks,
Caleb
Good Morning All,
I have started testing the email features of XWiki this morning, and there
is one thing I was wondering if it is possible to do once a comment has been
made, I need an email notification to be send to a set admin user informing
them that a comment has been made on the wiki and if the comment is replied
to the original author to also receive a notification.
Thanks
--
View this message in context: http://xwiki.475771.n2.nabble.com/Xwiki-Comment-help-tp7583216.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
need help with ldap plugin and MS AD.
Has anyone already successfully worked with ldap-plugin?
When i login, i get always wrong user / password, but i think that the
parameters are correct.
Does anyone have a screenshot / sample that works with LD MS-AD?
And is there a logfile where you can see the login errors (more details).
thanks for any help.
Stefan
--
View this message in context: http://xwiki.475771.n2.nabble.com/need-help-with-ldap-plugin-tp7583195.html
Sent from the XWiki- Users mailing list archive at Nabble.com.