Re: [xwiki-users] Private RSS feeds with basic auth not working

2010-01-13 Thread Kevin Thiart
Hi

I was wondering if there is an answer to the question below.

How can I subscribe to a watchlist (or any) RSS feed in a private wiki?

The documentation mentions basic authentication, but none of the
suggestions seem to work.

I'm using XWiki Enterprise 2.0.3.

Regards

Kevin


Kevin Thiart wrote:
 I'm trying to subscribe to the RSS feed of a private wiki.

 I tried several URL's:

 http://server/xwiki/bin/view/Main/WebRss?xpage=plainoutputSyntax=plainbasicauth=1
 I get Error: This template does not exist.

 http://server/xwiki/bin/view/Main/WebRss?xpage=rdfbasicauth=1
 I get an XML error: The XML document is empty.

 The last URL comes from this page in the XWiki FAQ:
 http://www.xwiki.org/xwiki/bin/view/FAQ/PrivateRssFeeds

 How can I subscribe to RSS feeds using basic authentication?

 And is this also possible for watchlist RSS feeds?

 Thanks!

 Kevin
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Private RSS feeds with basic auth not working

2010-01-13 Thread Anca Luca
Hi Kevin,

It seems to be http://jira.xwiki.org/jira/browse/XWIKI-4695 that you're hitting,
which you can fix by applying these modifications

http://fisheye2.atlassian.com/viewrep/xwiki/platform/web/trunk/standard/src/main/webapp/templates/accessdenied.vm?r1=21942r2=25903

on
webapps/xwiki/templates/accessdenied.vm
and
webapps/xwiki/skins/colibri/accessdenied.vm

Happy hacking,
Anca


On 01/13/2010 10:51 AM, Kevin Thiart wrote:
 Hi

 I was wondering if there is an answer to the question below.

 How can I subscribe to a watchlist (or any) RSS feed in a private wiki?

 The documentation mentions basic authentication, but none of the
 suggestions seem to work.

 I'm using XWiki Enterprise 2.0.3.

 Regards

 Kevin


 Kevin Thiart wrote:
 I'm trying to subscribe to the RSS feed of a private wiki.

 I tried several URL's:

 http://server/xwiki/bin/view/Main/WebRss?xpage=plainoutputSyntax=plainbasicauth=1
 I get Error: This template does not exist.

 http://server/xwiki/bin/view/Main/WebRss?xpage=rdfbasicauth=1
 I get an XML error: The XML document is empty.

 The last URL comes from this page in the XWiki FAQ:
 http://www.xwiki.org/xwiki/bin/view/FAQ/PrivateRssFeeds

 How can I subscribe to RSS feeds using basic authentication?

 And is this also possible for watchlist RSS feeds?

 Thanks!

 Kevin
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to use Snippets

2010-01-13 Thread Xavier Bartholome
Hi,

I'd like to use the 'Delete Space Snippet' in XWiki Enterprise, but I have
no idea where to copy the code ...

Thanks in advance for your help ...

Xavier
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to use Snippets

2010-01-13 Thread Guillaume Lerouge
Hi Xavier,

On Wed, Jan 13, 2010 at 12:15 PM, Xavier Bartholome
xbarthol...@gmail.comwrote:

 Hi,

 I'd like to use the 'Delete Space Snippet' in XWiki Enterprise, but I have
 no idea where to copy the code ...

 Thanks in advance for your help ...


Paste it in the content of any wiki page, edited in wiki edition mode.

Make sure you put
{{velocity}}
code from the snippet here
{{/velocity}}

And save the page.

Guillaume


Xavier
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to use Snippets

2010-01-13 Thread Vincent Massol

On Jan 13, 2010, at 2:05 PM, Guillaume Lerouge wrote:

 Hi Xavier,
 
 On Wed, Jan 13, 2010 at 12:15 PM, Xavier Bartholome
 xbarthol...@gmail.comwrote:
 
 Hi,
 
 I'd like to use the 'Delete Space Snippet' in XWiki Enterprise, but I have
 no idea where to copy the code ...
 
 Thanks in advance for your help ...
 
 
 Paste it in the content of any wiki page, edited in wiki edition mode.
 
 Make sure you put
 {{velocity}}
 code from the snippet here
 {{/velocity}}
 
 And save the page.

That's only if use XWiki Syntax 2.0 as the syntax for your page (you can choose 
the syntax of a page when editing it).

Thanks
-Vincent
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Event Calendar

2010-01-13 Thread Faubi

Hello everybody,

instad of displaying the event calendar only the following code is
displayed:

$cparams.put(categories, $rqcategories)

$cview.getHTMLCalendar($cparams, )

I was surprised as I googled the code, most of the calendar pages didn't
work properly. Is it a general problem, because as I used the calendar
within the standalone version it was working fine! That's why I'm sure I did
everything right... 

I appreciate any help! Thank you yery much!

Cheers, 
Fabian
-- 
View this message in context: 
http://n2.nabble.com/Event-Calendar-tp4348913p4348913.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] No Add new user Under Group Editing

2010-01-13 Thread jackyork

Tomcat 5.x + MySQL 5.x + XE2.0.5 + LDAP

There is no 'Add new user' under Group Admin page! 
Also there is an error:

Error number 4001 in 4: Error while parsing velocity page Wrapped Exception:
Failed to evaluate content with id []

Error number 4001 in 4: Error while parsing velocity page 
Wrapped Exception: Failed to evaluate content with id []
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page 
Wrapped Exception: Failed to evaluate content with id []
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1703)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1624)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
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.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
 

Re: [xwiki-users] Event Calendar

2010-01-13 Thread Jean-Vincent Drean
Hi,

is this happening after an upgrade ? The calendar plugin has been
removed from the default distribution in XE 1.8.
It is still available at
http://code.xwiki.org/xwiki/bin/view/Plugins/CalendarPlugin
Please make sure that the plugin jar is present in xwiki/WEB-INF/lib/
and also listed in the plugin configuration section of
xwiki/WEB-INF/xwiki.cfg

JV.

On Wed, Jan 13, 2010 at 3:41 PM, Faubi fabs...@gmx.de wrote:

 Hello everybody,

 instad of displaying the event calendar only the following code is
 displayed:

 $cparams.put(categories, $rqcategories)

 $cview.getHTMLCalendar($cparams, )

 I was surprised as I googled the code, most of the calendar pages didn't
 work properly. Is it a general problem, because as I used the calendar
 within the standalone version it was working fine! That's why I'm sure I did
 everything right...

 I appreciate any help! Thank you yery much!

 Cheers,
 Fabian
 --
 View this message in context: 
 http://n2.nabble.com/Event-Calendar-tp4348913p4348913.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Assign LDAP Group to XWiki Group

2010-01-13 Thread jackyork

I am sorry to bother you guys again. Please help give me some tips.

I have created a space for each department at this university and a group
for each space Say groupHR is for spaceHR and spaceHR is for the HR
Department.

Now I want every employee in HR Department to be assigned to groupHR
everytime he logs in. How can I do it? 

I'm very new to XWiki. Any reply is high appreciated. 

Thank you in advance!
-- 
View this message in context: 
http://n2.nabble.com/Assign-LDAP-Group-to-XWiki-Group-tp4351008p4351008.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Assign LDAP Group to XWiki Group

2010-01-13 Thread Thomas Mortagne
Hi,

Did you looked at
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HIwanttobeabletoreuseLDAPusersmembershipinXWiki
?

On Wed, Jan 13, 2010 at 17:22, jackyork sund...@gmail.com wrote:

 I am sorry to bother you guys again. Please help give me some tips.

 I have created a space for each department at this university and a group
 for each space Say groupHR is for spaceHR and spaceHR is for the HR
 Department.

 Now I want every employee in HR Department to be assigned to groupHR
 everytime he logs in. How can I do it?

 I'm very new to XWiki. Any reply is high appreciated.

 Thank you in advance!
 --
 View this message in context: 
 http://n2.nabble.com/Assign-LDAP-Group-to-XWiki-Group-tp4351008p4351008.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Thomas Mortagne
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Event Calendar

2010-01-13 Thread Trevor Russ
Here are the notes I had made while installing the EventCalendar under XEM 1.7 
(XE 1.9).  I had intended to update the docs on xwiki.org but haven't.  Let me 
know if it helps or not.

Trevor

download xwiki-plugin-calendar-1.0.jar and xwiki-application-calendar-1.0.xar

move the .jar to $CATALINA_HOME/webapps/ROOT/WEB-INF/lib

edit xwiki.cfg, add to xwiki.plugins:
com.xpn.xwiki.plugin.calendar.CalendarPlugin

restart Tomcat
login as an Administrator, import the .xar (all 3 classes)

go to http://url/xwiki/bin/view/Main/EventCalendar

On Wed, 13 Jan 2010 06:41:47 -0800 (PST) Faubi wrote:
 
 Hello everybody,
 
 instad of displaying the event calendar only the following code is
 displayed:
 
 $cparams.put(categories, $rqcategories)
 
 $cview.getHTMLCalendar($cparams, )
 
 I was surprised as I googled the code, most of the calendar pages didn't
 work properly. Is it a general problem, because as I used the calendar
 within the standalone version it was working fine! That's why I'm sure I did
 everything right... 
 
 I appreciate any help! Thank you yery much!
 
 Cheers, 
 Fabian

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Event Calendar

2010-01-13 Thread Faubi

Thanks both of you for the quick responses , but I did everything you said. 
I think it might be the restarting of tomcat. 
I host my XWiki. Do I need to make changes (config.cfg + *.jar) in the
xwiki.war, too? 

Cheers again!


Trevor Russ wrote:
 
 Here are the notes I had made while installing the EventCalendar under XEM
 1.7 (XE 1.9).  I had intended to update the docs on xwiki.org but haven't. 
 Let me know if it helps or not.
 
 Trevor
 
 download xwiki-plugin-calendar-1.0.jar and
 xwiki-application-calendar-1.0.xar
 
 move the .jar to $CATALINA_HOME/webapps/ROOT/WEB-INF/lib
 
 edit xwiki.cfg, add to xwiki.plugins:
 com.xpn.xwiki.plugin.calendar.CalendarPlugin
 
 restart Tomcat
 login as an Administrator, import the .xar (all 3 classes)
 
 go to http://url/xwiki/bin/view/Main/EventCalendar
 
 On Wed, 13 Jan 2010 06:41:47 -0800 (PST) Faubi wrote:
 
 Hello everybody,
 
 instad of displaying the event calendar only the following code is
 displayed:
 
 $cparams.put(categories, $rqcategories)
 
 $cview.getHTMLCalendar($cparams, )
 
 I was surprised as I googled the code, most of the calendar pages didn't
 work properly. Is it a general problem, because as I used the calendar
 within the standalone version it was working fine! That's why I'm sure I
 did
 everything right... 
 
 I appreciate any help! Thank you yery much!
 
 Cheers, 
 Fabian
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Event-Calendar-tp4348913p4360611.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Create custom object using URL get/post/put

2010-01-13 Thread Valdis Vītoliņš
I'm investigating how to use curl or ~like this to create custom object
for application integration (it should be authenticated, which seems no
problem).

I'm studying
http://platform.xwiki.org/xwiki/bin/view/Features/XWikiRESTfulAPI

It is possible to retrieve custom object, but I couldn't find how to add
them.
How it could be done?

Thanks in advance,
Valdis


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Event Calendar

2010-01-13 Thread Trevor Russ
I'm not familiar using .war files so I had expanded it into webapps/ROOT.  I'm 
guessing you either have to expand the .war before making the changes, or 
somehow make the changes within the .war.

I should point out that when I said 
 move the .jar to $CATALINA_HOME/webapps/ROOT/WEB-INF/lib

that's because I have made XWiki the root Tomcat application (webapps/ROOT).  
If you had followed the default install instructions, this would likely be 
webapps/xwiki (once you've expanded the .war).

Trevor

On Wed, 13 Jan 2010 10:30:49 -0800 (PST) Faubi wrote:
 
 Thanks both of you for the quick responses , but I did everything you said. 
 I think it might be the restarting of tomcat. 
 I host my XWiki. Do I need to make changes (config.cfg + *.jar) in the
 xwiki.war, too? 
 
 Cheers again!

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Event Calendar

2010-01-13 Thread Faubi

Thanks again, it works now! Indeed, the reason was the restart of tomcat
which had to be undertaken by the admin... Anyway, thanks 4 the quick help!

Cheers
Fabian


Trevor Russ wrote:
 
 I'm not familiar using .war files so I had expanded it into webapps/ROOT. 
 I'm guessing you either have to expand the .war before making the changes,
 or somehow make the changes within the .war.
 
 I should point out that when I said 
 move the .jar to $CATALINA_HOME/webapps/ROOT/WEB-INF/lib
 
 that's because I have made XWiki the root Tomcat application
 (webapps/ROOT).  If you had followed the default install instructions,
 this would likely be webapps/xwiki (once you've expanded the .war).
 
 Trevor
 
 On Wed, 13 Jan 2010 10:30:49 -0800 (PST) Faubi wrote:
 
 Thanks both of you for the quick responses , but I did everything you
 said. 
 I think it might be the restarting of tomcat. 
 I host my XWiki. Do I need to make changes (config.cfg + *.jar) in the
 xwiki.war, too? 
 
 Cheers again!
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Event-Calendar-tp4348913p4369977.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] LDAP Auth: Only Works for the first time log in

2010-01-13 Thread jackyork

Tomcat + Mysql + XE2.0.5

LDAP connection is working since  everything is fine when a user logs in for
the first time. But if you log out and try to log in again, it gives an
error Wrong password.

I appreciate any reply. Thank you in advance!
-- 
View this message in context: 
http://n2.nabble.com/LDAP-Auth-Only-Works-for-the-first-time-log-in-tp4372167p4372167.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Your Position gives error

2010-01-13 Thread jackyork

Guys I'm very sorry to bother you again. I hope you don't feel annoyed.

I call this part, right above page title, something like  XWiki:  Welcome
to your wiki » XWiki Space » Data types » XWiki Group Class » XWikiAllGroup
, Your Position.

I use Tomcat5.x + MySQL5.x + XE2.0.5

Now there is an error, instead of the right position. Error is very scary:

Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Failed to evaluate content with id [Main.WebHome]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page Main.WebHome
Wrapped Exception: Failed to evaluate content with id [Main.WebHome]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:52)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:269)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:175)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1603)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:607)
at sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1648)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1648)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at

Re: [xwiki-users] Assign LDAP Group to XWiki Group

2010-01-13 Thread jackyork

That's exactly what I want. Thank you so much!


tmortagne wrote:
 
 Hi,
 
 Did you looked at
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/LDAPAuthenticationUseCases#HIwanttobeabletoreuseLDAPusersmembershipinXWiki
 ?
 
 On Wed, Jan 13, 2010 at 17:22, jackyork sund...@gmail.com wrote:

 I am sorry to bother you guys again. Please help give me some tips.

 I have created a space for each department at this university and a group
 for each space Say groupHR is for spaceHR and spaceHR is for the HR
 Department.

 Now I want every employee in HR Department to be assigned to groupHR
 everytime he logs in. How can I do it?

 I'm very new to XWiki. Any reply is high appreciated.

 Thank you in advance!
 --
 View this message in context:
 http://n2.nabble.com/Assign-LDAP-Group-to-XWiki-Group-tp4351008p4351008.html
 Sent from the XWiki- Users mailing list archive at Nabble.com.
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 
 
 
 -- 
 Thomas Mortagne
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/Assign-LDAP-Group-to-XWiki-Group-tp4351008p4376290.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users