Hi all,
I'm just starting to use Xwiki, having been the admin for my company's
JSPwiki installation for a few years now. In that one, we had a very
useful part of the wiki which was an online database schema for our
databases. You see a list of the tables, which you can click on and see
the list of fields in that table, which you can click on and see the
information regarding that field. Our method was to take a DDL and run it
through a script which parsed it out into files that JSPwiki could read.
This way, we could take updated DDL's, run those through the script, and
keep updating the table list and table info pages, while leaving the field
named pages untouched.
Assuming I have described that correctly, does anyone have any solutions
that would be similar to this in Xwiki? Something that doesn't involve
manually updating the table list and table info pages? I was thinking we
could modify the script to spit out something that we could the import into
Xwiki, but I'm not sure if that is the best approach. I was hoping there
was a plugin that let you connect to a database and run real-time queries
and then us a macro to wiki-fy the results, but I didn't find anything like
that.
Thanks in advance for the suggestions!
- Matt L.
Hello,
i created a page with a few xwiki code inside it. I can display this page without troubles. I also created a side panel that does simply include that pages. The side panel gives me a macro error
org.xwiki.rendering.macro.MacroExecutionException: You don't have the right to execute this script while the main page display without errors :s
as suggested here
http://xwiki.475771.n2.nabble.com/Groovy-macro-in-a-panel-td7346045.html
i tried to remove the dropPermissions() but it doesn't work.
What is the solution? Do i have to put my groovy code inside a macros and use the macro in panel instead of including a document containing the code?
David Delbecq
Hello,
i have a custom object class + a from and "new" button. When i create an object, using the following code
{{groovy}}
if(request.doCreate == "true"){
// Request for creating a new instance
obj= doc.newObject("Main.NewsClass")
obj.set("linkfr",request.thelien)
obj.set("titlefr","a test")
obj.set("linknl",request.thelink)
obj.set("titlenl",request.thetijtle)
obj.set("publication",request.thedate)
doc.save()
}
{{/groovy}}
the object is created but form properties not saved (please not i hardcoded "a test" and even this property is not saved). Instead i obtain an object with properties all empty. If i remove the calls to set(name,value), the object is saved without properties instead of empty one, so code is somehow partially working?
Does someone have any suggestion?
David Delbecq
Hello
Could u please tell me if it is possible when a user registers not to
be redirected on main space webhome but a specific space instead.
thank you
i have a brand new XWiki 4.1 install
I don't have any xwiki 1.0 documents
So i put this configuration:
xwiki.rendering.syntaxes = xwiki/2.1, creole/1.0, html/4.01
When i edit the page,., it offer me those formats PLUS xwiki/1.0
Why ? How can i really disable it ?
---
I thought that XWiki is largely markup-agniostic...
Is GUI editor really uncapable of creole markup ?
--
View this message in context: http://xwiki.475771.n2.nabble.com/disabling-xwiki-1-0-markup-tp7579990.html
Sent from the XWiki- Users mailing list archive at Nabble.com.