Re: [xwiki-users] Page redirecting automatically to XWikiPreferences

2009-04-07 Thread Vincent Massol
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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Use Tags as select list instead of input

2009-04-07 Thread Vincent Massol
Maybe this documentation would help:
http://code.xwiki.org/xwiki/bin/view/Applications/TagApplication

Thanks
-Vincent

On Apr 7, 2009, at 7:38 AM, Jerome Velociter wrote:

 Hi Jeremie,

 Jeremie wrote:
 Hi all,

 It'm trying to use tags as a more structured categorization  
 feature.

 First I saw that in tagedit.vm, we can change to a select list  
 instead of an input field for entering tags. I changed this in the  
 displayEdit property for XWiki.TagClass, but without effect.

 In tagedit.vm we have (XWiki 1.5) :

 #set($displayType =  
 $ 
 xwiki 
 .getDocument 
 (XWiki.TagClass).xWikiClass.tags.getProperty('displayType').value)
 #set($possibleTags = $tdoc.tagsPossibleValues)
 

 First line is ok and says select, but $tdoc.tagsPossibleValues is  
 always empty ...

 So my question is : where is defined the list of possible tags for  
 page(s) ? I though it was the tags field of page XWiki.TagClass,  
 but it seems it's not ...

 I didn't even know this feature! I checked the code of
 getTagsPossibleValues in XWikiDocument.java
 (http://fisheye2.atlassian.com/browse/~raw,r=11430/xwiki/xwiki- 
 platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/doc/ 
 XWikiDocument.java),
 the list is constructed based of pipe-separated values in the tags
 property of XWiki.TagClass (this is the moment I discovered that tags
 are stored as a static list, too ;))

 So if you say tag1|tag2|tag3 here, this is what
 $doc.tagsPossibleValues will return you (as a list).

 Hope this helps.
 When you successfully do have the tags displayed as a select list with
 finished list of possible values, what would be cool is that you  
 create
 a FAQ entry for it to explain how you did.

 Cheers,
 Jerome.

 Thanks for help,
 Jeremie

 ___
 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] Page redirecting automatically to XWikiPreferences

2009-04-07 Thread Antonio Goncalves
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.
Antonio

2009/4/7 Vincent Massol vinc...@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@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
--
Antonio Goncalves (antonio.goncal...@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@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Page redirecting automatically to XWikiPreferences

2009-04-07 Thread Vincent Massol

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 vinc...@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@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




 -- 
 --
 Antonio Goncalves (antonio.goncal...@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@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] Page redirecting automatically to XWikiPreferences

2009-04-07 Thread Vincent Massol
I have seen this text on your Blog Webhome page:
Passez en mode Wiki, en mode texte au lieu de WYSIWYG en cliquant sur  
l'icône Switch Editor de la barre de mise en forme. 

If you don't want to use the wysiwyg editor you can simply edit the  
ArticleClass page and in the textareas for content and extract force  
the use of the wiki editor.

Thanks
-Vincent

On Apr 7, 2009, at 9:04 AM, Vincent Massol wrote:


 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 vinc...@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@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




 -- 
 --
 Antonio Goncalves (antonio.goncal...@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@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] Use Tags as select list instead of input

2009-04-07 Thread Jerome Velociter
Vincent Massol wrote:
 Maybe this documentation would help:
 http://code.xwiki.org/xwiki/bin/view/Applications/TagApplication

Indeed, it's all there, so this make the FAQ entry useless.

I could not find it (nor a link to it) in the 2 places I looked for:

- Features on enterprise.xwiki.org
- search for tags (ok, the tag application is on the second result 
page and I did not click, bad assumption from me here)

All that to say 2 things (which are actually almost the same) :
- It's not natural to look for user documentation on code.xwiki.org
- We need more internal links. Mainly because our search is not yet 100% 
relevant, and because it's not natural to look for user documentation in 
application space on code.xwiki.org. I would have been able to find it 
if it were linked from the Features space, ;ike:
 Features - Organize your documents (Spaces and Tags) - Tag 
application on code.xwiki.org

Just to brainstorm on documentation findability,
Jerome.

 Thanks
 -Vincent

 On Apr 7, 2009, at 7:38 AM, Jerome Velociter wrote:

 Hi Jeremie,

 Jeremie wrote:
 Hi all,

 It'm trying to use tags as a more structured categorization  
 feature.

 First I saw that in tagedit.vm, we can change to a select list  
 instead of an input field for entering tags. I changed this in the  
 displayEdit property for XWiki.TagClass, but without effect.

 In tagedit.vm we have (XWiki 1.5) :

 #set($displayType =  
 $ 
 xwiki 
 .getDocument 
 (XWiki.TagClass).xWikiClass.tags.getProperty('displayType').value)
 #set($possibleTags = $tdoc.tagsPossibleValues)
 

 First line is ok and says select, but $tdoc.tagsPossibleValues is  
 always empty ...

 So my question is : where is defined the list of possible tags for  
 page(s) ? I though it was the tags field of page XWiki.TagClass,  
 but it seems it's not ...
 I didn't even know this feature! I checked the code of
 getTagsPossibleValues in XWikiDocument.java
 (http://fisheye2.atlassian.com/browse/~raw,r=11430/xwiki/xwiki- 
 platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/doc/ 
 XWikiDocument.java),
 the list is constructed based of pipe-separated values in the tags
 property of XWiki.TagClass (this is the moment I discovered that tags
 are stored as a static list, too ;))

 So if you say tag1|tag2|tag3 here, this is what
 $doc.tagsPossibleValues will return you (as a list).

 Hope this helps.
 When you successfully do have the tags displayed as a select list with
 finished list of possible values, what would be cool is that you  
 create
 a FAQ entry for it to explain how you did.

 Cheers,
 Jerome.
 Thanks for help,
 Jeremie
 ___
 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] Revision Viewing is throwing marco errors

2009-04-07 Thread Thomas Mortagne
On Tue, Apr 7, 2009 at 01:16, twk3 david.mount...@carbonetworks.com wrote:

 Issue created: http://jira.xwiki.org/jira/browse/XWIKI-3521

Thanks



 On Fri, Apr 3, 2009 at 19:07, twk3 david.mount...@carbonetworks.com wrote:

 Ok i just reproduced it, it looks like a include macro bug. Would be
 great if you could create an issue for it on http://jira.xwiki.org

 --
 Thomas Mortagne


 --
 View this message in context: 
 http://n2.nabble.com/Revision-Viewing-is-throwing-marco-errors-tp2571038p2596041.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




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


Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6

2009-04-07 Thread Thomas Mortagne
I just added more documentation on
http://manager.xwiki.org/xwiki/bin/view/AdminGuide/

To summarize your use case:
- look at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
to learn how XWiki goes form URL to the right wiki
- look at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiDescriptor
for general documentation on wiki descriptors
- look at http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiAliases
documentation to learn how to add/remove/edit aliases

On Sat, Apr 4, 2009 at 06:02, Dean Sellers dean.sell...@rinstrum.com wrote:
 Well, I am completely confused. I have exactly the same problem;
 UBUNTU/JBOSS/XEM1.6

 I had a default setup of XE working, deleted it and then did exactly the
 same things except using XEM 1.6 and allowing all privs on the MYSQL
 database. If I swap to the deployment of XE, works fine. It doesn't seem
 to matter how I hit the server with XEM running, IP address, fully
 qualified name, name with www., name with xwiki. I still get no wiki
 exists.

 Something happens, as the empty database gets populated with tables, but
 that seems to be it. The xwiki.log seems to have a lot of entries
 relating to lucene errors, but none of that makes sense either.

 These seem to start with sonething like:
 java.io.FileNotFoundException:
 /home/jboss/jboss-4.2.2.GA/server/xwikisvr/work/jboss.web/localhost/xwik
 i/lucene/segments_2 (No such file or directory)

 This file doesn't exist, but the rights to create it if needed do. There
 is a segments_1 created in this location

 I have a question?
 'add the right hosts to the main wiki's descriptor', what? And how?

 Would it be possible to explain a little better, I just don't get what
 you mean, and I have seached xwiki.org and in the group but cannot seem
 to find anything that makes sense. I just want to load the default .xar
 and get started creating a couple of wikis.

 Dean Sellers applications engineer
 rinstrum smart weighing
 Ph: +61 7 3216 7166  Fax: +61 7 3216 6211
 dean.sell...@rinstrum.com
 41 Success St, Acacia Ridge, QLD, 4110

 www.rinstrum.com

 -Original Message-
 From: users-boun...@xwiki.org
 [mailto:users-boun...@xwiki.org] On Behalf Of
 dross-sm...@reviewjournal.com
 Sent: Tuesday, 31 March 2009 12:09 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] Can't get XEM application xar
 imported in XEM 1.6


 Canel that... Should've been to intranet01 instead of localhost


 - Original Message -
 From: Thomas Mortagne [thomas.morta...@xwiki.com]
 Sent: 03/30/2009 04:04 PM ZE2
 To: XWiki Users users@xwiki.org
 Subject: Re: [xwiki-users] Can't get XEM application xar
 imported in XEM 1.6



 Hi ,

 On Mon, Mar 30, 2009 at 15:12, Martijn Ras
 martijn@gmail.com wrote:
  Hello,
 
  I'm trying to set up XEM on a new machine.
 
  I put the XEM WAR file under the webapps folder of my tomcat
  installation. Created the MySQL database, just like i used
 to do with
  the XE installations I performed so far, and set the rights as
  specified in the installation section of the AdminGuide. After
  starting tomcat the database was created and everything else looked
  fine.
 
  However, whatever i do everything is redirected to the page
  http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist

 By default XEM access a wiki based on it's host (see
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
 for more details). If it's not listed in one of the wikis
 descriptors, it can't find it. That said when no descriptor
 can be found the following rules are applied:

     * if the host is an IP (127.0.0.1, 85.65.12.36, etc.)
 XWiki select the main wiki
     * else, if the first part of the host name (what is
 before the first point) is www XWiki select the main wiki
     * else, if the first part of the host name match a wiki
 identifier XWiki select this wiki

 at the end if it still can't find anything he send you to the
 configured URL indicating that the wiki you are trying to
 reach does not exists (by default it's
 http://example.com:9080/xwiki/bin/Main/ThisWikiDoesNotExist
 in xwiki.cfg file).

 So, two solutions for you here:
 - clean way: access the main wiki with the ip if you can or
 with a host starting with www. (like www.xwiki.org) or
 xwiki. and add the right hosts to the main wiki's descriptor
 - set xwiki.virtual=0 in xwiki.cfg and restore it to 1 when
 you correctly configured the main wiki descriptor

 (Just added it to
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL)

 
  I'm probably overlooking something really simple, anyways,
 can one of
  you please enlighten me on how to get the XEM XAR loaded?
 
  Mazzel,
 
  Martijn.
  ___
  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
 

Re: [xwiki-users] Problems with users administration

2009-04-07 Thread Schacht, Jens
Hi Sergiu,

cause I'm evaluating XWiki, I have a local test installation of XE 1.8.17790 on 
my PC. I used xwiki-enterprise-installer-windows-1.8.exe for this installation 
on Win XP. During installation the packs Core and Default Wiki were 
installed on my local harddrive C:. 

After installation I changed this:

- I extended the Windows PATH to find the bin directory of JRE 1.6.0_04 first 
(there was an old entry for Oracle JRE 1.3.1). java -version in 
start_xwiki.bat shows that the right JRE is used.

- In C:\Programme\XWiki Enterprise\webapps\xwiki\skins\toucan I switched 
logo.png to our enterprise logo.

- In skins\toucan\toucan.css I changed the color of a, a:link, a:active, 
a:visited to #002BB8. Also in .main ol, .main ul I switched to 
list-style-position: outside.

- In webapps\xwiki\WEB-INF\xwiki.properties I have set
  core.defaultDocumentSyntax = xwiki/2.0

- In webapps\xwiki\WEB-INF\xwiki.cfg nothing was changed.

In XWikiPreferences - General I tested with Default Language 'de'. Now I have 
changed to 'en'. The Date format is set to dd.MM., HH:mm according to 
german usage :-) Also I have set Admin email and Outgoing SMTP Server to my 
local values.

According to my notices this should be all. Sounds not very exciting to me.

Do you need any more information?

Jens

 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
 Im Auftrag von Sergiu Dumitriu
 Gesendet: Montag, 6. April 2009 21:12
 An: XWiki Users
 Betreff: Re: [xwiki-users] Problems with users administration
 
 Schacht, Jens wrote:
  Hi,
  
  when I try to edit one of my users I get a small mask with 
 the 2 buttons
  Save and Cancel. Above there is only the text
  #includeForm(XWiki.XWikiUserSheet).
 
 Jens, there is something really really wrong with your setup. Nothing 
 you see is what should ever appear, and I've never heard anybody else 
 having these problems (also speaking about your other mails). How did 
 you setup XWiki?
 
 -- 
 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] Users and Groups administration

2009-04-07 Thread Sergiu Dumitriu
alain.pe...@snecma.fr wrote:
 Hi,
 
 I report again a trouble which has not received help (well, I'm sure it's a
 stupid trouble), but, really, I'm stocken with this XWiki behavior :
 
 The trouble : if, as Admin in Administrator wiki, I insert for example 2
 users. I don't see them in the right category Users UI.
 The page tells Display rows from 1 to 3 out of 3 (which is right) but the
 users and not displayed.
 Same beahevior with the Groups UI : Display rows from 1 to 2 out of 2
 (obviously XWikiAdminGroup and XWikiAllGroup), but the groups are not
 displayed.
 
 This is for a deployment of xwiki on Tomcat 5.5 and MySQL DB, because with
 the standalone deployment (Jetty and HSQLDB), I get the right behavior :
 groups and users are displayed.
 
 I checked my config as far as I can :
   - in xwiki.cfg, I have the directive
 xwiki.users.initialGroups=XWiki.XWikiAllGroup
   - I have imported the right xwiki.xar
   - my hibernate parameters seem right
   - my directory templates is same as xwiki standalone
 
 I made again several times full new deployments (DB, XWiki, parameters) and
 always the same behavior.

- What version of the mysql-connector are you using?
- Are there any javascript errors in the browser?
- Can you look with Firebug or LiveHTTPHeaders to see if the transfered 
JSON is the same between the two instances? If not, post here the 
differences
- Are you using a custom/modified skin?

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Section Editing for heading3, 4, etc in syntax 1.0

2009-04-07 Thread Sergiu Dumitriu
Cristi wrote:
 Is there a way to configure XWiki to allow section editing for Heading 3, 4 
 and above? I see that it allows by default only heading 1 and 2 to be editing 
 via the section editing mechanism. Perhaps there is a setting somewhere for 
 this?

Hi Cristi,

By default this is not configurable. But since this is Open Source, you 
can hack into the sources and modify it.

The places where to look:
- com.xpn.xwiki.render.filter.XWikiHeadingFilter#160, there's a check if 
the heading is 1 or 1.1. Add as many levels as you want.
- com.xpn.xwiki.doc.XWikiDocument#getSection (or getSection10 if you're 
using a very recent of the core). There's a regular expression that 
matches 1 and 1.1. Increase the number of repetitions to as many as you 
want.

Recompile these classes and put them in your wiki.

If you are able to make this easily configurable, then you can be kind 
and provide a patch.

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Section Editing for heading3, 4, etc in syntax 1.0

2009-04-07 Thread Cristi

Hello again,

Could you please help me with my previous post?

Thanks,
Cristi.


Hello,

Is there a way to configure XWiki to allow section editing for Heading 3, 4 and 
above? I see that it allows by default only heading 1 and 2 to be editing via 
the section editing mechanism. Perhaps there is a setting somewhere for this?

Thanks in advance,
Best regards,
Cristi.


-- 
View this message in context: 
http://n2.nabble.com/Section-Editing-for-heading3%2C-4%2C-etc-in-syntax-1.0-tp2522506p2598935.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] Users and Groups administration - resolved

2009-04-07 Thread alain . perry
About my mail addressing Users and Groups :

   Pb resolved : the componant Connector MySQL I used in middelware, was
   not at the right version : a rather stupid mistake.

   Alain



#
 This e-mail and any attached documents may contain confidential or 
proprietary information. If you are not the intended recipient, please advise 
the sender immediately and delete this e-mail and all attached documents from 
your computer system. Any unauthorised disclosure, distribution or copying 
hereof is prohibited.

  Ce courriel et les documents qui y sont attaches peuvent contenir des 
informations confidentielles. Si vous n'etes  pas le destinataire escompte, 
merci d'en informer l'expediteur immediatement et de detruire ce courriel  
ainsi que tous les documents attaches de votre systeme informatique. Toute 
divulgation, distribution ou copie du present courriel et des documents 
attaches sans autorisation prealable de son emetteur est interdite.
#
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How to navigate user pages as tree structure from main page?

2009-04-07 Thread Manfred
Hi,

One aspect thats driving me a little scatty - and I have to date installed XE, 
XEM and Chronopolys and XW - so far only Chrono seems pretty intuitive for me 
to drive out the box - is having a way for a user to see the pages they have 
created in some sort of hierarchy but built into the menu of the page or the 
quick links section or some such for easy page navigation and knowing where 
they are in the wiki.

e.g.  I can see the page breadcrumbs allow one to move backwards to a higher 
level page, but how does one move forward or see that there is a fwd page short 
of placing a hyperlink to the next page on the current page or expecting users 
to click on information tab of the current page to find its children

I mean in Dekiwiki this is built into it so was positively elementary so I'm 
frustrated that I don't seem to be able to do this in Xwiki. What am I missing? 
I was hoping the Document index tree could be used for this by say finding a 
way to display it as part of the Quicklinks or similar dashlet on the 
dashboard, but the script to do this doesnt appear to work for user pages I'm 
finding and it appears this issue is regarded as a minor script issue by the 
developers, and even if it were to work I'm guessing that being a separate page 
to browse to its not really what I was hoping to see.

I can create something like this (I'll use the Xwiki terms (in parentheses) as 
I understand them for what I'd like to do) and write the page names in 
UPPERCASE and use some hypothetical names. Using XEM where I have created Wiki: 
MAIN_HOME (as the first wiki of the farm) I would like to use and navigate 
something like this ito user page hierarchy:

(Wiki)
MAIN_HOME (Wiki) --
  |--Departments(Space)   
  |-- Planning (Page)
| --Planning projects 
(Page)
| -- Efficiency project 
(Page)
| -- Warehouse project 
(Page)
| -- ISO 9000 (Page)
  | -- Production (Page)
   | -- Downtime (Page)
   | -- Utilisation 
(Page)
   | -- ISO 14000 (Page)

  | -- Finance (Page)
   | Budgets (Page)
   | Guidelines (Page)
  | Safety (Space)
 | Weekly topic (Page)
 | Safety projects (Page)
  | Training (Space)
   | Agenda (Page)

etc

Can this type of thing be done in Xwiki or do I misunderstand something 
fundamental in how to use it?

I realise the XE product is intended to be basic out the box and must be 
customised and isnt a universal plug and go solution but I'm wrestling with 
what I thought should be simple to achieve so I'm wondering.

I really like the way Xwiki converts pages to PDF stripping out all the Wiki 
clutter and the Edit, Show print bar that hide a lot of clutter that other 
Wikis put and print on the wiki page, but the Xwiki created user page 
navigation is less than intuitive and if I'm struggling then the most users our 
side will be completely lost so I need to resolve this aspect first if its 
possible.

Is there a way - a plugin maybe?

Thanks

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


Re: [xwiki-users] How to navigate user pages as tree structure from main page?

2009-04-07 Thread Jean-Vincent Drean
On Tue, Apr 7, 2009 at 5:07 PM, Manfred manonin...@gmail.com wrote:

 I mean in Dekiwiki this is built into it so was positively elementary so I'm 
 frustrated that I don't seem to be able to do this in Xwiki. What am I 
 missing? I was hoping the Document index tree could be used for this by say 
 finding a way to display it as part of the Quicklinks or similar dashlet on 
 the dashboard, but the script to do this doesnt appear to work for user pages 
 I'm finding and it appears this issue is regarded as a minor script issue by 
 the developers, and even if it were to work I'm guessing that being a 
 separate page to browse to its not really what I was hoping to see.

Hi,

We are actively working of an improved version of the treeview. It
will be shipped with XE 1.8.1.
Here's a preview:
http://www.jean-vincent.org/xwiki/bin/download/Main/Screenshots/treeview.jpg
Is this what you had in mind ?

Note that this tree is highly customizable and that it will be
possible to put it in a side panel.

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


Re: [xwiki-users] How to navigate user pages as tree structure from main page?

2009-04-07 Thread Vincent Massol

On Apr 7, 2009, at 6:00 PM, Jean-Vincent Drean wrote:

 On Tue, Apr 7, 2009 at 5:07 PM, Manfred manonin...@gmail.com wrote:

 I mean in Dekiwiki this is built into it so was positively  
 elementary so I'm frustrated that I don't seem to be able to do  
 this in Xwiki. What am I missing? I was hoping the Document index  
 tree could be used for this by say finding a way to display it as  
 part of the Quicklinks or similar dashlet on the dashboard, but  
 the script to do this doesnt appear to work for user pages I'm  
 finding and it appears this issue is regarded as a minor script  
 issue by the developers, and even if it were to work I'm guessing  
 that being a separate page to browse to its not really what I was  
 hoping to see.

 Hi,

 We are actively working of an improved version of the treeview. It
 will be shipped with XE 1.8.1.
 Here's a preview:
 http://www.jean-vincent.org/xwiki/bin/download/Main/Screenshots/treeview.jpg
 Is this what you had in mind ?

 Note that this tree is highly customizable and that it will be
 possible to put it in a side panel.

How will it work in a side panel? When you expand a node it takes  
space horizontally and a horizontal scrollbar in a panel doesn't seem  
very nice to me.

Thanks
-Vincent

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


Re: [xwiki-users] How to navigate user pages as tree structure from main page?

2009-04-07 Thread Jean-Vincent Drean
On Tue, Apr 7, 2009 at 6:14 PM, Vincent Massol vinc...@massol.net wrote:

 How will it work in a side panel? When you expand a node it takes
 space horizontally and a horizontal scrollbar in a panel doesn't seem
 very nice to me.


Indeed it won't allow to display lots of levels. I've made a quick
test  with a panel displaying pages in the current space:
http://www.jean-vincent.org/xwiki/bin/download/Main/Screenshots/treeviewpanel.jpg

I think this is usable with small-medium sized hierarchies.

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


Re: [xwiki-users] XEM1.8 cannot add new users/groups via Admin

2009-04-07 Thread Manfred
Hi,

Have setup XEM 1.8 on Ubuntu 8.04 LTS, using MySQL, Jetty container and Sun 
Java 5.5

All seems to be relatively well as far as I can tell, can create pages, new 
wikis, import applications, do a calendar, blog, etc

However I cannot add users or groups in the admin panel - I can only login as 
the default Admin user.

On the page 
http://localhost:8380/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Groups#

when I enter a new group name - e..g Administrators and click on the create new 
group button I get a loading message what appears to be some sort of script 
$xwiki.jsfx.use(js/scriptaculous/scriptaculous.js) 

and then nothing - can wait for hours but no usergroup is ever created.

I have the same issue with creating a new user.

Then if I go to the index quicklink I get the same loading message but 
nothing ever loads.

If I go to the tree page it shows me

$xwiki.ssfx.use(js/yui/treeview/assets/tree.css) 
$xwiki.jsfx.use(js/yui/yahoo/yahoo-min.js) 
$xwiki.jsfx.use(js/yui/treeview/treeview-min.js) 
$xwiki.jsfx.use(js/yui/treeview/checknode.js) 
$xwiki.jsfx.use(js/yui/event/event-min.js) 
$xwiki.jsfx.use(js/yui/connection/connection-min.js)

and no tree.

How can I fix this? I'm guessing they're related in some way.

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


Re: [xwiki-users] XEM1.8 cannot add new users/groups via Admin

2009-04-07 Thread Sergiu Dumitriu
Manfred wrote:
 Hi,
 
 Have setup XEM 1.8 on Ubuntu 8.04 LTS, using MySQL, Jetty container and Sun 
 Java 5.5
 
 All seems to be relatively well as far as I can tell, can create pages, new 
 wikis, import applications, do a calendar, blog, etc
 
 However I cannot add users or groups in the admin panel - I can only login as 
 the default Admin user.
 
 On the page 
 http://localhost:8380/xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladminsection=Groups#
 
 when I enter a new group name - e..g Administrators and click on the create 
 new group button I get a loading message what appears to be some sort of 
 script 
 $xwiki.jsfx.use(js/scriptaculous/scriptaculous.js) 
 
 and then nothing - can wait for hours but no usergroup is ever created.
 
 I have the same issue with creating a new user.
 
 Then if I go to the index quicklink I get the same loading message but 
 nothing ever loads.
 
 If I go to the tree page it shows me
 
 $xwiki.ssfx.use(js/yui/treeview/assets/tree.css) 
 $xwiki.jsfx.use(js/yui/yahoo/yahoo-min.js) 
 $xwiki.jsfx.use(js/yui/treeview/treeview-min.js) 
 $xwiki.jsfx.use(js/yui/treeview/checknode.js) 
 $xwiki.jsfx.use(js/yui/event/event-min.js) 
 $xwiki.jsfx.use(js/yui/connection/connection-min.js)
 
 and no tree.
 
 How can I fix this? I'm guessing they're related in some way.

This is a known bug of XEM 1.8, fixed in the trunk.

To fix it, simply edit xwiki.cfg and add the following two plugins:

com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problems with users administration

2009-04-07 Thread Sergiu Dumitriu
Schacht, Jens wrote:
 Hi Sergiu,
 
 cause I'm evaluating XWiki, I have a local test installation of XE 1.8.17790 
 on my PC. I used xwiki-enterprise-installer-windows-1.8.exe for this 
 installation on Win XP. During installation the packs Core and Default 
 Wiki were installed on my local harddrive C:. 
 
 After installation I changed this:
 
 - I extended the Windows PATH to find the bin directory of JRE 1.6.0_04 first 
 (there was an old entry for Oracle JRE 1.3.1). java -version in 
 start_xwiki.bat shows that the right JRE is used.
 
 - In C:\Programme\XWiki Enterprise\webapps\xwiki\skins\toucan I switched 
 logo.png to our enterprise logo.
 
 - In skins\toucan\toucan.css I changed the color of a, a:link, a:active, 
 a:visited to #002BB8. Also in .main ol, .main ul I switched to 
 list-style-position: outside.
 
 - In webapps\xwiki\WEB-INF\xwiki.properties I have set
   core.defaultDocumentSyntax = xwiki/2.0
 
 - In webapps\xwiki\WEB-INF\xwiki.cfg nothing was changed.
 
 In XWikiPreferences - General I tested with Default Language 'de'. Now I have 
 changed to 'en'. The Date format is set to dd.MM., HH:mm according to 
 german usage :-) Also I have set Admin email and Outgoing SMTP Server to my 
 local values.
 
 According to my notices this should be all. Sounds not very exciting to me.
 
 Do you need any more information?

Hm, nothing weird in here, indeed. I guess this could be a syntax 
problem, since mixing 1.0 and 2.0 is not so well tested yet. Can you try 
setting the default syntax back to 1.0 and see if it works well?

 
 -Ursprüngliche Nachricht-
 Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
 Im Auftrag von Sergiu Dumitriu
 Gesendet: Montag, 6. April 2009 21:12
 An: XWiki Users
 Betreff: Re: [xwiki-users] Problems with users administration

 Schacht, Jens wrote:
 Hi,

 when I try to edit one of my users I get a small mask with 
 the 2 buttons
 Save and Cancel. Above there is only the text
 #includeForm(XWiki.XWikiUserSheet).
 Jens, there is something really really wrong with your setup. Nothing 
 you see is what should ever appear, and I've never heard anybody else 
 having these problems (also speaking about your other mails). How did 
 you setup XWiki?



-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6

2009-04-07 Thread Dean Sellers
Thanks a lot Tomas, this has cleared things up a lot. First let me congratulate 
you and the team/community for an excellent product, I am looking forward to 
using it in our company and once I understand things I hope I can provide some 
useful contributions.

I have got my mini-farm working now, except I still can only select the main 
admin wiki using the IP address. It is running inside a private network, I have 
added entries in the DNS to point to the server IP address and these resolve 
correctly when I ping them, or nslookup.
Entries are
(A) main.mydomain.local - 192.168.x.x
(CNAME) projects.mydomain.local - main.mydomain.local

The setup I have is;
1. Main wiki Domain names: 'localhost', 'main.mydomain.local'
2. Template Domain names: 'templatexe.template.local'
3. Project management wiki: 'projects.mydomain.local'

When I hit http://projects/xwiki I get the projects wiki, excellent!
When I hit http:/main/xwiki I get the redirect

The only way to get to main is http://192.168.x.x/xwiki at the moment this is 
OK I guess but I would like to understand why this happens as it might point to 
something else wrong. Also since the installation the main wiki has links for 
'Calendar' and 'Photo Albums' but these have a '?' and the pages don't exist. 
Is this normal, or does it point to something else wrong?

Any ideas?

Dean Sellers applications engineer  
rinstrum smart weighing  
Ph: +61 7 3216 7166  Fax: +61 7 3216 6211
dean.sell...@rinstrum.com  
41 Success St, Acacia Ridge, QLD, 4110  
  
www.rinstrum.com  

 -Original Message-
 From: users-boun...@xwiki.org 
 [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
 Sent: Tuesday, 7 April 2009 8:00 PM
 To: XWiki Users
 Subject: Re: [xwiki-users] Can't get XEM application xar 
 imported in XEM 1.6
 
 
 I just added more documentation on
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/
 
 To summarize your use case:
 - look at 
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/AccessWiki
 to learn how XWiki goes form URL to the right wiki
 - look at 
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiDescriptor
 for general documentation on wiki descriptors
 - look at 
 http://manager.xwiki.org/xwiki/bin/view/AdminGuide/EditWikiAliases
 documentation to learn how to add/remove/edit aliases
 
 On Sat, Apr 4, 2009 at 06:02, Dean Sellers 
 dean.sell...@rinstrum.com wrote:
  Well, I am completely confused. I have exactly the same problem;
  UBUNTU/JBOSS/XEM1.6
 
  I had a default setup of XE working, deleted it and then 
 did exactly the
  same things except using XEM 1.6 and allowing all privs on the MYSQL
  database. If I swap to the deployment of XE, works fine. It 
 doesn't seem
  to matter how I hit the server with XEM running, IP address, fully
  qualified name, name with www., name with xwiki. I still get no wiki
  exists.
 
  Something happens, as the empty database gets populated 
 with tables, but
  that seems to be it. The xwiki.log seems to have a lot of entries
  relating to lucene errors, but none of that makes sense either.
 
  These seem to start with sonething like:
  java.io.FileNotFoundException:
  
 /home/jboss/jboss-4.2.2.GA/server/xwikisvr/work/jboss.web/loca
 lhost/xwik
  i/lucene/segments_2 (No such file or directory)
 
  This file doesn't exist, but the rights to create it if 
 needed do. There
  is a segments_1 created in this location
 
  I have a question?
  'add the right hosts to the main wiki's descriptor', what? And how?
 
  Would it be possible to explain a little better, I just 
 don't get what
  you mean, and I have seached xwiki.org and in the group but 
 cannot seem
  to find anything that makes sense. I just want to load the 
 default .xar
  and get started creating a couple of wikis.
 
  Dean Sellers applications engineer
  rinstrum smart weighing
  Ph: +61 7 3216 7166  Fax: +61 7 3216 6211
  dean.sell...@rinstrum.com
  41 Success St, Acacia Ridge, QLD, 4110
 
  www.rinstrum.com
 
  -Original Message-
  From: users-boun...@xwiki.org
  [mailto:users-boun...@xwiki.org] On Behalf Of
  dross-sm...@reviewjournal.com
  Sent: Tuesday, 31 March 2009 12:09 AM
  To: XWiki Users
  Subject: Re: [xwiki-users] Can't get XEM application xar
  imported in XEM 1.6
 
 
  Canel that... Should've been to intranet01 instead of localhost
 
 
  - Original Message -
  From: Thomas Mortagne [thomas.morta...@xwiki.com]
  Sent: 03/30/2009 04:04 PM ZE2
  To: XWiki Users users@xwiki.org
  Subject: Re: [xwiki-users] Can't get XEM application xar
  imported in XEM 1.6
 
 
 
  Hi ,
 
  On Mon, Mar 30, 2009 at 15:12, Martijn Ras
  martijn@gmail.com wrote:
   Hello,
  
   I'm trying to set up XEM on a new machine.
  
   I put the XEM WAR file under the webapps folder of my tomcat
   installation. Created the MySQL database, just like i used
  to do with
   the XE installations I performed so far, and set the rights as
   specified in the installation section of the AdminGuide. After
   starting 

Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6

2009-04-07 Thread Dean Sellers
Hi Sergiu,

  The setup I have is;
  1. Main wiki Domain names: 'localhost', 'main.mydomain.local',
'main'
  2. Template Domain names: 'templatexe.template.local'
  3. Project management wiki: 'projects.mydomain.local'

 Can you try to add an alias with only main for the main wiki? The 
 domain name is expected to match exactly the requested URL, 
 but you're 
 asking for main, while the configuration indicates 
 main.mydomain.local.

Done, and it works. So;
main/xwiki - works
main.mydomain.local/xwiki - works
projects/xwiki - works
projects.mydomain.local/xwiki - works

I guess the only question I have is why there is only one alias for
projects (projects.mydomain.local) and both the FQDN and the short
version work. For the main however only an exact match of alias' work.
Is this a bug? Only an annoyance really though, it just threw me off
that it worked for a sub-wiki but not for the main one. Thanks for all
your help!

 The calendar and photo album applications were retired, you should 
 remove those links.
Ok, that's easy

Dean Sellers applications engineer  
rinstrum smart weighing  
Ph: +61 7 3216 7166  Fax: +61 7 3216 6211
dean.sell...@rinstrum.com  
41 Success St, Acacia Ridge, QLD, 4110  
  
www.rinstrum.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Can't get XEM application xar imported in XEM 1.6

2009-04-07 Thread Sergiu Dumitriu
Dean Sellers wrote:
 Hi Sergiu,
 
 The setup I have is;
 1. Main wiki Domain names: 'localhost', 'main.mydomain.local',
 'main'
 2. Template Domain names: 'templatexe.template.local'
 3. Project management wiki: 'projects.mydomain.local'
 
 Can you try to add an alias with only main for the main wiki? The 
 domain name is expected to match exactly the requested URL, 
 but you're 
 asking for main, while the configuration indicates 
 main.mydomain.local.
 
 Done, and it works. So;
 main/xwiki - works
 main.mydomain.local/xwiki - works
 projects/xwiki - works
 projects.mydomain.local/xwiki - works
 
 I guess the only question I have is why there is only one alias for
 projects (projects.mydomain.local) and both the FQDN and the short
 version work. For the main however only an exact match of alias' work.
 Is this a bug? Only an annoyance really though, it just threw me off
 that it worked for a sub-wiki but not for the main one. Thanks for all
 your help!
 

Outside domain names and aliases, there's also a default wiki matching 
mechanism that compares the first part of the domain with the database 
name. So, the first (and only) part when requesting projects/xwiki is 
projects, which happens to map to the projects databasewiki.

For the main wiki this doesn't work because actually the database name 
is xwiki, and not main.
-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] In the XE Manager, how is the control site selected?

2009-04-07 Thread Lee Chalupa


I'm not sure what you are calling the control site but the main wiki
which contains all the wikis descriptors has the identifier xwiki
and can be always reached by accessing the wiki using the IP if you
have doubt about your descriptors. Then you can list/edit all the wiki
by going to Wiki Manager on /WikiManager/ space home page.

Ok the control site I'm refering to is the main wiki you mention.
I was able to access the main wiki via the IP address.

Let me try again to descibe the symptom I'm encountering.

1.  I have 5 virtual wikis setup and working.  Four of them
are not having a problem.  I enter their url with the proper subdomain
and they all come up fine.

2.  When I enter the url for the fifth virtual wiki, with a subdomain of see, 
I get the wiki administrator of your wiki farm  page Not the home page for 
the see wiki. 

3.  How do I correct this problem so when I enter the see subdomain I get the 
the see virtual site? 

Please advise.
Lee 





-- 
View this message in context: 
http://n2.nabble.com/In-the-XE-Manager%2C-how-is-the-control-site-selected--tp2577913p2602772.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