Re: [xwiki-users] Tree navigation like confluence wiki

2011-08-05 Thread lists
Hello everyone,





Zitat von Vincent Massol vinc...@massol.net:


 On Jul 12, 2011, at 10:18 PM, Florian Rhomberg wrote:

 Hello!
 Thank you for your response. I tried this code and it looked quite  
 nide but I have some problems. Do I have to upload any images?

 No but maybe you're using an older version of XE. What you can do is  
 copy/paste the code you have in your wiki on the Main.AllDocs page  
 (Tree tab). Just view the sources there and copy the content.

 Instead of the + tree symbol I get only a small circle like in  
 creating a list this small o I hope you know what I mean and  
 instead of the folder symbol I get a button and I do not get the  
 search icon. The same is with the subfolders. At the moment I only  
 have tried to display the code in a simple page.

 And there is only a last question:
 If I create with this code a navigation element and I open a tree  
 an click on a subpage will the tree remain open after the page is  
 loaded or not?

 I don' t think so. You'd need to modify the underlying JS code to do  
 that I believe. Unfortunately I don't have much knowledge about  
 this. Maybe someone else on this list will know (especially  
 Jean-Vincent since he's the one who coded this ;)).

 I would generally suggest that such a navigation element like the  
 confluence wiki tree should be added to xwiki, because xwiki would  
 be perfect to create online helps.

 I agree, that's http://jira.xwiki.org/jira/browse/XRENDERING-81

 Now we just need one committer/contributor (could be anyone) to send  
 a patch for it. I think we're starting to get several requests for  
 this so it's going to go up in our collective memory of priorities  
 at some point ;). You can also vote for the issue above in JIRA to  
 make it surface vs other issues.

 Thanks
 -Vincent


 Thanks,
 Florian

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im  
 Auftrag von Vincent Massol
 Gesendet: Dienstag, 12. Juli 2011 13:34
 An: XWiki Users
 Betreff: Re: [xwiki-users] Tree navigation like confluence wiki

 Also note that we have a tree UI component (the one used in  
 AllDocs's tree tab) but we'd like to make it more easy to reuse, see
 http://jira.xwiki.org/jira/browse/XRENDERING-81

 You could also look at  
 http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see  
 how to use it for now. It's quite easy to do.

 Thanks
 -Vincent

 On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote:

 Hello Florian,

 First I must say I like this navigation UI from confluence, too.

 You might also be interested by a prototype of a new tree UI here :
 http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree

 Cheers,
 Jerome

 On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg 
 florian.rhomb...@nettania.at wrote:

 Hello!
 I want to create a treeview navigation element which looks like the
 left menu on this confluence page:
 http://www.stripesframework.org/display/stripes/Home
 Therefore I created a new navigation element and tried to manipulate
 the original velocity code of the treeview. It is working but I have
 two
 problems:


 -  The main problem is that if I choose a page from a sublevel the
 whole page is reloaded and the sublevel is closed aftwerwards. How
 can I change this, it is very annoying?

 -  The second problem is that the menu is not width enough. After
 some levels the pages are not displayed properly. How can I prevent this?

 This is my velocity code:

 #panelheader('SpaceTreeMenu')

 ## Smartclient
 $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' :
 true, 'defer' : false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' :
 false})## ## TODO: remove this line ## when
 http://forums.smartclient.com/showthread.php?t=3097 will be fixed
 $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Foundation.js', {'defer' :
 false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Containers.js', {'defer' :
 false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Grids.js', {'defer' :
 false})## $xwiki.jsfx.use('js/smartclient/modules/ISC_Forms.js',
 {'defer' : false})##  
 $xwiki.jsfx.use('js/smartclient/modules/ISC_DataBinding.js',  
 {'defer' :
 false})##
 $xwiki.jsfx.use('js/smartclient/skins/Enterprise/load_skin.js', {'defer' :
 false})##
 ## XWikiExplorer
 $xwiki.jsfx.use('js/xwiki/xwikiexplorer/xwikiexplorer.js',
 {'forceSkinAction' : true, 'defer' : false})##

 div id=XWEWrapper style=height:300px;/div script
 type=text/javascript isc.XWETreeGrid.create({
 ID: Treeview,
 // Example of default values:
 // defaultValue: Main.WebHome,
 // defaultValue: main.recentchan...@lquo.gif,
 defaultValue: ,
 htmlElement: XWEWrapper, // Mandatory HTML wrapper.
 matchElement: true, // Make the widget match HTML wrapper size.
 // Example of data sources:
 // dataSource: isc.XWEDataSource.create({}), // dataSource:
 

Re: [xwiki-users] Tree navigation like confluence wiki

2011-08-05 Thread lists
Hello everyone,
we would also be very interested in some sort of Menu  
(Tree-Navigation). For us it would be necessary that you can easily  
define which spaces and pages to hide, the depth and probably most  
important thing for us is the look  feel (and therefore user  
acceptance). The menu should stay open / open on the site where you  
currently are. So even if you navigate through some other link, the  
menu should also open the corresponding space and somehow highlight  
(maybe with a bold font) the current page.
Also we don?t know how long the page names will be.

If have seen that there are some extensions available, none is working  
for us, though. Therefore I like to offer an enticement. Whoever is  
able to provide such a ?tree navigation? can either chose from a ?75  
USD Amazon Gift Card? or a 75 USD donation to his/her favorite OS  
project.

Please do not get me wrong, I do know that the actual development  
costs will exceed the amount of 75 USD but exactly that amount can be  
offered without infringing our anti-corruption regulations.

I hope for the best,
Kind regards,
Stephanie




Zitat von Vincent Massol vinc...@massol.net:


 On Jul 12, 2011, at 10:18 PM, Florian Rhomberg wrote:

 Hello!
 Thank you for your response. I tried this code and it looked quite  
 nide but I have some problems. Do I have to upload any images?

 No but maybe you're using an older version of XE. What you can do is  
 copy/paste the code you have in your wiki on the Main.AllDocs page  
 (Tree tab). Just view the sources there and copy the content.

 Instead of the + tree symbol I get only a small circle like in  
 creating a list this small o I hope you know what I mean and  
 instead of the folder symbol I get a button and I do not get the  
 search icon. The same is with the subfolders. At the moment I only  
 have tried to display the code in a simple page.

 And there is only a last question:
 If I create with this code a navigation element and I open a tree  
 an click on a subpage will the tree remain open after the page is  
 loaded or not?

 I don' t think so. You'd need to modify the underlying JS code to do  
 that I believe. Unfortunately I don't have much knowledge about  
 this. Maybe someone else on this list will know (especially  
 Jean-Vincent since he's the one who coded this ;)).

 I would generally suggest that such a navigation element like the  
 confluence wiki tree should be added to xwiki, because xwiki would  
 be perfect to create online helps.

 I agree, that's http://jira.xwiki.org/jira/browse/XRENDERING-81

 Now we just need one committer/contributor (could be anyone) to send  
 a patch for it. I think we're starting to get several requests for  
 this so it's going to go up in our collective memory of priorities  
 at some point ;). You can also vote for the issue above in JIRA to  
 make it surface vs other issues.

 Thanks
 -Vincent


 Thanks,
 Florian

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im  
 Auftrag von Vincent Massol
 Gesendet: Dienstag, 12. Juli 2011 13:34
 An: XWiki Users
 Betreff: Re: [xwiki-users] Tree navigation like confluence wiki

 Also note that we have a tree UI component (the one used in  
 AllDocs's tree tab) but we'd like to make it more easy to reuse, see
 http://jira.xwiki.org/jira/browse/XRENDERING-81

 You could also look at  
 http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see  
 how to use it for now. It's quite easy to do.

 Thanks
 -Vincent

 On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote:

 Hello Florian,

 First I must say I like this navigation UI from confluence, too.

 You might also be interested by a prototype of a new tree UI here :
 http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree

 Cheers,
 Jerome

 On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg 
 florian.rhomb...@nettania.at wrote:

 Hello!
 I want to create a treeview navigation element which looks like the
 left menu on this confluence page:
 http://www.stripesframework.org/display/stripes/Home
 Therefore I created a new navigation element and tried to manipulate
 the original velocity code of the treeview. It is working but I have
 two
 problems:


 -  The main problem is that if I choose a page from a sublevel the
 whole page is reloaded and the sublevel is closed aftwerwards. How
 can I change this, it is very annoying?

 -  The second problem is that the menu is not width enough. After
 some levels the pages are not displayed properly. How can I prevent this?

 This is my velocity code:

 #panelheader('SpaceTreeMenu')

 ## Smartclient
 $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' :
 true, 'defer' : false})##
 $xwiki.jsfx.use('js/smartclient/modules/ISC_Core.js', {'defer' :
 false})## ## TODO: remove this line ## when
 http://forums.smartclient.com/showthread.php?t=3097 will be fixed
 $xwiki.jsfx.use('js/smartclient/overwritesc.js', {'defer' : 

Re: [xwiki-users] Approval process for user edits?

2011-08-05 Thread Guillaume Lerouge
Hi John,

On Thu, Aug 4, 2011 at 3:56 PM, Campbell, John john.campb...@viasat.comwrote:

 Hi, Guillaume and Edo.

 Thanks for the clarification, Edo. I'm pretty sure I understand the
 concepts here now.

 I have one document template that I'll be using for all of my process
 documents, and I added the following line to the bottom of the template:

 {{include document=XWiki.ApprovalStatusSheet/}}

 I have tested it, and it appears that each new document using that template
 includes that element, so that takes care of my first question about being
 able to attach the class to the template. :)

 As for my other two questions, allow me to follow up a bit:

2. Have the class default to the in review value.
  
 
  This can be set either by your script and/or by doing it manually through
  the object editor.

 Guillaume, I have gone into edit mode on the XWiki.ApprovalStatusClass, and
 I see where I set the Values for the class, but I don't see where I can set
 the default. Do you know of any examples you can point me to in the
 documentation that might illustrate where I need to go and what I need to do
 more thoroughly?


You can set a default value in the template document (since it's going to be
copied when creating a document that includes an object of your class).

   3. Make this element invisible to the Users group, but visible and
   editable to the Supervisors group (for example, a Supervisor would be
 able
   to review a page that is in review, and then if it is acceptable,
 change
   the status to approved).
  
 
  This is something you can achieve in the sheet using the
  $xwiki.isUserInGroup('XWiki.SomeGroup') API:
 
  {{velocity}}
  #if($context.user.isUserInGroup('XWiki.SomeGroup'))
  your code goes here
  #end
  {{/velocity}}

 So this is something I would include in the Xwiki.ApprovalStatusSheet?


Yes.


 This is what is currently in that sheet:
 {{velocity}}
 #set($class = $doc.getObject('XWiki.ApprovalStatusClass').xWikiClass)
 #foreach($prop in $class.properties)
  ; $prop.prettyName
  : $doc.display($prop.getName())
 #end
 {{/velocity}}


You would need to replace the generic code with something like this:

{{velocity}}
#set($class = $doc.getObject('XWiki.ApprovalStatusClass').xWikiClass)
#if($context.user.isUserInGroup('XWiki.SomeGroup'))
  Status: $doc.display('status')
#end
{{/velocity}}

It sounds like you're saying that the
 $xwiki.isUserInGroup('XWiki.SomeGroup') API will do a check to see if the
 user is in the correct group, and if so, then the subsequent lines of code
 will execute, making that field visible. Is my understanding correct? Is
 there a way to make the ApprovalStatus class display as a drop-down box for
 supervisors/admins?


This can be controlled from the Class - you can define how a given property
should be displayed in the options for that property as available from the
class editor.

Guillaume

I'm sorry for all the questions, but I'd really like to be able to
 demonstrate this functionality to my manager. I think XWiki is ideal for
 this project, but having this functionality is critical.

 I sincerely appreciate all the help.

 John

 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Guillaume Lerouge
 Sent: Thursday, August 04, 2011 7:09 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Approval process for user edits?

 Hi John, Edo,

 please see my replies below.

 On Thu, Aug 4, 2011 at 2:09 PM, Edo Beutler ebeut...@synventis.com
 wrote:

  Hi John,
 
  Since we program such functionalities in Java components and not in
  scripts I cant give you details on how to do it in Groovy, but I hope
  I can explain Guillaume's idea of the script. I think his idea was the
  following:
  Register a listener to the save action. Doing this, your script /
  method will always be called when a document gets saved.
  When that happens you check for the saved document the field on your
  ApprovalStatusClass and change the view rights on the document
  accordingly if a change happened. So, if the reviewer checked a
  document and changes the status to approved you change the view rights
  of this document.
 
  I hope this clarifies Guillaume's idea a bit ... and I understood the
  idea correctly ;-)
 

 Absolutely, that's exactly what I meant :-)

 However, given that John is not a developer I'm afraid this solution is
 going a bit tough for him to implement by himself.

 Edo
 
  On Wed, Aug 3, 2011 at 9:20 PM, Campbell, John john.campb...@viasat.com
 
  wrote:
   Hi Guillaume,
  
   I understand some of the concepts to which you're referring, but I'm
 more
  of a writer/content guy, so my understanding of the code/scripting is
 very
  limited. I'll try to follow along.
  
   I've created a class called ApprovalStatus and made it a static list
 with
  the following values: in review|approved|rejected.
  
   I created the ApprovalStatusClass Sheet and ApprovalStatusClass
 Template,
  as well.
 

 That's a good start 

Re: [xwiki-users] Approval process for user edits?

2011-08-05 Thread Campbell, John
Hello again, Guillaume. Thanks for all the help. I'm still trying to get this 
working.

  Guillaume, I have gone into edit mode on the XWiki.ApprovalStatusClass, and
  I see where I set the Values for the class, but I don't see where I can set
  the default. Do you know of any examples you can point me to in the
  documentation that might illustrate where I need to go and what I need to do
  more thoroughly?
 

 You can set a default value in the template document (since it's going to be
 copied when creating a document that includes an object of your class).


Currently, the only thing in the template document that deals with this class 
is the bit I added that reads:

{{include document=XWiki.ApprovalStatusSheet/}}

Do I modify this line to set the default value? If so, how? I don't see any 
other ways to set the default. Please forgive my code ignorance... I can look 
at some code and probably come close to figuring out what it does, but I don't 
know settings, values, commands, etc. at all.


  This is what is currently in the Xwiki.ApprovalStatusSheet sheet:
  {{velocity}}
  #set($class = $doc.getObject('XWiki.ApprovalStatusClass').xWikiClass)
  #foreach($prop in $class.properties)
   ; $prop.prettyName
   : $doc.display($prop.getName())
  #end
  {{/velocity}}
 

 You would need to replace the generic code with something like this:

 {{velocity}}
 #set($class = $doc.getObject('XWiki.ApprovalStatusClass').xWikiClass)
 #if($context.user.isUserInGroup('XWiki.SomeGroup'))
   Status: $doc.display('status')
 #end
 {{/velocity}}



Okay, if I have two groups, XWikiUsersGroup and XWikiAdminGroup, do I need two 
lines where I say:

#if($context.user.isUserInGroup('XWiki.NameOfGroup'))
   Status: $doc.display('status')

So this status will display for each group? Am I even reading this right? Does 
doc.display mean that the field will display on the document, or is it just 
setting the value based on the group?


  It sounds like you're saying that the
  $xwiki.isUserInGroup('XWiki.SomeGroup') API will do a check to see if the
  user is in the correct group, and if so, then the subsequent lines of code
  will execute, making that field visible. Is my understanding correct? Is
  there a way to make the ApprovalStatus class display as a drop-down box for
  supervisors/admins?
 

 This can be controlled from the Class - you can define how a given property
 should be displayed in the options for that property as available from the
 class editor.


I thought I had that operating correctly, Guillaume. In the class editor, I 
have the following settings for the Status static list property:

Name: Status
Pretty Name: Status
Custom Display: Approval status: 
Display Type: select
Size of the corresponding form element in edit mode: 1
Multiselect separators: ,|
Cache: checked
Values: In review|Approved|Rejected

Is there a setting I have missed or have overlooked in some way? Again, sorry 
for all the questions, but this functionality is the last obstacle in getting 
this project really going, and I feel like I'm so close to success here.

Thanks again,
John

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


Re: [xwiki-users] Tree navigation like confluence wiki

2011-08-05 Thread Ecaterina Moraru (Valica)
On Fri, Aug 5, 2011 at 14:59, li...@yhmail.de wrote:

 Hello everyone,
 we would also be very interested in some sort of Menu
 (Tree-Navigation). For us it would be necessary that you can easily
 define which spaces and pages to hide, the depth and probably most
 important thing for us is the look  feel (and therefore user
 acceptance). The menu should stay open / open on the site where you
 currently are. So even if you navigate through some other link, the
 menu should also open the corresponding space and somehow highlight
 (maybe with a bold font) the current page.
 Also we don?t know how long the page names will be.

 If have seen that there are some extensions available, none is working
 for us, though. Therefore I like to offer an enticement. Whoever is
 able to provide such a ?tree navigation? can either chose from a ?75
 USD Amazon Gift Card? or a 75 USD donation to his/her favorite OS
 project.


Hi Stephanie,

Regarding the money aspect you could use https://fundry.com/project/58-xwiki

Thanks,
Caty



 Please do not get me wrong, I do know that the actual development
 costs will exceed the amount of 75 USD but exactly that amount can be
 offered without infringing our anti-corruption regulations.

 I hope for the best,
 Kind regards,
 Stephanie




 Zitat von Vincent Massol vinc...@massol.net:

 
  On Jul 12, 2011, at 10:18 PM, Florian Rhomberg wrote:
 
  Hello!
  Thank you for your response. I tried this code and it looked quite
  nide but I have some problems. Do I have to upload any images?
 
  No but maybe you're using an older version of XE. What you can do is
  copy/paste the code you have in your wiki on the Main.AllDocs page
  (Tree tab). Just view the sources there and copy the content.
 
  Instead of the + tree symbol I get only a small circle like in
  creating a list this small o I hope you know what I mean and
  instead of the folder symbol I get a button and I do not get the
  search icon. The same is with the subfolders. At the moment I only
  have tried to display the code in a simple page.
 
  And there is only a last question:
  If I create with this code a navigation element and I open a tree
  an click on a subpage will the tree remain open after the page is
  loaded or not?
 
  I don' t think so. You'd need to modify the underlying JS code to do
  that I believe. Unfortunately I don't have much knowledge about
  this. Maybe someone else on this list will know (especially
  Jean-Vincent since he's the one who coded this ;)).
 
  I would generally suggest that such a navigation element like the
  confluence wiki tree should be added to xwiki, because xwiki would
  be perfect to create online helps.
 
  I agree, that's http://jira.xwiki.org/jira/browse/XRENDERING-81
 
  Now we just need one committer/contributor (could be anyone) to send
  a patch for it. I think we're starting to get several requests for
  this so it's going to go up in our collective memory of priorities
  at some point ;). You can also vote for the issue above in JIRA to
  make it surface vs other issues.
 
  Thanks
  -Vincent
 
 
  Thanks,
  Florian
 
  -Ursprüngliche Nachricht-
  Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im
  Auftrag von Vincent Massol
  Gesendet: Dienstag, 12. Juli 2011 13:34
  An: XWiki Users
  Betreff: Re: [xwiki-users] Tree navigation like confluence wiki
 
  Also note that we have a tree UI component (the one used in
  AllDocs's tree tab) but we'd like to make it more easy to reuse, see
  http://jira.xwiki.org/jira/browse/XRENDERING-81
 
  You could also look at
  http://myxwiki.org/xwiki/bin/view/XWiki/Treeview?viewer=code to see
  how to use it for now. It's quite easy to do.
 
  Thanks
  -Vincent
 
  On Jul 12, 2011, at 11:54 AM, Jerome Velociter wrote:
 
  Hello Florian,
 
  First I must say I like this navigation UI from confluence, too.
 
  You might also be interested by a prototype of a new tree UI here :
  http://incubator.myxwiki.org/xwiki/bin/view/Sandbox/SpaceTree
 
  Cheers,
  Jerome
 
  On Tue, Jul 12, 2011 at 11:33 AM, Florian Rhomberg 
  florian.rhomb...@nettania.at wrote:
 
  Hello!
  I want to create a treeview navigation element which looks like the
  left menu on this confluence page:
  http://www.stripesframework.org/display/stripes/Home
  Therefore I created a new navigation element and tried to manipulate
  the original velocity code of the treeview. It is working but I have
  two
  problems:
 
 
  -  The main problem is that if I choose a page from a sublevel
 the
  whole page is reloaded and the sublevel is closed aftwerwards. How
  can I change this, it is very annoying?
 
  -  The second problem is that the menu is not width enough.
 After
  some levels the pages are not displayed properly. How can I prevent
 this?
 
  This is my velocity code:
 
  #panelheader('SpaceTreeMenu')
 
  ## Smartclient
  $xwiki.jsfx.use('js/smartclient/initsc.js', {'forceSkinAction' :
  true, 'defer' : false})##
  

Re: [xwiki-users] Setting the date property

2011-08-05 Thread Edo Beutler
Hi Martin

I can't check right now, but I'm pretty sure that there is no
set(field, value) method on BaseObject. If I recall correctly this is
the API Object's method. Try using setDateValue(field, value) instead.

Hope this helps
Edo

On Tue, Aug 2, 2011 at 9:37 PM, Martin Evans webs...@studenthubs.org wrote:
 Does anyone know why this code doesn't run? It runs if I comment out the
 line on which I have typed //

 The result of df.parse is a Date object and the property Active is of the
 date type.

 {{groovy}}
 def obj = doc.getDocument().getObject(Events.EventClass)
 def df = new java.text.SimpleDateFormat(-MM-dd)
 obj.set(Active,df.parse(2001-02-03)) //
 {{/groovy}}

 Thanks,
 Martin
 ___
 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] a TOC Macro issue?

2011-08-05 Thread Ricardo.Julio.Rodriguez.Fernandez
Hi all!

Running XWiki Enterprise 2.4.30451 I'm not able to get 1.2.3 format numbered 
TOC entries. Here what I'm doing:

http://ebiotic.net/bin/IDIS/AnnualReport

And there the concerned XWiki doc...

http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro

Please, were is Note 2? Within the Parameters definition section ir reads:

if should generate numbering (1.2.3 format) for titles (see also Note 2)

I've browsed Jira issues for a description of the problem (solved or not) to no 
avail.

Please, where am I wrong? Thanks for your help!

Ricardo

--
Ricardo Rodríguez
Research Management and Promotion Technician
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es

Nota: A información contida nesta mensaxe e os seus posibles documentos 
adxuntos é privada e confidencial e está dirixida únicamente ó seu 
destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por 
favor elimínea. A distribución ou copia desta mensaxe non está autorizada.

Nota: La información contenida en este mensaje y sus posibles documentos 
adjuntos es privada y confidencial y está dirigida únicamente a su 
destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, 
por favor elimínelo. La distribución o copia de este mensaje no está autorizada.

See more languages: http://www.sergas.es/aviso_confidencialidad.htm
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Using xWiki with LDAP (Oracle OID)

2011-08-05 Thread Chris Meyer
Hi All,

Using Oracle's OID (LDAP) I am trying to get my installation of xWiki to
authenticate using the LDAP with logging fully turned up, here is the
messages I am currently getting:

-

2011-08-05 15:32:00,761 INFO  [STDOUT] (
http://hostname:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin) 2011-08-05
15:32:00,761 [http://hostname:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG c.x.x.p.l.XWikiLDAPConnection  - Binding to LDAP server with
credentials login=[uid=204428,cn=users,dc=company,dc=com]
2011-08-05 15:32:00,940 INFO  [STDOUT]
(http://hostname:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin)
2011-08-05 15:32:00,940
[http://hostname:8080/xwiki/bin/loginsubmit/XWiki/XWikiLogin]
DEBUG u.i.L.XWikiLDAPAuthServiceImpl - Local LDAP authentication failed.
com.xpn.xwiki.plugin.ldap.XWikiLDAPException: Error number 0 in 5: LDAP bind
failed with LDAPException.
Wrapped Exception: Invalid Credentials
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:175)
~[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.plugin.ldap.XWikiLDAPConnection.open(XWikiLDAPConnection.java:104)
~[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticateInContext(XWikiLDAPAuthServiceImpl.java:313)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.ldapAuthenticate(XWikiLDAPAuthServiceImpl.java:190)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl.authenticate(XWikiLDAPAuthServiceImpl.java:137)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.authenticate(MyFormAuthenticator.java:284)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:204)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator.processLogin(MyFormAuthenticator.java:187)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl.checkAuth(XWikiAuthServiceImpl.java:244)
[xwiki-platform-oldcore-3.1.jar!/:na]
at com.xpn.xwiki.XWiki.checkAuth(XWiki.java:4089)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.checkAccess(XWikiRightServiceImpl.java:170)
[xwiki-platform-oldcore-3.1.jar!/:na]
at com.xpn.xwiki.XWiki.checkAccess(XWiki.java:4102)
[xwiki-platform-oldcore-3.1.jar!/:na]
at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:5260)
[xwiki-platform-oldcore-3.1.jar!/:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:189)
[xwiki-platform-oldcore-3.1.jar!/:na]
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
[struts-1.2.9.jar!/:1.2.9]
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
[struts-1.2.9.jar!/:1.2.9]
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
[struts-1.2.9.jar!/:1.2.9]
at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
[struts-1.2.9.jar!/:1.2.9]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
[servlet-api.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA
date=200905221634)]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[servlet-api.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA
date=200905221634)]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[jbossweb.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[jbossweb.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)]
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
[xwiki-platform-oldcore-3.1.jar!/:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[jbossweb.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[jbossweb.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)]
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
[xwiki-platform-wysiwyg-server-3.1.jar!/:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
[jbossweb.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[jbossweb.jar!/:5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)]