Ok. I followed through on the "FAQ" app that is given as an example of a
(loose) one to many database app. Worked perfect. But...
I want something a little more advanced. I'm writing the company quality
manual using XWiki, and I think it would be fantastic if the wiki also was
the actual database running the company (like accounting, job scheduling
etc). That way it's all integrated and you "help file" is also the company
manual. This of course would require a more robust data model with
referential integrity and all that. What would be the most elegant way of
accomplishing this? is there an add-on to do relational databases? I am
running MySQL in the background to store the wiki already.
So what I envision is that some of the pages on the wiki would be data entry
pages, to input data into the system.
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Using-XWiki-for-a-database-application-tp…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello everyone:
We have only been using XWiki for a while now (version 6), and it seems to
me that loading individual pages takes a while. Not sure how long it should
take to load a new page. Seems sluggish, but I don't know what's expected.
Any rule of thumb on how long it should take?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Sluggish-performance-tp7598821.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Due to another issue, I had to recreate some users (including the one I had
been using as the administrator). Instead of just hiding the old users, I
decided to delete them. It was a mistake to delete the old admin user
because, now, scripts that were last modified by that user will not execute
(even by the new admin user). The new admin user needs make some new
modification to the script in order to execute it.
Is there a mechanism by which I could get a list of all the scripts that
were last modified by that old user so that I could go in and clean up this
problem at one go instead of one by one as I stumble onto those pages? Is
there another workaround a person can use when they shoot themselves in the
foot like this?
Note that I tried restoring the old admin user from the deleted documents.
He then appears in the user directory as expected. But the scripts will
still not execute. So it appears that restoring a user has the effect of
creating a new user with the same attributes as the old one instead of
actually recreating the old user. Could this be considered an issue (defect
or improvement) worthy of recording in JIRA?
Mark
--
View this message in context: http://xwiki.475771.n2.nabble.com/Deleting-admin-user-blocks-execution-of-s…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I don't have that much experience with XWiki, so I just need a gentle nudge
in the right direction
I use XWiki to write internal procedures in the company. I also want to do a
yearly audit to verify compliance to the procedures. So what I want to do is
have in each procedure one section called "audit items", and have any items
in that section show up in a master audit list. Also, I want the main audit
list to be a live table, so I can check "yes" or "no" each item.
Can this be done with the "app in minutes" wizard somehow?
Dan
--
View this message in context: http://xwiki.475771.n2.nabble.com/Adding-items-from-pages-into-an-app-tp759…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
8.1 Milestone 1.
This milestone release brings an upgrade to Java 8 runtime, improvements to
Extension Manager and Flavors, and a new Tips panel that replaces the old
Quick Links panel.
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/ReleaseNotesXWiki81M1
The following people have contributed code to this release (sorted
alphabetically):
Alexandru Cotiuga
Ecaterina Moraru (Valica)
Eduard Moraru
Guillaume Delhumeau
Jean SIMARD
Manuel Smeria
Marius Dumitru Florea
Sergiu Dumitriu
Thomas Mortagne
Vincent Massol
Thanks for your support
-The XWiki dev team
Is it possible to pass an array as a macro parameter? So far my attempts have failed.
Macro code:
#set( $a = $xcontext.macro.params.array)
$a
#foreach($i in $a)
$i
#end
Page code:
#set( $array = ['Chapter 1', 'Chapter 2', 'Chapter 3'])
$array
#foreach($i in $array)
$i
#end
{{test array=$array/}}
The array processed in the page works as expected. The array passed to the macro only prints up to the first space between Chapter and 1. I have also tried to enter the array as a string which passes the string but the macro does not treat it as an array, which doesn’t surprise me. The comments from Stefan and Vincent on http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial seem to touch on this issue but I do not understand the answer provided. Thank you for any clarification to this issue you can provide.
Regards,
Jesse Bright
Hello, can someone please re-open the wiki at mcdev.myxwiki.org? It's been
flagged as spam.. Maybe it had free registration on?
Thanks in advance!
-Joe
Hi,
I can't understand an error when I launch a groovy script from a wiki page but I haven't error when my groovy script is launched in scheduler...
My nice script delete previous version of MyPage with removeVersions methods:
MyGroupAuto = xwiki.getDocument("Space.MyPage")
// remove last version
gArch = MyGroupAuto.getDocumentArchive()
gArch.removeVersions(gArch.getLatestVersion(), gArch.getPrevVersion(gArch.getPrevVersion(gArch.getLatestVersion())), context)
MyGroupAuto.save()
***************
public void removeVersions(org.suigeneris.jrcs.rcs.Version newerVersion,
org.suigeneris.jrcs.rcs.Version olderVersion,
XWikiContext context)
throws XWikiException
Remove document versions from vfrom to vto, inclusive.
***************
When I launch same script in a wiki page (betwwen {{groovy}} tags and page recorded by Admin with PR), I obtain this error and my script stopped but same script working well in scheduler:
Caused by: javax.script.ScriptException: javax.script.ScriptException: groovy.lang.MissingMethodException: No signature of method: com.xpn.xwiki.doc.XWikiDocumentArchive.removeVersions() is applicable for argument types: (org.suigeneris.jrcs.rcs.Version, org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.api.Context) values: [29.1, 27.1, com.xpn.xwiki.api.Context@3f45ea13]
Possible solutions: removeVersions(org.suigeneris.jrcs.rcs.Version, org.suigeneris.jrcs.rcs.Version, com.xpn.xwiki.XWikiContext)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:151)
All ideas why this behavours is welcome :-)
thxs
Pascal B