The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.8 Milestone 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
First milestone of the XWiki Enterprise 1.8 version.
Main changes:
* Syntax API to convert a document from one syntax to another +
first beta of the XWiki 1.0 syntax to XWiki 2.0 syntax.
* New Office Importer.
* REST API
* Make it easier to disable footer information (comments, history, etc)
* New blog
Important bug fixes:
* Errornous rendering of links to page anchors
* If a macro fail it breaks the whole rendering process
Note that general goals for XWiki Enterprise 1.8 are:
* Office Importer
* New Blog
* REST API
* Finish new rendering/syntax
* Finish new WYSIWYG
* French XE
* MediaWiki import
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise18M1
Thanks, The XWiki dev team
Hi
I'm playing with tags and noticed something odd. I've added tags to a
few pages but when I go to "xwiki/bin/view/Main/Tags" I always get
message "No documents have been tagged yet. To tag a document, edit it
and enter the tags ...".
I've searched all the posts but found only one person having the same
problem in April 2008 but no one answered.
In the end I found the problem in the page itself
##set($sql = "select distinct elements(prop.list) from BaseObject as
obj, DBStringListProperty as prop where obj.className='XWiki.TagClass'
and obj.id=prop.id.id and prop.id.name='tags'")
Note at the end " and prop.id.name='tags' " should be " and
prop.name='tags' "
Example:
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/Tags
There are some tags added alredy but none displayed.
Also is there a list of all Hibernate Object names that relate to
database tables (ie. DBStringListProperty = xwikilistitems or
LargeStringProperty = xwikilargestrings). I am trying to work with
xwiki but its documentation is patchy and sometimes out of date so I try
to find info in the database to understand xwiki structure but get stuck
when I want to get some info out using HQL. I usualy spend hours
looking through Volocity scripts.
Ajdin Brandic
Coventry University
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hello,
I stumbled across XWiki two days ago on my search for a good Wiki. I am
amazed by the features XWiki has and I decided to use it for my Project.
I would like to build a Plugin for Grails that integrates the XWiki
plattform. However, I am not sure how to integrate it in the best way. I
am interested in the Core features: Wiki Syntax, Version Control, Rights
Management, Attachments and the Wysiwyg editor. I checked out the core
package and build it (which worked without problems) but I am not sure
on how to integrate it into a grails app now. I could not find a
tutorial on how to use the core packages without the rest of the
framework. There are some resources on how to do it with XMLRPC, but for
apps running on the same server I doubt that that would be the best way
of doing it.
So please send me infos (eq: how to configure it, which classes to use
etc), I would appreciate it...if I succeed I will post the Plugin for
Grails as soon as I am done.
Thanks,
Philipp Wassibauer
Hello:
I am relatively new to xwiki.
I'm running version 1.7. Occassionally, I will make changes to a wiki page
it seems to sort of flicker and all of a sudden I'm looking at a version of the
page from many versions back. In other words I am losing data. I'm trying to
diagnose the problem.
Could it be the type of data I'm entering?
It seems to happen when I'm using the wysiwyg editor?
Is this happening to other users?
Any ideas?
Thanks
Lee
Hi!
Is it possible to import a Visio diagram (with links) into XWiki page? I mean the
functionality like in Sharepoint: you save the diagram as a web page and then import
it.
Best regards, Mike
Hi guys,
can anyone tell me, what this might be about when trying to loging via
Ldap on Active directory?
---snip--
java.lang.NullPointerException
at com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:157
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:239)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:165)
at com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:148)
at com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:203)
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:3578)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:139)
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:3586)
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4572)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:190)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
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.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
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.plugin.webdav.DavFilter.doFilter(DavFilter.java:68)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:619)
--snap--
my ldap is configured as follows:
--snip--
xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl
xwiki.authentication.ldap=1
xwiki.authentication.ldap.server=dc50546
xwiki.authentication.ldap.port=389
xwiki.authentication.ldap.base_DN=ou=benutzer,dc=ruv,dc=de
xwiki.authentication.ldap.bind_DN=benutzer\\{0}
xwiki.authentication.ldap.bind_pass={1}
xwiki.authentication.ldap.validate_password=0
xwiki.authentication.ldap.UID_attr=sAMAccountName
xwiki.authentication.ldap.password_field=userPassword
xwiki.authentication.ldap.fields_mapping=name=sAMAccountName,last_name=sn,first_name=givenName,fullname=displayName,mail=mail,ldap_dn=dn
xwiki.authentication.ldap.update_user=1
xwiki.authentication.ldap.mode_group_sync=always
xwiki.authentication.ldap.trylocal=0
xwiki.authentication.ldap.ssl=0
xwiki.authentication.ldap.ssl.keystore=
--snap--
Cheers and many thanx for suggestions in advance...
Sebastian
PS: the users to be authenticated are all able to bind to the AD, so I
figured the ldap configuration to be right so. Nethertheless this
NullPointerException comes up. I'm using XWiki 1.7 war in Apache
Tomcat 6.0.18 at the moment, as I think switching to Jboss later, once
this whole stuff works shouldn't be too hard.
I have a class in one of my spaces that has instances of itself attached. Eg.
MySpace
MySpace.TopicsClass
MySpace.TopicsClass[0]
MySpace.TopicsClass[1]
How can I get the class from the space? I've tried:
#set ($hql = ", BaseObject as obj where obj.name = doc.fullName and
obj.className = 'FranchiseTax.TopicsClass' and doc.space='FranchiseTax'")
#set($topics = $xwiki.searchDocuments($hql))
Topics comes back with one item, which I can see by displaying
$topics.get(0) and it prints out MySpace.TopicsClass. So it appears to have
returned a string name of the document, however when I try:
#set($topicObj = $xwiki.getDocument($topics.get(0)))
Nothing is set into $topicObj. Do I have to do something different if the
thing I am trying to get is a class and not a document? Once I have the
class how do I get the collection of associated objects?
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Get-class-from-space-and-retrieve-list-of-attached-obj…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Dear all,
I am a bit lost with hql requests.
What I would like to do is find all the objects of Space.MyClass (even
if there are more than one object on a page).
I tried to play with
#set ($sql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Space.MyClass'")
and then
#foreach ($item in $xwiki.searchDocuments($sql))
to display the results.
But the only thing i can get is the documents.
Is there a searchObjects method or something like that ?
Any hint or solution ?
Jean
--
----
Jean Couteau
Code Lutin - http://www.codelutin.com
44 Bd des Pas Enchantés - 44230 St-Sébastien/Loire
Tél : 02 40 50 29 28 - Fax : 09 59 92 29 28
I have the following code stolen directly from the Blog Categories app:
$doc.getURL( Add New Topic
Is there an "objectdelete" action for getURL. This is probably in the code
but I don't have the sources and it's not in the API docs.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Generate-Url-to-delete-attached-object..-tp2163415p216…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have the following code in one of my pages and it does what I am expecting
however I'd like to try and generalize it some.
#set ($hql = ", BaseObject as obj where obj.name = doc.fullName and
obj.className = 'CPA_FAQs.FAQClass' and doc.space='MySpace'")
#set($recentDocs = $xwiki.searchDocuments($hql, 5, 0))
#if($recentDocs.size() > 0)
<ol>
#foreach($entry in $recentDocs)
#set($faqDoc = $xwiki.getDocument('MySpace', $entry))
<li>[$faqDoc.question>$faqDoc.fullName]</li>
#end
</ol>
#else
#info($noFAQs)
#end
In this example is $entry an instance of com.xpn.xwiki.api.Object? If so, is
there a way to get the space from it without doing
$xwiki.getDocument('MySpace', $entry)? I would like to generalize that
statement so I can re-use the code for any documents in any space as opposed
to having to hard-code the space.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Working-with-query-results...-tp2162883p2162883.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am using this query:
#set($hql = ", BaseObject as obj where obj.name=doc.fullName and
obj.className='Space1.MyClass' and
obj.name<>'${doc.space}.${class}ClassTemplate' and doc.space='MySpace'")
to return a list of documents from a different space and I am trying to now
create a view link to the document. I have tried several combinations using
getUrl() but nothing seems to work. Here's some of the code I've tried:
<ol>
#foreach($faq in $recentlyCreated)
#set($doc = $xwiki.getDocument('FranchiseTax', $faq))
<li>[$doc.question>$doc.getUrl("view")]</li>
#end
</ol>
What am I missing?
Thanks in Advance!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Linking-to-documents-in-different-spaces-tp2156815p215…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi again,
If I create a class similar to the one in the FAQ tutorial but add one or
more new properties to define a space and category could I use this class
and associated design sheet and template to create FAQ documents for more
than one space?
Is it possible to programatically determine what space a document should be
created in when it is saved?
Are there any simple examples of how something like this would be done? I've
gone through just about every piece of documentation but the development
process is still unclear.
Thanks!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Using-one-Class-and-Template-for-creating-documents-in…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi guys,
I'm very enthusiastic about getting everything out of the XWiki
environment I'm about to set up for my company. As a matter of fact,
right now I'm thinking about the best solution for getting Kerberos
authentication/authorization to work as all 12000 employees are
already part of the company's Active Directory.
I've read the XWiki article about Auth issues and am now thinking
about what would be the best/easiest/strongest solution.
The solution mentioned in the Wiki wants to use Apache Webserver mit
mod_auth_kerb. As for now, I did not succeed in building a working
mod_auth_kerb module for Win32, which somehow disencourages me to
follow this suggestion. Anyway I wonder, whether I would only be able
to authenticate users or whether there would be a way to have XWikis
builtin auth features cooperate with the Kerberos mechanism. The I
just came across "josso" which seems to a framework which can be
deployed into a JBoss Application Server and work as an authentication
gateway to any josso-enabled applications running on JBoss. Is XWiki
capable of doing this? And the question about XWikis auth mechanism
from before remains. Any other suggestions and hints for such are
scenario from you guys are highly appreciated , since the whole
AD/Kerberos/JBoss stuff is rather new to me. Again, many thanx in
advance for any potential reply on this, it's really important to me.
Cheers,
Sebastian
Hi xwiki-users,
I'm trying to create a plugin to dynamically create a download link for a SH
or BAT file, and am wondering if I could get some ideas from people on the
list. What I'm trying to do is the following:
{{shell-script name="fixed_income.sh" display="true" type="sh"}}
#!/bin/sh
# Startup the bond server
${APP_DIR}/fi/ust/bond_server -conf=fi_ust_prod.xml&
# Startup the pricing server
${APP_DIR}/fi/ust/pricing_server -conf=fi_ust_prod.xml -region=ny&
# Startup the risk analysis tool
${APP_DIR}/fi/ust/risk_analysis -days=365&
{{/shell-script}}
I don't want the server to actually "execute" this (that's easy to do), but
rather to dynamically create an output stream and pipe it to the user's
browser. The user will then be able to save the fixed_income.sh file in
his/her own local directory to execute it.
I know this can be easily done with attachments, but I want to be able to
display the contents of this file on the wiki (possibly in a <div> that's
initially hidden), and also be able to edit this file "on the fly" without
having to create locally/save locally/upload every time (kind of like a
temporary attachment which disappears together with the {{shell-script /}}
tag). I could also just create another servlet that takes in a single
base64 encoded parameter to reconstruct the shell script, but that's not a
clean solution imho. Any other way (perhaps via Javascript) of doing this
cleanly within Xwiki space? Thanks in advance (and also for another
successful release :-D)!
Hi folks, i've heard that in xwiki 1.7 it is possible to link to headlines
in other xwiki documents. is this
information correct?
i am trying to figure this out. the only way i found, is to manually attach
an anchor to a headline and append this
"#<anchorname>" at the end of the link to the file.
is there any change in 1.7 of an comfortable way to do this?
in the doc i found this: "anchor: An optional anchor name pointing to an
anchor defined in the referenced link. Note
that in XWiki anchors are automatically created for titles. Example:
"TableOfContentAnchor"."
unfortunately there are no anchors automatically created for titels (btw toc
isn't working, is this a hint what causes
this?) I use a fresh new xwiki war deployed to a tomcat (using an old xwiki
database 1.1.2.5797 with mysql)
best regards
To achieve this I would create an xwiki class "shellscript" that contains a single field, named "shcode" which is pure text. Then I would create velocity script that dispalys the page or downloads the code based on some http servlet $request parameters.
I would not try to "dig out" the shell code from the wiki page.
Note that you can access the servlet request as well as response object so you can make downloading just anything, not only text/html.
Regards
Peter
Verhás Péter
+36(30)9306805
peter(a)verhas.com
Hi all,
First, I'm a total wiki newb. I've been tasked with evaluating xwiki for use
by the state agency I work for in order to determine whether or not xwiki
can meet our needs as a means to share information both internally and
externally. From my initial poking around it looks like xwiki will be fairly
easy to work with once I've had the opportunity to wrap my head around some
of the seemingly less documented pieces like the Object model and
development process.
My first task is to replace a set of existing FAQs that have been done with
static HTML files. I've worked through the FAQ tutorial but my needs are a
bit more extensive and I'm not sure exactly how to modify the example to
meet these needs. Here are the main requirements I'm needing to address:
1) Support for Categories and Sub-Categories for questions. Used for
displaying questions grouped by sub-category within each of the main
Categories.
Would this just be a matter of adding a category property to my FAQ class?
How would I then access the full list of Categories from the main space in
order to link to each set of FAQs?
2) Within each Category (I figured I'd create each main category as a new
Space) support for specifying certain users who can add new Questions and
Answers.
I think I kind of have an idea on how to do this using the user/group
frameworks. I just wanted to get an idea of whether this sort of restriction
is doable within the existing rights system.
3) Creation of global template for creating/editing and viewing FAQ entries.
This is similar to the FAQ tutorial with a main difference being the ability
to specify an existing sub-category or to create a new sub-category for the
main category the user has permission to create questions/answers for.
4) Main space that acts as a sort of jumping off point for the FAQs.
Contains links to all of the main FAQ categories and possibly some general
information about submitting new questions and such.
I figured I would create a main space and have the re-usable objects defined
in it and then have a single page that acts as the entry point to the FAQs.
Are there docs for the xwiki object model? How can I find out what
properties and methods are available on xwiki objects? Are there docs that
explain how to use velocity scripting to do custom queries to retrieve the
data to be displayed in a given page?
-----
Does this all seem doable in the xwiki system? Does it make sense to develop
each major category of FAQ as a Space within the wiki? I'm doing this mainly
because of the editing restrictions, is it necessary? Can someone provide a
general idea of how I might go about creating this FAQ system that allows
questions to be categorized and then fetched/displayed by
Category/Sub-Category?!?
Thanks!!
Kevin Cummings
--
View this message in context: http://n2.nabble.com/New-xwiki-user-looking-for-some-guidance...-tp2146187p…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I'm using XWEM 1.3 RC1 (based on XE 1.5).
I have now time to update our wikis, but I don't see recent updates of
Enterprise Manager. Is there any reason ?
Gaëtan
The XWiki development team is pleased to announce the release of XWiki
Eclipse 1.2 RC1.
Go grab it at http://xeclipse.xwiki.org
XWiki Eclipse 1.2 RC1 introduces several bug fixes and major
improvements such as syntax highlighting and completion, support for
objects and translations and much more.
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEclipse12RC1
Thanks
-The XWiki dev team
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.7.1. This is a bugfix and minor enhancements release
following XE 1.7.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
WYSIWYG and Rendering 2.0 Improvements :
* You can now upload and insert image in your documents from the WYSIWYG
* You can create tables and manage them (row/columns addition and
deletion) from the WYSIWYG.
* Added support for explicit line breaks (\\) in XWiki Syntax 2.0
Important bug fixes:
* XWIKI-2988: The way to synchronize several LDAP groups with the
same XWiki group is wrong
* XWIKI-3024: XWiki authenticator load
xwiki.authentication..createuser in place of
xwiki.authentication.createuser from xwiki.cfg file
* XWIKI-3023: Timeout when trying to connect to Penrose LDAP server
* XWIKI-3010: By default the size of "ldap_group_mapping" field in
XWikiPreferences is too short
* Many WYSIWYG bugs fixed
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise171
Thanks
-The XWiki dev team
Dear Friends,
This is my first ever email to the XWiki Team. Please forgive me if i
have inadvertently misused this mailing list since my understanding is
that this mailing list is to be used for posting XWiki related
technical questions and requests.
My organization would like to build Question Answer styled tree
structure in the wiki page itself. This is for the helpdesk staff who
will follow a tree based navigation while troubleshooting our client's
issues.
Eg.
Are you able to log into the system?
Yes
No
This is not related to my issue
Clicking on Yes, No or "This is not...." options would open up a tree
right beneath them with some more questions and answers.
I was able to create a navigation system based on simple html pages
using Matt Kruse's mktree.js and mktree.css plugin which can be found
on his website. However, as the number of pages grew it became evident
that a simple html editor would not be sufficient to create all those
trees.
I checked the wiki code for the XWikiTreeView on the index page.
However, that is a system that fetches documents in the space and then
presents them in tree view. My requirement is to have all the "leaves"
and nodes of a tree on the same page (probably using <li> and <ul>
tags pretty much the way Matt Kruse does). It would be a great
addition to this beautiful and highly efficient wiki that you have
created. And every helpdesk staff that i have interacted with would
like to have a tree styled navigation apart from the wiki that they
can access.
Friends, i know that wiki follows a flat format and what I am
requesting is a structured navigation. But XWiki is so much more than
just a wiki and I would reallly appreciate if anyone could suggest me
how to go about doing this.
Thank you for your time and patience.
-Dilipkumar J
Mumbai, India