Thanks for the tips Vincent, very much appreciated. It's working now, good.
We'll add the $context.setCacheDuration(<durationinseconds>) for the cache.
Is there a default value BTW ? What would be an appropriate value ?
Thanks,
Antonio
2009/4/7 Vincent Massol <vincent(a)massol.net>
On Apr 7, 2009, at 8:36 AM, Antonio Goncalves wrote:
Yes, I suppose it's because XWikiPreferences
is under a protected
space. I'm
creating you a user and I'll send it to you.
I'm not sure what happened. I modified the page to exclude
WebPreferences and it worked. Note that it worked even without
excluding it too. Apparently just resaving the page made it work.
Since this page does an include in context from other pages it's
possible one of these other pages was doing something strange.
BTW might be good to use the rendering cache to ensure this page loads
quickly.
$context.setCacheDuration(<durationinseconds>)
One problem I have noticed on our wiki:
on
http://www.parisjug.org/xwiki/bin/edit/Speaker/WebHome?
editor=rights some panels on the right do not execute properly.
This is probably due to the fact that you must have migrated the
panels to a more recent version of XE that is installed in your farm.
Thanks
-Vincent
Antonio
2009/4/7 Vincent Massol <vincent(a)massol.net>
Hi Antonio,
I've tried to access that page but it's protected and not viewable by
guests so it asks me to login.
Thanks
-Vincent
On Apr 7, 2009, at 12:43 AM, Antonio Goncalves wrote:
Hi all,
Something really wired is hapening. We have a page that used to list
all our
speakers (
http://www.parisjug.org/xwiki/bin/view/Speaker/). It
contains the
following code :
#set($query="where doc.web='Speaker' and doc.name!='WebHome' order
by
doc.title desc")
#set($results = $xwiki.searchDocuments($query))
#foreach ($item in $results)
#includeInContext($item)
<br/>
#end
It always worked well. But now, when we click on the link, we are
automatically redirected to the XWikiPreferences pages. I've tried
to show
the history of the Speaker/WebHome page, but it's impossible, it
redirects
to the XWikiPreferences page.
I'm not sure there is anything wrong with the code of the page,
maybe rights
issue or something like that. Do you have any idea ?
Thanks,
Antonio
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
--
Antonio Goncalves (antonio.goncalves(a)gmail.com)
Software architect
Paris JUG leader :
www.parisjug.org
Web site :
www.antoniogoncalves.org
Blog:
jroller.com/agoncal
LinkedIn:
www.linkedin.com/in/agoncal
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
--
--
Antonio Goncalves (antonio.goncalves(a)gmail.com)
Software architect
Paris JUG leader :