Re: [xwiki-users] change parent
Hi, just my guess: you're changing the parent of the page, not the page location. So the URL to access the page will be the same, even if the parent-page has been changed. Everyone's welcome to correct me if I'm wrong. Vito Raffaele Viola wrote: Hi all, I create a page to change the parent to a chosen page using: #set ($mydoc = $xwiki.getDocument("some.page")) $mydoc.setParent($targetdoc) $mydoc.save() It works but in the tree page I see the changed page into its original tree location. What is my fault ?? Thanks Raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Vitantonio Messa +358 46 889 48 49 - [EMAIL PROTECTED] COSS - The Finnish Centre for Open Source Solutions @ Technology Centre Hermia Ltd. Hermiankatu 1, FIN-33720 Tampere, FINLAND ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [XEM 1.0M3] Referencing base skin in virtual wikis
> > On Jan 21, 2008, at 8:01 PM, BOUSQUET Jeremie wrote: > >> Hello, >> >> I would like to reference the same and unique skin from the >> controller wiki (named xwiki), in all my virtual wikis, but it >> seems that in preferences page, the notation xwiki:XWiki.MySkin >> does not work > > It does if you use XE 1.2 (it's been fixed in one of he milestones/RC). I think it should also work in 1.1.X (I'm doing this). What I'm sure do not work without a fix in 1.1 is the wiki-prefixed panel inclusion. Are the users from the sub-wikis allowed to view the skin ? Regards, Jerome > > 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] [XEM 1.0M3] Referencing base skin in virtual wikis
On Jan 21, 2008, at 8:01 PM, BOUSQUET Jeremie wrote: Hello, I would like to reference the same and unique skin from the ‘controller’ wiki (named ‘xwiki’), in all my virtual wikis, but it seems that in preferences page, the notation ‘xwiki:XWiki.MySkin’ does not work … It does if you use XE 1.2 (it's been fixed in one of he milestones/RC). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] copy the rigths
> How can I copy automatically the rights, set on a page, to another page? something like #set($sourceDoc=$xwiki.getDocument("YourSpace.YourSourceDoc")) #set($targetDoc=$xwiki.getDocument("YourSpace.YourTargetDoc")) #foreach($right in $sourceDoc.getObjects("XWiki.XWikiRights")) #set($entry=$targetDoc.newObject("XWiki.XWikiRights")) $entry.set("groups",$right.get("groups")) $entry.set("userss",$right.get("users")) $entry.set("levels",$right.get("level")) $entry.set("allow",$right.get("allow")) #end ## Here same loop replacing XWiki.XWikiRights by XWiki.XWikiGlobalRights $targetDoc.save() (not tested) Regards, Jerome. > > Thanks > raffo > ___ > 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] [XEM 1.0M3] Fail to instanciate default wiki template
Hello, I'm trying the XEM locally on my computer, over a XWiki instance : - replaced the .war content in web server - added all possible rights I could think about to 'xwiki' mysql user ;) (I also tried directly with 'root' user) - imported completely the XEM default .xar Wiki creation seems to work as long as new domain is defined in /etc/host, but I fail to add the default template, from page XemManager.Install, and so newly created wikis are empty ... [Logs] Com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore .java:469) [...] Wrapped Exception: java.sql.SQLException: Table 'templatexe.xwikidoc' doesn't exist at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847) [...] [/Logs] After looking at the mysql db, schema 'templatexe' has been created, but remains empty ... Thanks for your help, Jeremie. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Mortagne Sent: jeudi 10 janvier 2008 18:38 To: XWiki Developers Cc: XWiki Users Subject: [xwiki-users] [xwiki-devs] [ANN] XWiki Enterprise Manager 1.2Milestone 3 Released The XWiki development team is pleased to announce the release of XWiki Enterprise Manager 1.0 Milestone 3. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is the last XEM 1.0 milestone. RC1 and RC2 will follow. The main modifications since XEM 1.0M2 are all XE 1.2 branch new features as XEM 1.0M3 is now based on XE 1.2 Release Candidate 3. Changes from 1.0 Milestone 3: * XAAM-28: Add authors field to applications descriptors. * XAAM-29: Add license field to applications descriptors. * XAWM-23: Separate wiki and wiki alias concepts. * XAWM-26: Add pretty name field to wikis decriptors. * XAWM-29: Add users or groups rights at wiki creation time. * XEM-78: Add default "xwiki" wiki descriptor. * XEM-65: Make Application Manager and Wiki Manager more easily accessible. For more information see the Release notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM10M3 Thanks -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] [XEM 1.0M3] Referencing base skin in virtual wikis
Hello, I would like to reference the same and unique skin from the 'controller' wiki (named 'xwiki'), in all my virtual wikis, but it seems that in preferences page, the notation 'xwiki:XWiki.MySkin' does not work ... Is this possible ? Thanks, Jeremie ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [XEM 1.0M3] Fail to instanciate default wiki template
Hello, I'm trying the XEM locally on my computer, over a XWiki instance : - replaced the .war content in web server - added all possible rights I could think about to 'xwiki' mysql user ;) (I also tried directly with 'root' user) - imported completely the XEM default .xar Wiki creation seems to work as long as new domain is defined in /etc/host, but I fail to add the default template, from page XemManager.Install, and so newly created wikis are empty ... [Logs] Com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences Wrapped Exception: could not load an entity: [com.xpn.xwiki.doc.XWikiDocument#104408758] at com.xpn.xwiki.store.XWikiHibernateStore.loadXWikiDoc(XWikiHibernateStore .java:469) [...] Wrapped Exception: java.sql.SQLException: Table 'templatexe.xwikidoc' doesn't exist at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2847) [...] [/Logs] After looking at the mysql db, schema 'templatexe' has been created, but remains empty ... Thanks for your help, Jeremie. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Comments and attachments in a xwiki page
yes currently I am modifying the skin. The extension you have talked about would also work once released. Thanks Sachin vmassol wrote: > > >> >> Thanks for the link. >> >> I meant was that there is a panel named Shortcuts which has both >> Comments >> and Attachments section that can be placed either on left or right. >> If we >> had a bottom layout then we could have placed it there too. > > But placing panels in a bottom layout doesn't mean much IMO. Panels > are not meant to have a reduced vertical size. I think what you wanted > is not Panels in the current sense but extension points in the skin to > be able to add/modify content anywhere. > > This is the UI extension design we've been discussing for some time on > the dev mailing list. It's planned for the future but no hard date has > been set. > > BTW you could still achieve this right today using some javascript. > Exactly like what is done by Greasemonkey > (http://en.wikipedia.org/wiki/Greasemonkey > ). Of course it's even easier to just modify the skin... ;) > > Thanks > -Vincent > > -- View this message in context: http://www.nabble.com/Comments-and-attachments-in-a-xwiki-page-tp14949795p15003473.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Access SyndFeed object
Hallo, I tried to include an external feed to my page. My feed XML looks like this: Teamwebsite: SPO http://davm/SPO/Forms/AllItems.aspx RSS-Feed für die Liste 'SPO'. Sat, 05 Jan 2008 10:50:22 GMT Windows SharePoint Services V3 RSS Generator 60 Teamwebsite: SPO /_layouts/images/homepage.gif http://davm/SPO/Forms/AllItems.aspx Wiki-Seite mit Kalender http://davm/SPO/Forms/DispForm.aspx?ID=1 WSS\administrator Wed, 21 Nov 2007 16:03:06 GMT http://davm/SPO/Forms/DispForm.aspx?ID=1 I include my feed like this: #set($myfeed=$xwiki.feed.getFeed("http://irrlichter.net/listfeed.xml";)) That just works and I'm able to access title and link like this: ${myfeed.getTitle()} --> "Teamwebsite: SPO" ${myfeed.getLink()}--> "http://davm/SPO/Forms/AllItems.aspx " But how do I access specific nodes like ""? I hope someone could help me. Christoph -- View this message in context: http://www.nabble.com/Access-SyndFeed-object-tp15002046p15002046.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] copy the rigths
How can I copy automatically the rights, set on a page, to another page? Thanks raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] move page
On Jan 21, 2008, at 7:22 PM, Raffaele Viola wrote: > Hi all, > how can I move a page from a space to another space? > Is it possible changing the parent of that page? http://www.xwiki.org/xwiki/bin/view/FAQ/Hottomoveapagebetweenspaces -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Comments and attachments in a xwiki page
On Jan 21, 2008, at 7:09 PM, Sachn Mittal wrote: > > Thanks for the link. > > I meant was that there is a panel named Shortcuts which has both > Comments > and Attachments section that can be placed either on left or right. > If we > had a bottom layout then we could have placed it there too. But placing panels in a bottom layout doesn't mean much IMO. Panels are not meant to have a reduced vertical size. I think what you wanted is not Panels in the current sense but extension points in the skin to be able to add/modify content anywhere. This is the UI extension design we've been discussing for some time on the dev mailing list. It's planned for the future but no hard date has been set. BTW you could still achieve this right today using some javascript. Exactly like what is done by Greasemonkey (http://en.wikipedia.org/wiki/Greasemonkey ). Of course it's even easier to just modify the skin... ;) Thanks -Vincent > Anyway we can still achieve all this with current infrastructure too. > > Sachin > > > vmassol wrote: >> >> >> >> >>> Another thing I notice is that Comments and attachments section is >>> part of a >>> panel in the panel application. >> >> I don't understand what you mean here. >> >>> >>> So one can always add it to left or right pane, thus it does not >>> make much >>> sense to have it (by default) below every page. >>> >>> Lastly I see that in panels application we can configure the left >>> and right >>> panes. There should also be an option to configure top and bottom so >>> as to >>> complete a border layout. Thus tomorrow we can move this comments >>> and >>> attachments section in the bottom (for whatever spaces we need). >> >> Today this is done by the skin which provides a header and footer >> that >> you can customize... >> ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] move page
Hi all, how can I move a page from a space to another space? Is it possible changing the parent of that page? Thanks Raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Comments and attachments in a xwiki page
Thanks for the link. I meant was that there is a panel named Shortcuts which has both Comments and Attachments section that can be placed either on left or right. If we had a bottom layout then we could have placed it there too. Anyway we can still achieve all this with current infrastructure too. Sachin vmassol wrote: > > > > >> Another thing I notice is that Comments and attachments section is >> part of a >> panel in the panel application. > > I don't understand what you mean here. > >> >> So one can always add it to left or right pane, thus it does not >> make much >> sense to have it (by default) below every page. >> >> Lastly I see that in panels application we can configure the left >> and right >> panes. There should also be an option to configure top and bottom so >> as to >> complete a border layout. Thus tomorrow we can move this comments and >> attachments section in the bottom (for whatever spaces we need). > > Today this is done by the skin which provides a header and footer that > you can customize... > > -- View this message in context: http://www.nabble.com/Comments-and-attachments-in-a-xwiki-page-tp14949795p15002651.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] change parent
Hi all, I create a page to change the parent to a chosen page using: #set ($mydoc = $xwiki.getDocument("some.page")) $mydoc.setParent($targetdoc) $mydoc.save() It works but in the tree page I see the changed page into its original tree location. What is my fault ?? Thanks Raffo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Image with a link
Or even {image=} Guillaume On 21/01/2008, Vincent Massol <[EMAIL PROTECTED]> wrote: > > Hi Mattia, > > Check the attach and/or image macros in the code zone. > > Alternatively just use the HTML tags. > > > Thanks > -Vincent > > On Jan 21, 2008, at 1:20 PM, [EMAIL PROTECTED] wrote: > > Hy everybody, > > I've a little problem... I need to associate a link to an image so that i > could click on it and go to another page. Is that possible? How? (if I > insert an image and then associate a link on it, it'sn't working...) > > Thank you > Mattia > > > > > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Image with a link
Hi Mattia, Check the attach and/or image macros in the code zone. Alternatively just use the HTML tags. Thanks -Vincent On Jan 21, 2008, at 1:20 PM, [EMAIL PROTECTED] wrote: Hy everybody, I've a little problem... I need to associate a link to an image so that i could click on it and go to another page. Is that possible? How? (if I insert an image and then associate a link on it, it'sn't working...) Thank you Mattia ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Image with a link
Hy everybody, I've a little problem... I need to associate a link to an image so that i could click on it and go to another page. Is that possible? How? (if I insert an image and then associate a link on it, it'sn't working...) Thank you Mattia ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import of XAR: Java Heap Space Out Of Memory Exception in 1.2
Hi Antonio, On Jan 21, 2008, at 11:56 AM, Antonio Goncalves wrote: Hi all, I'm trying to upgrade XWiki from 1.0 to 1.2. The problem comes when I want to import my .xar file (6Mb) and get a Java Heap Space Out Of Memory Exception. I've checked your admin page http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsize and it looks like for my problem (file < 10Mb), only MySQL should be changed. So I've changed the max_allowed_packet parameter but the problem still occurs. I don't have anything in Tomcat or MySQL logs, which is a bit strange. The only trace I get is the one bellow. It looks like Lucene breaks because of the file upload not working. Any idea ? How could I get more details in the log ? There are 2 places where to make changes when you want to import a large XAR: 1) the mysql config as you said, 2) the XWikiPreferences object. Before 1.2 it had a max of 1MB if I recall correctly. In 1.2 we've upgraded it to 30MB I believe. However if you're using your old XWikiPreferences object then you'll have th max_upload_size set to the old value. See http://jira.xwiki.org/jira/browse/XE-145 Now regarding lucene I don't understand why this the import has anything to do with lucene but there's probably something I don't know here... Try changing the max file upload parameter in your xwikipreferences and try the upload again. -Vincent Thanks, Antonio [http://localhost:8080/xwiki/bin/upload/XWiki/Import] [http-8080- Processor25] ERROR lucene.IndexUpdater - invalid parameters given to add: XWiki.Import, null, {grouplist={xwiki:XWiki.XWikiGuest=[], xwiki:xwiki:XWiki.XWikiGuest=[]}, fileuploadlist=[name=null, StoreLocation=D:\Servers\Tomcat\apache-tomcat-5.5.23\temp \upload_662feb76_117990b87e0__8000_.tmp, size=77bytes, isFormField=true , FieldName=xredirect, name=null, StoreLocation=D:\Servers\Tomcat \apache-tomcat-5.5.23\temp \upload_662feb76_117990b87e0__8000_0001.tmp, size=20bytes, isFormField=true, FieldName=filename, name=Backup2008-01-20.xar , StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upl oad_662feb76_117990b87e0__8000_0002.tmp, size=6639095bytes, isFormField=false, FieldName=filepath], msg=com.xpn.xwiki.web.XWikiMessageTo [EMAIL PROTECTED], [EMAIL PROTECTED], baseskin=albatross, tdoc=XWiki.Import, ajax=false, locale=fr, doc= XWiki.Import, mainxwiki=x wiki, skin=albatross, message=javaheapspace, fileuploadplugin [EMAIL PROTECTED], vcontext=org.apache.v [EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Admin's ability to reset user passwords
Hi Brandon, On Jan 21, 2008, at 12:56 PM, Esbach, Brandon wrote: Hi Devs, Admin user should really be able to reset a user's password in the event that the user forgets their password (like with any other system). Something like a link for admin users simply called "set temporary password" that requires the user to change their password when they use this password would be perfect. Not really sure it's a bug, as you can -can- do this by editing objects directly, it's just not user friendly that way. It's simply that there's no direct UI for it but it's certainly supported. Since it's an admin thing, the UI is not that important though since an Admin knows how to edit objects. That said, I agree that a UI option would be nicer. Feel free to create a jira issue for it and submit a patch. Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Admin's ability to reset user passwords
Hi Devs, Admin user should really be able to reset a user's password in the event that the user forgets their password (like with any other system). Something like a link for admin users simply called "set temporary password" that requires the user to change their password when they use this password would be perfect. Not really sure it's a bug, as you can -can- do this by editing objects directly, it's just not user friendly that way. Brandon Esbach Software Engineer Wireless Systems Segment Tyco Electronics 4 Eastgate Road Eastgate Little Island Co. Cork Ireland Tel: +353-21-4808305 Email: [EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Import of XAR: Java Heap Space Out Of Memory Exception in 1.2
Hi all, I'm trying to upgrade XWiki from 1.0 to 1.2. The problem comes when I want to import my .xar file (6Mb) and get a Java Heap Space Out Of Memory Exception. I've checked your admin page http://www.xwiki.org/xwiki/bin/view/FAQ/Howtoincreasethemaximumattachmentsize and it looks like for my problem (file < 10Mb), only MySQL should be changed. So I've changed the max_allowed_packet parameter but the problem still occurs. I don't have anything in Tomcat or MySQL logs, which is a bit strange. The only trace I get is the one bellow. It looks like Lucene breaks because of the file upload not working. Any idea ? How could I get more details in the log ? Thanks, Antonio [http://localhost:8080/xwiki/bin/upload/XWiki/Import] [http-8080-Processor25] ERROR lucene.IndexUpdater - invalid parameters given to add: XWiki.Import, null, {grouplist={xwiki:XWiki.XWikiGuest=[], xwiki:xwiki:XWiki.XWikiGuest=[]}, fileuploadlist=[name=null, StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_.tmp, size=77bytes, isFormField=true , FieldName=xredirect, name=null, StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upload_662feb76_117990b87e0__8000_0001.tmp, size=20bytes, isFormField=true, FieldName=filename, name= Backup2008-01-20.xar , StoreLocation=D:\Servers\Tomcat\apache- tomcat-5.5.23\temp\upl oad_662feb76_117990b87e0__8000_0002.tmp, size=6639095bytes, isFormField=false, FieldName=filepath], msg=com.xpn.xwiki.web.XWikiMessageTo [EMAIL PROTECTED], [EMAIL PROTECTED], baseskin=albatross, tdoc= XWiki.Import, ajax=false, locale=fr, doc=XWiki.Import, mainxwiki=x wiki, skin=albatross, message=javaheapspace, [EMAIL PROTECTED], vcontext=org.apache.v [EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users