I'm migrating a xwiki from 1.7 to 2.1.1
I've started with a fresh system and have imported the Lucene search pages from
the XAR export of 1.7
The statement:
#if($lucene)
#set($searchresults = $lucene.getSearchResults(${query}
$!{reqspace}, $wikinames, $languages,
$xwiki.getDocument('XWiki.'+username)
2010/1/2 J. Allen Q. Santos jqsan...@msn.com:
Hi!
Given a username, how do I know if a user with that username is already
registered? Is there a way to check, say isUserRegistered(username) or
User.isUserRegistered()?
Thank you very much.
-Allen
Hi,
If you are just trying to determine whether a name is available
for a user registration you can use:
#set($userName = Admin)
#if($xwiki.exists(XWiki.$userName))
Username $userName is not available.
#end
This method will throw false positives for documents in the XWiki space.
eg:
Thanks Arnold and Caleb for your reply.
--
From: Caleb James DeLisle calebdeli...@lavabit.com
Sent: Sunday, January 03, 2010 12:55 AM
To: XWiki Users users@xwiki.org
Subject: Re: [xwiki-users] Registered Users
Hi,
If you are just trying to
I mean, Arnaud. Sorry. Again, thank you.
--
From: J. Allen Q. Santos jqsan...@msn.com
Sent: Sunday, January 03, 2010 2:50 AM
To: XWiki Users users@xwiki.org
Subject: Re: [xwiki-users] Registered Users
Thanks Arnold and Caleb for your reply.
Op 2 jan 2010, om 21:13 heeft Thomas Mortagne het volgende geschreven:
On Sat, Jan 2, 2010 at 15:49, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
I'm migrating a xwiki from 1.7 to 2.1.1
I've started with a fresh system and have imported the Lucene search pages
from the XAR export of
On Sat, Jan 2, 2010 at 21:42, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
Op 2 jan 2010, om 21:13 heeft Thomas Mortagne het volgende geschreven:
On Sat, Jan 2, 2010 at 15:49, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
I'm migrating a xwiki from 1.7 to 2.1.1
I've started
Op 2 jan 2010, om 21:55 heeft Thomas Mortagne het volgende geschreven:
On Sat, Jan 2, 2010 at 21:42, Gerritjan Koekkoek
gerritjankoekk...@gmail.com wrote:
Op 2 jan 2010, om 21:13 heeft Thomas Mortagne het volgende geschreven:
On Sat, Jan 2, 2010 at 15:49, Gerritjan Koekkoek
Hi,
I wrote the workaround for getting context/document/wiki access in python.
i will be posting as a snippet and reference in scripting howto.
{{python}}
# This python snippet loads the script engine bindings which are unavailable in
jython
# because of http://bugs.jython.org/issue1426
# The