Re: [xwiki-users] xwiki render cache not working?

2012-12-06 Thread David Delbecq
Rendering cache works well for me. Well, quite obviously, not for me :) First of all, not that your are mixing two different features here: what you find in xwiki.cfg and $context.setCacheDuration() are old caching system which is maintained for retro-compatibility reasons only in

Re: [xwiki-users] xwiki render cache not working?

2012-12-06 Thread Thomas Mortagne
On Thu, Dec 6, 2012 at 1:26 PM, David Delbecq david.delb...@meteo.bewrote: Rendering cache works well for me. Well, quite obviously, not for me :) First of all, not that your are mixing two different features here: what you find in xwiki.cfg and $context.setCacheDuration() are old

Re: [xwiki-users] BUG? xwiki render cache not working?

2012-12-06 Thread David Delbecq
Hello, i did a step by step analysis of the problem using eclipse debugger and i found the culprit. Before i submit a bugreport, can someone confirm me this is unexpected behaviour? Inside com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCache.getRenderedContent(DocumentReference

Re: [xwiki-users] BUG? xwiki render cache not working?

2012-12-06 Thread David Delbecq
Hello, i did a step by step analysis of the problem using eclipse debugger and i found the culprit. Before i submit a bugreport, can someone confirm me this is unexpected behaviour? Inside com.xpn.xwiki.internal.cache.rendering.DefaultRenderingCache.getRenderedContent(DocumentReference

Re: [xwiki-users] xwiki render cache not working?

2012-12-06 Thread David Delbecq
You can also use cache macro (see http://extensions.xwiki.org/xwiki/bin/view/Extension/Cache+Macro) to choose different timing for each contents. For what i read, it operates at a differente level, i caches the XDOM, not the rendered content. I am pretty sure XDOM uses more space in

Re: [xwiki-users] Problem accessing sub-wikis

2012-12-06 Thread Trash Mail
well, after a complete new installation of wiki its almost working.. there is only one thing left i dont get to work and i hope someone could help me out. the panels on the left and right won't appear no matter what i do. only for admin users and that seems really strange to me. any ideas?

[xwiki-users] How to display a local file

2012-12-06 Thread H.-Dirk Schmitt
Hi! I'm looking for a receipt to display a local file inside an xwiki page. The use case is that this is an intranet documentation provided by xwiki. Every user in the audience has normally some configuration files in a standardized location. The content may differ between for each user (or

Re: [xwiki-users] How to display a local file

2012-12-06 Thread Sergiu Dumitriu
On 12/06/2012 11:39 AM, H.-Dirk Schmitt wrote: Hi! I'm looking for a receipt to display a local file inside an xwiki page. The use case is that this is an intranet documentation provided by xwiki. Every user in the audience has normally some configuration files in a standardized location.

Re: [xwiki-users] How to display a local file

2012-12-06 Thread Jerome Velociter
On 12/06/2012 05:44 PM, Sergiu Dumitriu wrote: On 12/06/2012 11:39 AM, H.-Dirk Schmitt wrote: Hi! I'm looking for a receipt to display a local file inside an xwiki page. The use case is that this is an intranet documentation provided by xwiki. Every user in the audience has normally some

Re: [xwiki-users] How to display a local file

2012-12-06 Thread Paul Libbrecht
Why is $xwiki.getURLContent(file:///etc/...) not supposed to work? (if you have programming rights). paul Le 6 déc. 2012 à 08:44, Sergiu Dumitriu a écrit : On 12/06/2012 11:39 AM, H.-Dirk Schmitt wrote: Hi! I'm looking for a receipt to display a local file inside an xwiki page.

Re: [xwiki-users] How to display a local file

2012-12-06 Thread Sergiu Dumitriu
On 12/06/2012 12:04 PM, Paul Libbrecht wrote: Why is $xwiki.getURLContent(file:///etc/...) not supposed to work? (if you have programming rights). Because the OP asked for files local to the user's computer, not the server. file:/// on the server will still point to the server. The

Re: [xwiki-users] How to display a local file

2012-12-06 Thread Paul Libbrecht
Thanks Sergiu, I agree this is absolutely a dangerous thing to do and should not be encouraged at all! paul Le 6 déc. 2012 à 10:27, Sergiu Dumitriu a écrit : On 12/06/2012 12:04 PM, Paul Libbrecht wrote: Why is $xwiki.getURLContent(file:///etc/...) not supposed to work? (if you

Re: [xwiki-users] How to display a local file

2012-12-06 Thread Jeremie BOUSQUET
Hi, Looks like this configuration would better fit in a cookie... And a more xwikied solution could be to store it in an Xobject attached to the users profiles pages. Is there a special reason for having it on users computers, other than being user-specific ? BR, Jerem Le 6 déc. 2012 17:39,

Re: [xwiki-users] How to display a local file

2012-12-06 Thread H.-Dirk Schmitt
On 06.12.2012 19:47, Jeremie BOUSQUET wrote: Is there a special reason for having it on users computers, other than being user-specific ? Simple and consistent right management :-) If the user running the web browser haven't the right to view the file - it is not displayed. Why should a

Re: [xwiki-users] How to display a local file

2012-12-06 Thread H.-Dirk Schmitt
On 06.12.2012 17:44, Sergiu Dumitriu wrote: Try using an iframe. I have only seen examples with javascript manipulating the dom of the page. Is there a more simple solution ? Best Regards, H.-Dirk Schmitt -- Signature H.-Dirk Schmitt

[xwiki-users] Javascripted slideshow for home pages

2012-12-06 Thread Gerritjan Koekkoek
For one translation www.cdlsworld.org?language=nl we've included an iFrame that links to a 'hidden' website that holds a WOWSLIDER based html page. It is heavily javascripted with jQuery. The use of jQuery instead of Protoptype makes it difficult to use the wow slider javascript from within

[xwiki-users] [myxwiki] new wiki request

2012-12-06 Thread Jose Andres Gonzalez
Wiki -- Knowledge base for IT explanations Username: dogosuan Server Name: piensalo.myxwiki.org ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] XWiki login timeout

2012-12-06 Thread Hoang Tuan Viet
Hi all, I am usually out of session when editing XWiki page, after about 2 minutes. I have checked tomcat6's web.xml file: ... /servlet-mapping session-config session-timeout30/session-timeout /session-config ... as

Re: [xwiki-users] XWiki login timeout

2012-12-06 Thread Ludovic Dubost
Hi You should look if your IP (as received by the server) is changing and if your server has the ip restriction setting set in xwiki.cfg Ludovic Envoyé de mon iPhone Le 7 déc. 2012 à 05:28, Hoang Tuan Viet vie...@vccloud.vn a écrit : Hi all, I am usually out of session when editing XWiki

Re: [xwiki-users] BUG? xwiki render cache not working?

2012-12-06 Thread Marius Dumitru Florea
On Thu, Dec 6, 2012 at 3:37 PM, David Delbecq david.delb...@meteo.be wrote: Hello, i did a step by step analysis of the problem using eclipse debugger and i found the culprit. Before i submit a bugreport, can someone confirm me this is unexpected behaviour? Inside

Re: [xwiki-users] XWiki login timeout

2012-12-06 Thread Hoang Tuan Viet
Hi, In fact, my WAN IP is usually changed. I searched in xwiki.cfg but cannot find any section about ip restriction. Then I found this: http://jira.xwiki.org/browse/XWIKI-2256 I put xwiki.authentication.useip=0 in xwiki.cfg and restart tomcat, then the problem went away. Thank you very