Re: [xwiki-users] Include a page with a specific and/or default locale

2014-02-03 Thread vinc...@massol.net
Hi,

Currently the include macro doesn’t support loading a page in a language other 
than the current language used to display the current page.

If you’re in a “de” page and that page uses the include macro, the included 
content will be in “de” too.

Do I understand correctly that you’d like something like this:
* you’re on a “de” page A using the include macro to include page B
* you’d like that the content of page B that is included is for example in “en” 
(but no in “de” which is the language page A is displayed in

?

Thanks
-Vincent

On 3 Feb 2014 at 23:03:58, Matthias Wegner (mic.mat.weg...@web.de) wrote:

Hi All,  

i have some pages in Locale de and en. I want to use another page with the  
include macro to load a set of defined pages in one language (or with a  
default language, when the other is not set). Is that possible?  

You know a similar solution if the include macro could not be used?  

Regards,  
Matthias  


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


[xwiki-users] Multi-page Table of Contents

2014-02-03 Thread Patrick Masson
I found this and would like to use it but it looks like it might not be 
current: 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Multipage+Table+Of+Contents


One reference I found suggested it is based on xwiki1.0. I tweaked it a 
bit but could not get the urls to replace the spaces in the page titles 
with the "+"


Any advice?

Also, perhaps the best approach is to use the "tree" functionality in 
the "Document Index?"


Thanks all,
Patrick


--
|||  |  |||||  |||| |||
Patrick Masson
General Manager, Director & Secretary to the Board
Open Source Initiative
855 El Camino Real, Ste 13A, #270
Palo Alto, CA 94301
United States
Skype: massonpj
sip: osi-mas...@ekiga.net
Ph: (970) 4MASSON
Em: mas...@opensource.org 
Ws: www.opensource.org 
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Include a page with a specific and/or default locale

2014-02-03 Thread Matthias Wegner
Hi All,

i have some pages in Locale de and en. I want to use another page with the
include macro to load a set of defined pages in one language (or with a
default language, when the other is not set). Is that possible?

You know a similar solution if the include macro could not be used?

Regards,
Matthias



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Include-a-page-with-a-specific-and-or-default-locale-tp7588954.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] how to fix "Unable to delete, rename any document or attachment from a subwiki using PostgreSQL" bug

2014-02-03 Thread Pascal BASTIEN
Thks for your quick answer.

I will do that then, even if I was interested by the way to manuely patch some 
code.


By the way, I fix a bug in hte mail configuration.
The SMTP sender in the mails parameters was not applied when mails going out:
diff ./xwiki/templates/shareinline.vm ./xwiki/templates/shareinline.vm.ori 
17c17 
<# Set ($ sender = "$ {escapetool.q ($ sender)} <$ {xwiki.getXWikiPreference 
('admin_email')}>") 
--- 
> # Set ($ sender = "$ {escapetool.q ($ sender)} ") 


Pascal B.




 De : "vinc...@massol.net" 
À : XWiki Users  
Cc : Pascal BASTIEN  
Envoyé le : Lundi 3 février 2014 18h31
Objet : Re: [xwiki-users] how to fix "Unable to delete, rename any document or 
attachment from a subwiki using PostgreSQL" bug
 


 Hi Bastien,

On 3 Feb 2014 at 18:26:42, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

> Hello,
> 
> I'm impacted by this bug on my fresh install off xWiki 5.3
> 
> "Unable to delete, rename any document or attachment from a subwiki using 
> PostgreSQL"
> 
> http://jira.xwiki.org/browse/XWIKI-9846
> 
> My question is simple: how can I patch my installation to fix this bug?
> 
> Of course, I looking for "5.3.1 xwiki .war download" without success and I 
> can't found the file to modify.

We haven’t released a 5.3.1 and we probably won’t now that we’re finishing our 
5.4 release (it should be released as final this week).

I’d suggest to upgrade to 5.4RC1 if you’re in a hurry or wait for the 5.4 this 
week (5.4 will be very similar to the RC1). FTR Here’s the list of issues fixed 
in 5.4 that are not in 5.4RC1:

http://jira.xwiki.org/issues/?jql=category%20in%20(%22Top%20Level%20Projects%22)%20and%20fixVersion%20in%20(%225.4%22)%20and%20status%20in%20(Closed)

Thanks
-Vincent

> 
> I suppose I must use this file
> https://github.com/xwiki/xwiki-platform/blob/53079977a64f7d141e96e563f59e015f35ba20b8/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateBaseStore.java
> but where to put it? Java software and Tomcat server is new for me :-/
> 
> 
> Thxs.
> 
> Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] how to fix "Unable to delete, rename any document or attachment from a subwiki using PostgreSQL" bug

2014-02-03 Thread vinc...@massol.net
 
Hi Bastien,

On 3 Feb 2014 at 18:26:42, Pascal BASTIEN 
(pbasnews-xw...@yahoo.fr(mailto:pbasnews-xw...@yahoo.fr)) wrote:

> Hello,
>  
> I'm impacted by this bug on my fresh install off xWiki 5.3
>  
> "Unable to delete, rename any document or attachment from a subwiki using 
> PostgreSQL"
>  
> http://jira.xwiki.org/browse/XWIKI-9846
>  
> My question is simple: how can I patch my installation to fix this bug?
>  
> Of course, I looking for "5.3.1 xwiki .war download" without success and I 
> can't found the file to modify.

We haven’t released a 5.3.1 and we probably won’t now that we’re finishing our 
5.4 release (it should be released as final this week).

I’d suggest to upgrade to 5.4RC1 if you’re in a hurry or wait for the 5.4 this 
week (5.4 will be very similar to the RC1). FTR Here’s the list of issues fixed 
in 5.4 that are not in 5.4RC1:

http://jira.xwiki.org/issues/?jql=category%20in%20(%22Top%20Level%20Projects%22)%20and%20fixVersion%20in%20(%225.4%22)%20and%20status%20in%20(Closed)

Thanks
-Vincent

>  
> I suppose I must use this file
> https://github.com/xwiki/xwiki-platform/blob/53079977a64f7d141e96e563f59e015f35ba20b8/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateBaseStore.java
> but where to put it? Java software and Tomcat server is new for me :-/
>  
>  
> Thxs.
>  
> Pascal B
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] how to fix "Unable to delete, rename any document or attachment from a subwiki using PostgreSQL" bug

2014-02-03 Thread Pascal BASTIEN
Hello,

I'm impacted by this bug on my fresh install off xWiki 5.3

"Unable to delete, rename any document or attachment from a subwiki using 
PostgreSQL"

http://jira.xwiki.org/browse/XWIKI-9846

My question is simple: how can I patch my installation to fix this bug?

Of course, I looking for "5.3.1 xwiki .war download" without success and I 
can't found the file to modify.

I suppose I must use this file
https://github.com/xwiki/xwiki-platform/blob/53079977a64f7d141e96e563f59e015f35ba20b8/xwiki-platform-core/xwiki-platform-oldcore/src/main/java/com/xpn/xwiki/store/XWikiHibernateBaseStore.java
but where to put it? Java software and Tomcat server is new for me :-/


Thxs.

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


[xwiki-users] Number field - separate decimal places with comma instead point

2014-02-03 Thread spoolox
I hope that I don't have overseen a simple switch in the Administration
interface - I want to format the number field for German users. Since we use
a comma to separate the places after the decimal point, I would like to know
if that is somehow possible to achieve for a float/double datatype field?
(e.g. 1200,99 instead of 1200.99)
Thanks a lot.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Number-field-separate-decimal-places-with-comma-instead-point-tp7588944.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] Datepicker with velocity in custom form

2014-02-03 Thread spoolox
Thank you very much, Marius!



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/Datepicker-with-velocity-in-custom-form-tp7588801p7588943.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