I'm trying to set up my registration email (the XWiki Instance is running on
my localhost) but the problem i'm having is that the when a user registers
they recieve the following email:
Subject: Validate your account on $wikiname
Body:
Hello test test,
This email address was used to register a new account on ${wikiname}. If you
did not make the request, please ignore this message.
In order to activate your account, please follow this link:
$xwiki.getDocument("XWiki.AccountValidation").getExternalURL("view",
"validkey=${validkey}&xwikiname=${xwikiname}")
How do I stop the variable names from appearing and get the actual data to
display?
Thanks
--
View this message in context: http://n2.nabble.com/Registration-Email-Error-tp2151197p2151197.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Using the example @:
http://www.xwiki.org/xwiki/bin/view/FAQ/Howtodisablecommentsandattachments
I am able to remove all of the sections at the bottom of pages, Comments,
Attachments, History and Information. Now what I would like to do is show
some of these items conditionally based on the users permissions.
Would I do this via the "Custom Display" option in the class editor?
How would I access the properties within the class? Something like:
#if($hasAdmin || $hasSpaceAdmin)
showcomments = "yes"
#else
showcomments = "no"
#end
Would I use a #set directive to set the property or is there something else
I need to do in order to set this value? Is this even the right place for
this type of action?
Thanks in advance!
.:. Kevin
--
View this message in context: http://n2.nabble.com/Conditionally-hiding-content..-tp2147464p2147464.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
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