Re: [xwiki-users] Panel Wizard - permissions

2011-05-09 Thread Le Génie
Hi Elsa,

You can read this page (found in the faq)
http://www.xwiki.org/xwiki/bin/view/FAQ/HowCanIMakeContentAppearOnlyForASpecificGroup

This applies for the content of the panel. I suppose that if you really want
to hide the panel, you have to apply this code snippet to the velocity
template of xwiki. This page may help
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins

Best regards,
Maxime

2011/5/6 Elsa Marks workflo...@gmail.com

 Hi...

 anyone can help me with this question :


 I have created an editor user and a student user.
 I want to modify the right panel . For example, I want to remove the quick
 links panel to the student user but not to the editor.
 Is is possible to do it  ?
 Thanks.


 2011/5/2 Elsa Marks workflo...@gmail.com

  Hi
 
  I have created an editor user and a student user.
  I want to modify the left panel . For example, I want to remove the quick
  links panel to the student user but not to the editor.
 
  Is is possible to do it  ?
 
  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] FavIcon

2011-05-02 Thread Le Génie
Hello Yannick,

First, go to the presentation section of the administration page.
Add the following lines in the HTTP Meta Information :

link rel=icon href=$xwiki.getSkinFile(favicon.ico)
type=image/x-icon/ link rel=shortcut icon
href=$xwiki.getSkinFile(favicon.ico) type=image/x-icon/

Then, visit the XWiki.DefaultSkin page and attach a favicon.ico file.
Finally, the most important, refresh your browser cache.

Hope this help.
Maxime

2011/5/1 Yannick Dewilde yannick.dewi...@gmail.com

 Hi,

 I am trying to include a FavIcon in my wiki and I've found this
 information, but it doesn't help me...

 Regards

 Yannick




 Sylvain Desbureaux wrote:
 * Hi,** I don't manage to put a favicon for xwiki. Any clues ?** *
 Well, a favicon is usually placed in the root of the URL, like
 www.myserver.com/favicon.ico

 Doing that in a java webapp container usually involves adding that file
 not to the xwiki webapp, but to the ROOT webapp. In tomcat, there is a
 ROOT directory inside webapps.

 Another solution is to put something like this in
 webapps/xwiki/skins/albatross/htmlheader.vm:

 link rel=icon href=$xwiki.getSkinFile(favicon.png)
 type=image/png/
 link rel=shortcut icon href=$xwiki.getSkinFile(favicon.png)
 type=image/png/

 and put a favicon.png (you can change the name, if you want) in
 webapps/xwiki/skins/albatross

 If you're not using the albatross skin, change the path accordingly.

 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] stylesheet override

2011-04-08 Thread Le Génie
See below

2011/4/8 Elena-Oana Tabaranu oana.tabar...@xwiki.com

 Hi,

 On 04/08/2011 02:38 AM, wojtek danilo wrote:
  Hi!
  I'm trying to override the css of my xwiki.
  I've been reading documents about making styleSheetExtensions (like
  MinimalStyleSheet Extension fro mhere:
  http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial
 ).
  I have to be doing something wrong because after creation StyleSheet
  extension like in this tutorial and setting use this extension to
 always
  nothing changes.
 You can check if your styles have been included on the HTML source of
 the page. There should be a link like this in the head:

 link  rel='stylesheet'type='text/css'href='/xwiki/bin/ssx/StyleSheet
 extension space/StyleSheet extension page'/

  additional I've seen that in Administration menu -  Look  feel -
  presentation I've got button that allow me cutomize current skin. after
  pressing it and sayin that I want to customize it I've got a lot of empty
  boxes (style, header, footer).
  Always when I'm trying to write there anything the whole css crash and
 the
  site looks ugly.
 The Header and the Footer templates display parts of your page. They
 should not be used to add CSS rules, use the Style template instead:
 @import microformats.css;
 @import colibri.css;
 /* add here your custom rules */


And as it is described here
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Skins
you can insert your CSS rules in a page Skin (the DefaultSkin or a new one
you that you can create), just fill in the style field (do not forget the
2 @import).
You don't need to update the files of your XWiki installation, so it will be
easier to upgrade XWiki.

Maxime


 Oana
  Please could you write, what is the simplest method to override some
  elements of the css of xwiki?
 
  I will be very thankfull!
  Wojtek
  ___
  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] What is the best strategy to document multiple versions (of a software) with XWiki ?

2011-04-05 Thread Le Génie
Hi Andreas,

Thanks to share your ideas about this very interesting subject.

Be careful when renaming the space in the xar : you have to rename the pages
but also the space name possibly present in page links.
The only drawback that I see in this approach is the high amount of space
that it may require, especially if you keep the versions of the attachments.

As each version is a space, it is easy to remove the right to update the
pages of the old versions.

Please keep us informed of your progresses.

Regards,
Maxime

2011/4/3 Andreas Hahn ah...@gmx.net

 Hi,

 I'm wondering how I should document multiple versions of a software with
 XWiki.

 1) Each versions documentation should be accessible under a version name
 that is part of the url
 http://www.thesoftware.org/version1/Reference_page1

 2) Current version should point (redirect ?) to the most recent version
 http://www.thesoftware.org/currentVersion/Reference_page1

 (Note that I have left off any parts of the url requried by XWiki (bin ...)

 Its important that all pages of a version can be referenced as a permalink.

 I'm thinking to do it this way but I'm wondering if there are any side
 effects I haven't thought of:
 - Versions are space names
 - Create a new version by copying the space from the last version
 - Copying the space is done by exporting the xar, renaming the space to
 the new version, then importing the .xar to recreate the last version.
 Any changes in the new version shall not modify documents of the last
 version (incl. attachments)

 - Change 'DocumentNotFound' template of 'currentVersion' (in a way that
 needs investigation) that it redirects all page requests for the space
 'currentVersion' to a configured version
 --- or ---
 - handle requests to 'currentVersion' in an upfront (Apache httpd) Proxy
 Server redirecting to a configured version

 Is this a reasonable approach to document multiple versions or do i miss
 something ?

 Any ideas welcome !

 thanks
 Andreas


 ___
 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: Upgrading Xwiki 2.4.3 to 2.7.1

2011-03-18 Thread Le Génie
Hi Ramon,

Paul is right, the schema upgrade occurs at the first page request, so the
page doesn't care.

I'm not sure but I think that the schema has not evolved between 2.4 and
2.7.1 so you could try to start the wiki with the database upgrade flag set
to false.

Are you in a farm (XEM) context ?

Don't forget to convert your XWikiPreferences page :
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise26#HNotesspecifictoXWikiEnterprise2.6

Regards,
Maxime

2011/3/17 Paul Libbrecht p...@hoplahup.net

 Ramon,

 I don't know these versions well but I believe the schema upgrade is at any
 page request so it wouldn't make a difference.

 Is the loong really long?

 paul


 Le 17 mars 2011 à 22:25, Ramon Gomes Brandão - SERINT a écrit :

  Anybody?
 
  Ramon Gomes Brandão
 
 
  -Original Message-
  From: users-boun...@xwiki.org in name of Ramon Gomes Brandão - SERINT
  Sent: Wed 16/3/2011 19:05
  To: users@xwiki.org
  Subject: [xwiki-users] Upgrading Xwiki 2.4.3 to 2.7.1
 
  Hi Xwiki Group,
 
  I am upgrading from 2.4.3 to 2.7.1. Right after I deploy the fresh new
 2.7.1 war, with proper update schema flag set on xwiki.cfg, and also the
 migration settings set properly according to the instructions, how should I
 procceed? Should I access the application first, without going directly to
 the import feature, in order to grant the schema update, or should I go
 directly to the import page (xwiki/bin/Import ...)?
 
  I've tried the first approach and it's taking so long for a very small
 database (about 13Mb), it seems that the migration is freezed. Is it normal?
 
  Regards,
 
  Ramon Gomes Brandão
 
  ___
  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] Problem installing xWiki

2011-03-18 Thread Le Génie
I encountered exactly the same issue 2 month ago but I don't remember
exactly how I fixed it.
It's a Tomcat6 problem.
Try to set to *false *the java property
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES

I hope this help.

Maxime



2011/3/18 Lunita hoshi.uts...@gmail.com

 Hi all,

 I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I
 have the following Java error:

 [...]

 SEVERE: The web application [/xwiki-enterprise-2.7.1] created a
 ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap]
 (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value
 of type [java.util.Hashtable] (value
 [{url=http://localhost:/xwiki-enterprise-2.7.1/bin/view/Main/}])
 but failed to remove it when the web application was stopped. This is
 very likely to create a memory leak.

 log4j:ERROR Error occured while converting date.
 java.lang.NullPointerException
at java.lang.System.arraycopy(Native Method)
at
 java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345)
at java.lang.StringBuffer.getChars(StringBuffer.java:218)
at
 org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130)
at java.text.DateFormat.format(DateFormat.java:333)


 [...]

 I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I
 copied from another tomcat instance which is working OK. I created
 log4j.properties according xwiki web, but I have the same error.
 Database connection is Oracle, and I don't know what to do.

 Any ideas?

 Regards,
 ___
 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] Problem installing xWiki

2011-03-18 Thread Le Génie
It'a a java system property, you have to set it in the java command line
with the syntax:
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false

-D is the java option to add a property to the execution environment.

An alternative way to define the property is to add the line in the
conf/catalina.properties file:
org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false

2011/3/18 Lunita hoshi.uts...@gmail.com

 Hi Maxime,

 Do you configure this parameter in server.xml? I have read that this
 feature if it is not set, it's true by default. Do youy have the whole
 line syntax to set this off?

 Thanxxx!!

 2011/3/18 Le Génie le.genie.logic...@gmail.com:
  I encountered exactly the same issue 2 month ago but I don't remember
  exactly how I fixed it.
  It's a Tomcat6 problem.
  Try to set to *false *the java property
  org.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES
 
  I hope this help.
 
  Maxime
 
 
 
  2011/3/18 Lunita hoshi.uts...@gmail.com
 
  Hi all,
 
  I'm I'm trying to install /xwiki-enterprise-2.7.1 on Tomcat 6. And I
  have the following Java error:
 
  [...]
 
  SEVERE: The web application [/xwiki-enterprise-2.7.1] created a
  ThreadLocal with key of type [org.apache.log4j.helpers.ThreadLocalMap]
  (value [org.apache.log4j.helpers.ThreadLocalMap@15ef45a]) and a value
  of type [java.util.Hashtable] (value
  [{url=http://localhost:/xwiki-enterprise-2.7.1/bin/view/Main/}])
  but failed to remove it when the web application was stopped. This is
  very likely to create a memory leak.
 
  log4j:ERROR Error occured while converting date.
  java.lang.NullPointerException
 at java.lang.System.arraycopy(Native Method)
 at
  java.lang.AbstractStringBuilder.getChars(AbstractStringBuilder.java:345)
 at java.lang.StringBuffer.getChars(StringBuffer.java:218)
 at
 
 org.apache.log4j.helpers.ISO8601DateFormat.format(ISO8601DateFormat.java:130)
 at java.text.DateFormat.format(DateFormat.java:333)
 
 
  [...]
 
  I didn't have the 'common' dir hanging on $TOMCAT_HOME dir, so I
  copied from another tomcat instance which is working OK. I created
  log4j.properties according xwiki web, but I have the same error.
  Database connection is Oracle, and I don't know what to do.
 
  Any ideas?
 
  Regards,
  ___
  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] Very annoyed with the deprecated parseMessage in my logs

2011-03-16 Thread Le Génie
Hi All,

In november, some guys propose to deprecate $xwiki.parseMessage :
http://markmail.org/message/7eorelxviymtyzc3

Surely, it was a good idea, I have every confidence in those guys.

But now, the xwiki.log file of XWiki 2.7 is full of WARNs. Do you have any
hint to make them disappear ?

Thanks for your help.
Maxime
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Drop mailing lists in favor of a forum software

2011-03-09 Thread Le Génie
This subject seems very controversial and I think it's an important point.
Thank you Andreas for submitting it.

+1 to remove the user list and move it to getsatisfaction.

Today, the XWiki community support using listserv is (imho) clearly a weak
point.
I don't know how Balsamiq or Jolicloud teams manage their work with
getsatisfaction but the result is very effective.

Maxime


2011/3/8 Vincent Massol vinc...@massol.net


 On Mar 8, 2011, at 3:04 PM, Sergiu Dumitriu wrote:

  On 03/08/2011 07:45 AM, Vincent Massol wrote:
  Hi Andreas,
 
  On Mar 7, 2011, at 11:13 PM, Andreas Hahn wrote:
 
  Hi everyone,
 
  I'd like to make the proposal to drop the existing mailing lists in
  favor of a forum (bulletin board) software.
 
  The objective is to promote the XWiki community discussions to a
 broader
  audience.
 
  1) A forum serves like an advertising window as anyone can read the
  contributions without subscription.
 
  You don't need any subscription to read mailing lists.
  See http://xwiki.markmail.org/
 
  2) Anyone can judge the activity by reading the view count.
 
  Same here:
  http://xwiki.markmail.org/
 
  3) New users can get in touch with the community without being urged to
  subscribe to a mailing list.
 
  How? Even with forums you need to subscribe.
 
  4) Many people consider mailing lists as spam and prefer not to
 subscribe
  5) Contributions have a longer visibility and older entries will get
  responses
 
  6) Communication gets more efficient as the same topics won't get
  repeatedly discussed
 
  7) To my experience forums get much better indexed by google as mail
  collectors like Nabble , Markmail, e.t.c.
  8) Forums encourage user to user discussions and you will see new users
  taking an active role
  9) There should be at least one additional category IMHO:
 administrators
  10) A forum is more pleasure to read once a topic split into many
 threads
  11) A forum is beneficial when expecting increasing support
 requirements
  - some real large scale forums were run by just a few moderators
  12) More people will see what a teriffic job the XWiki team does.
 
  Here's my +1
 
  I have some good news for you: we already have a forum! :)
 
  See http://dev.xwiki.org/xwiki/bin/view/Community/MailingLists
  And more specifically:
  http://dev.xwiki.org/xwiki/bin/view/Community/Forum
 
  Now if this forum doesn't fit your needs could you explain what
 requirements you'd have for a forum and which solution you'd pick?
  I personally liked jive forums but it doesn't exist anymore (it's folded
 into a full collaboration suite now).
 
  Thanks
  -Vincent
 
  This was thoroughly discussed four years ago, and the conclusion was
  against installing a specific forum, and stick with Nabble as a
  forum-like view of the mailing list activity:
  http://markmail.org/thread/gbdnyb7jbh4ha5ja

 Right I had forgotten about this discussion :)

 I do remember another one though (earlier than the one you pointed) where I
 was the one wanting a forum as a way to get more participation.

 What I'd really like to have that we don't currently have is a way to more
 visibly see who's participating more and thus encourage participation. A lot
 of forum do this by giving points to people who answer questions, then they
 get a title and a badge based on these points. Then you can list the top
 contributors.

 That said, thanks to markmail, I think our mailing lists have become a lot
 more browsable than before and we even get statistics:
 http://xwiki.markmail.org/search/?q=

 At some point in the past I looked at jive because it has this point system
 and it had the feature to be integrated on top of a mailing list. But since
 it disappeared I haven't found any other good option that would allow us to
 keep the list too.

 Now we have a real open question as to whether we want to keep our list AND
 create a getstatisfaction project for XWiki too (getsatisfaction or another
 similar tool). So far we've resisted doing this because it means scattering
 our support and thus reducing the support quality level (we cannot monitor
 several places easily). There are some guys who post and ask questions about
 xwiki on developez.com for example (see http://tinyurl.com/4ftdyly) but
 since we don't answer there I believe people either think xwiki is not well
 supported or they find their way to the official support location.

 One one hand I'd love to use a tool such as getsatisfaction, OTOH I don't
 know how we can manage properly both our lists + getsatisfaction.

 One solution would be to remove the user list and only keep the devs list
 and move users to getsatisfaction but I'm not sure how good or bad that
 would be.

 Anyone having any thoughts on this?

 Thanks
 -Vincent

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

___
users mailing list
users@xwiki.org

[xwiki-users] Desperately Seeking Emoticons

2011-02-28 Thread Le Génie
Hi XWikiers,

I know that since XWiki 2.6, emoticons are rendered as images. But I looking
for the documentation of this feature to get the supported syntax.
I have tried to search emoticon in xwiki.org but Lucene returns an empty
result.
I have tried to google it and the only easy to read result is
http://extensions.xwiki.org/xwiki/bin/view/Extension/Emoticon+Macro.

Well, finally I just find this page :
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise26#H3Icon2FEmoticonSupport

Does someone know another page explaining this cool feature ?

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


Re: [xwiki-users] Bug Fixing Day: Thursday, February 10

2011-02-08 Thread Le Génie
Hi Sergiu,

Just a question :
What is the targeted release ?  2.7.1 ?

Best regards,
Maxime

2011/2/8 Sergiu Dumitriu ser...@xwiki.com

 Hi community,

 This Thursday we'd like to do a Bugfixing Day, and everyone is welcome
 to participate with bug reporting or patching.

 (Sorry, forgot to announce this earlier)

 --
 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 produce a doc from a set of XWiki pages ?Youradvice is welcome

2011-02-08 Thread Le Génie
Hello,

Just downloaded the last snapshot
xwiki-enterprise-jetty-hsqldb-3.0-20110208.100613-162.zip
Run it, add an image in Sandbox.TestPage2 then try to generate a multipage
pdf using the following :
http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdfincludechilds=2pagebreaks=1

Works fine (the generated pdf is 10 pages long) but the Wiki Admin page is
also included in the pdf. Don't know if it is a bug or a feature. Of course
Sandbox.WebPreferences is a child of the WebHome page.

So, *includelinks* intead of *includechilds *is a good option.
http://localhost:8080/xwiki/bin/export/Sandbox/WebHome?format=pdfincludelinks=2pagebreaks=1
Just for your info, the link to XWiki.XWikiSyntax is not followed (and I
prefer but it is strange).

Thanks for the fix, I think it is a very important feature to export the
content of a wiki in an easy to email format (waiting for the death of the
email).
Maxime


2011/2/2 Vincent Massol vinc...@massol.net


 On Jan 31, 2011, at 4:07 PM, Vincent Massol wrote:

 
  On Jan 31, 2011, at 3:51 PM, Sergiu Dumitriu wrote:
 
  On 01/31/2011 03:10 PM, Le Génie wrote:
  Final episode, the multipage export.
  The images included in the child pages are never present in the
 generated
  pdf. In the log, a lot of Image not found messages appear. In fact,
 the
  images of a child page are looked up in the primary one.
 
  Tell me if you want more details.
 
  I think this is known, it's caused by the fact that image:filename.png
  doesn't use the correct base document. It's a problem with the rendering
  engine,
 
  Yes i have that on my todo to fix.

 Fixed in http://jira.xwiki.org/jira/browse/XWIKI-5902 (3.0M2).

 Thanks
 -Vincent

  As Sergiu said, absolute refs should work fine.
 
  Thanks
  -Vincent
 
  not with the PDF export. Can you try to use the full reference
  for images, as in image:real.docum...@filename.png, and see if it
 works?
 
 
 
  2011/1/31 Le Géniele.genie.logic...@gmail.com
 
  Hi Sergiu,
 
  I'm testing with the 3.0 snapshot.
 
  Image 1 [[image:Copie01.jpg||width=50%]] PDF ok
  Image 2 [[image:Copie02.jpg||height=65% width=65%]] PDF ok
  Image 3 [[image:Copie03.jpg||width=400px]] DOES NOT appear in the
 PDF
 
  Now I will test the multipage PDF export.
 
  Regards,
  Maxime
 
 
  2011/1/30 Sergiu Dumitriuser...@xwiki.com
 
  On 01/28/2011 09:57 AM, Schömer, Jörg wrote:
  Hi all,
 
  the PDF export works fine if the width attribute is set in percent,
 but
  when measured in pixel the image is missing.
 
  XWIKI ENTERPRISE 2.6.33065
 
  I made some improvements in the PDF export handling of images (only
 on
  trunk at the moment, will be part of the future 3.0M2). Could someone
  verify this works fine for their images? Download the latest build
 from
 
 
 http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/3.0-SNAPSHOT/
  and check the PDF export.
 
  Best regards,
   Jörg
 
 
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On
  Behalf Of Schömer, Jörg
  Sent: Tuesday, January 11, 2011 11:01 AM
  To: XWiki Users
  Subject: Re: [xwiki-users] How to produce a doc from a set of XWiki
  pages ?Youradvice is welcome
 
  Hi Maxime,
 
  I figured out, that images with attributes width or hight are not
  rendered into the PDF. Remove the attributes and try again.
 
  e.g.
  [[image:your.png||height=480 width=640]]
  should be changed to
  [[image:your.png]]
 
  Best regards,
   Jörg
 
  -Ursprüngliche Nachricht-
  Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im
  Auftrag von Le Génie
  Gesendet: Freitag, 7. Januar 2011 13:04
  An: XWiki Users
  Betreff: [xwiki-users] How to produce a doc from a set of XWiki
 pages ?
  Youradvice is welcome
 
  Hi XWikiers,
 
  We have written a software specification (SRD) inside our wiki. This
  specification is a set of pages with graphics (as attached images)
 and
  mockups (using Balsamiq Mockups).
 
  Now, we want to communicate easily this specification to our
 external
  partner and, of course, they can't access our wiki (intranet only).
  Our first idea was to produce a document (PDF). We try to use the
 PDF
  export
  but it seems that the inclusion of the children pages doesn't work.
  Other
  problem with PDF (with a unique page), the included images don't
 appear.
 
  Just for info, we are using the last 2.7 release of XWiki.
 
  So, do you have encountered the same need and how did you solve it ?
 Do
  XWord may help ? Other idea ?
  Thanks for your response.
 

 ___
 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] Test in a virtual wiki if an user is in a group from main wiki

2011-02-08 Thread Le Génie
Hi,

Do you tried this :
#if($xwiki.getUser().isUserInGroup('xwiki:XWiki.testvirtualgroup'))
xwiki: is the prefix of the main wiki

Hope this help
Maxime

2011/2/8 Pidoux75 pidou...@gmail.com


 Hi,

 I would like to know if is it possible to know if an user is in a group
 with
 use of isUserInGroup but when I do the test in a virtual wiki and the
 group is in the main wiki?

 For example, in the main Wiki, I have the TestGroup01 with user Toto
 inside, then I would like to test in the virual wiki WikiTest

 So, I tried when the group is the virtual wiki (then it works) with:

 #if($xwiki.getUser().isUserInGroup('XWiki.testvirtualgroup'))
  ok
 #end

 but I can't do when the group is in the main wiki and dunno if it's
 possible
 or not.
 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Test-in-a-virtual-wiki-if-an-user-is-in-a-group-from-main-wiki-tp6003586p6003586.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


Re: [xwiki-users] Create document from many template

2011-02-04 Thread Le Génie
See below.

2011/2/3 Sergiu Dumitriu ser...@xwiki.com

 On 02/03/2011 07:53 PM, Lukapt wrote:
 
  Hi,
 
  Sorry for digging up this thread, but I'm facing the same problem.
 
  I want to have a template page that allows the creation of other pages.
 For
  example, I want to have a template page (ResearcherTemplate) that allow
 the
  creation of Researchers.
 
  What I tried to do was create a new page and add the following code:
  $response.sendRedirect($xwiki.getURL($request.documentName, 'inline',
  template=${request.ResearcherTemplate}))
 
  but when I press Save and View I get the same error than Roberto: This
  document already exist

 What version of XWiki are you using? Note that recent versions have the
 so called Document Templates, check the wiki administration.


Do you know where is the documentation page for Document Templates ?
The only page I found about this topic is
http://platform.xwiki.org/xwiki/bin/view/Features/Forms but it doesn't seem
to be exactly the same feature.
Many thanks.

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


Re: [xwiki-users] Create document from many template

2011-02-04 Thread Le Génie
Yes, thank you Vincent, it's good enough to find it.
And I think that the description (in Extension.Administration Application)
is well done, very useful and complete.

May be it could be made available in the administration guide. It's an easy
to use and very useful feature.

Maxime

2011/2/4 Vincent Massol vinc...@massol.net


 On Feb 4, 2011, at 10:36 AM, Vincent Massol wrote:

 
  On Feb 4, 2011, at 10:18 AM, Le Génie wrote:
 
  See below.
 
  2011/2/3 Sergiu Dumitriu ser...@xwiki.com
 
  On 02/03/2011 07:53 PM, Lukapt wrote:
 
  Hi,
 
  Sorry for digging up this thread, but I'm facing the same problem.
 
  I want to have a template page that allows the creation of other
 pages.
  For
  example, I want to have a template page (ResearcherTemplate) that
 allow
  the
  creation of Researchers.
 
  What I tried to do was create a new page and add the following code:
  $response.sendRedirect($xwiki.getURL($request.documentName, 'inline',
  template=${request.ResearcherTemplate}))
 
  but when I press Save and View I get the same error than Roberto:
 This
  document already exist
 
  What version of XWiki are you using? Note that recent versions have the
  so called Document Templates, check the wiki administration.
 
 
  Do you know where is the documentation page for Document Templates ?
  The only page I found about this topic is
  http://platform.xwiki.org/xwiki/bin/view/Features/Forms but it doesn't
 seem
  to be exactly the same feature.
  Many thanks.
 
  It's here
 http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Application#HEasyTemplatesCreationandAdministration28StartingwithXWikiEnterprise2.4M229
 
  I'm going to try linking to it in the platform features page.

 I've added a quick blurb on
 http://platform.xwiki.org/xwiki/bin/view/Features/Forms (needs to be
 improved) which is referenced from the Platform and XWiki Enterprise feature
 pages.

 Is that good enough to find it?

 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] Fwd: Users created through admin options have dual authentication when LDAP is on

2011-02-02 Thread Le Génie
Hi Juan,

I encounter the same question and my answer is different.

In do not create the user, I just add it in the groups without using the
wizard, just typing XWiki.login where login is the LDAP login of the user.

Hope this help.

Maxime

2011/2/2 Juan Carlos Vizueta jvizu...@gmail.com

 Ooops!, I forgot, I'm using xwiki-enterprise-web-2.5.1

 I have authentication class set like follows:


 xwiki.authentication.authclass=com.xpn.xwiki.user.impl.LDAP.XWikiLDAPAuthServiceImpl

 -- Forwarded message --
 From: Juan Carlos Vizueta jvizu...@gmail.com
 Date: Tue, Feb 1, 2011 at 6:36 PM
 Subject: Users created through admin options have dual authentication when
 LDAP is on
 To: users@xwiki.org


 Hi,

 I added my LDAP users to Xwiki manually one by one through the Xwiki
 Administration form, I did that so I can add them to their corresponding
 groups so they have their correct user rights since their first login.

 When creating a new user through the form, the password is mandatory, so I
 copy/pasted the user in the password field (e.g.: user jsmith and password
 jsmith as well).

 Then when I asked the user to login, she could login correctly, but then I
 thought maybe I should try to login using the password I set on the form,
 and oh surprise, it logged in too!, is this the correct behavior or did I
 do
 something wrong here?

 I need users to login only when entering their ldap password, not their
 xwiki password.

 Thanks in advance.

 JC
 ___
 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 produce a doc from a set of XWiki pages ?Youradvice is welcome

2011-01-31 Thread Le Génie
Hi Sergiu,

I'm testing with the 3.0 snapshot.

Image 1 [[image:Copie01.jpg||width=50%]] PDF ok
Image 2 [[image:Copie02.jpg||height=65% width=65%]] PDF ok
Image 3 [[image:Copie03.jpg||width=400px]] DOES NOT appear in the PDF

Now I will test the multipage PDF export.

Regards,
Maxime


2011/1/30 Sergiu Dumitriu ser...@xwiki.com

 On 01/28/2011 09:57 AM, Schömer, Jörg wrote:
  Hi all,
 
  the PDF export works fine if the width attribute is set in percent, but
 when measured in pixel the image is missing.
 
  XWIKI ENTERPRISE 2.6.33065

 I made some improvements in the PDF export handling of images (only on
 trunk at the moment, will be part of the future 3.0M2). Could someone
 verify this works fine for their images? Download the latest build from

 http://maven.xwiki.org/snapshots/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/3.0-SNAPSHOT/
 and check the PDF export.

  Best regards,
 Jörg
 
 
  -Original Message-
  From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf
 Of Schömer, Jörg
  Sent: Tuesday, January 11, 2011 11:01 AM
  To: XWiki Users
  Subject: Re: [xwiki-users] How to produce a doc from a set of XWiki pages
 ?Youradvice is welcome
 
  Hi Maxime,
 
  I figured out, that images with attributes width or hight are not
 rendered into the PDF. Remove the attributes and try again.
 
  e.g.
  [[image:your.png||height=480 width=640]]
  should be changed to
  [[image:your.png]]
 
  Best regards,
 Jörg
 
  -Ursprüngliche Nachricht-
  Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Le Génie
  Gesendet: Freitag, 7. Januar 2011 13:04
  An: XWiki Users
  Betreff: [xwiki-users] How to produce a doc from a set of XWiki pages ?
 Youradvice is welcome
 
  Hi XWikiers,
 
  We have written a software specification (SRD) inside our wiki. This
  specification is a set of pages with graphics (as attached images) and
  mockups (using Balsamiq Mockups).
 
  Now, we want to communicate easily this specification to our external
  partner and, of course, they can't access our wiki (intranet only).
  Our first idea was to produce a document (PDF). We try to use the PDF
 export
  but it seems that the inclusion of the children pages doesn't work. Other
  problem with PDF (with a unique page), the included images don't appear.
 
  Just for info, we are using the last 2.7 release of XWiki.
 
  So, do you have encountered the same need and how did you solve it ? Do
  XWord may help ? Other idea ?
  Thanks for your response.


 --
 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] [Extensions] Jeans Color Theme

2011-01-19 Thread Le Génie
Really cool! I will try it.

Maxime

2011/1/19 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com

 Cool!

 Thanks,
 Marius

 On 01/19/2011 01:13 AM, Raluca Stavro wrote:
  Hello,
 
  I would like to share with you a new Color Theme extension called
 'Jeans'.
  Grab it from here:
  http://extensions.xwiki.org/xwiki/bin/view/Extension/Jeans+ColorTheme
  .
 
  Fell free to add new color theme extensions on xwiki.org.
 
  Raluca.
  ___
  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 produce a doc from a set of XWiki pages ? Youradvice is welcome

2011-01-14 Thread Le Génie
This is the result of my investigations concerning the PDF export.

First, in a 2.7 wiki farm in url path mode, the includechilds parameter
doesn't work except in the main wiki. This doesn't generate an error nor a
warning, but the pdf file includes only the starting page.

Other point, in a simple wiki (not a member of a farm), the includechilds
parameter works fine but only the images of the starting page are included
in the pdf. To be clear : the images included in the children pages don't
appear in the generated pdf.

Could someone confirm/reproduce theses 2 bugs ? I will create the jira
issues.

So, we tried to produce the document using an external tool HtmlDoc (
http://www.htmldoc.org) that converts html files in a pdf doc. First we have
to develop a special skin because HtmlDoc doesn't support CSS, then the 1.8
release of HtmlDoc doesn't support UTF8, so the generated doc contains a lot
of awful characters. Finally, it is not a good solution.

Maxime


2011/1/12 Le Génie le.genie.logic...@gmail.com

 Hi Jörg,

 Thank you for your advice about images. I'm just seeing that there is an
 existing issue in jira about this.

 But my main problem is with the includechilds parameter. Do you succeed to
 produce an unique pdf with a set of pages ?

 Maxime

 2011/1/11 Schömer, Jörg joerg.schoe...@lwv-hessen.de

 Hi Maxime,

 I figured out, that images with attributes width or hight are not rendered
 into the PDF. Remove the attributes and try again.

 e.g.
 [[image:your.png||height=480 width=640]]
 should be changed to
 [[image:your.png]]

 Best regards,
  Jörg

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Le Génie
 Gesendet: Freitag, 7. Januar 2011 13:04
 An: XWiki Users
 Betreff: [xwiki-users] How to produce a doc from a set of XWiki pages ?
 Youradvice is welcome

 Hi XWikiers,

 We have written a software specification (SRD) inside our wiki. This
 specification is a set of pages with graphics (as attached images) and
 mockups (using Balsamiq Mockups).

 Now, we want to communicate easily this specification to our external
 partner and, of course, they can't access our wiki (intranet only).
 Our first idea was to produce a document (PDF). We try to use the PDF
 export
 but it seems that the inclusion of the children pages doesn't work. Other
 problem with PDF (with a unique page), the included images don't appear.

 Just for info, we are using the last 2.7 release of XWiki.

 So, do you have encountered the same need and how did you solve it ? Do
 XWord may help ? Other idea ?
 Thanks for your response.

 Maxime
 ___
 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 produce a doc from a set of XWiki pages ? Youradvice is welcome

2011-01-12 Thread Le Génie
Hi Jörg,

Thank you for your advice about images. I'm just seeing that there is an
existing issue in jira about this.

But my main problem is with the includechilds parameter. Do you succeed to
produce an unique pdf with a set of pages ?

Maxime

2011/1/11 Schömer, Jörg joerg.schoe...@lwv-hessen.de

 Hi Maxime,

 I figured out, that images with attributes width or hight are not rendered
 into the PDF. Remove the attributes and try again.

 e.g.
 [[image:your.png||height=480 width=640]]
 should be changed to
 [[image:your.png]]

 Best regards,
  Jörg

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag
 von Le Génie
 Gesendet: Freitag, 7. Januar 2011 13:04
 An: XWiki Users
 Betreff: [xwiki-users] How to produce a doc from a set of XWiki pages ?
 Youradvice is welcome

 Hi XWikiers,

 We have written a software specification (SRD) inside our wiki. This
 specification is a set of pages with graphics (as attached images) and
 mockups (using Balsamiq Mockups).

 Now, we want to communicate easily this specification to our external
 partner and, of course, they can't access our wiki (intranet only).
 Our first idea was to produce a document (PDF). We try to use the PDF
 export
 but it seems that the inclusion of the children pages doesn't work. Other
 problem with PDF (with a unique page), the included images don't appear.

 Just for info, we are using the last 2.7 release of XWiki.

 So, do you have encountered the same need and how did you solve it ? Do
 XWord may help ? Other idea ?
 Thanks for your response.

 Maxime
 ___
 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 produce a doc from a set of XWiki pages ? Your advice is welcome

2011-01-07 Thread Le Génie
Hi XWikiers,

We have written a software specification (SRD) inside our wiki. This
specification is a set of pages with graphics (as attached images) and
mockups (using Balsamiq Mockups).

Now, we want to communicate easily this specification to our external
partner and, of course, they can't access our wiki (intranet only).
Our first idea was to produce a document (PDF). We try to use the PDF export
but it seems that the inclusion of the children pages doesn't work. Other
problem with PDF (with a unique page), the included images don't appear.

Just for info, we are using the last 2.7 release of XWiki.

So, do you have encountered the same need and how did you solve it ? Do
XWord may help ? Other idea ?
Thanks for your response.

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


Re: [xwiki-users] Clean History Document

2010-12-21 Thread Le Génie
Use this snippet with care. I've just tried it on my test environment and my
attachment store seems to be corrupted. Investigating ...

2010/12/20 Eugen Colesnicov ecolesni...@gmail.com


 For the clearing attachments history - look here:

 http://xwiki.475771.n2.nabble.com/How-can-one-delete-older-versions-of-any-given-attachment-td4794525.html
 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Clean-History-Document-tp5834419p5853576.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


Re: [xwiki-users] Failed to execute the [html] macro

2010-12-20 Thread Le Génie
Hi,

I don't know if it is the answer but in your copie of the code, you type
\div in place of /div.

Regards,
Maxime

2010/12/20 Gerritjan Koekkoek gerritjankoekk...@gmail.com

 Hi
 I get this error (Failed to execute the [html] macro) if I change the
 following:

 #macro(ShowFlag $CountryCode)
  #set($ImageExtension = '.png')
  #set($CountryCodeFile = $CountryCode + $ImageExtension)
  {{html}}
  img
 src=../../download/CdLSAssociations/FlagAttachments/$CountryCodeFile
   alt=$CountryCode
   title=$CountryCode/
  {{/html}}
 #end

 to this

 #macro(ShowFlag $CountryCode)
  #set($ImageExtension = '.png')
  #set($CountryCodeFile = $CountryCode + $ImageExtension)
  {{html clean=true}}
  div class=flags
  img
 src=../../download/CdLSAssociations/FlagAttachments/$CountryCodeFile
   alt=$CountryCode
   title=$CountryCode/
  \div
  {{/html}}
 #end

 Why does adding the div class... and /div give this error?

 Gerritjan
 ___
 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] Dropping support for IE6?

2010-12-14 Thread Le Génie
Hi Vincent,

Of course, you MUST drop the IE6 support.
+1

Maxime

2010/12/14 Vincent Massol vinc...@massol.net

 Hi everyone,

 As users, I'm wondering what you'd think if we were to drop support for IE6
 in the XWiki Enterprise 3.X cycle. Would that be a huge problem for you?

 The reason I'm asking is because supporting IE6 costs us a lot in term of
 extra development time and by dropping it we could be faster on other stuff.

 Note that this is just me asking, there's no plan about this at this point
 in time, I'm just curious to have some feedback, especially since support
 for IE6 has been dropped for lots of services and software out there
 (including Microsoft).

 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] Clean History Document

2010-12-14 Thread Le Génie
A question related to this one : how to delete the old revision of an
attachement ?

I think that a purge snippet that delete all the revision (of a page or an
attachment) older than N (5 or 3) would be very useful.

Does someone develop this kind of script ?

Maxime

2010/12/14 super54 supe...@free.fr


 Hi all,

 On my wiki, I have many modification and my list grown...

 I search on forum and in Internet and i have not found any script to clean
 the history

 I just find a suggestion...
 you can write a scheduler task that runs once a week and
 resets the history for the documents with at least 50 versions, or
 delete all versions older than one month, for example.

 How can I create this on my wiki ?


 Thanks for all.
 --
 View this message in context:
 http://xwiki.475771.n2.nabble.com/Clean-History-Document-tp5834419p5834419.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


Re: [xwiki-users] documentation about xar format?

2010-12-13 Thread Le Génie
Hi Paul,

I think that the best description of export is here
http://platform.xwiki.org/xwiki/bin/view/Features/Exports#HXARExport

Regards,
Maxime

2010/12/9 Paul Libbrecht p...@hoplahup.net


 Hello group,

 I'm trying to understand the options of xar import/export.

 Given a set of pages, one has the following options to export:
 - with history (ie. with previous version?)
 - backup pack (with author-names?)

 And to import:
 - with history (i.e. ignore or not the fact that history is included in the
 xar?)

 Are my interpretations correct?
 Is there one way in these combinations to make it such as that the xar does
 not remove the previous history after importing?

 thanks in advance

 paul
 ___
 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] Include Macro failed in a page with annotation

2010-12-10 Thread Le Génie
Hi guys,

In fact, in the original source, the included page is present. But in the
generated source (the DOM as a result of the JS execution) the included page
is replaced by the Macro error message (with its stack trace).
Very strange ! If you have an idea, I would be very pleased to hear about
it.

Best regards,
Maxime

2010/12/8 Le Génie le.genie.logic...@gmail.com

 Hi Thomas,

 You are right, the exception is on the html source.
 And the verdict is :
 Caused by: org.xwiki.rendering.macro.MacroExecutionException: Current user
 doesn't have view rights on document [Outils.CommonScript]

 But it's a lie ! Of course, I have the right to view this page, in fact, I
 am the creator of this page and I can view (or edit) it directly.

 I can reproduce the problem with IE7 and Firefox3.6.
 The Wiki is included in a farm in path mode.

 Just to remember, if I include this page in a page without annotation, all
 is fine.

 Thank you for your help.
 Maxime


 org.xwiki.rendering.macro.MacroExecutionException: Failed to get content
 for Document [Outils.CommonScript] at
 org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:172)
 at
 org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:57)
 at
 org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:184)
 at
 org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:129)
 at
 org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:85)
 at
 org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:73)
 at
 org.xwiki.annotation.internal.DefaultAnnotationService.getAnnotatedRenderedContent(DefaultAnnotationService.java:135)
 at
 org.xwiki.annotation.rest.internal.AbstractAnnotationRESTResource.renderDocumentWithAnnotations(AbstractAnnotationRESTResource.java:209)
 at
 org.xwiki.annotation.rest.internal.AbstractAnnotationRESTResource.getSuccessResponseWithAnnotatedContent(AbstractAnnotationRESTResource.java:107)
 at
 org.xwiki.annotation.rest.internal.AnnotationsRESTResource.doGetAnnotatedContent(AnnotationsRESTResource.java:85)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597) at
 org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.internalInvoke(AbstractMethodWrapper.java:164)
 at
 org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(ResourceMethod.java:287)
 at
 org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:636)
 at org.restlet.ext.jaxrs.JaxRsRestlet.handle(JaxRsRestlet.java:380) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Router.handle(Router.java:504) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Guard.accept(Guard.java:198) at
 org.restlet.Guard.doHandle(Guard.java:354) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 com.noelios.restlet.StatusFilter.doHandle(StatusFilter.java:130) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at
 com.noelios.restlet.application.ApplicationHelper.handle(ApplicationHelper.java:112)
 at org.restlet.Application.handle(Application.java:341) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Router.handle(Router.java:504) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 org.restlet.Router.handle(Router.java:504) at
 org.restlet.Filter.doHandle(Filter.java:150) at
 org.restlet.Filter.handle(Filter.java:195) at
 com.noelios.restlet.ChainHelper.handle(ChainHelper.java:124) at
 org.restlet.Component.handle(Component.java:673) at
 org.restlet.Server.handle(Server.java:331) at
 com.noelios.restlet.ServerHelper.handle(ServerHelper.java:68) at
 com.noelios.restlet.http.HttpServerHelper.handle(HttpServerHelper.java:147)
 at
 com.noelios.restlet.ext.servlet.ServerServlet.service

Re: [xwiki-users] Include Macro failed in a page with annotation

2010-12-08 Thread Le Génie
)
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
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
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.valves.AccessLogValve.invoke(AccessLogValve.java:555)
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.Http11AprProcessor.process(Http11AprProcessor.java:861)
at
org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at
org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:619) Caused by:
org.xwiki.rendering.macro.MacroExecutionException: Current user doesn't have
view rights on document [Outils.CommonScript] at
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:168)
... 78 more

2010/12/7 Thomas Mortagne thomas.morta...@xwiki.com

 On Tue, Dec 7, 2010 at 14:18, Le Génie le.genie.logic...@gmail.com
 wrote:
  Hi Thomas,
 
  No, I can click but nothing occurs. No exception or stack trace shown.

 That's weird since macro errors like Failed to execute the [include]
 macro always come from an exception. Maybe you have a js issue that
 make impossible to display the error details, you can probably find it
 in the html source.

 
  2010/12/7 Thomas Mortagne thomas.morta...@xwiki.com
 
  On Tue, Dec 7, 2010 at 12:25, Le Génie le.genie.logic...@gmail.com
  wrote:
   Hi,
  
   I use XWiki XEM 2.4.4 and when I add an annotation to a page, the
 include
   macro (also present in the same page) displays :
   Failed to execute the [include] macro
  
   It seems to be the issue XSKINX-39 but it was fixed a long time ago.
   Nothing in the xwiki or tomcat log.
  
   Is there something to verify ?
 
  Could you click on the error box and get the full detail.
 
  
   Thank for your help.
  
   Maxime
   ___
   users mailing list
   users@xwiki.org
   http://lists.xwiki.org/mailman/listinfo/users
  
 
 
 
  --
  Thomas Mortagne
  ___
  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
 



 --
 Thomas Mortagne
 ___
 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] Include Macro failed in a page with annotation

2010-12-07 Thread Le Génie
Hi,

I use XWiki XEM 2.4.4 and when I add an annotation to a page, the include
macro (also present in the same page) displays :
Failed to execute the [include] macro

It seems to be the issue XSKINX-39 but it was fixed a long time ago.
Nothing in the xwiki or tomcat log.

Is there something to verify ?

Thank for your help.

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


Re: [xwiki-users] confirmed registrations

2010-12-07 Thread Le Génie
Hi Paul,

I'm not very familiar with registration because I'm not using it.

But I can suggest this idea.
Each new user is automatically included in the XWikiAllGroup. If you don't
give right to this group, self registered users can't see your content.
Then the administrator can add them to a correct group (with the proper
rights) or delete them.

Hope this help.

Maxime

2010/12/7 Ricardo Rodriguez [eBioTIC.] ricardo.rodrig...@ebiotic.net



 Paul Harris wrote:
  Hi all,
 
  I see in the Access Rights documentation that there are 3 ways it can
 be
  set up:
 
  Open Wiki
  Public Wiki
  Public Wiki with confirmed registration
 
  All of those options allow the user to register without forcing the admin
 to
  confirm the registration.
  I don't want users to be able to register themselves.  I have a small set
 of
  special users and I want to be able to register them manually, or at
 least
  have to confirm their registration before an account is created for them.
 
  any normal visitor should not be able to modify anything on the website,
 and
  that includes registering themselves.
 
  is this possible?
  thanks
  Paul
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 

 To avoid self-registration:

 1. Log with an user with administration rights
 2. Go to Administer Wiki
 3. Go to Rights
 4. Users' Rights
 5. Uncheck Register for Unregistered Users

 To the best of my knowledge, out of the box, there is not possible to
 enforce registration approval by an admin or any other user.

 HTH,

 Ricardo

 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 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] Include Macro failed in a page with annotation

2010-12-07 Thread Le Génie
Hi Thomas,

No, I can click but nothing occurs. No exception or stack trace shown.

2010/12/7 Thomas Mortagne thomas.morta...@xwiki.com

 On Tue, Dec 7, 2010 at 12:25, Le Génie le.genie.logic...@gmail.com
 wrote:
  Hi,
 
  I use XWiki XEM 2.4.4 and when I add an annotation to a page, the include
  macro (also present in the same page) displays :
  Failed to execute the [include] macro
 
  It seems to be the issue XSKINX-39 but it was fixed a long time ago.
  Nothing in the xwiki or tomcat log.
 
  Is there something to verify ?

 Could you click on the error box and get the full detail.

 
  Thank for your help.
 
  Maxime
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 



 --
 Thomas Mortagne
 ___
 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] Include Macro failed in a page with annotation

2010-12-07 Thread Le Génie
Hi Ricardo,

The problem occurs with {{include document=xxx /}} for registered
users. And the annotation is in the including page (not the included).
No problem with the {{toc /}} macro.

2010/12/7 Ricardo Rodriguez [eBioTIC.] ricardo.rodrig...@ebiotic.net

 Hi

 Le Génie wrote:
  Hi,
 
  I use XWiki XEM 2.4.4 and when I add an annotation to a page, the include
  macro (also present in the same page) displays :
  Failed to execute the [include] macro
 
  It seems to be the issue XSKINX-39 but it was fixed a long time ago.
  Nothing in the xwiki or tomcat log.
 
  Is there something to verify ?
 
  Thank for your help.
 
  Maxime
  ___
  users mailing list
  users@xwiki.org
  http://lists.xwiki.org/mailman/listinfo/users
 
 

 It is correctly working for me in a XE/XEM 2.4.30451 box.

 http://ebiotic.net/bin/ICT/TOCsample
 http://ebiotic.net/bin/ICT/TOCsample?viewer=code

 Annotation are only showed to registered users. Let me know if it could
 be of any help for your to access this box.

 Cheers,

 Ricardo

 --
 Ricardo Rodríguez
 CTO
 eBioTIC.
 Life Sciences, Data Modeling and Information Management Systems

 ___
 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