I'm migrating documents to XWiki/2.1 syntax and wonder, what would be
the precise analogue for #message("message") macro, which produces
following HTML:
<div class="plainmessage">message</div>
I found only similar ones:
>quote
which produces
<blockquote>quote</blockquote>
(IMHO works only for single paragraph even with {{{groups}}})
and
{{info}}info{{/info}}
which produces
<div class="box infomessage">info</div>
Can I extend XWiki somehow that I can use
{{message}}message{{/message}} with appropriate HTML output?
Thanks!
Valdis
The XWiki development team is proud to announce the availability of XWiki 5.1.
This release comes with Solr search enabled by default. The search UI
has been redesigned and the search backend has been greatly improved.
A new Menu application is now avaible to help you create navigation
menus that ca be placed after the header or in a side panel. Beside
this, a lot of bug fixes (124) and small improvements (53) make this
release worth trying.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki51
Thanks
-The XWiki dev team
Dears,
At first, I use " dropanddrag" mode to layout the homepage of
workspace, it is very convinent. But after I uninstall and then install
some extensions, the "drop and drag" mode was lost. how can I convert
to "drop and drag" mode?
Thanks!
Hi All,
I installed the xwiki latest version i.e 5.1 war file under tomcat. Here is
my hibernate.cfg.xml
to use MySQL as databse. I named the DB as IP.
<property name="connection.url">jdbc:mysql://localhost/IP</property>
<property name="connection.username">root</property>
<property name="connection.password">sa1234</property>
Now,when i startup my tomcat container, it gives below error
INFO: SessionListener: contextInitialized()
Sep 14, 2013 5:35:56 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
*com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
database 'IP'*
Then i created the empty mysql database with name as 'IP' from command
prompt, then it gives below error. i am not sure why its looking for
database 'xwiki' instead of 'IP'. Do i need to change some other config
file also apart from hibernate.cfg.xml ?
INFO: SessionListener: contextInitialized()
Sep 14, 2013 5:35:56 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet action threw exception
*com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown
database 'xwiki'*
The XWiki development team is proud to announce the availability of
XWiki 5.2 Milestone 2.
The second milestone of the 5.2 release comes with multiwiki support
enabled by default: users are able to create new wikis without the
need to install additional extensions. This is possible because the
Workspace Application has been integrated in XWiki Enterprise. Besides
this, the new release brings a Solr-based live search (to replace the
one based on Lucene) and the ability to track active XWiki installs.
Developers will be interested by the new WikiStream framework. As with
other releases this one has a lot of bug fixes (92) and improvements
(33) which make it worth trying.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki52M2
Thanks
-The XWiki dev team
I'm a high school computer science teacher who's a recent immigrant
from MoinMoin to XWiki.
The subject says it all. I deleted my Main space accidentally and
can't figure out how to restore everything. I've got the Main.WebHome
page back, but I have three errors:
Unknown macro: spaces
Unknown macro: messageSender
Unknown macro: activity
How do I go about getting rid of these errors and restoring the
content on the WebHome page?
Thanks!
Todd
Hey,
I have created a macro which helps me to point to another page. I would
like to implement a feature where in the WYSIWYG editor mode in the add
macro tab, I wanted to be able to type the page name in a search box
instead of a normal text box. This way the user can search for a given page
and it could directly help to validate the page.
Thanks and Regards,
Shashidhar P
Hello,
I need to implement a custom headers authenticator for XWiki Enterprise 5.1 (it will essentially be like the authenticator in https://github.com/xwiki-contrib/sandbox/tree/master/authenticators/xwiki-a…), but I can't figure out how to do this. Can anyone point me in the right direction? The custom authenticator documentation makes it sound trivial, and I'm sure it is, but I don't know how to go about actually implementing XWikiAuthService (or extending XWikiAuthServiceImpl for that matter) since I don't know where these classes are physically located. I'm trying to learn Maven simultaneously and it's pretty overwhelming. I'd rather not have to read an entire Maven guide just to figure out how to extend a class for XWiki.
Thanks!
Hi everybody,
I want to know if there is something similar in xwiki like in for
example dokuwiki. There exists a plugin which creates automatically
links in wiki pages if you write the following wiki syntax: [[bug>7884]]
This will generates a link to bugzilla to the following URL:
https://bugzilla-server/show_bug.cgi?id=7884 So in wiki code you just
have this small piece of text and you will get a perfect link to
bugzilla with the text: Bug 7884. It als renders the small bugzilla
icon before the text, but that's not necessary. Would be nice, but isn't
that important.
Now is there something similar or can I achieve this with the help of a
macro or script in xwiki?
Thanks in advance
Daniel
Hi,
I installed the xwiki latest version i.e 5.1 war file under tomcat and
getting the below error when
i hit the deployed xwiki from browser. I am not sure what i missed here?
java.lang.RuntimeException: Component manager has not been initialized
before lookup for [org.xwiki.model.reference.DocumentReferenceResolver<
java.lang.String >] for hint [currentmixed]
at com.xpn.xwiki.web.Utils.getComponent(Utils.java:700)
at com.xpn.xwiki.XWikiContext.<init>(XWikiContext.java:151)
at com.xpn.xwiki.web.Utils.prepareContext(Utils.java:382)
at
com.xpn.xwiki.web.XWikiAction.initializeXWikiContext(XWikiAction.java:418)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:125)
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:617)
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.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
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:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
Hello XWiki users,
I've been trying to find a simple sldieshow macro and have failed miserably.
I found nice jQuery libraries and thought XWiki had jQuery but that did not realize.
I found protoshow which looks very nice and is based on prototype and scriptaculous but again... failure because apparently these are not loaded.
Can it be XWiki has loaded all things in a non-standard way?
Paul
Hello,
I'm looking after details on how "computed fields" work.
I found the JIRA issue [1], had a look at linked documentation [2], but I
couldn't find:
- what kind of script should be used (velocity with or without the
{{velocity}} tag ?) inside the "Script" field
- how to access "current" object to retrieve other fields values, from
inside this computed field script ?
I have a relation-ship between 2 XObjects (ie, one field of A is a Database
List using some field defined in B).
I would like to show parent A into B livetables, using computed field (as I
do not need to store relation-ship in both objects).
Best Regards,
Jeremie
[1] http://jira.xwiki.org/browse/XWIKI-8095
[2]
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Hi folks,
I did a full translation on all files that I could find (listed below) to
pt_BR. The work was based on the documentation I searched around on the
xwiki sites and this list. With the invaluable help from Marius and Sergiu
I could even recompile the wysiwyg editor to implement the translation for
it. Now I have two questions:
1) How can I integrate this work so the next xwiki builds could include it
for everyone.
2) Have I missed anything to translate? Any suggestions and corrections are
welcomed.
List translated files:
ApplicationResources_pt_BR.properties
Main.Welcome.pt_BR.xml
Sandbox.WebHome.pt_BR.xml
XemResources.Translations.pt_BR.xml
WikiResources.Translations.pt_BR.xml
XAppResources.Translations.pt_BR.xml
WikiManager.Dashboard.pt_BR.xml
WorkspaceManager.Translations.pt_BR.xml
XWiki.WorkspaceTranslations.pt_BR.xml
Strings_pt_BR.properties (wysiwyg editor)
Thanks,
Marcelo Vaz
Configuration files were migrated correctly.
When I restarted tomcat and tried to log in XWiki, xwiki started a wizard.
It downloaded the default XAR, and I saw an inverted triangle to the right
of "CONTINUE" button.
When I moved the mouse cursor over the triangle, I saw a drop-down menu
with "INSTALL".
I thought "INSTALL" would install the default XAR, but when I clicked it, I
saw the button replaced with a text saying "#execute..." or "#hold...."(I
can't remember the exact text).
I assumed xwiki failed to merge the new default XAR with the old XWiki.
So I clicked "Skip" and continued migration process.
I'm not sure if database migration was successfully done because I failed
to merge the new default XAR via the wizard.
I tried to import the new XAR, and I chose "Replace the document history
with the history from the package" instead of "Add a new version to the
existing document".
That choice was ok except I had to uncheck some documents that contain
information of user, right, and password.
Thus, the Main space WebHome was overwritten, and the admin password was
reset to "admin".
Please share your experiences with me.
I want to do a lot better next time.
Hello,
I need to create several thousand pages. Is it possible to create spaces/pages with a script? It looks like it judging by the xwiki API, but I can't seem to figure out how to use it. If anyone could explain how to create pages in scripts, or point me in the direction of some examples, I would really appreciate it.
Thanks!
Christian
Hi, all!
Is there a solution to turn ON Autosave box by default in Wiki mode of the editor?
From http://platform.xwiki.org/xwiki/bin/view/DevGuide/Autosave I didn't get much how to configure this :-(
Is it possible to configure it once on ALL subwikis?
Kind regards,
Dmitry