Re: [xwiki-users] [docs] Contribution Draft

2009-10-07 Thread Silvia Rusu

Hi Roman,

I took the liberty of rephrasing a few things in the text.

Hope this helps :) ,
Silvia


Roman Friesen wrote:
 
 Hello,
 
 I've started work on the Contribution draft:
 http://dev.xwiki.org/xwiki/bin/view/Drafts/XEContribute
 
 Any help/feedback would be very appreciated. Especially as my English
 skills are not good enough to produce high quality texts.
 
 @Vincent: I have seen your improvements, thanks :) First I sent this
 e-mail on Sunday, but unfortunately from a wrong e-mail... :( 
 
 Thanks,
 Roman
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 


-
Silvia Rusu
Tester  Documentation Writer - XWiki
http://twitter.com/silviarusu
-- 
View this message in context: 
http://n2.nabble.com/docs-Contribution-Draft-tp3777097p3780125.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


Re: [xwiki-users] Groovy JARs

2009-10-07 Thread Thomas Mortagne
On Tue, Oct 6, 2009 at 19:20, Lewis Denizen orang...@gmail.com wrote:
 Hi xwiki-users,

 Just wondering - does the jars parameter work for the groovy macro?

This has been tested almost only on groovy macro AFAIK :)

 Tried executing something simple with no luck:

 {{groovy jars=attach:main.webh...@blah.jar}}
 import blahblah...

 println(Blah.class.getName())
 {{/groovy}}

 Always throws a ClassNotFoundException (even tho the class exists in
 the JAR file) :-(  Any idea what I could be doing wrong?  Thanks in
 advance!

Maybe it's because of http://jira.xwiki.org/jira/browse/XWIKI-4428


 -- Lewis
 ___
 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] Macro parameters

2009-10-07 Thread Thomas Mortagne
2009/10/6 Lewis Denizen orang...@gmail.com:
 Seems like I opened a can of worms :-S

 Logged a JIRA for tracking: http://jira.xwiki.org/jira/browse/XWIKI-4457

 I'll try to beautify the ticket once I get access to a PC instead of
 an iPhone ;-)

 Thanks for looking into this!

Thanks for reporting this ;)

I'm fixing it at renderer level for now we will see later for parser
since it need a big change, 2.1 syntax is a good occasion.



 On Oct 7, 2009, at 1:49 AM, Thomas Mortagne
 thomas.morta...@xwiki.com wrote:

 2009/10/6 Marius Dumitru Florea mariusdumitru.flo...@xwiki.com:
 Thomas Mortagne wrote:
 2009/10/6 Vincent Massol vinc...@massol.net:
 On Oct 6, 2009, at 5:15 PM, Marius Dumitru Florea wrote:

 Hi Lewis,

 Lewis Denizen wrote:
 Hi xwiki-users,

 One small quirck with the 2.0 release - when I try something like
 this:

 {{box title={{info}}test{{/infothis is a test{{/box}}

 the output becomes a bit screwey...  Parts of the {{info}} tag
 gets
 added to
 the content of the box instead of into the title.  It does work
 when the
 {{info}} is escaped properly:

 {{box title=~{~{info~}~}test~{~{/info~}~}}}this is a test{{/
 box}}

 but the WYSIWYG editor doesn't escape these (and it would make
 things look a
 bit nicer if we didn't have to escape on properly-quoted
 parameters..  with
 the obvious exception of a double-quote inside a quoted-
 parameter :-)).
 So...  what should the right behavior be?
 IMO there shouldn't be any need for escaping the { and } inside a
 parameter value. It seems the XWiki 2.0 parser stops reading the
 parameter value when it encounters }} which I think it's a bug.

 Thomas should know more about it.
 This is voluntary right now. Here's the grammar:

     | #MACRO_NAME: (XWIKI_CHAR)+ ([-, _, ., :]
 (XWIKI_CHAR)+)* 
     | #MACRO_PARAMS: ( ~ ~[] | ~[}] | } ~[}] )* 
     | #MACRO_EMPTY: {{ MACRO_NAME ((SPACE) MACRO_PARAMS)?
 /}} 
     | #MACRO_START: {{ MACRO_NAME ((SPACE) MACRO_PARAMS)?
 }} 
     | #MACRO_END: {{/ MACRO_NAME (SPACE)* }} 
     | #MACRO_CONTENT: ( XWIKI_CHAR | SPACE |NEW_LINE |
 XWIKI_SPECIAL_SYMBOL ) 

 So }} is not allowed in a macro parameter. Otherwise there would
 be a
 pb to know which }} correspond to the macro end (it would be
 harder).


 There is no official rule to forbid }} in macro parameters, we just
 did not tough of that IMO. From pure syntax POV we should support it
 IMO the same way we support it in macro content.

 I agree. Otherwise the WYSIWYG editor needs to escape the }} in macro
 parameters.

 The WYSIWYG can't do that since it does not know xwiki/2.0 escaping
 syntax.


 Thanks,
 Marius


 BTW you only need to escape one } to make it work fine ;)

 Note that quotes for macro values are optional right now and this
 is
 the reason macro params are checked for }}.

 We could support it, it's not a good reason. It's not a big
 difference
 to support with or without the quotes. The hard part is the refactor
 needed to actually parse the macro parameters in javacc directly
 instead of after the javacc pass.

 We could decide that quotes are mandatory but it's a pretty big
 change

 -1 for that, i'm pretty sure most of the users don't use the quotes.
 It would just be more pain for the user. It's a wiki syntax not
 hidden
 serialization format.

 (would be for Syntax 2.1) and I don't think it's a good idea since
 this your use case is pretty rare. And btw I still don't know if
 accepting wiki syntax in parameters is a good thing or not.

 Thanks
 -Vincent

 Thanks,
 Marius

 -- Lewis
 ___
 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




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


[xwiki-users] [myxwiki] new wiki request

2009-10-07 Thread Flavius Olaru
Hi,

I am interested in having a wiki hosted at myxwiki.org for personal purpose,
like daily blogging regarding my discoveries using XWiki, velocity etc.,
some testing using the XWiki platform.
The username for administration should be FlaviusOlaru.
The domain should be flavius. (flavius.myxwiki.org).

PS: I am currently employed at XWiki Offices in Iasi.
-- 
Regards,
Flavius Olaru
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki 2.0: loosing pull down menus

2009-10-07 Thread Valdis Vītoliņš
In my case problem was that xwiki/resources/js/prototype/prototype.js
file was missing.
See http://jira.xwiki.org/jira/browse/XWIKI-4458

Valdis

 Hi all,
 
 The advanced edit mode has been switched on.  And the menus are lost for 
 Create, View ...
 
 mb
 
 -Original Message-
 From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
 Valdis Vitolinš
 Sent: Saturday, October 03, 2009 11:57 AM
 To: XWiki Users
 Subject: Re: [xwiki-users] XWiki 2.0: loosing pull down menus
 
 I can confirm this problem. The same appears on my test instance.
 Advanced edit mode affects only Edit menu, but menu are lost also for
 View, Export and Actions modes.
 
 Valdis
 
  Hi Michael,
  
  On Oct 3, 2009, at 10:12 AM, Michael Beetz wrote:
  
   Hi all,
  
   I am running XWiki 2.0 on a path based farm.  Using it for a while  
   with a local admin user the pull down menus disappears, i.e. I am  
   able to click the edit, create ... menus but there are now pull  
   down menus available.
   I am following a strength procedure after that:
   - login to the main XEM wiki (user Admin) - the menus are back
   - navigate to the farm wiki
   - logout and login again using the local admin
  
   Now the menus are available again.
  
  Are you sure that your user is an advanced user?
  
  See 
  http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HSimpleandAdvancededitionmodes
  
  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
 ___
 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] xwiki 2.0 issues

2009-10-07 Thread hel-o

Hi,

i'm still wondering if the new title handling is really working how it
should be. My main issue is, that its not possible anymor (as far as i can
see) to have different title and heading (e.g. title - short form of
heading).

Also it's not possible to disable the new title handling and get back to the
old behavior.

It's a little bit annoying cause i use title and headings quite a lot and
now evertything is messed up and i get doubled titles everywhere.

hel.

-
semantic-web.hel.at
h...@hel.at

-- 
View this message in context: 
http://n2.nabble.com/xwiki-2-0-issues-tp3729506p3781448.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


Re: [xwiki-users] xwiki 2.0 issues

2009-10-07 Thread Guillaume Lerouge
Hi Hel,

On Wed, Oct 7, 2009 at 2:14 PM, hel-o h...@hel.at wrote:


 Hi,

 i'm still wondering if the new title handling is really working how it
 should be. My main issue is, that its not possible anymor (as far as i can
 see) to have different title and heading (e.g. title - short form of
 heading).


Do you mean a title different from the link in the breadcrumb? If this is
what you mean then yes, you can no longer have a title that's different from
the breadcrumb. We could maybe improve how breadcrumbs are displayed and
truncate them when they're too long.

You can have a level 1 heading right at the start of your page after the
title as long as it's different from the main title.

Also it's not possible to disable the new title handling and get back to the
 old behavior.


Well, actually it somehow is: if you don't use the title field at all, the
first heading of your documents will be considered a title like it used to
be.


 It's a little bit annoying cause i use title and headings quite a lot and
 now evertything is messed up and i get doubled titles everywhere.


Sorry about that. I was (and still am) on of the strong proponents of the
new behavior. I've heard many users complain about title handling in the
past and I think the current version addresses these longstanding issues.
However I know it's annoying for existing users such as you and I'd like to
apologize for that.

Guillaume


 hel.

 -
 semantic-web.hel.at
 h...@hel.at

 --
 View this message in context:
 http://n2.nabble.com/xwiki-2-0-issues-tp3729506p3781448.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




-- 
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Groovy JARs

2009-10-07 Thread Lewis Denizen
Thanks Thomas!  Must be that :-)  Not only do we not allow Guest logins in
our wiki, but since we're using custom authentication module at the
container level, the URLClassLoader must be hitting the login page provided
by the authentication valve configured in Tomcat...  Sorry, should've
checked in JIRA beforehand!

On Wed, Oct 7, 2009 at 5:07 PM, Thomas Mortagne
thomas.morta...@xwiki.comwrote:

 On Tue, Oct 6, 2009 at 19:20, Lewis Denizen orang...@gmail.com wrote:
  Hi xwiki-users,
 
  Just wondering - does the jars parameter work for the groovy macro?

 This has been tested almost only on groovy macro AFAIK :)

  Tried executing something simple with no luck:
 
  {{groovy jars=attach:main.webh...@blah.jar}}
  import blahblah...
 
  println(Blah.class.getName())
  {{/groovy}}
 
  Always throws a ClassNotFoundException (even tho the class exists in
  the JAR file) :-(  Any idea what I could be doing wrong?  Thanks in
  advance!

 Maybe it's because of http://jira.xwiki.org/jira/browse/XWIKI-4428

 
  -- Lewis
  ___
  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] Groovy JARs

2009-10-07 Thread Vincent Massol
Hi Lewis,

On Oct 7, 2009, at 4:24 PM, Lewis Denizen wrote:

 Thanks Thomas!  Must be that :-)  Not only do we not allow Guest  
 logins in
 our wiki, but since we're using custom authentication module at the
 container level, the URLClassLoader must be hitting the login page  
 provided
 by the authentication valve configured in Tomcat...  Sorry, should've
 checked in JIRA beforehand!

I have a fix on my local workspace. Will take me a bit of time to  
apply it though as it's complex.

Thanks
-Vincent


 On Wed, Oct 7, 2009 at 5:07 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:

 On Tue, Oct 6, 2009 at 19:20, Lewis Denizen orang...@gmail.com  
 wrote:
 Hi xwiki-users,

 Just wondering - does the jars parameter work for the groovy  
 macro?

 This has been tested almost only on groovy macro AFAIK :)

 Tried executing something simple with no luck:

 {{groovy jars=attach:main.webh...@blah.jar}}
 import blahblah...

 println(Blah.class.getName())
 {{/groovy}}

 Always throws a ClassNotFoundException (even tho the class exists in
 the JAR file) :-(  Any idea what I could be doing wrong?  Thanks in
 advance!

 Maybe it's because of http://jira.xwiki.org/jira/browse/XWIKI-4428


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


Re: [xwiki-users] users Digest, Vol 27, Issue 15

2009-10-07 Thread Sergiu Dumitriu
Luis Ruiz wrote:
 Hi Ricardo,
 
 In my case we would like that all pages are stored in the filesystem, of
 course attached content must be in filesystem, in the database only the
 structure of the wiki. Is that possible?
 

It is possible if you write your own storage implementation, derived 
from the current implementations.

I think the easiest step is to implement file-based storage only for 
attachments, and this has already been done by some of our users. 
Searching the mail archives should provide some pointers.

Next, if you just want to access documents from a folder, you can use 
WebDAV for that. See http://platform.xwiki.org/xwiki/bin/Features/WebDAV
I don.t think that actually storing the contents of the documents 
outside the database helps, since wiki content should never reach the 
limits of the database (unless you're storing genomes or data out of the 
LHC as wiki content). The main advantage of the database is speed. The 
main advantage of filesystems, easy access from other programs, can be 
achieved through WebDAV.

 2009/10/6 [Ricardo Rodriguez] Your EPEC Network ICT Team 
 webmas...@environmentalchange.net
 
 Hi,

 Guillaume Lerouge wrote:
 Why exactly do you needs pages to be stored in the filesystem? Maybe you
 can
 find a way to address your use case using existing XWiki features...
 In our case more than pages are attached files what we need to be stored
 in the filesystem. Could this be also your case, Luis?

 These files are usually images or data files generated by several
 analytical facilities. I don't know at what extend a XWiki installation
 using MySQL as RDBMS is suitable for storing, let's say, some hundreds
 of files weighting about 30Mb each. As far as I remember, this is a
 pending issue in XWiki, but it has not been forgotten.

 Greetings,

 Ricardo


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


Re: [xwiki-users] [myxwiki] new wiki request

2009-10-07 Thread Jean-Vincent Drean
On Wed, Oct 7, 2009 at 11:51 AM, Flavius Olaru flavius.ol...@gmail.com wrote:
 Hi,

 I am interested in having a wiki hosted at myxwiki.org for personal purpose,
 like daily blogging regarding my discoveries using XWiki, velocity etc.,
 some testing using the XWiki platform.
 The username for administration should be FlaviusOlaru.

Hi, AFAICS the user does not exist, could you create it please ?

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


Re: [xwiki-users] [myxwiki] new wiki request

2009-10-07 Thread Thomas Mortagne
On Wed, Oct 7, 2009 at 17:27, Jean-Vincent Drean jean-vinc...@drean.org wrote:
 On Wed, Oct 7, 2009 at 11:51 AM, Flavius Olaru flavius.ol...@gmail.com 
 wrote:
 Hi,

 I am interested in having a wiki hosted at myxwiki.org for personal purpose,
 like daily blogging regarding my discoveries using XWiki, velocity etc.,
 some testing using the XWiki platform.
 The username for administration should be FlaviusOlaru.

 Hi, AFAICS the user does not exist, could you create it please ?

 create it=register on http://www.myxwiki.org


 Thanks,
 JV.
 ___
 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