Re: [xwiki-users] How to rename the main space?
Hi Vincet, I tried this it renamed the some of the spaces but not main spaces showed multiple error when i tried to rename. But now bigger problem is i am not even able to restore previous main space. Previously webhome page used to list all the spaces but now it says unable to execute macros. I did delete that gadget but dont know which gadget it was to add it again On Tue, Feb 21, 2012 at 8:47 PM, Vincent Massol vinc...@massol.net wrote: Hi, On Feb 21, 2012, at 4:13 PM, mohit gupta wrote: I want to rename the main space to some other name but i dont fine a link which helps me to do that. I am on xwiki 3.2. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space Also note that this feature is planned to be provided OOB in future releases: http://jira.xwiki.org/jira/browse/XWIKI-6722 Thanks -Vincent ___ 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] Fwd: How to rename the main space?
i dont think this work for bigger spaces .Atleast it did not wotk for main space though workked for other spaces. I survived because of xwiki back up. -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Tue, Feb 21, 2012 at 9:43 PM Subject: Re: [xwiki-users] How to rename the main space? To: XWiki Users users@xwiki.org Hi Vincet, I tried this it renamed the some of the spaces but not main spaces showed multiple error when i tried to rename. But now bigger problem is i am not even able to restore previous main space. Previously webhome page used to list all the spaces but now it says unable to execute macros. I did delete that gadget but dont know which gadget it was to add it again On Tue, Feb 21, 2012 at 8:47 PM, Vincent Massol vinc...@massol.net wrote: Hi, On Feb 21, 2012, at 4:13 PM, mohit gupta wrote: I want to rename the main space to some other name but i dont fine a link which helps me to do that. I am on xwiki 3.2. See http://extensions.xwiki.org/xwiki/bin/view/Extension/Rename+Space Also note that this feature is planned to be provided OOB in future releases: http://jira.xwiki.org/jira/browse/XWIKI-6722 Thanks -Vincent ___ 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] Configuration to enforce specific password policy in xwiki?
i have done the changes th regarding point 1(replacing the default regex with my regex) but regarding other points like 2 and 3, i think changes may be required in data store too like column for 1) which date ,the last password got changed 2)column having history of last 15 pwd 3)column indiacting the count how many time wrong pwd is entered This is how it is done in typical web application.But for now i dont want to introduce any data store changes. One reason is we have to upgrade to latest wiki version with new release. On Wed, Feb 15, 2012 at 4:48 PM, Edo Beutler ebeut...@synventis.com wrote: Hi Mohit Whilst, AFAIK, not possible by default it should not be to hard to write your own password change script or (better since testable) Java component. 1) Submit your password change form to your page where you can check all your specifications. Counting the failed logins is probably something you should do in your authentication method. 2) Belongs also to the authentication: if last change 30 days show your password change form 3) Create a class with a password(! - of course not plain text) field and on each password change you add also an object of this class to the user page. Then when changing a new password just check if there is an object with a password matching the new one. 4) maybe add a field 'locked' to the user class ... or just use the field 'active' and set locked users to inactive At least that's how I would approach it Edo On Wed, Feb 15, 2012 at 11:43 AM, mohit gupta motgu...@gmail.com wrote: Hi, I want to apply a specicific set of rules to password policy in xwiki so that that if any new user/existing user(in case he want to change the existing password) adhere to this policy. Some of the rules are like :- 1)Password should have following charectics A minimum password length of fourteen (12) characters Contain at least one alpha characters (a-z, A-Z). Contain at least one Upper Case Alpha character (A-Z). Contain at least one numeric character (0-9). Contain at least one “special” character, such as the following:~ ` ! @ # $ % ’ The maximum number of failed login attempts shall be set to 3. 2)Passwords are required to be changed every 30 days 3)A password history of last 13 passwords must be maintained so that new password is not among last 13 passwords 4)Where any user account has been locked out, admin should be subject to reset the password My first question is about point 1 . I can see one way to modify registration password matching regex at http://wikiURL/myWiki/bin/edit/XWiki/Registration?editor=wiki so that i can change default policy from 6 character to customized policy as per point 1. Is there any other way to from user interface ? Second point is i don't see any configuration setting to fulfil the requirements 2,3 and 4. Does xwiki support this kind of configuration too? ___ 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] Configuration to enforce specific password policy in xwiki?
Hi, I want to apply a specicific set of rules to password policy in xwiki so that that if any new user/existing user(in case he want to change the existing password) adhere to this policy. Some of the rules are like :- 1)Password should have following charectics A minimum password length of fourteen (12) characters Contain at least one alpha characters (a-z, A-Z). Contain at least one Upper Case Alpha character (A-Z). Contain at least one numeric character (0-9). Contain at least one “special” character, such as the following:~ ` ! @ # $ % ’ The maximum number of failed login attempts shall be set to 3. 2)Passwords are required to be changed every 30 days 3)A password history of last 13 passwords must be maintained so that new password is not among last 13 passwords 4)Where any user account has been locked out, admin should be subject to reset the password My first question is about point 1 . I can see one way to modify registration password matching regex at http://wikiURL/myWiki/bin/edit/XWiki/Registration?editor=wiki so that i can change default policy from 6 character to customized policy as per point 1. Is there any other way to from user interface ? Second point is i don't see any configuration setting to fulfil the requirements 2,3 and 4. Does xwiki support this kind of configuration too? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Localization configuration in xwiki?
Hi Ricardo In the latest version of wiki is that possible ,at the time of creation of page itself user create pages specific to locale(kind of stuff we do it in resource bundle approach). And When any user the logins , xwiki shows page specific to the locale(mentioned for browser) . As of know i really doubt this feature is provided as per below statement given at http://platform.xwiki.org/xwiki/bin/view/Features/I18N *Note that all translations of one page share the same set of XWiki objects. As a result it is impossible to have different objects (and page tags, which are objects too) in different translations for now, but it is planed in next versions.* Looks like the feature i am looking for is not supported as of now. Is that correct? On Mon, Feb 13, 2012 at 3:12 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 13 February 2012 08:54 To: XWiki Users Subject: Re: [xwiki-users] Localization configuration in xwiki? Thanks Ricardo for reply. I did the same procedure as you suggested( and same is mentioned in the link i earlier mentioned.) But as i edit the page and mention the default language to* fr* instead of *en* and do save and view, sill i can see the page name and page content in english though labels like comments,history,space,add gets converted to french. Want to know is page/space contentent translation is not supported in wiki. FYI content is just *This is my first page. *As per my understanding If it content translation was supported, this should have been converted to french as its a very simple line to convert Content translation means, in this case, that you can translate **on your own** your pages and XWiki will be in charge of showing you the right one based on the language switch or the configuration of your Internet browser. Content translation doesn't mean that XWiki will be in charge of translation **page contents**. A number of users around the globe keep working on translation the strings used in the interface. But no automatic or semiautoomatic content translation system has been implemente yet and, I'm afraid, is far from being on the top of the list of priorities (but of course I'm nobody to say this!!!) HTH, Ricardo On Mon, Feb 13, 2012 at 1:03 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Good morning! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 13 February 2012 07:37 To: XWiki Users Subject: [xwiki-users] Localization configuration in xwiki? i went through http://platform.xwiki.org/xwiki/bin/view/Features/I18N. Basically i want to set the set the language of my wiki as per the value of paramter language(as explained about appending the language=zz in in the link ) but it only convert the label language not the acyual content. For example i created the page Mypage and put the content as This is my first page(default language is english). But now if i change the default language to french only lablels like comments (to commentaires), history(to historique), Add(to Creer) get changed not the page name and content inside it. Still i see the contant as This is my first page.Though i was expecting it in french. How to configure so that we can change the page name and its content too when changing the default language? Well, XWiki is magic, but not so magic! You does need to translate the content onf your page on your own. To the best of my understanding there is not yet an utility to do that job inside XWiki. 1. Go to preferences and, under General, set Multi Lingual to YES 2. In Languages, list the languages you are ready to translate all or some of your pages. Something like this... en, es, gl, fr 3. Now, when you edit a page, you have a new panel available named Document Translation. It will guide you throug the work done and the work to be done: existing translations, default language and translate into any language option. XWiki will show you a page in your prefered language and, if this translation is not available, will show the available ones in the order you have set in Languages parameter. HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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
Re: [xwiki-users] Localization configuration in xwiki?
Thanks for pointing me to this useful link. For now my requirement will be satisfied with this. But i agree with the second last comment by Simon Brandhof i.e *We can't ask end users to insert programming stuff into their pages .* Is there any proper solution so that end users can also put the content in different languages thru User interface instead of doing this programmatic stuff On Tue, Feb 14, 2012 at 7:10 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 14 February 2012 13:24 To: XWiki Users Subject: Re: [xwiki-users] Localization configuration in xwiki? Hi Ricardo In the latest version of wiki is that possible ,at the time of creation of page itself user create pages specific to locale(kind of stuff we do it in resource bundle approach). And When any user the logins , xwiki shows page specific to the locale(mentioned for browser) . As of know i really doubt this feature is provided as per below statement given at http://platform.xwiki.org/xwiki/bin/view/Features/I18N *Note that all translations of one page share the same set of XWiki objects. As a result it is impossible to have different objects (and page tags, which are objects too) in different translations for now, but it is planed in next versions.* Looks like the feature i am looking for is not supported as of now. Is that correct? Only now I got your point! Please, accept my apologies! Check this... http://jira.xwiki.org/browse/XWIKI-69 HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es On Mon, Feb 13, 2012 at 3:12 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Hi! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 13 February 2012 08:54 To: XWiki Users Subject: Re: [xwiki-users] Localization configuration in xwiki? Thanks Ricardo for reply. I did the same procedure as you suggested( and same is mentioned in the link i earlier mentioned.) But as i edit the page and mention the default language to* fr* instead of *en* and do save and view, sill i can see the page name and page content in english though labels like comments,history,space,add gets converted to french. Want to know is page/space contentent translation is not supported in wiki. FYI content is just *This is my first page. *As per my understanding If it content translation was supported, this should have been converted to french as its a very simple line to convert Content translation means, in this case, that you can translate **on your own** your pages and XWiki will be in charge of showing you the right one based on the language switch or the configuration of your Internet browser. Content translation doesn't mean that XWiki will be in charge of translation **page contents**. A number of users around the globe keep working on translation the strings used in the interface. But no automatic or semiautoomatic content translation system has been implemente yet and, I'm afraid, is far from being on the top of the list of priorities (but of course I'm nobody to say this!!!) HTH, Ricardo On Mon, Feb 13, 2012 at 1:03 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Good morning! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 13 February 2012 07:37 To: XWiki Users Subject: [xwiki-users] Localization configuration in xwiki? i went through http://platform.xwiki.org/xwiki/bin/view/Features/I18N. Basically i want to set the set the language of my wiki as per the value of paramter language(as explained about appending the language=zz in in the link ) but it only convert the label language not the acyual content. For example i created the page Mypage and put the content as This is my first page(default language is english). But now if i change the default language to french only lablels like comments (to commentaires), history(to historique), Add(to Creer) get changed not the page name and content inside it. Still i see the contant as This is my first page.Though i was expecting it in french. How to configure so that we can change the page name and its content too when changing the default language? Well, XWiki is magic, but not so magic! You does need to translate the content onf your page on your own. To the best of my understanding there is not yet an utility to do that job inside XWiki. 1. Go to preferences and, under General, set Multi Lingual
[xwiki-users] Localization configuration in xwiki?
i went through http://platform.xwiki.org/xwiki/bin/view/Features/I18N. Basically i want to set the set the language of my wiki as per the value of paramter language(as explained about appending the language=zz in in the link ) but it only convert the label language not the acyual content. For example i created the page Mypage and put the content as This is my first page(default language is english). But now if i change the default language to french only lablels like comments (to commentaires), history(to historique), Add(to Creer) get changed not the page name and content inside it. Still i see the contant as This is my first page.Though i was expecting it in french. How to configure so that we can change the page name and its content too when changing the default language? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Localization configuration in xwiki?
Thanks Ricardo for reply. I did the same procedure as you suggested( and same is mentioned in the link i earlier mentioned.) But as i edit the page and mention the default language to* fr* instead of *en* and do save and view, sill i can see the page name and page content in english though labels like comments,history,space,add gets converted to french. Want to know is page/space contentent translation is not supported in wiki. FYI content is just *This is my first page. *As per my understanding If it content translation was supported, this should have been converted to french as its a very simple line to convert On Mon, Feb 13, 2012 at 1:03 PM, ricardo.julio.rodriguez.fernan...@sergas.es wrote: Good morning! From: users-boun...@xwiki.org [users-boun...@xwiki.org] On Behalf Of mohit gupta [motgu...@gmail.com] Sent: 13 February 2012 07:37 To: XWiki Users Subject: [xwiki-users] Localization configuration in xwiki? i went through http://platform.xwiki.org/xwiki/bin/view/Features/I18N. Basically i want to set the set the language of my wiki as per the value of paramter language(as explained about appending the language=zz in in the link ) but it only convert the label language not the acyual content. For example i created the page Mypage and put the content as This is my first page(default language is english). But now if i change the default language to french only lablels like comments (to commentaires), history(to historique), Add(to Creer) get changed not the page name and content inside it. Still i see the contant as This is my first page.Though i was expecting it in french. How to configure so that we can change the page name and its content too when changing the default language? Well, XWiki is magic, but not so magic! You does need to translate the content onf your page on your own. To the best of my understanding there is not yet an utility to do that job inside XWiki. 1. Go to preferences and, under General, set Multi Lingual to YES 2. In Languages, list the languages you are ready to translate all or some of your pages. Something like this... en, es, gl, fr 3. Now, when you edit a page, you have a new panel available named Document Translation. It will guide you throug the work done and the work to be done: existing translations, default language and translate into any language option. XWiki will show you a page in your prefered language and, if this translation is not available, will show the available ones in the order you have set in Languages parameter. HTH! Ricardo -- Ricardo Rodríguez Research Management and Promotion Technician Health Research Institute of Santiago de Compostela (IDIS) http://www.idisantiago.es ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] AdministrationSearch||Configuration
Hi All, in the administration search configuration i see two options for *Search engine to use* i.e Lucene and database. Could anyone brief which one is better(probably advantages/disadvantages)? and what changes i need to do as administrator/developer if i want to switch from one option to another? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Page Permissions
First, set your user type to Advanced (from the user profile, the Preferences section). Then, go to the page you want to set the access rights and hover the Edit menu.Hope it helps. On Thu, Feb 9, 2012 at 7:35 AM, Joshua Garcia jgar...@ciegames.com wrote: Hi All, I am trying to set the permissions of a page. I can't seem to find the place to do that. I only see Administer Xwiki/Adminster Space but no Administer page. Is there a way to enable rights for a page? __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?
Thanks a lot Sergiu. I was looking eaxactly for same . But it introduced another issue, whenever i come on welcome page of wiki after login i see welcome page rendered twice(even other pages too ). Here is code snippet which i introduced context.setLinksQueryString(USER_NAME+=+UserId++WIKI_TYPE+=+wikiType+dummyPar=dummy); If i comment above line , it works fine and renders only only once. Any input on how above code snippet making the page rending twice? On Tue, Feb 7, 2012 at 12:43 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 02/07/2012 12:44 AM, mohit gupta wrote: As i said in my original post i do not want to set it in session. Reason being is, i am opening two diffeernt wiki popup from parent window in amy application. So if i set any thing in session in one pop up window its also visible in another popup window which i dont want. Here is the starting of problem i set different request paramter for two wiki pop ups. when i click these two different links for two different pop ups, i see these parameters specific to each popup and i set them as attributes in request. but on further activity on these pop ups i do not get these parameters which i desperately need(probably xwiki code is using sendredirect though not sure). i can not set them in session because if i set them they are visible to both pop ups as session is same and i do not have identifier where i can identify which session attribute is for which request as class MyAuthServiceImpl is same. So i have to set them in request specific to pop ups. You're confusing the term request with something else. A request is just ONE request, an HTTP GET requested by the client and answered by the server. Further activity means other requests. Still, there might be something useful for you, thanks to the awesomeness of XWiki: maven.xwiki.org/site/xwiki-**core-parent/xwiki-core/** apidocs/com/xpn/xwiki/**XWikiContext.html#**setLinksQueryString(java.lang. **String)http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/XWikiContext.html#setLinksQueryString(java.lang.String) You'd use it like this: xwikiContext.**setLinksQueryString(**customerType=permanent); This isn't an add* method, so you have to set all the parameters that you need in one call, like: xwikiContext.**setLinksQueryString(**customerType=permanent** customerName=ACMEotherParam=**some%20value); Don't forget to URL-encode the values you put in the URL. What this does is that all future calls to the various getURL methods, like XWikiDocument.getURL or XWiki.getURL will automatically append this string to the query string of the returned URL. If you didn't hard-code any URLs in the interface, then they should keep transmitting these parameters for every subsequent request. This should be called very early in the request processing lifecycle, since it only affects the getURL calls that come after it, and it won't modify the URLs already generated. i am not getting how to get rid of this issue. On Tue, Feb 7, 2012 at 3:15 AM, Sergiu Dumitriuser...@xwiki.com wrote: On 02/06/2012 11:28 AM, mohit gupta wrote: i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given the value of xwiki.authentication.authclass=com.xpn.xwiki.user. impl.xwiki.MyAuthServiceImpl in xwiki.cfg. Inside this class i set xwikiContext.getRequest().getHttpServletRequest().** setAttrrbute(customerType,permanent) and see my wiki welcome page. But now if i do any activity like click on link anywhere on wiki wapplication,i dont get the value of xwikiContext.getRequest().getHttpServletRequest().** getAttrrbute(customerType). I am sure there must be some way i can configure it from admin user credentials probably in velocity macros and send it as part of request every time. I need it as part of request only not in session. You're setting the attribute on the request context, which is only valid for the current *request*, not for an entire session. You should use something like: xwikiContext.getRequest().getSession().setAttribute(name, value) -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Fwd: Modify velocity macro to send the name value paair as part of wiki URL?
Hi Sergiu, one more finding is that when i try to get the last parameter it appends *?xpage=xpart in* in the last. For example:- if attach the parameter with code snippet *context.setLinksQueryString(myuser=GenericUser**);* and i get it with * req.getParameter(myuser**); *i get the value as *GenericUser?xpage=xpart* ** *similarly if there are two paramters it is appending the ?xpage=xpart at last of second paramter* ** I am not sure whether it can be the reasong for rendering the page twice -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Wed, Feb 8, 2012 at 11:47 AM Subject: Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL? To: XWiki Users users@xwiki.org Thanks a lot Sergiu. I was looking eaxactly for same . But it introduced another issue, whenever i come on welcome page of wiki after login i see welcome page rendered twice(even other pages too ). Here is code snippet which i introduced context.setLinksQueryString(USER_NAME+=+UserId++WIKI_TYPE+=+wikiType+dummyPar=dummy); If i comment above line , it works fine and renders only only once. Any input on how above code snippet making the page rending twice? On Tue, Feb 7, 2012 at 12:43 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 02/07/2012 12:44 AM, mohit gupta wrote: As i said in my original post i do not want to set it in session. Reason being is, i am opening two diffeernt wiki popup from parent window in amy application. So if i set any thing in session in one pop up window its also visible in another popup window which i dont want. Here is the starting of problem i set different request paramter for two wiki pop ups. when i click these two different links for two different pop ups, i see these parameters specific to each popup and i set them as attributes in request. but on further activity on these pop ups i do not get these parameters which i desperately need(probably xwiki code is using sendredirect though not sure). i can not set them in session because if i set them they are visible to both pop ups as session is same and i do not have identifier where i can identify which session attribute is for which request as class MyAuthServiceImpl is same. So i have to set them in request specific to pop ups. You're confusing the term request with something else. A request is just ONE request, an HTTP GET requested by the client and answered by the server. Further activity means other requests. Still, there might be something useful for you, thanks to the awesomeness of XWiki: maven.xwiki.org/site/xwiki-**core-parent/xwiki-core/** apidocs/com/xpn/xwiki/**XWikiContext.html#**setLinksQueryString(java.lang. **String)http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/XWikiContext.html#setLinksQueryString(java.lang.String) You'd use it like this: xwikiContext.**setLinksQueryString(**customerType=permanent); This isn't an add* method, so you have to set all the parameters that you need in one call, like: xwikiContext.**setLinksQueryString(**customerType=permanent** customerName=ACMEotherParam=**some%20value); Don't forget to URL-encode the values you put in the URL. What this does is that all future calls to the various getURL methods, like XWikiDocument.getURL or XWiki.getURL will automatically append this string to the query string of the returned URL. If you didn't hard-code any URLs in the interface, then they should keep transmitting these parameters for every subsequent request. This should be called very early in the request processing lifecycle, since it only affects the getURL calls that come after it, and it won't modify the URLs already generated. i am not getting how to get rid of this issue. On Tue, Feb 7, 2012 at 3:15 AM, Sergiu Dumitriuser...@xwiki.com wrote: On 02/06/2012 11:28 AM, mohit gupta wrote: i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given the value of xwiki.authentication.authclass=com.xpn.xwiki.user. impl.xwiki.MyAuthServiceImpl in xwiki.cfg. Inside this class i set xwikiContext.getRequest().getHttpServletRequest().** setAttrrbute(customerType,permanent) and see my wiki welcome page. But now if i do any activity like click on link anywhere on wiki wapplication,i dont get the value of xwikiContext.getRequest().getHttpServletRequest().** getAttrrbute(customerType). I am sure there must be some way i can configure it from admin user credentials probably in velocity macros and send it as part of request every time. I need it as part of request only not in session. You're setting the attribute on the request context, which is only valid for the current *request*, not for an entire session. You should use
[xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?
i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given the value of xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.MyAuthServiceImpl in xwiki.cfg. Inside this class i set xwikiContext.getRequest().getHttpServletRequest().setAttrrbute(customerType,permanent) and see my wiki welcome page. But now if i do any activity like click on link anywhere on wiki wapplication,i dont get the value of xwikiContext.getRequest().getHttpServletRequest().getAttrrbute(customerType). I am sure there must be some way i can configure it from admin user credentials probably in velocity macros and send it as part of request every time. I need it as part of request only not in session. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?
Hi paul, i even don't see the username(with which i logged in) value somewhere inside the XWikiContext on further clicks on web pages after login. I inspected almost all the variables inside the but did not find anywhere On Mon, Feb 6, 2012 at 10:16 PM, Paul Libbrecht p...@hoplahup.net wrote: Mohit, there's no way, I think, to insert a parameter at each request. Without putting in each link of course. Or without using a servlet filter. paul Le 6 févr. 2012 à 17:28, mohit gupta a écrit : i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given the value of xwiki.authentication.authclass=com.xpn.xwiki.user.impl.xwiki.MyAuthServiceImpl in xwiki.cfg. Inside this class i set xwikiContext.getRequest().getHttpServletRequest().setAttrrbute(customerType,permanent) and see my wiki welcome page. But now if i do any activity like click on link anywhere on wiki wapplication,i dont get the value of xwikiContext.getRequest().getHttpServletRequest().getAttrrbute(customerType). I am sure there must be some way i can configure it from admin user credentials probably in velocity macros and send it as part of request every time. I need it as part of request only not in session. ___ 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
Re: [xwiki-users] Modify velocity macro to send the name value paair as part of wiki URL?
As i said in my original post i do not want to set it in session. Reason being is, i am opening two diffeernt wiki popup from parent window in amy application. So if i set any thing in session in one pop up window its also visible in another popup window which i dont want. Here is the starting of problem i set different request paramter for two wiki pop ups. when i click these two different links for two different pop ups, i see these parameters specific to each popup and i set them as attributes in request. but on further activity on these pop ups i do not get these parameters which i desperately need(probably xwiki code is using sendredirect though not sure). i can not set them in session because if i set them they are visible to both pop ups as session is same and i do not have identifier where i can identify which session attribute is for which request as class MyAuthServiceImpl is same. So i have to set them in request specific to pop ups. i am not getting how to get rid of this issue. On Tue, Feb 7, 2012 at 3:15 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 02/06/2012 11:28 AM, mohit gupta wrote: i am using xwiki as wiki website for my banking application. i provided a link AppHelp on my application web page. I click this link and it takes me to xwiki application hosted on another tomcat instance.So i get in to MyAuthServiceImpl as i have given the value of xwiki.authentication.**authclass=com.xpn.xwiki.user.** impl.xwiki.MyAuthServiceImpl in xwiki.cfg. Inside this class i set xwikiContext.getRequest().**getHttpServletRequest().** setAttrrbute(customerType,**permanent) and see my wiki welcome page. But now if i do any activity like click on link anywhere on wiki wapplication,i dont get the value of xwikiContext.getRequest().**getHttpServletRequest().** getAttrrbute(customerType). I am sure there must be some way i can configure it from admin user credentials probably in velocity macros and send it as part of request every time. I need it as part of request only not in session. You're setting the attribute on the request context, which is only valid for the current *request*, not for an entire session. You should use something like: xwikiContext.getRequest().**getSession().setAttribute(**name, value) -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to restrict the search visibilty of wiki user?
Thanks paul for taking time out to reply on this. I am using the lucene search which is default search in xwiki. As you suggested read the users of the groups the user is allowed to see, then expand this into a disjunction of owners query, i agree on logic.But i am not getting under which java class i should make a change for this. It would be very helpful to give some idea about impacted class and corresponding method. here is my requirement, if logged in user name is MyAppUser then i want him to do search on users belonging to MyAppUserAdminGroup and MyAppUserGeneralgroup but admin user should be able to search every user in wiki. basically user name + AdminGroup/Generalgroup.I want to do it for just restrict the users visibility in serach textbox otherwise i want to keep search functionality intact. Is there a way i can do these in velocity macro file of MainSpace.WebHomePage with user logged in as admin(who has programming rights) or any other tweaking in configuration. Let me know if it requires more information.Thanks for your patience again. On Fri, Feb 3, 2012 at 1:02 PM, Paul Libbrecht p...@hoplahup.net wrote: Mohit, I am not sure which search you are using but the normal way to do this is to use query expansion. Basically: - take the existing search system let it parse the query (including parameters) - combine the query with a mandatory addition that includes the rights (that'd mean: read the users of the groups the user is allowed to see, then expand this into a disjunction of owners query) Does it make sense? Please provide more details on your setup if I should formulate code suggestion. Note that appending the query-string is likely to be a very fragile solution (but is often made sadly). Do not worry on the amount of terms ofyour query, Lucene supports thousands of terms without problems. paul Le 3 févr. 2012 à 07:58, mohit gupta a écrit : Hi All, I asked the below query log time before but have not got any inputs. I would be grateful if you folks have any idea about below configuration. let me know if it is possible to configure this kind of feature in xwiki in any version? i want to give rights in a way so that the users in a certain group should be able search the users of a certain group. For example i have 3 groups G1,G2,G3 . G1 contains user U1,G2 contains user U2 and G3 contains user U3. Now i want to give the the group 1 users rights in a way so that they should be able to search the G1 and G2 users only but not G3 users.Thanks ___ 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] How to customize the default skin and default stylesheet?
Hi Guilaume, sorry i am not getting how and where to to add new skin and template. here is what i did to change the default skin:- 1)Create a new page named as MyAppSkin under xwiki space.Inside that page i added the template under attachment section.Like i downloaded the template Free WordPress 2.x Themes from site http://www.templatemonster.com/free-templates.php and then gave the name as XWiki.MyAppSkin in the Skin field of the presentation section of the administration. But it did not have any impact. 2)similary i am not sure where to add my customize MyApp.css in wiki. On Thu, Feb 2, 2012 at 1:07 PM, Guillaume Lerouge guilla...@xwiki.com wrote: Hi Mohit, you can override both of those by adding a XWiki.XWikiSkins object in a document and adding the name of that document in the Skin field of the presentation section of the administration. Guillaume On Thu, Feb 2, 2012 at 8:19 AM, mohit gupta motgu...@gmail.com wrote: Under the presentation section of look and feel, i see skin as XWiki.DefaultSkin and DEFAULT STYLESHEET as style.css. If i want to replace both of these with my customized skin and stylesheet, how should i go about this? where should i put my both these new docs? ___ 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
Re: [xwiki-users] Not able to delete the page ?
Yes it is MS sql. i am using the driver as com.jnetdirect.jsql.JSQLDriver. But that problem got solved by creating the new database schema. On Thu, Feb 2, 2012 at 3:09 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 02/01/2012 12:09 PM, mohit gupta wrote: Hi All, i am logged in as admin user who has all possible rights at wiki administration level . i have a space with the name MySpace. Now i created the page AppPage1 by mistake. i want to delete this page. But when i go for deletion , it gives me the message Are you sure you wish to move this document to the recycle bin? i clicked yes but then it gives the some run time error saying Wrapped Exception: com.jnetdirect.jsql.JSQLException: Cannot insert the value NULL into column 'XDD_ID', table 'WikiActualData.dbo.xwikirecyclebin'; column does not allow nulls. INSERT fails. at com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85) Whoa, that's a pretty funky setup. I think it's a data source configuration, not a direct Hibernate-JDBC connection. What database is behind jnetdirect? Is it MS SQL? at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547) at com.jnetdirect.jsql.JSQLStatement.getNextResult(JSQLStatement.java:2645) Complete stack trace is attached with this mail. I have tried my level best to delete this page but everytime it gives me the same error . I am not getting how to delete this page. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ 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] How to customize the default skin and default stylesheet?
Thanks for providing clarity and pointing to these documents. On Thu, Feb 2, 2012 at 4:29 PM, Guillaume Lerouge guilla...@xwiki.com wrote: Hi Mohit, I'm not sure how you expect a Wordpress template to work with XWiki. By the way, did you read the following documents? - http://platform.xwiki.org/xwiki/bin/view/Features/Skins - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins Guillaume On Thu, Feb 2, 2012 at 11:30 AM, mohit gupta motgu...@gmail.com wrote: Hi Guilaume, sorry i am not getting how and where to to add new skin and template. here is what i did to change the default skin:- 1)Create a new page named as MyAppSkin under xwiki space.Inside that page i added the template under attachment section.Like i downloaded the template Free WordPress 2.x Themes from site http://www.templatemonster.com/free-templates.php and then gave the name as XWiki.MyAppSkin in the Skin field of the presentation section of the administration. But it did not have any impact. 2)similary i am not sure where to add my customize MyApp.css in wiki. On Thu, Feb 2, 2012 at 1:07 PM, Guillaume Lerouge guilla...@xwiki.com wrote: Hi Mohit, you can override both of those by adding a XWiki.XWikiSkins object in a document and adding the name of that document in the Skin field of the presentation section of the administration. Guillaume On Thu, Feb 2, 2012 at 8:19 AM, mohit gupta motgu...@gmail.com wrote: Under the presentation section of look and feel, i see skin as XWiki.DefaultSkin and DEFAULT STYLESHEET as style.css. If i want to replace both of these with my customized skin and stylesheet, how should i go about this? where should i put my both these new docs? ___ 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 ___ 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 restrict the search visibilty of wiki user?
Hi All, I asked the below query log time before but have not got any inputs. I would be grateful if you folks have any idea about below configuration. let me know if it is possible to configure this kind of feature in xwiki in any version? i want to give rights in a way so that the users in a certain group should be able search the users of a certain group. For example i have 3 groups G1,G2,G3 . G1 contains user U1,G2 contains user U2 and G3 contains user U3. Now i want to give the the group 1 users rights in a way so that they should be able to search the G1 and G2 users only but not G3 users.Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Not able to delete the page ?
Hi All, i am logged in as admin user who has all possible rights at wiki administration level . i have a space with the name MySpace. Now i created the page AppPage1 by mistake. i want to delete this page. But when i go for deletion , it gives me the message Are you sure you wish to move this document to the recycle bin? i clicked yes but then it gives the some run time error saying Wrapped Exception: com.jnetdirect.jsql.JSQLException: Cannot insert the value NULL into column 'XDD_ID', table 'WikiActualData.dbo.xwikirecyclebin'; column does not allow nulls. INSERT fails. at com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85) at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547) at com.jnetdirect.jsql.JSQLStatement.getNextResult(JSQLStatement.java:2645) Complete stack trace is attached with this mail. I have tried my level best to delete this page but everytime it gives me the same error . I am not getting how to delete this page. Detailed information: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not insert: [com.xpn.xwiki.doc.XWikiDeletedDocument] com.xpn.xwiki.XWikiException: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: could not insert: [com.xpn.xwiki.doc.XWikiDeletedDocument] at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1097) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeWrite(XWikiHibernateBaseStore.java:1143) at com.xpn.xwiki.store.XWikiHibernateRecycleBinStore.saveToRecycleBin(XWikiHibernateRecycleBinStore.java:70) at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:4298) at com.xpn.xwiki.XWiki.deleteDocument(XWiki.java:4284) at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:6175) at com.xpn.xwiki.XWiki.deleteAllDocuments(XWiki.java:6164) at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:93) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:227) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) 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:617) 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.web.ActionFilter.doFilter(ActionFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) 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:127) 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:298) at
[xwiki-users] How to customize the default skin and default stylesheet?
Under the presentation section of look and feel, i see skin as XWiki.DefaultSkin and DEFAULT STYLESHEET as style.css. If i want to replace both of these with my customized skin and stylesheet, how should i go about this? where should i put my both these new docs? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to Configure the search user functionality for a given user group?
Hi All, I have question regarding search functionality i want to give rights in a way so that the users in a certain group should be able search the users of a certain group. For example i have 3 groups G1,G2,G3 . G1 contains user U1,G2 contains user U2 and G3 contains user U3. Now i want to give the the group 1 users rights in a way so that they should be able to search the G1 and G2 users only but not G3 users. I know we can customize the rights of specific group user for a specific space but what about above feature? Is it configurable? Thanks . ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Issues while importing previous working xwiki XAR file in to new installed XWIKI setup?
Thanks a lot jerem.It worked. On Fri, Jan 13, 2012 at 1:14 PM, jerem jeremie.bousq...@gmail.com wrote: If all your customizations were done to wiki pages (and not directly to files server-side), then importing the xar should create an identical instance on B. Maybe something went wrong during export ? Did you have error messages ? Another thing that can be checked, is the content of the generated .xar : it's a zip file format, and folders structure maps pages structure. This way you could see if things are missing in the .xar (pay attention also to empty files). In you point 2) you say you imported then logged as admin, didn't you log as admin before importing ? If not, you could retry this way, maybe you didn't have sufficient rights during import to overwrite some existing pages if you were not logged as admin user. -- View this message in context: http://xwiki.475771.n2.nabble.com/Issues-while-importing-previous-working-xwiki-XAR-file-in-to-new-installed-XWIKI-setup-tp7179864p7183286.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] Lways Get the Invalid object name 'xwikistrings' Error after fresh installation of xwiki?
I did fresh installation of xwiki . After performing all the steps mentioned in xwiki admin guide, when i hit the xwiki url i get below error. Wrapped Exception: com.jnetdirect.jsql.JSQLException: Invalid object name 'xwikistrings'. at com.jnetdirect.jsql.JSQLException.makeFromDatabaseError(JSQLException.java:85) at com.jnetdirect.jsql.IOBuffer.processPackets(IOBuffer.java:547) at com.jnetdirect.jsql.JSQLConnection.prePrepare(JSQLConnection.java:2620) at com.jnetdirect.jsql.JSQLConnection.getPreparedStatementHandle(JSQLConnection.java:2553) at com.jnetdirect.jsql.JSQLPreparedStatement.executeQuery(JSQLPreparedStatement.java:359) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96) at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:208) at org.hibernate.loader.Loader.getResultSet(Loader.java:1953) *Basically it creates all the table when i hit the URL first time but not the table 'xwikistrings'.* I tried to do installation 3 time, Every time i get same error. I had to create this table manually after taking table description from hbm file. *Is it a known issue or i am missing something here?* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Issues while importing previous working xwiki XAR file in to new installed XWIKI setup?
Hi all, I have xwiki setup done on machine A with custom setting like log changed, user, group and space rights settings .Also had space contents/attachment. Now i did the fresh installation of xwiki on new machine B..What i wanted was every setting,content, attachment i created on machine A xwiki database should be migrated to machine B xwiki database. ** *What i did for this is :-* 1) On machine A, as admin user navigated to export. It asked me package name and description. I entered the value in that and it created a A.xar file. 2)Now after xwiki installation i.e after extracting * xwiki-enterprise-web-3.3.war* inside tomcat on machine B, i navigated to import and imported A.xar file.Now i log in as admin user. *Actual Problem* Now i see the main space webhome page on machine B different from machine A main space webhome page.Like under space i see this error Unknown macro: spaces The spaces macro is not in the list of registered macros. Verify the spelling or contact your administrator. Same error is there for Tags.Also i do not the setting i did on default colour theme like i changed the logo. Though i can see all the previous user,group ,space rights and content. *Not getting what i am missing here?* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Which is the best strategy when migrating from one wiki version to another wiki version?
As of know my xwiki version is 3.2. Now we are planning to move on 3.3. Now as admin user we have done lot of customization regarding user,group,space creation and their right management. We have created some content and attachment also under some user created spaces and pages. Though everything is part of xwiki databse as i have not explicity done any settinsg to save any stuff on disk Now when i am migrating to 3.3 i am doing fresh installation. Till here fine. Now i want to migrate all 3.2 xwiki data to 3.3 xwiki. As per admin guide there seems two be two approaches :- *Approach1:-*Export 3.2 xwiki data to xar file and then import it in 3.3 xwiki. *But it did not work for me*, as after migration i do not see some stuff like main space web homepage same as it used to be in 3.2 xwiki. *Approach2:-* Take back up of complete 3.2 xwiki database . Now for 3.3 xwiki just make empty 3.3 schema and restore it to 3.2 xwiki data dump. *It worked for me.* Every thing is same in 3.3 which was there in 3.2(that is what i wanted) Now my question is it the right approach? Do i have to take some precaution or need to be careful while doing this approach? *One last question on this say there are some database configuration changes in 3.3 like deletion/addition of some table, or deltion/addition of some column etc , in that case What will be consequences of this approach?* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Location of storage of different content in xwiki?
I have a question regarding the location of storage of different content in xwiki.(I mean does it get stored in xwiki databse which we mention in hibernate.cfg.xml or somewhere else on disc?)Where does below contents gets stored in xwiki :- 1)Space and page contents 2)Atachment under spaces/pages 3)Users ,groups, spaces 4)Rights given to Users ,groups, spaces 5)Any modification done from admin user like changes in main Page configuration/Look and Fell , changing the default colour theme or addition of new colour theme. Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Location of storage of different content in xwiki?
Thanks a lot Raluca.Looks like everything goes to xwiki database by default. Two more questions on same . As you told there are 2 ways of storing attachments. Which one is default? Where in xwiki UI , as admin user he need to change to other value, if he wants Another thing are you aware of table name where these docs gets stored.Looks like in *xwikidoc* table . Right? On Wed, Jan 11, 2012 at 3:21 PM, Raluca Stavro rsta...@xwiki.com wrote: Hello, On Wed, Jan 11, 2012 at 11:23 AM, mohit gupta motgu...@gmail.com wrote: I have a question regarding the location of storage of different content in xwiki.(I mean does it get stored in xwiki databse which we mention in hibernate.cfg.xml or somewhere else on disc?)Where does below contents gets stored in xwiki :- 1)Space and page contents In the database. 2)Atachment under spaces/pages There are 2 ways of storing attachments: a) As part of documents (each attachment is stored as binary data in the document xml) - they go along with the documents in the database. b) As filesystem attachments - they go on the filesystem 3)Users ,groups, spaces Almost everything in XWiki is a document :) So, users, groups, spaces are all documents - they all go in the database. 4)Rights given to Users ,groups, spaces Rights given to users, groups are objects attached to documents (each object is part of the document xml) - they go with documents in the database. 5)Any modification done from admin user like changes in main Page configuration/Look and Fell , changing the default colour theme or addition of new colour theme. Color themes are also documents - they go in the database. Unless the Look Feel changes are made in the filesystem skin (this is not recommended), all the UI changes go in the database. Raluca. Thanks. ___ 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 restrict user from editing his prefernces, profile?
When i take my mouse on user name link (that we see in front of profile on the page just after log in), i see list of options profiles,preferences, watchlist,network,my dashboard. I want to cofigure it so that this option does not show up for specific group users. Can i configure it? The reason why i want to this because if these options are shoen then user can edit some stuff like change password, edit profile etch which i dont want for specific group/user. If it is not possible, can we restrict the specific group/user from editing profile,change password( which is possible right now if user click on profile or preferences option under user name link on top right corner of welcome page) .Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configuration to change the default space i.e main space to user created space?
Thanks Guillaume. With the link i somehow was able to revert the redirect change. Is there any other way i can do revert back without using URL( i mean if user want revert the change from the UI screen itself without typing the url given below) On Tue, Jan 10, 2012 at 4:45 PM, Guillaume Lerouge guilla...@xwiki.comwrote: Hi Mohit, try accessing your WebHome page using the .../xwiki/bin/edit/Main/WebHome?editor=wiki URL. Guillaume On Tue, Jan 10, 2012 at 12:03 PM, mohit gupta motgu...@gmail.com wrote: Thanks Marius again. As per first option in the link i.e This is the simplest of all. Edit Main.WebHome and type: $response.sendRedirect($xwiki.getURL(MyUserCreatedSpace.WebHome)) where Space.Page is the page you wish to redirect to. I did above and it worked. But now i want to revert it to again old main space. I am not able to do so that because as soon as i go to the main space webhome page , i get to see the source of MyUserCreatedSpace(as i have used the redirect option). I am not able to see the original source code of Main space Webhome page so that i can revert redirect change. . On Tue, Jan 10, 2012 at 1:01 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Some search results: http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki http://www.mail-archive.com/users@xwiki.org/msg06003.html http://lists.xwiki.org/pipermail/users/2008-June/008546.html Hope this helps, Marius On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta motgu...@gmail.com wrote: Hi All, As soon as l gets login , i enter to main space webhome page . I want to change this default main space to some user created space (Basically what i need is as soon as user logs in, he should enter to user created space instead of main space) Is it configurable? Thanks. ___ 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 ___ 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] Configuration to change the default space i.e main space to user created space?
Hi Marius, I tried all the 3 approaches given in the document . Out of 3 first worked i.e redirecting to UserCreated space but other two did not. (Both takes me to WebHome page under Main space) Actually I want to use other two as it convenient to change them and revert back. here is the brief what i did about other two approaches defined in the document. Approach A:- Change the value of xwiki.defaultweb=Main and xwiki.defaultpage=WebHome to new values. Here are the new values i gave xwiki.defaultweb=MyUserCreatedSpace xwiki.defaultpage=WebHome Gave defaultpage as webhome as it is default page of MyUserCreatedSpace Approach B :- Document also tells below approach servlet servlet-nameredirectHomeServlet/servlet-name servlet-classcom.xpn.xwiki.web.HomePageRedirectServlet/servlet-class init-param param-namehomePage/param-name param-valuebin/NewHomeSpace/NewHomePage/param-value /init-param /servlet Here is the modified code snippet in web.xml i gave servlet servlet-nameredirectHomeServlet/servlet-name servlet-classcom.xpn.xwiki.web.HomePageRedirectServlet/servlet-class init-param param-namehomePage/param-name param-valuebin/MyUserCreatedSpace/WebHome/param-value /init-param /servlet i also tried giving values as param-valuebin/MyUserCreatedSpace/param-value param-valuebin/view/MyUserCreatedSpace/WebHome/param-value But again takes me to Webhome page under Main space. Please let me know if something else also needs to be configured. On Tue, Jan 10, 2012 at 1:01 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: Some search results: http://www.xwiki.org/xwiki/bin/view/FAQ/Howtochangethehomepagedestinationwhenyouenterhttplocalhost8080xwiki http://www.mail-archive.com/users@xwiki.org/msg06003.html http://lists.xwiki.org/pipermail/users/2008-June/008546.html Hope this helps, Marius On Mon, Jan 9, 2012 at 7:02 PM, mohit gupta motgu...@gmail.com wrote: Hi All, As soon as l gets login , i enter to main space webhome page . I want to change this default main space to some user created space (Basically what i need is as soon as user logs in, he should enter to user created space instead of main space) Is it configurable? Thanks. ___ 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] Configuration to change the default space i.e main space to user created space?
Hi All, As soon as l gets login , i enter to main space webhome page . I want to change this default main space to some user created space (Basically what i need is as soon as user logs in, he should enter to user created space instead of main space) Is it configurable? Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] PDF opens in same window?
Hi All, When i search some pdf document (attached with some page/space) on the welcome screen and click on the attchment name, it opens the pdf document in the same window. It happening when i log in as admin user other for any other user pdf attchment gets opened up in new window.Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] PDF opens in same window?
Yes , It open up in different windows for user other than admin On Tue, Jan 10, 2012 at 12:11 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 01/10/2012 12:58 AM, mohit gupta wrote: Hi All, When i search some pdf document (attached with some page/space) on the welcome screen and click on the attchment name, it opens the pdf document in the same window. It happening when i log in as admin user other for any other user pdf attchment gets opened up in new window.Thanks. It should always open in the same window. Are you sure about the behavior? -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Not able to send the mail to user||Not even getting the logs
Hi All, I have done the configuration for email setup i.e given the smtp server,smtp port,smtp server username , smtp sever password (i believe last two parameters are my email id and password)but still i see below error The message could not be sent to scott: email server error. Even i can not see any logs generated for this email error under my tomcat directory. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Help] Help us improve the XWiki documentation by telling us what's missing
Hi Vincet, I think there is a scope of improvement in Right management documentation. If we can have some detailed examples of giving the rights at wiki ans space level like how we can restrict a group on editing the particular space etc On Thu, Jan 5, 2012 at 3:37 PM, Vincent Massol vinc...@massol.net wrote: Guys, we didn't get any new JIRA issue on improving the xwiki.orgdocumentation. So I guess it means our documentation is perfect and there's nothing to improve, right? :) Come on, help us identify precise stuff that need improvement. I'm sure you have had problems finding information about something in the past! Thanks -Vincent On Dec 20, 2011, at 2:16 PM, Vincent Massol wrote: Hi XWiki users, The XWiki projects needs your help. We'd like to improve the documentation on xwiki.org but we need your help to tell us what should be improved in your opinion. To do so we've created a JIRA project for listing stuff to do: http://jira.xwiki.org/browse/XWIKIORG It would be a great help if you could register there and create JIRA issues for anything you think should be improved on xwiki.org. Please try to create very specific and focused issues so that they are actionable easily (for example an issue saying Improve xwiki.orgdocumentation would not help much ;) but one that would say for example: Provide documentation on how to use the DBListClass is useful). Thanks a lot for your help! -Vincent on behalf of the XWiki Dev Team ___ 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] Configuring the webhome page of main space?
Hi All, I want to configure the default home page i.e webhome page of main space. I am looking for these kind of customizations:- 1) Replacing *Welcome to your wiki *with Welome to *ApplicationName Wiki.*Though i can see the ways to customize the panel bars,browser title bar text but not the text. 2) Right now, on web home page under main space i can see see all the details(like what activity admin or any other users did . For example modification in existing page or creation of new page) on page just after login (i.e webhome page on main space). i want to hide these unnecessary details from specific group users? Is it possible to customize. i am not even able to find the vm file for this page so that i can do some tweaking in code? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [Help] Help us improve the XWiki documentation by telling us what's missing
done. On Thu, Jan 5, 2012 at 4:00 PM, Vincent Massol vinc...@massol.net wrote: On Jan 5, 2012, at 11:18 AM, mohit gupta wrote: Hi Vincet, I think there is a scope of improvement in Right management documentation. If we can have some detailed examples of giving the rights at wiki ans space level like how we can restrict a group on editing the particular space etc Cool. Can you please register a jira for this so that this is not forgotten and so that someone can act on it? Thanks! -Vincent On Thu, Jan 5, 2012 at 3:37 PM, Vincent Massol vinc...@massol.net wrote: Guys, we didn't get any new JIRA issue on improving the xwiki.orgdocumentation. So I guess it means our documentation is perfect and there's nothing to improve, right? :) Come on, help us identify precise stuff that need improvement. I'm sure you have had problems finding information about something in the past! Thanks -Vincent On Dec 20, 2011, at 2:16 PM, Vincent Massol wrote: Hi XWiki users, The XWiki projects needs your help. We'd like to improve the documentation on xwiki.org but we need your help to tell us what should be improved in your opinion. To do so we've created a JIRA project for listing stuff to do: http://jira.xwiki.org/browse/XWIKIORG It would be a great help if you could register there and create JIRA issues for anything you think should be improved on xwiki.org. Please try to create very specific and focused issues so that they are actionable easily (for example an issue saying Improve xwiki.orgdocumentation would not help much ;) but one that would say for example: Provide documentation on how to use the DBListClass is useful). Thanks a lot for your help! -Vincent on behalf of the XWiki Dev Team ___ 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] Not able to send the mail to user||Not even getting the logs
Even i tried using my gmail id as per google smtp details given at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringtheSMTPserver but same eror i.e The message could not be sent to scott: email server error. I am not getting where is the issue. On Thu, Jan 5, 2012 at 2:52 PM, mohit gupta motgu...@gmail.com wrote: i do not see anything to modify inside shareinline.vm.As per my understanding there should not be any need to modify the code. It should be some setting in configuration. On Thu, Jan 5, 2012 at 2:07 PM, Yang Li yang.lee.c...@gmail.com wrote: 于 2012/1/5 16:14, mohit gupta 写道: Hi All, I have done the configuration for email setup i.e given the smtp server,smtp port,smtp server username , smtp sever password (i believe last two parameters are my email id and password)but still i see below error The message could not be sent to scott: email server error. Even i can not see any logs generated for this email error under my tomcat directory. Thanks __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users You may have to edit shareinline.vm to make sure the sender the same as your email account, from my experience __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Not able to send the mail to user||Not even getting the logs
i have given the complete email address but in error message it is showing only scott. On Thu, Jan 5, 2012 at 5:30 PM, Edo Beutler ebeut...@synventis.com wrote: Just guessing, but shouldn't 'scott' be an email address instead? On Thu, Jan 5, 2012 at 12:10 PM, mohit gupta motgu...@gmail.com wrote: Even i tried using my gmail id as per google smtp details given at http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HConfiguringtheSMTPserver but same eror i.e The message could not be sent to scott: email server error. I am not getting where is the issue. On Thu, Jan 5, 2012 at 2:52 PM, mohit gupta motgu...@gmail.com wrote: i do not see anything to modify inside shareinline.vm.As per my understanding there should not be any need to modify the code. It should be some setting in configuration. On Thu, Jan 5, 2012 at 2:07 PM, Yang Li yang.lee.c...@gmail.com wrote: 于 2012/1/5 16:14, mohit gupta 写道: Hi All, I have done the configuration for email setup i.e given the smtp server,smtp port,smtp server username , smtp sever password (i believe last two parameters are my email id and password)but still i see below error The message could not be sent to scott: email server error. Even i can not see any logs generated for this email error under my tomcat directory. Thanks __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/users http://lists.xwiki.org/mailman/listinfo/users You may have to edit shareinline.vm to make sure the sender the same as your email account, from my experience __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/users 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to use feature like watch space and document index?
As i enter to main space after login, i see these kind of options like watch wiki,document index,watch space. What is is the user of these features. As name * watch wiki or watch space* suggests, looks like whenever there is a modification/addition on on wiki, it will send the mail to user email id registered on xwiki. *Is that correct?* *What about document index? feature?* *Another issue i am facing is* For my user i have denied the the view permission on invitation space. But still i am able to see that ivitation space on main space webhome page? i dont give my user the feature to send invitation to others Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to use feature like watch space and document index?
Thanks Raluca for precise reply and clarification. Document rights are more powerful than space rights. You should check if there is view right set for your user or for a group that contains your user, on the invitation document. i totally agree with this. But as per content on http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement , if we deny the permission explicitly on an specific space for a specific user or group, then deny permission takes precedence.In my case On Wed, Jan 4, 2012 at 5:06 PM, Raluca Stavro rsta...@xwiki.com wrote: Hello, On Wed, Jan 4, 2012 at 1:04 PM, mohit gupta motgu...@gmail.com wrote: As i enter to main space after login, i see these kind of options like watch wiki,document index,watch space. What is is the user of these features. As name * watch wiki or watch space* suggests, looks like whenever there is a modification/addition on on wiki, it will send the mail to user email id registered on xwiki. *Is that correct?* Indeed. See more about XWiki Watchlist Application here: http://extensions.xwiki.org/xwiki/bin/view/Extension/Watchlist+Application. *What about document index? feature?* It is about listing the documents in your wiki. *Another issue i am facing is* For my user i have denied the the view permission on invitation space. But still i am able to see that ivitation space on main space webhome page? i dont give my user the feature to send invitation to others Document rights are more powerful than space rights. You should check if there is view right set for your user or for a group that contains your user, on the invitation document. See more about rights management here: http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement . Raluca. Thanks ___ 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] Configuration to hide unnecessary details from specific group or user?
Hi All, Right now when i log in as a user who does not have admin rights, i can see see all the details(like what activity admin or any other users did .For example modification in existing page or creation of new page) on page just after login (i.e webhome page on main space). *Is there a way i can hide these unnecessary details from specific group users?* * Another question Is it possible to configure so that specific group users can not be searched by another specific group users.* i have a requirement where i want specific group users can not be searched by another specific group users. Is there a way to configure this kind of stuff? Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] Same session is getting associated from separate IE windows while login?
Two questions on this :- As you said One way is by embedding the session ID in each URL generated by the application, which would indeed make the session work only as long as you click through the links in the same browser window. Is it done by browser internally or developer has to take care of this? Regarding second point looks like from code xwiki is using cookies. Is there a way to disable cookies so if want the behaviour mentioned in Original post i can achieve it. On 01/02/2012 11:35 PM, mohit gupta wrote: Hi All, I do the login with admin credentials in one internet explorer window. Now i open one more seperate IE window and give my xwiki home url i.e http://localhost:/myxwiki/ . I see in this second i am directly getting logged in with admin credentials which is not correct. I should see login screen on this second window here. Then i did debugging and found out with both IE windows xwikicontext.getRequest().**getSession() returning the same session( basically both sessions are having same session id). As per my understanding session is specific to browser window . so both windows(or request from diffent IE windows) should have different session attached to them. Not getting how come both request are having same session id. No, this isn't true most of the times. A session is just a serverside storage area reserved for one client, where the connection between the client and the session is established by a key, called a session identifier, and which can be stored in several ways. One way is by embedding the session ID in each URL generated by the application, which would indeed make the session work only as long as you click through the links in the same browser window. Still, opening such a link in a new window will keep the same session in a different window, and opening an URL without the session ID in it would lose the session even in the same window. Another, simpler and preferred method of keeping the session identifier is by using cookies, which work across an entire browsing session, across windows and sometimes even across restarts if you configure your browser to restore the previous (browser) session on restarts. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to create sub-space in xwiki?
Hi All, i have created a space on xwiki with the name MySpace. Now i want to create one sub space under MySpace with name Releases. When i go MySpace and do add space and give the name of my new sub space i.e Releases . It does not add that space under MySpace but it adds as seperate space together. Is it possible to create sub-space ? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Creating the page with some name suffixed with some number does not get searched?
Hi All, I created one page named as Release4 and when i try to search Release4 does not show any results for this page but if i create another page with name ReleaseFour and now search ReleaseFour , it shows the results. *Is it an issue or i am missing some thing here?* ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Creating the page with some name suffixed with some number does not get searched?
Hi Sergiu , Let me tell you actual observation. When i created the page with name Release 4 it searched but when i created the page with name Release 4.1 it did not. I did wait for 5 minutes but did not find any. Sorry for correction. Regarding posting to devs list , i will keep that in mind for future. On Wed, Jan 4, 2012 at 11:15 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 01/04/2012 12:29 AM, mohit gupta wrote: Hi All, I created one page named as Release4 and when i try to search Release4 does not show any results for this page but if i create another page with name ReleaseFour and now search ReleaseFour , it shows the results. *Is it an issue or i am missing some thing here?* Works for me. Are you left enough time for the indexer to process this page? You don't get instant results, normally you should wait about a minute before a new document will appear in the search results. Unrelated, it's not recommended to post to the devs list with such questions, since that list is for the development of the XWiki platform itself. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] How to create sub-space in xwiki?
Thanks for information. On Wed, Jan 4, 2012 at 11:50 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 01/04/2012 12:19 AM, mohit gupta wrote: Hi All, i have created a space on xwiki with the name MySpace. Now i want to create one sub space under MySpace with name Releases. When i go MySpace and do add space and give the name of my new sub space i.e Releases . It does not add that space under MySpace but it adds as seperate space together. Is it possible to create sub-space ? Not yet, you can watch (and vote for) this issue to see the progress: http://jira.xwiki.org/browse/**XWIKI-354http://jira.xwiki.org/browse/XWIKI-354 -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Same session is getting associated from separate IE windows while login?
Hi All, I do the login with admin credentials in one internet explorer window. Now i open one more seperate IE window and give my xwiki home url i.e http://localhost:/myxwiki/ . I see in this second i am directly getting logged in with admin credentials which is not correct. I should see login screen on this second window here. Then i did debugging and found out with both IE windows xwikicontext.getRequest().getSession() returning the same session( basically both sessions are having same session id). As per my understanding session is specific to browser window . so both windows(or request from diffent IE windows) should have different session attached to them. Not getting how come both request are having same session id. Thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Fwd: Configure the XWIKI Logo
Though it worked after changing logo.png to myprojectlogo.png in global.vm file .But i expect there should be some way from xwiki admin UI too. I tried some stuff changing in defaultskin after going inside look and feel section but that did not help -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Tue, Dec 27, 2011 at 3:05 PM Subject: Configure the XWIKI Logo To: XWiki Users users@xwiki.org Hi, I want to change the default xwiki logo with my custom logo say MyProjectLogo.png. Is this configurable somewhere? What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri , i replaced default log.png with my custom logo(with same name). But it still picks old logo. Thanks in advance. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Configure the XWIKI Logo
Hi, I want to change the default xwiki logo with my custom logo say MyProjectLogo.png. Is this configurable somewhere? What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri , i replaced default log.png with my custom logo(with same name). But it still picks old logo. Thanks in advance. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Fwd: Configure the XWIKI Logo
Thanks Guillaume for giving this valuable information . But i am facing a issue while changing image this way. Here is what idid I am trying to change the logo for DefaultColorTheme page 1) i attached an image named as myimage.png with DefaultColorTheme page which is showing in attachment tab 2) Then on DefaultColorTheme page i clicked edit button and select the header 3)After selection of header , a paint icon come and i click on that. Small window open up below the existing header where i gave the name of image as myimage in logo text box but as soon as i do tab out old image went away but new image does not get shown. Instead a cross icon is displayed. I tried giving the same name in banner text box too but same results. On Tue, Dec 27, 2011 at 4:52 PM, Guillaume Lerouge guilla...@xwiki.comwrote: Hi Mohit, the logo can be changed from the color theme page: 1. Attach the file you want to use as logo to the color theme page 2. Edit the color theme 3. Enter the name of your file in the logo field when editing the header in the color theme I agree that it's not very intuitive, but it's doable. Guillaume On Tue, Dec 27, 2011 at 11:56 AM, mohit gupta motgu...@gmail.com wrote: Hi Guillaume , i want to change default xwiki logo that we see just below the wiki link on top left corner of xwiki website not the color . I already tried changing color theme it just changes the color theme. PFA the logo for reference which i want to change. On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerouge guilla...@xwiki.com wrote: Hi Mohit, you don't need to modify the logo from the filesystem. You can do this through the Color Theme. Guillaume On Tue, Dec 27, 2011 at 10:51 AM, mohit gupta motgu...@gmail.com wrote: Though it worked after changing logo.png to myprojectlogo.png in global.vm file .But i expect there should be some way from xwiki admin UI too. I tried some stuff changing in defaultskin after going inside look and feel section but that did not help -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Tue, Dec 27, 2011 at 3:05 PM Subject: Configure the XWIKI Logo To: XWiki Users users@xwiki.org Hi, I want to change the default xwiki logo with my custom logo say MyProjectLogo.png. Is this configurable somewhere? What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri , i replaced default log.png with my custom logo(with same name). But it still picks old logo. Thanks in advance. ___ 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 ___ 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] Fwd: Configure the XWIKI Logo
Hi Guillaume , i want to change default xwiki logo that we see just below the wiki link on top left corner of xwiki website not the color . I already tried changing color theme it just changes the color theme. PFA the logo for reference which i want to change. On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerouge guilla...@xwiki.comwrote: Hi Mohit, you don't need to modify the logo from the filesystem. You can do this through the Color Theme. Guillaume On Tue, Dec 27, 2011 at 10:51 AM, mohit gupta motgu...@gmail.com wrote: Though it worked after changing logo.png to myprojectlogo.png in global.vm file .But i expect there should be some way from xwiki admin UI too. I tried some stuff changing in defaultskin after going inside look and feel section but that did not help -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Tue, Dec 27, 2011 at 3:05 PM Subject: Configure the XWIKI Logo To: XWiki Users users@xwiki.org Hi, I want to change the default xwiki logo with my custom logo say MyProjectLogo.png. Is this configurable somewhere? What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri , i replaced default log.png with my custom logo(with same name). But it still picks old logo. Thanks in advance. ___ 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] Fwd: Fwd: Configure the XWIKI Logo
Thanks Sergiu too for valuable inputs. * Wanted to know about one more configuration. On the page just after login, i get to see to all modifications i.e which page got created and modified recently. Is there a way i can hide these details from a specific group.* -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Wed, Dec 28, 2011 at 10:52 AM Subject: Re: [xwiki-users] Fwd: Configure the XWIKI Logo To: Sergiu Dumitriu ser...@xwiki.com Thanks a lot Guillaume for telling me this kind of configuration.It worked. I wish this kind of stuff is documented in user guide. It would be a great help for end users. On Wed, Dec 28, 2011 at 3:56 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/27/2011 12:03 PM, mohit gupta wrote: Thanks Guillaume for giving this valuable information . But i am facing a issue while changing image this way. Here is what idid I am trying to change the logo for DefaultColorTheme page 1) i attached an image named as myimage.png with DefaultColorTheme page which is showing in attachment tab 2) Then on DefaultColorTheme page i clicked edit button and select the header 3)After selection of header , a paint icon come and i click on that. Small window open up below the existing header where i gave the name of image as myimage in logo text box but as soon as i do tab out old image went away but new image does not get shown. Instead a cross icon is displayed. I tried giving the same name in banner text box too but same results. Did you use myimage or myimage.png? The extension should be there as well. On Tue, Dec 27, 2011 at 4:52 PM, Guillaume Lerougeguilla...@xwiki.com** wrote: Hi Mohit, the logo can be changed from the color theme page: 1. Attach the file you want to use as logo to the color theme page 2. Edit the color theme 3. Enter the name of your file in the logo field when editing the header in the color theme I agree that it's not very intuitive, but it's doable. Guillaume On Tue, Dec 27, 2011 at 11:56 AM, mohit guptamotgu...@gmail.com wrote: Hi Guillaume , i want to change default xwiki logo that we see just below the wiki link on top left corner of xwiki website not the color . I already tried changing color theme it just changes the color theme. PFA the logo for reference which i want to change. On Tue, Dec 27, 2011 at 3:46 PM, Guillaume Lerougeguilla...@xwiki.com wrote: Hi Mohit, you don't need to modify the logo from the filesystem. You can do this through the Color Theme. Guillaume On Tue, Dec 27, 2011 at 10:51 AM, mohit guptamotgu...@gmail.com wrote: Though it worked after changing logo.png to myprojectlogo.png in global.vm file .But i expect there should be some way from xwiki admin UI too. I tried some stuff changing in defaultskin after going inside look and feel section but that did not help -- Forwarded message -- From: mohit guptamotgu...@gmail.com Date: Tue, Dec 27, 2011 at 3:05 PM Subject: Configure the XWIKI Logo To: XWiki Usersusers@xwiki.org Hi, I want to change the default xwiki logo with my custom logo say MyProjectLogo.png. Is this configurable somewhere? What i tried :-inside my tomcat directory i.e tomcat\myxwiki\skins\colibri , i replaced default log.png with my custom logo(with same name). But it still picks old logo. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Some queries regardings how right management works in XWiki?
Thanks Marius for the reply. 1st point is clear now. It works *Regarding second point :- * At link * http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights * * * if we go at topic *An overview of permissions, *on the above link* *below is the statement written about checking order which basically tells how the rights are overriden. - *Checking order: at what level is the right checked first?* As per this order looks like if we have given the the rights to Group A for Space A at space level but left the view Rights check box as blank for the same group at Wiki adminstration level, then Group A user should be able to view and search the Space A content on the page we see just after login , irrespective of rights given for the same group at wiki level as permission at wiki level are overriden by permissions at space level.But this not happening right now with me. It happens only when Group A has view rights at both level i.e at wiki administration level and space level. On Mon, Dec 26, 2011 at 4:08 PM, Marius Dumitru Florea mariusdumitru.flo...@xwiki.com wrote: On Mon, Dec 26, 2011 at 9:09 AM, mohit gupta motgu...@gmail.com wrote: At link http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rightsit is given that 1) Right can be set at the page level. :- For example it is given that , View right can be set at the page level. But do not see any way for setting the right at page level( i can see how to set it at space level but not at page level ). i am working xwiki-enterprise-web-3.2.war and xwiki-enterprise-wiki-3.2.xar First, make sure your user type is set to Advanced (from the user profile, the Preferences section). Then, go to the page you want to set the access rights and hover the Edit menu. Hope this helps, Marius 2)Checking order for View rights are given as page space wiki. What my understanding from this is if we have given view rights to Group A For Space A at space A level but left the view Rights check box as blank for the same group at Wiki adminstration level, Then Group A user should be able to view and search the Space A content on the page we see just after login , as permission at at wiki level are overriden bt permissions at space. But this behaviour does not happens. It happens only when Group A has view rights at both level i.e at wiki administration level and space level. *Not getting what does checking order means here?* ___ 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
Re: [xwiki-users] How to configure search behavior in xwiki?
Hi Sergiu, Then you should take care of how you grant view rights to the group page. I guess it should be enough to make only one change: on the group page, grant view right (and you should also grant edit right) to the group itself, without specifying any other grant/deny rights. With above configuration also user is able to search and view user details who belongs to other group :( On Tue, Dec 27, 2011 at 12:37 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/26/2011 02:27 AM, mohit gupta wrote: Hi Sergiu, Just to give more clarification about my original post I want to configure it in a way user should be able to search *and view* the other users who belongs to same group otherwise it should not be able to search *and view* other group user details Then you should take care of how you grant view rights to the group page. I guess it should be enough to make only one change: on the group page, grant view right (and you should also grant edit right) to the group itself, without specifying any other grant/deny rights. On Mon, Dec 26, 2011 at 12:20 PM, mohit guptamotgu...@gmail.com wrote: Thanks Sergiu.As you told * Another option is to post-filter the results returned by Lucene so that you remove all the user profiles that shouldn't be returned. * I am also looking this kind of option but not getting in which java class i need to make change for this.If you can throw some light on this, it would be a great help. On Mon, Dec 26, 2011 at 11:49 AM, Sergiu Dumitriuser...@xwiki.com** wrote: On 12/26/2011 12:40 AM, mohit gupta wrote: I have configured to use Lucene search in my xwiki application. Right now in xwiki , any user is able to search any other user details by entering his deatils in serach text box.I want to configure it in a way user should be able to search the other users who belongs to same group otherwise it should not other group user details. Is it configurable in xwiki or i need to make some changes in code for the same.Thanks. Search results should only display what is normally visible by the current user. So, even though you might succeed in making Lucene not return these users in a query, the user profiles are still visible to the user. Another point, all users should normally be in at least one common group, XWiki.XWikiAllGroup, unless you explicitly disable this feature. Still, to answer your question, it should be possible to configure the search results so that it displays only users having a group in common, but it's not very easy. One problem is that groups are defined in a group document, while Lucene only considers one document at a time, so whenever it's considering whether or not to include a user document in the results, it doesn't have access to the group definition, so you'll have to somehow use this information some other way. One option is to change the indexing process so that each Lucene document corresponding to a user should also list all the groups that user belongs to. Another option is to post-filter the results returned by Lucene so that you remove all the user profiles that shouldn't be returned. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to configure search behavior in xwiki?
I have configured to use Lucene search in my xwiki application. Right now in xwiki , any user is able to search any other user details by entering his deatils in serach text box.I want to configure it in a way user should be able to search the other users who belongs to same group otherwise it should not other group user details. Is it configurable in xwiki or i need to make some changes in code for the same.Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to configure search behavior in xwiki?
Thanks Sergiu.As you told * Another option is to post-filter the results returned by Lucene so that you remove all the user profiles that shouldn't be returned. * I am also looking this kind of option but not getting in which java class i need to make change for this.If you can throw some light on this, it would be a great help. On Mon, Dec 26, 2011 at 11:49 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/26/2011 12:40 AM, mohit gupta wrote: I have configured to use Lucene search in my xwiki application. Right now in xwiki , any user is able to search any other user details by entering his deatils in serach text box.I want to configure it in a way user should be able to search the other users who belongs to same group otherwise it should not other group user details. Is it configurable in xwiki or i need to make some changes in code for the same.Thanks. Search results should only display what is normally visible by the current user. So, even though you might succeed in making Lucene not return these users in a query, the user profiles are still visible to the user. Another point, all users should normally be in at least one common group, XWiki.XWikiAllGroup, unless you explicitly disable this feature. Still, to answer your question, it should be possible to configure the search results so that it displays only users having a group in common, but it's not very easy. One problem is that groups are defined in a group document, while Lucene only considers one document at a time, so whenever it's considering whether or not to include a user document in the results, it doesn't have access to the group definition, so you'll have to somehow use this information some other way. One option is to change the indexing process so that each Lucene document corresponding to a user should also list all the groups that user belongs to. Another option is to post-filter the results returned by Lucene so that you remove all the user profiles that shouldn't be returned. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to configure search behavior in xwiki?
Hi Sergiu, Just to give more clarification about my original post I want to configure it in a way user should be able to search *and view* the other users who belongs to same group otherwise it should not be able to search *and view* other group user details On Mon, Dec 26, 2011 at 12:20 PM, mohit gupta motgu...@gmail.com wrote: Thanks Sergiu.As you told * Another option is to post-filter the results returned by Lucene so that you remove all the user profiles that shouldn't be returned. * I am also looking this kind of option but not getting in which java class i need to make change for this.If you can throw some light on this, it would be a great help. On Mon, Dec 26, 2011 at 11:49 AM, Sergiu Dumitriu ser...@xwiki.comwrote: On 12/26/2011 12:40 AM, mohit gupta wrote: I have configured to use Lucene search in my xwiki application. Right now in xwiki , any user is able to search any other user details by entering his deatils in serach text box.I want to configure it in a way user should be able to search the other users who belongs to same group otherwise it should not other group user details. Is it configurable in xwiki or i need to make some changes in code for the same.Thanks. Search results should only display what is normally visible by the current user. So, even though you might succeed in making Lucene not return these users in a query, the user profiles are still visible to the user. Another point, all users should normally be in at least one common group, XWiki.XWikiAllGroup, unless you explicitly disable this feature. Still, to answer your question, it should be possible to configure the search results so that it displays only users having a group in common, but it's not very easy. One problem is that groups are defined in a group document, while Lucene only considers one document at a time, so whenever it's considering whether or not to include a user document in the results, it doesn't have access to the group definition, so you'll have to somehow use this information some other way. One option is to change the indexing process so that each Lucene document corresponding to a user should also list all the groups that user belongs to. Another option is to post-filter the results returned by Lucene so that you remove all the user profiles that shouldn't be returned. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Fwd: Issues/behaviour i am seeing on xwiki during implementation of Rights management on UI
Hi Folks, Please let me know your suggestions about intention1 below . Do i need to give any other right for search? I am in need of this.Thanks in advance. -- Forwarded message -- From: mohit gupta motgu...@gmail.com Date: Wed, Dec 21, 2011 at 11:57 PM Subject: Issues/behaviour i am seeing on xwiki during implementation of Rights management on UI To: users@xwiki.org I have two intentions for my web application which i am trying to integerate with xwiki. Basically both these intentions are related to right management on specific space area on xwiki.These are:- *Intention1:-* My intention is if an user belongs to particular organisation say Accenture he should be able to admin,search,edit,view,delete only that organization space(provided he is admin user for that organisation) otherwise he should not be able to do any operation (not even search and view) on any other space *What I Did for to achieve above* :- I as admin created AccentureAdminUser and AccentureAdminUserGroup . Now i added AccentureAdminUser under AccentureAdminUserGroup. Also I created the space for this organization with Name AccentureAdminSpace. Lets come to Rights Management. As there are two level of rights i.e at Wiki level and Space level. AT Wiki Level:- I gave only view rights to AccentureAdminUserGroup AT Space Level:- I gave all possible rights to AccentureAdminUserGroup for AccentureAdminSpace Now when i log in with AccentureAdminUser credentials, i do not see AccentureSpace space on a page just after log in and also i am not able to search any content(space or page) for this AccentureAdminSpace . Not Getting Why? Do i need to give any other Right too? *Intention2:- *My intention is if an user belongs to particular organisation and he is just a registered user but not admin user for that organization say Accenture he should be able to only view and search that organization spacevotherwise he should not be able to do any operation (not even search and view) on any other space *What I Did for to achieve above* :- I as admin created AccentureUser and AccentureUserGroup . Now i added AccentureUser under AccentureUserGroup. Also I created the space for this organization with Name AccentureSpace. Lets come to Rights Management. As there are two level of rights i.e at Wiki level and Space level. AT Wiki Level:- I gave only view rights to AccentureUserGroup AT Space Level:- I gave only view rights to AccentureUserGroup for AccentureSpace Now when i log in with AccentureUser credentials, i can see AccentureSpace space on a page just after log in but i am not able to search any content(space or page) for this AccentureSpace . Not Getting Why? Do i need to give any other Right too for search? I would be grateful if somebody can provide some insight about above issues on right management.Already I have gone thru below links but did not get through the issues http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right management http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights access and rights Thanks in advance. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes
Thanks Vincent for redirecting to right direction On Wed, Dec 21, 2011 at 1:49 PM, Vincent Massol vinc...@massol.net wrote: Hi, On Dec 21, 2011, at 5:16 AM, mohit gupta wrote: Hi All, Is there any way to configure in xwiki configuration files so thst the session expires automatically after some specified time say 20 minutes in case user does not do any activity in last 20 minutes. I looked in to xwiki.cfg and xwiki.properties file but could not find any such thing.Please let me know if this kind of stuff already exists in xwiki? See http://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+change+the+Session+timeout Thanks -Vincent ___ 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] XwikiConfiguration to expire the session automattically after any specified time say 15 minutes
Thanks Sergiu Dumitriu for replying. I will explore both the options to see which one suits me better. On Wed, Dec 21, 2011 at 4:34 PM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/21/2011 03:19 AM, Vincent Massol wrote: Hi, On Dec 21, 2011, at 5:16 AM, mohit gupta wrote: Hi All, Is there any way to configure in xwiki configuration files so thst the session expires automatically after some specified time say 20 minutes in case user does not do any activity in last 20 minutes. I looked in to xwiki.cfg and xwiki.properties file but could not find any such thing.Please let me know if this kind of stuff already exists in xwiki? See http://www.xwiki.org/xwiki/**bin/view/FAQ/How+can+I+change+** the+Session+timeouthttp://www.xwiki.org/xwiki/bin/view/FAQ/How+can+I+change+the+Session+timeout I'm not sure that answers the right question. That will expire the application (servlet) session, but it won't logout the user, since the authentication is done via clientside cookies, not via serverside sessions. Mohit, if what you want is to automatically log out users after a given period of inactivity, then that's not something already supported. It could be done with some changes in com.xpn.xwiki.user.impl.xwiki.** MyPersistentLoginManager. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Issues/behaviour i am seeing on xwiki during implementation of Rights management on UI
I have two intentions for my web application which i am trying to integerate with xwiki. Basically both these intentions are related to right management on specific space area on xwiki.These are:- *Intention1:-* My intention is if an user belongs to particular organisation say Accenture he should be able to admin,search,edit,view,delete only that organization space(provided he is admin user for that organisation) otherwise he should not be able to do any operation (not even search and view) on any other space *What I Did for to achieve above* :- I as admin created AccentureAdminUser and AccentureAdminUserGroup . Now i added AccentureAdminUser under AccentureAdminUserGroup. Also I created the space for this organization with Name AccentureAdminSpace. Lets come to Rights Management. As there are two level of rights i.e at Wiki level and Space level. AT Wiki Level:- I gave only view rights to AccentureAdminUserGroup AT Space Level:- I gave all possible rights to AccentureAdminUserGroup for AccentureAdminSpace Now when i log in with AccentureAdminUser credentials, i do not see AccentureSpace space on a page just after log in and also i am not able to search any content(space or page) for this AccentureAdminSpace . Not Getting Why? Do i need to give any other Right too? *Intention2:- *My intention is if an user belongs to particular organisation and he is just a registered user but not admin user for that organization say Accenture he should be able to only view and search that organization spacevotherwise he should not be able to do any operation (not even search and view) on any other space *What I Did for to achieve above* :- I as admin created AccentureUser and AccentureUserGroup . Now i added AccentureUser under AccentureUserGroup. Also I created the space for this organization with Name AccentureSpace. Lets come to Rights Management. As there are two level of rights i.e at Wiki level and Space level. AT Wiki Level:- I gave only view rights to AccentureUserGroup AT Space Level:- I gave only view rights to AccentureUserGroup for AccentureSpace Now when i log in with AccentureUser credentials, i can see AccentureSpace space on a page just after log in but i am not able to search any content(space or page) for this AccentureSpace . Not Getting Why? Do i need to give any other Right too for search? I would be grateful if somebody can provide some insight about above issues on right management.Already I have gone thru below links but did not get through the issues http://platform.xwiki.org/xwiki/bin/view/Features/RightsManagement right management http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Access+Rights access and rights Thanks in advance. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Not getting logout from xwiki application
Thanks Sergiu Dumitriu for reply. Issue got resolved .Actually what happens in xwiki when we do logout 3 events gets processed first is logout then view then user gets directed to login screen.In my case during view event, my authentication class was returning xwiki user but it should have returned null. This is what i did. Your reply also confirms that. Thanks again. On Wed, Dec 21, 2011 at 5:35 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 12/18/2011 12:57 PM, mohit gupta wrote: i have implemented the single sign on of xwiki with my web application. Basically when i click xwiki hyperlink on my webapplication it takes me to xwiki site hosted on another port without asking the credentials. Behind the scenes it creates an empty user in xwiki databse with no password. Till here its perfect.But when i click on logout on right top of the page it does not do logout. it brings me on the same page.I tried debugging the issue whole day but could not find any concrete finding. when i do the login on xwiki site directly with some created credentials(i mean in giving address in address bar directly)and do the logout it does the log out. I found the major difference is when we do the login manually it sets the username and password in cookies and sets some other stuff too like user principal in request and onlogout it retrieves the same info from cookie and gets successfully logout.But in my case as it creates the empty user i.e with no password it does not set the above stuff in cookie and when i click on logout it stays on the same page.i am not getting how to get thru this. Any help would be highly appreciated. XWiki can perform the logout only if the login mechanism itself can perform the logout from within the XWiki core. So, XWiki cannot, by itself, perform the logout if your SSO mechanism bypasses the XWiki authentication procedure completely. How does your SSO authenticator remember which user is currently logged in? You must undo that process in the logout process. You could override the com.xpn.xwiki.web.LogoutAction class to perform any needed steps. -- Sergiu Dumitriu http://purl.org/net/sergiu/ __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Not getting logout from xwiki application
Folks Please let me know the inputs from your side on below issue. I tried many things from my side but did not work out . latest is below one but still i am not able to logout. What iam trying to do below is if action is logout then redirecting to default page i.e /bin/view/Main but it still does not do logout public XWikiUser checkAuth(XWikiContext context) throws XWikiException { HttpServletRequest req = null; if (context.getRequest()!=null) req = context.getRequest().getHttpServletRequest(); if (req==null) return null; if (context.getAction().equals(logout)) { XWikiResponse response = context.getResponse(); String redirect = context.getURLFactory().createURL(Main, WebHome, view, context).toString(); if (redirect != null) { try { response.sendRedirect(redirect); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); log.error(not able toog out); } } return null; } On Sun, Dec 18, 2011 at 11:27 PM, mohit gupta motgu...@gmail.com wrote: i have implemented the single sign on of xwiki with my web application. Basically when i click xwiki hyperlink on my webapplication it takes me to xwiki site hosted on another port without asking the credentials. Behind the scenes it creates an empty user in xwiki databse with no password. Till here its perfect.But when i click on logout on right top of the page it does not do logout. it brings me on the same page.I tried debugging the issue whole day but could not find any concrete finding. when i do the login on xwiki site directly with some created credentials(i mean in giving address in address bar directly)and do the logout it does the log out. I found the major difference is when we do the login manually it sets the username and password in cookies and sets some other stuff too like user principal in request and onlogout it retrieves the same info from cookie and gets successfully logout.But in my case as it creates the empty user i.e with no password it does not set the above stuff in cookie and when i click on logout it stays on the same page.i am not getting how to get thru this. Any help would be highly appreciated. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Not getting logout from xwiki application
i have implemented the single sign on of xwiki with my web application. Basically when i click xwiki hyperlink on my webapplication it takes me to xwiki site hosted on another port without asking the credentials. Behind the scenes it creates an empty user in xwiki databse with no password. Till here its perfect.But when i click on logout on right top of the page it does not do logout. it brings me on the same page.I tried debugging the issue whole day but could not find any concrete finding. when i do the login on xwiki site directly with some created credentials(i mean in giving address in address bar directly)and do the logout it does the log out. I found the major difference is when we do the login manually it sets the username and password in cookies and sets some other stuff too like user principal in request and onlogout it retrieves the same info from cookie and gets successfully logout.But in my case as it creates the empty user i.e with no password it does not set the above stuff in cookie and when i click on logout it stays on the same page.i am not getting how to get thru this. Any help would be highly appreciated. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks thomas for bringing clarity. i am trying to build the xwiki source in eclipse as per the instructions given at http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject. i have given the repository location as below in setting.xml in eclispe * repositories repository idfip/id namexwiki Archiva Repository/name urlhttps://github.com/xwiki/xwiki-platform/url releases enabledtrue/enabled /releases snapshots enabledtrue/enabled /snapshots /repository /repositories* But after updating the setting.xml(lying under .m2 folder) to above location i get below message on eclipse console * 12/13/11 5:28:54 PM IST: Unable to update index for fip| https://github.com/xwiki/xwiki-platform* And when i try to build the project in eclipse, eclipse console shows the below error message * Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT: Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in * *https://github.com/xwiki/xwiki-platform*https://github.com/xwiki/xwiki-platform * was cached in the local repository, resolution will not be reattempted until the update interval of fip has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-action line 1 Maven Problem* * i am not getting what is the problem here. Please provide your valuable inputs. * On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne thomas.morta...@xwiki.comwrote: On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta motgu...@gmail.com wrote: Thanks Thomas Mortagne and Vincent a lot for pointing out to repository. One question on Repository structure. i downloaded the xwiki-enterprise-web-3.2.war file and found out that XWikiAuthServiceImpl.class lies under jar xwiki-platform-legacy-oldcore-3.2.jar and path is xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But in the repository you guys pointed out same file lies under xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki. But in my dowloaded war file there is no jar by the name of xwiki-platform-core or xwiki-platform-oldcore. There is jar file with the name xwiki-platform-legacy-oldcore-3.2.jar. could you brief about this discrepency? xwiki-platform-legacy-oldcore is actually a bit special: it's repackaging xwiki-platform-oldcore and inject some deprecated APIs to it. On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net wrote: On Dec 10, 2011, at 7:30 PM, mohit gupta wrote: Thanks all for sharing the information. I started working on the xwiki project. I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have some understanding/or modification as per my requirements i can go ahead? See http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources (I've updated the page with more information) Thanks -Vincent 2) As i said earlier too, i want my customer authentication. So i explored the downloaded war file and found there is a property xwiki.authentication.authclass inside xwiki.cfg file against which file name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl) is written. So i can provide my own customer class say MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So my question is in which library it should be packed with and what are interfaces/parent class it should extend how i can find it out? it would be a great help if you some one can brief about each point? On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote: Thanks Andreas a lot for sharing the information. Let me explain what got from the links you have mentioned above. i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in address bar. Both link took me to http://www.teamsched.com/docs/info/ which seems to be a xwiki site based on java classes which must be hosted on some webserver(can you name the webserver which you used for this). Now i click the hyperlink getting started given on this site which takes me to another web application i.e http://shept.org/docs/Shept/(which is again some java application hosted on another instance of webserver ). Is that correct? If yes i also need to do same kind of stuff. Thanks. On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote: Hi mohit, I think I have done something similar a while ago. Look at http://www.teamsched.com
Re: [xwiki-users] Integration of my webapplication with xwiki.
one new development on below error i updated the repository location to new one as shown below as it took the code from https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform-core/ repositories repository idfip/id namexwiki Archiva Repository/name url https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform-core/xwiki-platform-oldcore /url releases enabledtrue/enabled /releases snapshots enabledtrue/enabled /snapshots /repository /repositories But after updating the setting.xml(lying under .m2 folder) to above location i get below message on eclipse console *12/13/11 5:48:14 PM IST: Unable to update index for fip-plugin| https://github.com/xwiki/xwiki-platform/branches/stable-3.2.x/xwiki-platform -core/xwiki-platform-oldcore* And when i try to build the project in eclipse, eclipse console shows the below error message * Project build error: Non-parseable POM C:\Users\mgupta\.m2\repository\org\xwiki\platform\xwiki-platform\3.2-SNAPSHOT\xwiki-platform-3.2-SNAPSHOT.pom: end tag name /head must be the same as start tag META from line 26 (position: TEXT seen ...i-platform:stable-3.2.x type=application/atom+xml / \n\n /head... @31:10) pom.xml /xwiki-platform-annotation-maintainer line 1 Maven Problem* ** *Looks like wrong pom file in repository. Not sure what is the issue here?* * * On Tue, Dec 13, 2011 at 5:37 PM, mohit gupta motgu...@gmail.com wrote: Thanks thomas for bringing clarity. i am trying to build the xwiki source in eclipse as per the instructions given at http://dev.xwiki.org/xwiki/bin/view/Community/BuildingInEclipse#H5C5BOptional5C5DImporttheWARasawebproject. i have given the repository location as below in setting.xml in eclispe * repositories repository idfip/id namexwiki Archiva Repository/name urlhttps://github.com/xwiki/xwiki-platform/url releases enabledtrue/enabled /releases snapshots enabledtrue/enabled /snapshots /repository /repositories* But after updating the setting.xml(lying under .m2 folder) to above location i get below message on eclipse console * 12/13/11 5:28:54 PM IST: Unable to update index for fip| https://github.com/xwiki/xwiki-platform* And when i try to build the project in eclipse, eclipse console shows the below error message * Project build error: Non-resolvable parent POM for org.xwiki.platform:xwiki-platform-core:3.2-SNAPSHOT: Failure to find org.xwiki.platform:xwiki-platform:pom:3.2-SNAPSHOT in **https://github.com/xwiki/xwiki-platform*https://github.com/xwiki/xwiki-platform * was cached in the local repository, resolution will not be reattempted until the update interval of fip has elapsed or updates are forced and 'parent.relativePath' points at wrong local POM pom.xml /xwiki-platform-action line 1 Maven Problem* * i am not getting what is the problem here. Please provide your valuable inputs. * On Tue, Dec 13, 2011 at 1:44 AM, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Mon, Dec 12, 2011 at 8:13 PM, mohit gupta motgu...@gmail.com wrote: Thanks Thomas Mortagne and Vincent a lot for pointing out to repository. One question on Repository structure. i downloaded the xwiki-enterprise-web-3.2.war file and found out that XWikiAuthServiceImpl.class lies under jar xwiki-platform-legacy-oldcore-3.2.jar and path is xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But in the repository you guys pointed out same file lies under xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki. But in my dowloaded war file there is no jar by the name of xwiki-platform-core or xwiki-platform-oldcore. There is jar file with the name xwiki-platform-legacy-oldcore-3.2.jar. could you brief about this discrepency? xwiki-platform-legacy-oldcore is actually a bit special: it's repackaging xwiki-platform-oldcore and inject some deprecated APIs to it. On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net wrote: On Dec 10, 2011, at 7:30 PM, mohit gupta wrote: Thanks all for sharing the information. I started working on the xwiki project. I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have some understanding/or modification as per my requirements i can go ahead? See http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources (I've updated the page with more information) Thanks -Vincent 2) As i said
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks Thomas Mortagne and Vincent a lot for pointing out to repository. One question on Repository structure. i downloaded the xwiki-enterprise-web-3.2.war file and found out that XWikiAuthServiceImpl.class lies under jar xwiki-platform-legacy-oldcore-3.2.jar and path is xwiki-platform-legacy-oldcore-3.2.jar\com\xpn\xwiki\user\impl\xwiki. But in the repository you guys pointed out same file lies under xwiki-platform-core\xwiki-platform-oldcore\src\main\java\com\xpn\xwiki\user\impl\xwiki. But in my dowloaded war file there is no jar by the name of xwiki-platform-core or xwiki-platform-oldcore. There is jar file with the name xwiki-platform-legacy-oldcore-3.2.jar. could you brief about this discrepency? On Sun, Dec 11, 2011 at 6:52 PM, Vincent Massol vinc...@massol.net wrote: On Dec 10, 2011, at 7:30 PM, mohit gupta wrote: Thanks all for sharing the information. I started working on the xwiki project. I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have some understanding/or modification as per my requirements i can go ahead? See http://dev.xwiki.org/xwiki/bin/view/Community/SourceRepository#HGettingSources (I've updated the page with more information) Thanks -Vincent 2) As i said earlier too, i want my customer authentication. So i explored the downloaded war file and found there is a property xwiki.authentication.authclass inside xwiki.cfg file against which file name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl) is written. So i can provide my own customer class say MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So my question is in which library it should be packed with and what are interfaces/parent class it should extend how i can find it out? it would be a great help if you some one can brief about each point? On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote: Thanks Andreas a lot for sharing the information. Let me explain what got from the links you have mentioned above. i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in address bar. Both link took me to http://www.teamsched.com/docs/info/ which seems to be a xwiki site based on java classes which must be hosted on some webserver(can you name the webserver which you used for this). Now i click the hyperlink getting started given on this site which takes me to another web application i.e http://shept.org/docs/Shept/(which is again some java application hosted on another instance of webserver ). Is that correct? If yes i also need to do same kind of stuff. Thanks. On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote: Hi mohit, I think I have done something similar a while ago. Look at http://www.teamsched.com. The explanatory stuff is hosted on an xwiki that is identified by the http://www.teamsched.com/docs part of the url. The real application based on shept.org (spring, hibernate, e.t.c.) (when you press 'Gettings started') http://www.teamsched.com/app It works more or less seamless yet the level of integration of both apps is a little shaky. There are no user accounts handed over from one to the other app. That should be possible but I hesitated to invest the necessary effort to figure it out. If that's what you are looking for I'll try to provide details. good luck Andreas Am 02.12.2011 11:31, schrieb mohit gupta: i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHome http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome ) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application
[xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
hi i downloaded xwiki war and extracted the same war to my tomcat directory under webapps folder.Now i am hitting the xwiki url and was expecting welcome page or login page but got below exception message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not getting what i am missing here. *root cause* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks all for sharing the information. I started working on the xwiki project. I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have some understanding/or modification as per my requirements i can go ahead? 2) As i said earlier too, i want my customer authentication. So i explored the downloaded war file and found there is a property xwiki.authentication.authclass inside xwiki.cfg file against which file name(com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl) is written. So i can provide my own customer class say MyProjectXWikiAuthentication.java instead of WikiAuthServiceImpl.So my question is in which library it should be packed with and what are interfaces/parent class it should extend how i can find it out? it would be a great help if you some one can brief about each point? On Fri, Dec 2, 2011 at 11:53 PM, mohit gupta motgu...@gmail.com wrote: Thanks Andreas a lot for sharing the information. Let me explain what got from the links you have mentioned above. i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in address bar. Both link took me to http://www.teamsched.com/docs/info/ which seems to be a xwiki site based on java classes which must be hosted on some webserver(can you name the webserver which you used for this). Now i click the hyperlink getting started given on this site which takes me to another web application i.e http://shept.org/docs/Shept/(which is again some java application hosted on another instance of webserver ). Is that correct? If yes i also need to do same kind of stuff. Thanks. On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote: Hi mohit, I think I have done something similar a while ago. Look at http://www.teamsched.com. The explanatory stuff is hosted on an xwiki that is identified by the http://www.teamsched.com/docs part of the url. The real application based on shept.org (spring, hibernate, e.t.c.) (when you press 'Gettings started') http://www.teamsched.com/app It works more or less seamless yet the level of integration of both apps is a little shaky. There are no user accounts handed over from one to the other app. That should be possible but I hesitated to invest the necessary effort to figure it out. If that's what you are looking for I'll try to provide details. good luck Andreas Am 02.12.2011 11:31, schrieb mohit gupta: i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome ) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application will have its own webserver. Its really urgent for me. Looking for quick reply Thanks in advance Mohit GUpta __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
i reason i can think of it is in hibernate.cfg.xml i can see entry of three hbm files i.e mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ mapping resource=activitystream.hbm.xml/ but i dont find them in downloaded war file.If these files does not exist in downloaded war file then why these entries are provided here.Should i remove these entirely or download them from other repository. On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta motgu...@gmail.com wrote: hi i downloaded xwiki war and extracted the same war to my tomcat directory under webapps folder.Now i am hitting the xwiki url and was expecting welcome page or login page but got below exception message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not getting what i am missing here. *root cause* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
even if i commen out these 3 entries iam getting same error. not sure how to get rid of this. On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta motgu...@gmail.com wrote: hi i downloaded xwiki war and extracted the same war to my tomcat directory under webapps folder.Now i am hitting the xwiki url and was expecting welcome page or login page but got below exception message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not getting what i am missing here. *root cause* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)* ** On Sun, Dec 11, 2011 at 3:55 AM, Maxime Sinclair maxime.sincl...@gmail.comwrote: Generally, this kind of error comes from a syntax error in the xml file. Hope this helps. Maxime 2011/12/10 mohit gupta motgu...@gmail.com: even if i commen out these 3 entries iam getting same error. not sure how to get rid of this. On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta motgu...@gmail.com wrote: hi i downloaded xwiki war and extracted the same war to my tomcat directory under webapps folder.Now i am hitting the xwiki url and was expecting welcome page or login page but got below exception message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not getting what i am missing here. *root cause* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) ___ 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] Need Help rgarding customization of xwiki to suit my needs
As i earlier said i have my project web application on one tomcat instance and xwiki application on another tomcat instance. So when i click help link on my project web application it should take me to xwiki webapplication and whatever class i mentioned against xwiki.authentication.authclass should do the custom authentication. So,I downloaded the war file xwiki-enterprise-web-3.2 and started working on that. I have got some questions/issues while working on this. These are:- 1) Is it possible to get the source code of xwiki java files so that if want have detailed some understanding/or modification as per my requirements i can go ahead? After modification i will pack it with existing jar file and deploy it. 2) As i said in the begining i want custom authentication .So my question is what are interfaces/parent class my custome class should extend and with which library(jar file ) it should be packed with .how i can find it out? Is there any api doc like standard java docs something like this? Thanks in advance. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
on exploring further i found that table i.e *xwikistrings* defined in xwiki.hbm.xml did not get created somehow., though all other tables got created in my databse. *Is it a know bug or i am missing something here? * On Sun, Dec 11, 2011 at 10:28 AM, mohit gupta motgu...@gmail.com wrote: Thanks Maxime. I got the issue. I looked it in to detailed log under tomcat directory and found driver is missing. Resolved the issue but got new error and looked in to detailel logs too.Here is the stack trace. Looking for quick help. This xwikistrings is getting reffered from inside xwiki acion class.Not getting how to get rid of this. Dying to see the welcome page of xwiki. Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document xwiki:XWiki.XWikiPreferences Wrapped Exception: could not execute query at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:690) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:174) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:167) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1406) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1362) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1357) at com.xpn.xwiki.XWiki.getPrefsClass(XWiki.java:3260) at com.xpn.xwiki.XWiki.initializeMandatoryClasses(XWiki.java:842) at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:817) at com.xpn.xwiki.XWiki.init(XWiki.java:743) at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:405) at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) 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:617) 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.web.ActionFilter.doFilter(ActionFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) 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:127) 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:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:852) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:396) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) *Wrapped Exception:* *com.jnetdirect.jsql.JSQLException: Invalid object name 'xwikistrings
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
Thanks vincet for replying.i am microsoft sql server. Yes i got the that issue. Below is the new findings on exploring further i found that table i.e xwikistrings defined in xwiki.hbm.xml did not get created somehow., though all other tables got created in my databse. Is it a know bug or i am missing something here? On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol vinc...@massol.net wrote: On Dec 10, 2011, at 7:44 PM, mohit gupta wrote: i reason i can think of it is in hibernate.cfg.xml i can see entry of three hbm files i.e mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ mapping resource=activitystream.hbm.xml/ You absolutely need those declarations. Nothing will work if you don't have them. what DB are you using? Thanks -Vincent but i dont find them in downloaded war file.If these files does not exist in downloaded war file then why these entries are provided here.Should i remove these entirely or download them from other repository. On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta motgu...@gmail.com wrote: hi i downloaded xwiki war and extracted the same war to my tomcat directory under webapps folder.Now i am hitting the xwiki url and was expecting welcome page or login page but got below exception message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not getting what i am missing here. *root cause* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) ___ 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
Re: [xwiki-users] Error i am getting while trying to get xwiki up on my tomcat server
Hi vincet , i did not remove those mapping lines, these are intact. what iam saying is i am saying is there is a entry of table i.e xwikistrings defined in xwiki.hbm.xml and table did not get created somehow., though all other tables mentioned in hbm file got created successfully in my database. Any idea why that table is not getting created .*Is it a know bug or i am missing something here? * On Sun, Dec 11, 2011 at 12:24 PM, Vincent Massol vinc...@massol.net wrote: On Dec 11, 2011, at 7:51 AM, mohit gupta wrote: Thanks vincet for replying.i am microsoft sql server. Yes i got the that issue. Below is the new findings on exploring further i found that table i.e xwikistrings defined in xwiki.hbm.xml did not get created somehow., though all other tables got created in my databse. Is it a know bug or i am missing something here? Well if you removed the mapping lines there's no way it'll get created! :) -Vincent On Sun, Dec 11, 2011 at 12:16 PM, Vincent Massol vinc...@massol.net wrote: On Dec 10, 2011, at 7:44 PM, mohit gupta wrote: i reason i can think of it is in hibernate.cfg.xml i can see entry of three hbm files i.e mapping resource=xwiki.hbm.xml/ mapping resource=feeds.hbm.xml/ mapping resource=activitystream.hbm.xml/ You absolutely need those declarations. Nothing will work if you don't have them. what DB are you using? Thanks -Vincent but i dont find them in downloaded war file.If these files does not exist in downloaded war file then why these entries are provided here.Should i remove these entirely or download them from other repository. On Sat, Dec 10, 2011 at 11:43 PM, mohit gupta motgu...@gmail.com wrote: hi i downloaded xwiki war and extracted the same war to my tomcat directory under webapps folder.Now i am hitting the xwiki url and was expecting welcome page or login page but got below exception message. Though i have not modified xwiki.cfg and hibernate.cfg.xml . Not getting what i am missing here. *root cause* com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context Wrapped Exception: Error number 3001 in 3: Cannot load class com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager from param xwiki.store.migration.manager.class Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it. com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:422) com.xpn.xwiki.XWiki.getXWiki(XWiki.java:491) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136) com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) javax.servlet.http.HttpServlet.service(HttpServlet.java:617) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:128) org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144) com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:217) org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109) ___ 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 ___ 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] Integration of my webapplication with xwiki.
i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application will have its own webserver. Its really urgent for me. Looking for quick reply Thanks in advance Mohit GUpta ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks Edo for quick reply. its not an intranet application. Let me explain what my intention is i have a full fledged banking web application (say App1) developed in java using struts 2 hosted on tomcat. Now i am planning to develop a different web application (App2) help content for my App1. For this i downloaded xwiki enterprise. Looks like xwiki is hosted on jetty webserver. Right? Now i want to introduce a hyperlink on some jsp page on App1 which will take me to my xwiki help application i.e App2.I am assuming right now App2 will ask me some user credentials i.e username and password. Right? so what i want to to do here is when i click on hyperlink it should take me to some servlet lying in App2 with some userid . Then with this user id App2(i.e xwiki application) again talks to some servlet lying on App1(i.e my banking application) which checks whether user exist in database or not . if yes it gives green signal to servlet in xwiki application(App2) and it shows the home page of wiki help otherwise throw some exception. Above is the crux of work what i am planning to do. What i want to know What are xwiki modules and tools i need to download? Which xwiki java classes and servlets i need to explore so that i can proceed in right direction? how my banking webapplication and newly developed xwiki application will interact each other? Can i host xwiki application on tomcat instead of jetty webserver which seeems to be default server where xwiki application will be hosted? How will i get the source code of xwiki application? which specific developer guide/'topic i need to go thru in detail . Though i went thru developer guide on xwiki site but could not get much out of it. I am in urgent need of this so that i can start upon at earliest.Thanks in Advance. On 12/2/11, Edo Beutler ebeut...@synventis.com wrote: Hi Mohit I am not sure I completely understand what your intention is. But as I understand it, two solutions come to mind: 1. If it is an intranet application in an organisation you could think about using LDAP and SSO (xwiki external), which would not exactly match your example, but can remove the need to login separately. 2. A virtual wiki environment (would probably be used also for 1.) with all the users on the main wiki. And the xwiki internal SSO activated. So you could create your two applications in separate virtual wikis and logging in to one would also log you in to the other application. Hope this helps Edo On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote: i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application will have its own webserver. Its really urgent for me. Looking for quick reply Thanks in advance Mohit GUpta ___ 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
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks Edo. I am going thru the link you have given. In the meanwhile Can you just point me what are xwiki tools/modules i have to download to make my xwiki application as explained in below mail. Along with how i will get java source code with of downloaded xwiki module so that i can make change in them. can i host downloaded xwiki module with tomcat instance and relational database.Thanks. On 12/2/11, Edo Beutler ebeut...@synventis.com wrote: Hi Mohit I think I understood now what you try to do. So App 1 is not an XWiki, and only App 2 is XWiki. In that case I think you will have to write your own authenticator. Since I never had the need to do that I can't tell you how, just point you to the XWiki documentation on authentication. There you can find also a chapter on custom authentications. http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Authentication I hope you can find what you need there Edo On Fri, Dec 2, 2011 at 4:53 PM, mohit gupta motgu...@gmail.com wrote: Thanks Edo for quick reply. its not an intranet application. Let me explain what my intention is i have a full fledged banking web application (say App1) developed in java using struts 2 hosted on tomcat. Now i am planning to develop a different web application (App2) help content for my App1. For this i downloaded xwiki enterprise. Looks like xwiki is hosted on jetty webserver. Right? Now i want to introduce a hyperlink on some jsp page on App1 which will take me to my xwiki help application i.e App2.I am assuming right now App2 will ask me some user credentials i.e username and password. Right? so what i want to to do here is when i click on hyperlink it should take me to some servlet lying in App2 with some userid . Then with this user id App2(i.e xwiki application) again talks to some servlet lying on App1(i.e my banking application) which checks whether user exist in database or not . if yes it gives green signal to servlet in xwiki application(App2) and it shows the home page of wiki help otherwise throw some exception. Above is the crux of work what i am planning to do. What i want to know What are xwiki modules and tools i need to download? Which xwiki java classes and servlets i need to explore so that i can proceed in right direction? how my banking webapplication and newly developed xwiki application will interact each other? Can i host xwiki application on tomcat instead of jetty webserver which seeems to be default server where xwiki application will be hosted? How will i get the source code of xwiki application? which specific developer guide/'topic i need to go thru in detail . Though i went thru developer guide on xwiki site but could not get much out of it. I am in urgent need of this so that i can start upon at earliest.Thanks in Advance. On 12/2/11, Edo Beutler ebeut...@synventis.com wrote: Hi Mohit I am not sure I completely understand what your intention is. But as I understand it, two solutions come to mind: 1. If it is an intranet application in an organisation you could think about using LDAP and SSO (xwiki external), which would not exactly match your example, but can remove the need to login separately. 2. A virtual wiki environment (would probably be used also for 1.) with all the users on the main wiki. And the xwiki internal SSO activated. So you could create your two applications in separate virtual wikis and logging in to one would also log you in to the other application. Hope this helps Edo On Fri, Dec 2, 2011 at 11:31 AM, mohit gupta motgu...@gmail.com wrote: i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application will have its own webserver. Its really urgent for me. Looking for quick reply Thanks in advance Mohit GUpta ___ users mailing
Re: [xwiki-users] Integration of my webapplication with xwiki.
Thanks Andreas a lot for sharing the information. Let me explain what got from the links you have mentioned above. i typed the URL http://www.teamsched.com/docs or http://www.teamsched.com in address bar. Both link took me to http://www.teamsched.com/docs/info/ which seems to be a xwiki site based on java classes which must be hosted on some webserver(can you name the webserver which you used for this). Now i click the hyperlink getting started given on this site which takes me to another web application i.e http://shept.org/docs/Shept/(which is again some java application hosted on another instance of webserver ). Is that correct? If yes i also need to do same kind of stuff. Thanks. On Fri, Dec 2, 2011 at 11:04 PM, Andreas Hahn ah...@gmx.net wrote: Hi mohit, I think I have done something similar a while ago. Look at http://www.teamsched.com. The explanatory stuff is hosted on an xwiki that is identified by the http://www.teamsched.com/docs part of the url. The real application based on shept.org (spring, hibernate, e.t.c.) (when you press 'Gettings started') http://www.teamsched.com/app It works more or less seamless yet the level of integration of both apps is a little shaky. There are no user accounts handed over from one to the other app. That should be possible but I hesitated to invest the necessary effort to figure it out. If that's what you are looking for I'll try to provide details. good luck Andreas Am 02.12.2011 11:31, schrieb mohit gupta: i have my banking webapplication on tomcat. i want to host my application help on xwiki which will sit on another server(probably xwiki will be having its on app server). Basically what i have to do is i want to provide a link on my banking application on click of which i want to take it to wiki help(help shoud not ask any credentialsat http://platform.xwiki.org/**xwiki/bin/view/DevGuide/**WebHomehttp://platform.xwiki.org/xwiki/bin/view/DevGuide/WebHome ) though it should ask for credential if i hit my xwiki URL directly.i am not getting how to start it?i have gone thru xwiki devguide but could not get much out of it. It would be great if somebody can give me heads up how can i can i start it at high level, it would be a great help. As xwiki site states many tools to download like manager,enterprise,platform. which tool one i shoud start with and what should be the starting point in that? i want to give the users to modify the wiki page on the basis of roles in my banking application. So my application and xwiki has to interact a lot. looking for how we can proceed for this. My application is using struts 2. Another question i have is once i dowload xwiki enterprsise, should i host in seperate tomcat or downloaded xwiki application will have its own webserver. Its really urgent for me. Looking for quick reply Thanks in advance Mohit GUpta __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users __**_ users mailing list users@xwiki.org http://lists.xwiki.org/**mailman/listinfo/usershttp://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users