[xwiki-users] History of a page

2009-12-02 Thread PERINAUD Christophe
Hello,

I have a page that was modified 47 times. When i go to see the history, the tab 
displayed Results 1 - 20 of 47 but i can see all versions. If i go on the 
second or the third page, the result is also the complete history list.

Is it a known bug ? I tried to look at the JIRA issues but i did not find any.

Thank you

Christophe PĂ©rinaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL




This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Categories in Enterpriste Wiki? Second Attempt

2009-12-02 Thread Peter, Gerhard
Hello,

a while ago I sent the following question to this mailing list:

categories are part of XWiki Workspaces. However, I cannot find this feature 
in XWiki Enterprise (neither in the software itself nor the documentation). In 
general, I consider categories a useful extension to spaces and tags and, thus, 
would like to have them at my disposal. Is there a way to include categories 
into XWiki Enterprise?

I would appreciate some feedback. In January, we will begin two pilots using 
XWiki and it would be helpful to know how to include categories. I expect that 
there is a way to do it (this feature is available in Workspaces after all).

Kind regards,
Gerhard





Festo AG  Co. KG
Gerhard Peter
Abteilung IS-KM
Methoden und Prozesse
Plieninger Stra?e 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4530
Telefax +49(711)34754-4530
http://www.festo.com

Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten 
bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung 
oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist 
unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu 
setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von 
Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the 
addressee. The perusal, publication, copying or dissemination of the contents 
of this e-mail by unauthorised third parties is prohibited. If you are not the 
intended recipient of this e-mail, please delete it and immediately notify the 
sender.

Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, 
Umsatzsteuerident-Nummer: DE 145339206
Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. 
FN 303027 d
Vorstand:
Dr. Ekkehard Gericke
Dipl.-Kfm. Alfred Goll
Dr. Ansgar Kriwet
Dr. Thomas Rubbe
Dr. Eberhard Veit (Vorsitzender)
Dr. Ulrich Walker
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll

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


Re: [xwiki-users] History of a page

2009-12-02 Thread Sergiu Dumitriu
On 12/02/2009 09:36 AM, PERINAUD Christophe wrote:
 Hello,

 I have a page that was modified 47 times. When i go to see the history, the 
 tab displayed Results 1 - 20 of 47 but i can see all versions. If i go on 
 the second or the third page, the result is also the complete history list.

 Is it a known bug ? I tried to look at the JIRA issues but i did not find any.

 Thank you

Yes, it's known. We didn't have time to look into it yet.

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


Re: [xwiki-users] Categories in Enterpriste Wiki? Second Attempt

2009-12-02 Thread Guillaume Lerouge
Hi,

On Wed, Dec 2, 2009 at 11:55 AM, Peter, Gerhard p...@de.festo.com wrote:

 Hello,

 a while ago I sent the following question to this mailing list:

 categories are part of XWiki Workspaces. However, I cannot find this
 feature in XWiki Enterprise (neither in the software itself nor the
 documentation). In general, I consider categories a useful extension to
 spaces and tags and, thus, would like to have them at my disposal. Is there
 a way to include categories into XWiki Enterprise?


I think right now you can only use tags to achieve that. There used to be a
way to turn tags into categories but I'm not sure that with the latest
version of XWiki Enterprise you can still do that out of the box since tags
have a new UI.

I would appreciate some feedback. In January, we will begin two pilots using
 XWiki and it would be helpful to know how to include categories. I expect
 that there is a way to do it (this feature is available in Workspaces after
 all).


I'm glad to hear that. Have you considered using XWiki Enterprise Manager to
manage both wikis from a central place?

Well, if you're willing to dive a bit into the code, creating a panel that
would allow users to categorize a page using the tag objects for storage 
removing the current tags interface would take less than a day for an
experienced XWiki dev, a bit more if you're not familiar with XWiki
development yet. It's not that hard to do.

Hope this helps,

Guillaume


 Kind regards,
 Gerhard





 Festo AG  Co. KG
 Gerhard Peter
 Abteilung IS-KM
 Methoden und Prozesse
 Plieninger Stra?e 50
 73760 Ostfildern-Scharnhausen
 Deutschland
 Telefon +49(711)347-4530
 Telefax +49(711)34754-4530
 http://www.festo.com

 Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten
 Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung,
 Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch
 unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender
 des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses
 E-Mails sind und das Material von Ihrem Computer zu loeschen.
 This e-mail and any attachments are confidential and intended solely for
 the addressee. The perusal, publication, copying or dissemination of the
 contents of this e-mail by unauthorised third parties is prohibited. If you
 are not the intended recipient of this e-mail, please delete it and
 immediately notify the sender.

 Rechtsform: Kommanditgesellschaft
 Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583,
 Umsatzsteuerident-Nummer: DE 145339206
 Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
 Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch
 Nr. FN 303027 d
 Vorstand:
 Dr. Ekkehard Gericke
 Dipl.-Kfm. Alfred Goll
 Dr. Ansgar Kriwet
 Dr. Thomas Rubbe
 Dr. Eberhard Veit (Vorsitzender)
 Dr. Ulrich Walker
 Aufsichtsratsvorsitzender:
 Dr. Wilfried Stoll

 ___
 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] [Proposal] Roadmap for XE 2.2

2009-12-02 Thread Vincent Massol

On Dec 1, 2009, at 12:23 PM, Vincent Massol wrote:

 Hi everyone,

 Here's a proposal Guillaume and I have prepared for the XE 2.2  
 roadmap.

 - XWiki committers: I have assigned some devs based on past work.  
 Please confirm if it's ok for you or not. You can also suggest other  
 stuff you'd like to do if you think you'll have the time
 - XWiki contributors: Please let us know if you're willing to  
 participate and on the topic you're interested in participating to
 - XWiki users: Please let us know if we have forgotten something  
 important

 Must have (Priority 1):

 - Wiki Macro isolation for XEM (Vincent)
 - WCAG (Jean-Vincent + Vincent + Sergiu + Caty)
 - User Profile UI (Caty + Jean-Vincent)
 - Google Gadgets integration (scope to be defined by Anamaria)
 - Bug fix + stabilization (All)
 - Patch application (Volunteer needed)
 -- Lucene patches
 -- Performance patches
 - i18 rendering (Thomas)

Note: This requires the xwiki-localization module to be finished.

Thanks
-Vincent

 - Annotations (Anca)

 Nice to have (Priority 2):
 - ColorTheme UI improvement
 - Watchlist UI
 - xwiki.org improvements:
 -- use new skin + new colors-- horizontal navigation
 -- Home page redesign
 -- Download page redesign
 -- Project page design
 -- Support page redesign

 Dates:
 - 2.2M1: 28 Dec 2009
 - 2.2M2: 18 Jan 2010
 - 2.2RC1: 1er Feb 2010
 - 2.2 RC2/Finale: 8 Feb 2010

 Thanks
 -Vincent


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


Re: [xwiki-users] [Proposal] Roadmap for XE 2.2

2009-12-02 Thread Thomas Mortagne
On Tue, Dec 1, 2009 at 12:41, Thomas Mortagne thomas.morta...@xwiki.com wrote:
 On Tue, Dec 1, 2009 at 12:23, Vincent Massol vinc...@massol.net wrote:
 Hi everyone,

 Here's a proposal Guillaume and I have prepared for the XE 2.2 roadmap.

 - XWiki committers: I have assigned some devs based on past work.
 Please confirm if it's ok for you or not. You can also suggest other
 stuff you'd like to do if you think you'll have the time
 - XWiki contributors: Please let us know if you're willing to
 participate and on the topic you're interested in participating to
 - XWiki users: Please let us know if we have forgotten something
 important

 Must have (Priority 1):

 - Wiki Macro isolation for XEM (Vincent)
 - WCAG (Jean-Vincent + Vincent + Sergiu + Caty)
 - User Profile UI (Caty + Jean-Vincent)
 - Google Gadgets integration (scope to be defined by Anamaria)
 - Bug fix + stabilization (All)
 - Patch application (Volunteer needed)
 -- Lucene patches

I will take care of this.

 -- Performance patches
 - i18 rendering (Thomas)

 - generic transformation markers (Thomas)

 - Annotations (Anca)

 Nice to have (Priority 2):
 - ColorTheme UI improvement
 - Watchlist UI
 - xwiki.org improvements:
 -- use new skin + new colors
 -- horizontal navigation
 -- Home page redesign
 -- Download page redesign
 -- Project page design
 -- Support page redesign

 Dates:
 - 2.2M1: 28 Dec 2009
 - 2.2M2: 18 Jan 2010
 - 2.2RC1: 1er Feb 2010
 - 2.2 RC2/Finale: 8 Feb 2010

 Thanks
 -Vincent

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




 --
 Thomas Mortagne




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


Re: [xwiki-users] [Proposal] Roadmap for XE 2.2

2009-12-02 Thread Vincent Massol
Hi Flavius,

On Dec 1, 2009, at 9:53 PM, Flavius Olaru wrote:

 I would also like to get involved in WCAG, User Profiles or at least
 Priority 2 like ColorThemes (and maybe having an AdvancedColorThemes  
 if
 default ColorThemes are too restrictive, like as it is now having  
 different
 complementary background colors on the page and panels is unusable  
 due to
 links color) or Watchlist UI and Watchlist application for velocity  
 syntax
 2.0 and make it more javascript independent (currently having some  
 progress
 on this).

That's great to hear. I think you could help us a lot on the fixes for  
WCAG. I'll let Jean-Vincent give you more detail.
Basically we need to fix the issue reported by our new WCAG automated  
tests here:
http://bit.ly/8EeQkM

To work on this:
- let us known which pages you're fixing on the list so that we don't  
all work on the same one. You can also do that by creating a jira  
issue about fixing that page (which will send a mail on the list)
- provide a patch in jira for it

Thanks a lot
-Vincent

 On Tue, Dec 1, 2009 at 1:41 PM, Thomas Mortagne
 thomas.morta...@xwiki.comwrote:

 On Tue, Dec 1, 2009 at 12:23, Vincent Massol vinc...@massol.net  
 wrote:
 Hi everyone,

 Here's a proposal Guillaume and I have prepared for the XE 2.2  
 roadmap.

 - XWiki committers: I have assigned some devs based on past work.
 Please confirm if it's ok for you or not. You can also suggest other
 stuff you'd like to do if you think you'll have the time
 - XWiki contributors: Please let us know if you're willing to
 participate and on the topic you're interested in participating to
 - XWiki users: Please let us know if we have forgotten something
 important

 Must have (Priority 1):

 - Wiki Macro isolation for XEM (Vincent)
 - WCAG (Jean-Vincent + Vincent + Sergiu + Caty)
 - User Profile UI (Caty + Jean-Vincent)
 - Google Gadgets integration (scope to be defined by Anamaria)
 - Bug fix + stabilization (All)
 - Patch application (Volunteer needed)
 -- Lucene patches
 -- Performance patches
 - i18 rendering (Thomas)

 - generic transformation markers (Thomas)

 - Annotations (Anca)

 Nice to have (Priority 2):
 - ColorTheme UI improvement
 - Watchlist UI
 - xwiki.org improvements:
 -- use new skin + new colors
 -- horizontal navigation
 -- Home page redesign
 -- Download page redesign
 -- Project page design
 -- Support page redesign

 Dates:
 - 2.2M1: 28 Dec 2009
 - 2.2M2: 18 Jan 2010
 - 2.2RC1: 1er Feb 2010
 - 2.2 RC2/Finale: 8 Feb 2010

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


[xwiki-users] xwiki and jquery

2009-12-02 Thread Bubulina

Hello
Do you know if jquery and xwiki work together? am trying to use the table
sort from jquery and integrated in xwiki i have errors ?
Thank you 
-- 
View this message in context: 
http://n2.nabble.com/xwiki-and-jquery-tp4099718p4099718.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 add a property to spaces?

2009-12-02 Thread Thomas Mortagne
On Wed, Dec 2, 2009 at 06:39, Kevin Thiart kthi...@compuscan.co.za wrote:
 Hi

 How can I add properties to my spaces?

 I'm looking for something like an editable SpaceClass.
 And a way to change the Create Space form to include the property.
 And finally a way to access that property with Groovy.

 But I've noticed that there aren't classes for Pages or Spaces.

Well its more generic that that: you create a class and add
instance(s) of this class (and other classes) to the targeted page.
See http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel for
more details.

Space does not really exists technically so you can't add an object in
a space but you can decide that some page will contains objects
assigned to the space, for example we use the space.WebPreference
page to store user rights management objects.

To manipulate objects and classes you can look at examples in
http://code.xwiki.org or dev manual
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide).


 I'm using XE 2.0.3.

 --
 Kevin
 ___
 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] How to add a property to spaces?

2009-12-02 Thread kevint

Thanks for all the info!

I guess the only question remaining then is:

How can I extend the create space script?
All I need to know is where this logic is.
I want to extend it to add an object to the WebHome page automatically on
creation.

I want to use this object to categorize my spaces.
At the moment I'm using tags and a custom panel, which feels too much like a
hack.

Thanks!

--
Kevin
-- 
View this message in context: 
http://n2.nabble.com/How-to-add-a-property-to-spaces-tp4098167p4099930.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 and jquery

2009-12-02 Thread Bubulina

hello
i checked to see if the files are imported and they are. i see no ideas
towards a sollution at this moment.
i am using now the sortable and filtering from xwiki. tablefilterNsort.js
i can see the sorting is made automatic by the name . i wanted to make it
implicit by another column...looked into the sources...very difficult to
debug. has variables with the names: A,B,C
can you please give me a hint as to how to change the column that is
implicit when sorting?
thank you

vmassol wrote:
 
 Hi,
 
 On Dec 2, 2009, at 2:10 PM, Bubulina wrote:
 

 Hello
 Do you know if jquery and xwiki work together? am trying to use the  
 table
 sort from jquery and integrated in xwiki i have errors ?
 
 AFAIK the only issue is to make prototype and jquery work together but  
 that's doable. See for ex;
 http://docs.jquery.com/Using_jQuery_with_Other_Libraries
 
 You could also check the mail archives, maybe there are answers there:
 http://xwiki.markmail.org/search/?q=jquery
 
 Thanks
 -Vincent
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 

-- 
View this message in context: 
http://n2.nabble.com/xwiki-and-jquery-tp4099718p4099963.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 add a property to spaces?

2009-12-02 Thread kevint


kevint wrote:
 
 How can I extend the create space script?
 All I need to know is where this logic is.
 I want to extend it to add an object to the WebHome page automatically on
 creation.
 

Nevermind that.

I'll create a panel to display on page edit that can add the object to the
page.
Similar to how the document information panel adds tags to a page.

Thanks for all your help.
Now I know the difference between spaces, pages and objects.

If I get to the point where I can package all my changes, I'll see if I can
create a xar file.
Assuming I figure out HOW to create a xar file for something like this.
-- 
View this message in context: 
http://n2.nabble.com/How-to-add-a-property-to-spaces-tp4098167p4100048.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 add a property to spaces?

2009-12-02 Thread Jean-Vincent Drean
On Wed, Dec 2, 2009 at 3:00 PM, kevint kthi...@compuscan.co.za wrote:

 Thanks for all the info!

 I guess the only question remaining then is:

 How can I extend the create space script?
 All I need to know is where this logic is.

The code you're looking for is in the create.vm template.

 I want to extend it to add an object to the WebHome page automatically on
 creation.

 I want to use this object to categorize my spaces.
 At the moment I'm using tags and a custom panel, which feels too much like a
 hack.

 Thanks!

 --
 Kevin
 --
 View this message in context: 
 http://n2.nabble.com/How-to-add-a-property-to-spaces-tp4098167p4099930.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] Categories in Enterpriste Wiki? Second Attempt

2009-12-02 Thread Peter, Gerhard
Hello,

I haven't taken a look at XWiki Enterprise Manager. Now I will. Thanks a lot 
for the hint.

It's good to know that adding categories is possible. Some of my colleagues 
long for an opportunity to gain some experience in XWiki development :-) 

Kind regards,
Gerhard

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Guillaume Lerouge
Sent: Wednesday, December 02, 2009 12:12 PM
To: XWiki Users
Subject: Re: [xwiki-users] Categories in Enterpriste Wiki? Second Attempt

Hi,

On Wed, Dec 2, 2009 at 11:55 AM, Peter, Gerhard p...@de.festo.com wrote:

 Hello,

 a while ago I sent the following question to this mailing list:

 categories are part of XWiki Workspaces. However, I cannot find this
 feature in XWiki Enterprise (neither in the software itself nor the
 documentation). In general, I consider categories a useful extension to
 spaces and tags and, thus, would like to have them at my disposal. Is there
 a way to include categories into XWiki Enterprise?


I think right now you can only use tags to achieve that. There used to be a
way to turn tags into categories but I'm not sure that with the latest
version of XWiki Enterprise you can still do that out of the box since tags
have a new UI.

I would appreciate some feedback. In January, we will begin two pilots using
 XWiki and it would be helpful to know how to include categories. I expect
 that there is a way to do it (this feature is available in Workspaces after
 all).


I'm glad to hear that. Have you considered using XWiki Enterprise Manager to
manage both wikis from a central place?

Well, if you're willing to dive a bit into the code, creating a panel that
would allow users to categorize a page using the tag objects for storage 
removing the current tags interface would take less than a day for an
experienced XWiki dev, a bit more if you're not familiar with XWiki
development yet. It's not that hard to do.

Hope this helps,

Guillaume


 Kind regards,
 Gerhard





 Festo AG  Co. KG
 Gerhard Peter
 Abteilung IS-KM
 Methoden und Prozesse
 Plieninger Stra?e 50
 73760 Ostfildern-Scharnhausen
 Deutschland
 Telefon +49(711)347-4530
 Telefax +49(711)34754-4530
 http://www.festo.com

 Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten
 Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung,
 Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch
 unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender
 des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses
 E-Mails sind und das Material von Ihrem Computer zu loeschen.
 This e-mail and any attachments are confidential and intended solely for
 the addressee. The perusal, publication, copying or dissemination of the
 contents of this e-mail by unauthorised third parties is prohibited. If you
 are not the intended recipient of this e-mail, please delete it and
 immediately notify the sender.

 Rechtsform: Kommanditgesellschaft
 Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583,
 Umsatzsteuerident-Nummer: DE 145339206
 Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
 Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch
 Nr. FN 303027 d
 Vorstand:
 Dr. Ekkehard Gericke
 Dipl.-Kfm. Alfred Goll
 Dr. Ansgar Kriwet
 Dr. Thomas Rubbe
 Dr. Eberhard Veit (Vorsitzender)
 Dr. Ulrich Walker
 Aufsichtsratsvorsitzender:
 Dr. Wilfried Stoll

 ___
 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

Festo AG  Co. KG
 Gerhard Peter
Abteilung IS-KM
Methoden und Prozesse
Plieninger Strasse 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon +49(711)347-4530
Telefax +49(711)34754-4530
http://www.festo.com

Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten 
bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung 
oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist 
unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu 
setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von 
Ihrem Computer zu loeschen. 
This e-mail and any attachments are confidential and intended solely for the 
addressee. The perusal, publication, copying or dissemination of the contents 
of this e-mail by unauthorised third parties is prohibited. If you are not the 
intended recipient of this e-mail, please delete it and immediately notify the 
sender.  

Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, 
Umsatzsteuerident-Nummer: DE 145339206
Persoenlich haftende Gesellschafterin: Festo 

[xwiki-users] How to specify mime-type for MSOffice-2007 document attachments

2009-12-02 Thread Milind Kamble
Hi.
I am test driving XWiki Enterprise for my group at work. Kudos and
thanks to the developers for putting together this fabulous app. 

I
am having trouble with MSOffice-2007 documents attached to pages in the
wiki. The content-type header delivered by the server when accessing
such documents (with extensions .pptx, .docx or .xlsx for example) is
application/octet-stream. While modern browsers such as Firefox offer
to open the document in the appropriate app (looking at the filename in
the content-disposition header I guess), IE6 unfortunately treats it as
binary data and offers to open it with WinZip.

I have read through a couple of threads in the xwiki-dev and xwiki-users 
mailing list archive, but following those directions did not resolve my issue.

So how can I fix
this issue? I have tried adding mime-mapping in
install-root/domain/domain1/config/default-web.xml as well as
in
install-root/domain/domain1/applications/j2ee-modules/xwiki-enterprise-web-2.1-milestone-1/WEB-INF/web.xml
like following -- but that has had no effect.

mime-mapping
extensiondocx/extension
mime-typeapplication/vnd.openxmlformats/mime-type
/mime-mapping
mime-mapping
extensionpptx/extension
mime-typeapplication/vnd.openxmlformats/mime-type
/mime-mapping
mime-mapping
extensionxlsx/extension
mime-typeapplication/vnd.openxmlformats/mime-type
/mime-mapping

The content-type header still comes as  application/octet-stream as shown below:

bash lynx http://myhost/xwiki/bin/download/Sandbox/TestPage2/simple.xlsx 
-head -dump
HTTP/1.1 200 OK
Server: Sun Java System Application Server 9.1_01
Set-Cookie: JSESSIONID=1556df25ad03500b4592d778a5e1; Path=/xwiki
Content-disposition: inline; filename=simple.xlsx
Last-Modified: Wed, 02 Dec 2009 17:37:17 GMT
Set-Cookie: visitid=NMUOTURHA9P7GS5BM35MKJLN5WQSPYDL; Path=/
Content-Type: application/octet-stream;charset=ISO-8859-1
Content-Language: en

I
have verified by introducing syntax errors and by other techniques that
the web.xml file is being read by the server when I perform a restart,
but the mime-mapping additions seem to have no effect.

Any help will be deeply appreciated.

Thanks,
Milind



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