Re: [xwiki-users] xwiki rendering questions / suggestions

2008-06-12 Thread Ari
Hello.

Jean-Vincent Drean wrote:
> On Wed, Jun 11, 2008 at 1:37 PM, Ari <[EMAIL PROTECTED]> wrote:
>> As the description of this list goes: I would suggest that the xwiki
>> rendering should be done in a straightforward way where syntax 1 would
>> be h1, 1.1 h2, 1.1.1 h3 and so on.
>>
> 
> Yes the semantics of our titles aren't correct, if I remember well
> those titles are the default titles coming from Radeox (the rendering
> components we use which is not part of the XWiki project itself).
> BTW we are currently rewriting the whole rendering component so I
> think this issue will disappear in a near future, Vincent can you
> confirm ?

I noticed just now that thunderbird had marked tons of users-list mail
as junk so I didn't notice this until now. Happy to hear that problems
may be solved as we upgrade our wiki to 1.5.

Hopefully the PART2 "bug" is also fixed.. I could have fixed it but have
no idea where to look for.

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


Re: [xwiki-users] xwiki rendering questions / suggestions

2008-06-12 Thread Ari
Ari wrote:
> I've tried to figure out why the XWiki renders xwiki-headings as it
> does. E.g "1 Title One" is rendered as 'Title
> One'. I would like to change this to be h1-element instead of
> h2-element.

I implemented the modifications for "heading liftup". Modifications include:

com.xpn.xwiki.render.XWikiWikiBaseRenderer#makeHeading
--
public static void makeHeading(StringBuffer stringBuffer, String
level, String text,  Util util) {

// modified 12.06.2008  
Integer parsedInt = Integer.parseInt(level);
Integer levelInt = Math.max((parsedInt-1), 1);
// end of modification

String anchor = makeAnchor(text, util);
stringBuffer.append("");
stringBuffer.append(text);
stringBuffer.append("");

}

--



com.xpn.xwiki.render.filter.XWikiHeadingFilter#handleMatch(MatchResult
result, FilterContext context)

--
public String handleMatch(MatchResult result, FilterContext context)
{
String id = null;
String title = result.group(0);
String level = result.group(1);
// old way
//int level_i = (level.length() + 3) / 2;
// new way (12.06.2008)
int level_i =  level.replaceAll("\\.", "").length();
--

I'm not sure if the modification to
com.xpn.xwiki.render.XWikiWikiBaseRenderer#makeHeading is necessary, but
the change for
com.xpn.xwiki.render.filter.XWikiHeadingFilter#handleMatch(MatchResult
is obvious.


This change is compatible with xwiki-core-1.4. I think that the
rendering is pretty completely rewritten in 1.5, but hopefully someone
finds this useful. Any corrections for possible misintepretations are
highly appreciated.


Regards,
ari

PS. Has someone knowledge about the "bug" in the rendering text after
list (-, *, #) ? (See rest of the post, PART 2)


> As the description of this list goes: I would suggest that the xwiki
> rendering should be done in a straightforward way where syntax 1 would
> be h1, 1.1 h2, 1.1.1 h3 and so on.
> 
> 
> 
> PART 2
> 
> Another suggestion is that minor fix would be implemented in rendering.
> An example text and the rendered result:
> 
> --
> this is text before list.
> * this
> * is
> * list
> this is text after list.
> --
> this is text before list.
> 
>this
>is
>list
> this is text after list.
> --
> 
> Also "this is text after list" should be rendered as paragraph. A
> workaround is to write:
> 
> --
> this is text before list.
> * this
> * is
> * list
> 
> 
> this is text after list.
> --
> this is text before list.
> 
>   this
>   is
>   list
> 
> this is text after list.
> --
> 
> 
> Same goes with lists with - * and #.
> 
> 
> With Best Regards,
> ari
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users

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


[xwiki-users] Workspaces install

2008-06-12 Thread Matthew Levy
Hi all,

I am attempting to install workspaces and everything installs  
correctly but when I am prompted to create the organization's space,  
it looks as if the macros are not working.

Instead of the form field to enter the name of the space, I get:   
$newspace.display("displayTitle","edit").

It looks like the velocity engine is not working for some reason.  If  
I install as standalone, it works just fine.  The xwiki instance is  
running on glassfish using hsqldb.

I would imagine this is fairly common as I followed the instructions  
to a tee, but I still get this.  Any clues?

Thanks much,

Matt


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


Re: [xwiki-users] Edit menu has no entries

2008-06-12 Thread Vincent Massol
Hi Matthias,

See http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing

Thanks
-Vincent

On Jun 12, 2008, at 8:54 PM, Matthias Albert wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi,
>
> as I remember, I once saw several entries in the "Edit" menu, like  
> Wiki
> or Wysiwyg syntax, or class and object editor.
>
> In my local installation, I see this only if logged in as  
> superadmin. In
> my myxwiki.org pages, I can't see any entries in the Edit menu.
>
> Did I miss any settings?
>
> Thank you
> Matthias Albert
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Edit menu has no entries

2008-06-12 Thread Matthias Albert
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

as I remember, I once saw several entries in the "Edit" menu, like Wiki
or Wysiwyg syntax, or class and object editor.

In my local installation, I see this only if logged in as superadmin. In
my myxwiki.org pages, I can't see any entries in the Edit menu.

Did I miss any settings?

Thank you
Matthias Albert
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIUXDq99dNHzj143ARAgQGAKCdDwYg3E7EBxlAzQwtClac49qCZQCfV0SA
FE1+UgQCEs1GFsbRnOkW98E=
=Sl7+
-END PGP SIGNATURE-
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Does Not Handle Attachments Efficiently

2008-06-12 Thread Sergiu Dumitriu
shivshan wrote:
> Hi
> There was another discussion on this topic, where an effort has been made to
> store the files directly on the filesystem. Not sure how this would reduce
> memory consumption. Please read Sergiu's comments carefully though, before
> you try this out.
> Link 
> http://www.nabble.com/AttachmentStore---my-filesystem-based-implementation-td16987518.html#a17040326
> here 
> Of course, in the meantime, we await the WebDAV implementation.
> Shiva

I'm not sure the webdav implementation will solve the memory problem. If I 
understand correctly how 
it will work, then it will just be an interface over the same core, meaning 
that all the performance 
issues will still be there.

> 
> vmassol wrote:
>>
>> On Jun 12, 2008, at 2:45 PM, Artem Melentyev wrote:
>>
>>> Hi, Vincent.
>>>
>>> Vincent Massol wrote:
 Why is it using some much memory? Isn't that a bug? (I don't
 understand why we would need to load more than 1 attachment version  
 at
 a time in memory).
>>> Look at
>>> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query 
>>> :attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
 Worse, if this is not the first version of the attachment, then the
 complete attachment history is loaded in memory, so add another
 24*versionsize*versions of memory needed during upload.
>>> This is a feature of JRCS :)
>> I see. So I guess the only solution would be drop JRCS and do our own  
>> stuff... (or find another library that does it fast).
>>
>> Thanks
>> -Vincent
>>

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


Re: [xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Squirrel
Just to let you know:

I just tried it with CentOS 5 too, without any success.
I tried it again with Ubuntu 8.04 LTS Server, no success (I spent over 12
hours, installing the whole server more than 5 times from scratch, searching
for infos, etc.)
Switched back, again, to Debian Etch, 30 min. later everything is up and
running.

Boy, freaking distro bunglers...


On Thu, Jun 12, 2008 at 10:27 AM, Squirrel <[EMAIL PROTECTED]> wrote:

> I would try to remove tomcat and install it from source or try it (in a
> virtualbox) with Debian Etch...
>
> Sorry lacking in better ideas...
>
>
>
> On Thu, Jun 12, 2008 at 10:35 AM, Graeme West <[EMAIL PROTECTED]>
> wrote:
>
>> Hi all,
>> Thanks for your ideas. I'm using 'postgresql-jdbc3.jar', which shipped
>> with CentOS 5, in the /var/lib/tomcat5/webapps/xwiki/WEB-INF/lib
>> directory. It has the correct permissions and ownership (the same as
>> all the other tomcat libs).
>>
>> I just tried switching to using MySQL with the MySQL/j connector
>> instead - this gave the same result. So I'm thinking it's a Tomcat
>> problem.
>>
>> I've also tried deleting the Xwiki webapp folder, and letting Tomcat
>> re-unpack it. Same result.
>>
>> I can't see anything unusual in the Tomcat logs at all, unfortunately.
>>
>> Any ideas?
>>
>> Thanks for your help.
>>
>> Graeme West
>>
>> On 12 Jun 2008, at 15:02, Squirrel wrote:
>>
>> > The owner is varying from distribution to distribution...sometimes
>> > it's
>> > tomcat55:nogroup (debian+ubuntu) or if you install tomcat from source,
>> > whatever you have defined...
>> >
>> > But Jean-Vincent is right, that could be an issue too.
>> >
>> >
>> > On Thu, Jun 12, 2008 at 9:18 AM, Jean-Vincent Drean <[EMAIL PROTECTED]>
>> > wrote:
>> >
>> >> Hi Graeme,
>> >>
>> >> Do you see any error in the container log ?
>> >> Having the DB misconfigured lead to a XWiki exception, getting a 404
>> >> means that the container hasn't deployed the webapp.
>> >> Can it be a right issue ? Is the owner of the xwiki webapp files
>> >> tomcat:tomcat ?
>> >>
>> >> On Thu, Jun 12, 2008 at 2:07 PM, Esbach, Brandon
>> >> <[EMAIL PROTECTED]> wrote:
>> >>> Graeme,
>> >>>
>> >>> If you've just deployed it, you usually need to ensure you've
>> >>> setup the
>> >>> hibernate to point to your database (it's fairly simple to do,
>> >>> just edit
>> >>> the file and uncomment the relative area, adding in account
>> >>> details as
>> >>> needed).
>> >>> AFAIK tomcat won't start the app until it has a valid db connection,
>> >>> which could explain why you're getting a tomcat error (and not an
>> >>> xwiki
>> >>> error)
>> >>>
>> >>> -Original Message-
>> >>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>> >>> Behalf
>> >>> Of Graeme West
>> >>> Sent: 12 June 2008 13:02
>> >>> To: XWiki Users
>> >>> Subject: [xwiki-users] New install problem: 404 from Tomcat
>> >>>
>> >>> Hi all,
>> >>> Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
>> >>> 5.5.20, using PostgreSQL, and I'm getting a 404 error when I try
>> >>> to load
>> >>> the Xwiki main page.
>> >>>
>> >>> I deployed the wiki by dropping the .war file into the webapps
>> >>> directory, and Tomcat subsequently automatically unpacked the WAR
>> >>> into
>> >>> an 'xwiki' directory.
>> >>>
>> >>> But now when I go to my host : http://localhost:8080/xwiki/ , I
>> >>> get an
>> >>> Apache Tomcat 404 error, saying "The requested resource (/xwiki/)
>> >>> is not
>> >>> available.". It's not even an XWiki 404 - it's a default Tomcat
>> >>> one, the
>> >>> same as I'd get if I loaded
>> http://localhost:8080/ThisWebAppDoesNotExist
>> >>> .
>> >>>
>> >>> I'm sure I've installed the Xwiki war incorrectly, but can anyone
>> >>> point
>> >>> me in the right direction - where have I gone wrong?
>> >>>
>> >>> I'm deploying on CentOS 5 using the default Tomcat installation
>> >>> which
>> >>> comes with that OS. The only thing I've changed is the Hibernate
>> >>> configuration to reflect a Postgre database (which is set up).
>> >>>
>> >>> Thanks in advance.
>> >>>
>> >>> Graeme West
>> >>>
>> >>> Glasgow Caledonian University is a registered Scottish charity,
>> >>> number
>> >>> SC021474 ___
>> >>> 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
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Jean-Vincent Drean
>> >> ___
>> >> 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
>> >
>> > Email has been scanned for viruses by Altman Technologies' email
>> > management service - www.altman.co.uk/emailsystems
>>
>>
>> Glasgow Caled

Re: [xwiki-users] [xwiki-devs] It's voting time again: Help XWiki ! Vote for it's creator at a French radio contest !

2008-06-12 Thread Ludovic Dubost

I was sure somebody would choose Patricia J.

Pascal Voitot wrote:
> finally I preferred voting for a nice looking girl instead of you ludovic...
> Sorry about that :(...
>
>
>
>
> Pascal the joker
>
>
>
> On Thu, Jun 12, 2008 at 4:37 PM, Ludovic Dubost <[EMAIL PROTECTED]> wrote:
>
>   
>> It still is time to vote and help open source get on radio  again !
>> Don't forget your family members or friend can also vote as long as they
>> have an email..
>>
>> Thanks for all that already voted !
>> Ludovic
>>
>> Ludovic Dubost wrote:
>> 
>>> Hi XWiki users and developers !
>>>
>>> It's voting time again.. You have helped me get through to the semi
>>> final a few month ago, and this week is the voting period for the
>>> semi-final.  What's less fun is that this time we cannot not the
>>> current voting result in real time so we have to push as much as we can.
>>>
>>> You can vote here (in french too but that should not be too difficult
>>> ! Make
>>> sure you select the second person at the top !):
>>>
>>> http://www.radiobfm.com/bfm_academie/index.php
>>>
>>> This can give a nice additional boost to XWiki !
>>>
>>> Thanks to all of you for you continuous support of XWiki and
>>> participation to the lists.
>>>
>>> Ludovic
>>>
>>> 
>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>   
>> --
>> Ludovic Dubost
>> Blog: http://blog.ludovic.org/
>> XWiki: http://www.xwiki.com
>> Skype: ldubost GTalk: ldubost
>>
>> ___
>> devs mailing list
>> [EMAIL PROTECTED]
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>> 
> ___
> devs mailing list
> [EMAIL PROTECTED]
> http://lists.xwiki.org/mailman/listinfo/devs
>
>   


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Squirrel
I would try to remove tomcat and install it from source or try it (in a
virtualbox) with Debian Etch...

Sorry lacking in better ideas...


On Thu, Jun 12, 2008 at 10:35 AM, Graeme West <[EMAIL PROTECTED]>
wrote:

> Hi all,
> Thanks for your ideas. I'm using 'postgresql-jdbc3.jar', which shipped
> with CentOS 5, in the /var/lib/tomcat5/webapps/xwiki/WEB-INF/lib
> directory. It has the correct permissions and ownership (the same as
> all the other tomcat libs).
>
> I just tried switching to using MySQL with the MySQL/j connector
> instead - this gave the same result. So I'm thinking it's a Tomcat
> problem.
>
> I've also tried deleting the Xwiki webapp folder, and letting Tomcat
> re-unpack it. Same result.
>
> I can't see anything unusual in the Tomcat logs at all, unfortunately.
>
> Any ideas?
>
> Thanks for your help.
>
> Graeme West
>
> On 12 Jun 2008, at 15:02, Squirrel wrote:
>
> > The owner is varying from distribution to distribution...sometimes
> > it's
> > tomcat55:nogroup (debian+ubuntu) or if you install tomcat from source,
> > whatever you have defined...
> >
> > But Jean-Vincent is right, that could be an issue too.
> >
> >
> > On Thu, Jun 12, 2008 at 9:18 AM, Jean-Vincent Drean <[EMAIL PROTECTED]>
> > wrote:
> >
> >> Hi Graeme,
> >>
> >> Do you see any error in the container log ?
> >> Having the DB misconfigured lead to a XWiki exception, getting a 404
> >> means that the container hasn't deployed the webapp.
> >> Can it be a right issue ? Is the owner of the xwiki webapp files
> >> tomcat:tomcat ?
> >>
> >> On Thu, Jun 12, 2008 at 2:07 PM, Esbach, Brandon
> >> <[EMAIL PROTECTED]> wrote:
> >>> Graeme,
> >>>
> >>> If you've just deployed it, you usually need to ensure you've
> >>> setup the
> >>> hibernate to point to your database (it's fairly simple to do,
> >>> just edit
> >>> the file and uncomment the relative area, adding in account
> >>> details as
> >>> needed).
> >>> AFAIK tomcat won't start the app until it has a valid db connection,
> >>> which could explain why you're getting a tomcat error (and not an
> >>> xwiki
> >>> error)
> >>>
> >>> -Original Message-
> >>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> >>> Behalf
> >>> Of Graeme West
> >>> Sent: 12 June 2008 13:02
> >>> To: XWiki Users
> >>> Subject: [xwiki-users] New install problem: 404 from Tomcat
> >>>
> >>> Hi all,
> >>> Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
> >>> 5.5.20, using PostgreSQL, and I'm getting a 404 error when I try
> >>> to load
> >>> the Xwiki main page.
> >>>
> >>> I deployed the wiki by dropping the .war file into the webapps
> >>> directory, and Tomcat subsequently automatically unpacked the WAR
> >>> into
> >>> an 'xwiki' directory.
> >>>
> >>> But now when I go to my host : http://localhost:8080/xwiki/ , I
> >>> get an
> >>> Apache Tomcat 404 error, saying "The requested resource (/xwiki/)
> >>> is not
> >>> available.". It's not even an XWiki 404 - it's a default Tomcat
> >>> one, the
> >>> same as I'd get if I loaded
> http://localhost:8080/ThisWebAppDoesNotExist
> >>> .
> >>>
> >>> I'm sure I've installed the Xwiki war incorrectly, but can anyone
> >>> point
> >>> me in the right direction - where have I gone wrong?
> >>>
> >>> I'm deploying on CentOS 5 using the default Tomcat installation
> >>> which
> >>> comes with that OS. The only thing I've changed is the Hibernate
> >>> configuration to reflect a Postgre database (which is set up).
> >>>
> >>> Thanks in advance.
> >>>
> >>> Graeme West
> >>>
> >>> Glasgow Caledonian University is a registered Scottish charity,
> >>> number
> >>> SC021474 ___
> >>> 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
> >>>
> >>
> >>
> >>
> >> --
> >> Jean-Vincent Drean
> >> ___
> >> 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
> >
> > Email has been scanned for viruses by Altman Technologies' email
> > management service - www.altman.co.uk/emailsystems
>
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
> ___
> 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] It's voting time again: Help XWiki ! Vote for it's creator at a French radio contest !

2008-06-12 Thread wangwh

 I don't understand a word on that page, but I did it anyway.
Wei-hsing


  -- Original message from Ludovic Dubost <[EMAIL PROTECTED]>: 
--


> 
> It still is time to vote and help open source get on radio  again !
> Don't forget your family members or friend can also vote as long as they 
> have an email..
> 
> Thanks for all that already voted !
> Ludovic
> 
> Ludovic Dubost wrote:
> >
> > Hi XWiki users and developers !
> >
> > It's voting time again.. You have helped me get through to the semi 
> > final a few month ago, and this week is the voting period for the 
> > semi-final.  What's less fun is that this time we cannot not the 
> > current voting result in real time so we have to push as much as we can.
> >
> > You can vote here (in french too but that should not be too difficult 
> > ! Make
> > sure you select the second person at the top !):
> >
> > http://www.radiobfm.com/bfm_academie/index.php
> >
> > This can give a nice additional boost to XWiki !
> >
> > Thanks to all of you for you continuous support of XWiki and
> > participation to the lists.
> >
> > Ludovic
> >
> > 
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> 
> 
> -- 
> Ludovic Dubost
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users  
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] DocHour day II !

2008-06-12 Thread Thomas Mortagne
Hi community !

The second XWiki DocHour is planned on Thursday 19th of June.

So what is this DocHour thing ?

Here is the rules:
* 1 hour
* You choose at what time you want to work on the documentation.
* On xwiki.org
* You choose to document what you want. Ideas of missing documentation:
  - In JIRA: http://tinyurl.com/3xtn8t
  - Improve existing documentation
  - XWiki Watch documentation on http://watch.xwiki.org
  - XEM Documentation on http://manager.xwiki.org
  - XWiki Workspaces Documentation http://workspaces.xwiki.org
* Make sure you create a jira issue for the work you're doing and
assign to yourself. The issue should be created in the XWiki Core
project, with a "documentation" component. Don't forget to tag it as
"dochour20080619" to be listed in the result of this event.
* If you can't do it on the the planned date, then you can still do it
on another day, as close as possible to the the 19th of June ;)
* The idea is to repeat this event every month or every 2 months.

You can look at the result of previous DocHour at
http://markmail.org/message/dm3kclit4g4s472v

Thanks everyones and hope we will soon have to allocate more space to
xwiki.org database ;)

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


Re: [xwiki-users] XWiki Does Not Handle Attachments Efficiently

2008-06-12 Thread shivshan

Hi
There was another discussion on this topic, where an effort has been made to
store the files directly on the filesystem. Not sure how this would reduce
memory consumption. Please read Sergiu's comments carefully though, before
you try this out.
Link 
http://www.nabble.com/AttachmentStore---my-filesystem-based-implementation-td16987518.html#a17040326
here 
Of course, in the meantime, we await the WebDAV implementation.
Shiva


vmassol wrote:
> 
> 
> On Jun 12, 2008, at 2:45 PM, Artem Melentyev wrote:
> 
>> Hi, Vincent.
>>
>> Vincent Massol wrote:
>>> Why is it using some much memory? Isn't that a bug? (I don't
>>> understand why we would need to load more than 1 attachment version  
>>> at
>>> a time in memory).
>>
>> Look at
>> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query 
>> :attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
>>> Worse, if this is not the first version of the attachment, then the
>>> complete attachment history is loaded in memory, so add another
>>> 24*versionsize*versions of memory needed during upload.
>>
>> This is a feature of JRCS :)
> 
> I see. So I guess the only solution would be drop JRCS and do our own  
> stuff... (or find another library that does it fast).
> 
> Thanks
> -Vincent
> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/XWiki-Does-Not-Handle-Attachments-Efficiently-tp17741586p17801734.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] It's voting time again: Help XWiki ! Vote for it's creator at a French radio contest !

2008-06-12 Thread Ludovic Dubost

It still is time to vote and help open source get on radio  again !
Don't forget your family members or friend can also vote as long as they 
have an email..

Thanks for all that already voted !
Ludovic

Ludovic Dubost wrote:
>
> Hi XWiki users and developers !
>
> It's voting time again.. You have helped me get through to the semi 
> final a few month ago, and this week is the voting period for the 
> semi-final.  What's less fun is that this time we cannot not the 
> current voting result in real time so we have to push as much as we can.
>
> You can vote here (in french too but that should not be too difficult 
> ! Make
> sure you select the second person at the top !):
>
> http://www.radiobfm.com/bfm_academie/index.php
>
> This can give a nice additional boost to XWiki !
>
> Thanks to all of you for you continuous support of XWiki and
> participation to the lists.
>
> Ludovic
>
> 
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users


-- 
Ludovic Dubost
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost

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


Re: [xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Graeme West
Hi all,
Thanks for your ideas. I'm using 'postgresql-jdbc3.jar', which shipped
with CentOS 5, in the /var/lib/tomcat5/webapps/xwiki/WEB-INF/lib
directory. It has the correct permissions and ownership (the same as
all the other tomcat libs).

I just tried switching to using MySQL with the MySQL/j connector
instead - this gave the same result. So I'm thinking it's a Tomcat
problem.

I've also tried deleting the Xwiki webapp folder, and letting Tomcat
re-unpack it. Same result.

I can't see anything unusual in the Tomcat logs at all, unfortunately.

Any ideas?

Thanks for your help.

Graeme West

On 12 Jun 2008, at 15:02, Squirrel wrote:

> The owner is varying from distribution to distribution...sometimes
> it's
> tomcat55:nogroup (debian+ubuntu) or if you install tomcat from source,
> whatever you have defined...
>
> But Jean-Vincent is right, that could be an issue too.
>
>
> On Thu, Jun 12, 2008 at 9:18 AM, Jean-Vincent Drean <[EMAIL PROTECTED]>
> wrote:
>
>> Hi Graeme,
>>
>> Do you see any error in the container log ?
>> Having the DB misconfigured lead to a XWiki exception, getting a 404
>> means that the container hasn't deployed the webapp.
>> Can it be a right issue ? Is the owner of the xwiki webapp files
>> tomcat:tomcat ?
>>
>> On Thu, Jun 12, 2008 at 2:07 PM, Esbach, Brandon
>> <[EMAIL PROTECTED]> wrote:
>>> Graeme,
>>>
>>> If you've just deployed it, you usually need to ensure you've
>>> setup the
>>> hibernate to point to your database (it's fairly simple to do,
>>> just edit
>>> the file and uncomment the relative area, adding in account
>>> details as
>>> needed).
>>> AFAIK tomcat won't start the app until it has a valid db connection,
>>> which could explain why you're getting a tomcat error (and not an
>>> xwiki
>>> error)
>>>
>>> -Original Message-
>>> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
>>> Behalf
>>> Of Graeme West
>>> Sent: 12 June 2008 13:02
>>> To: XWiki Users
>>> Subject: [xwiki-users] New install problem: 404 from Tomcat
>>>
>>> Hi all,
>>> Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
>>> 5.5.20, using PostgreSQL, and I'm getting a 404 error when I try
>>> to load
>>> the Xwiki main page.
>>>
>>> I deployed the wiki by dropping the .war file into the webapps
>>> directory, and Tomcat subsequently automatically unpacked the WAR
>>> into
>>> an 'xwiki' directory.
>>>
>>> But now when I go to my host : http://localhost:8080/xwiki/ , I
>>> get an
>>> Apache Tomcat 404 error, saying "The requested resource (/xwiki/)
>>> is not
>>> available.". It's not even an XWiki 404 - it's a default Tomcat
>>> one, the
>>> same as I'd get if I loaded http://localhost:8080/ThisWebAppDoesNotExist
>>> .
>>>
>>> I'm sure I've installed the Xwiki war incorrectly, but can anyone
>>> point
>>> me in the right direction - where have I gone wrong?
>>>
>>> I'm deploying on CentOS 5 using the default Tomcat installation
>>> which
>>> comes with that OS. The only thing I've changed is the Hibernate
>>> configuration to reflect a Postgre database (which is set up).
>>>
>>> Thanks in advance.
>>>
>>> Graeme West
>>>
>>> Glasgow Caledonian University is a registered Scottish charity,
>>> number
>>> SC021474 ___
>>> 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
>>>
>>
>>
>>
>> --
>> Jean-Vincent Drean
>> ___
>> 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
>
> Email has been scanned for viruses by Altman Technologies' email
> management service - www.altman.co.uk/emailsystems


Glasgow Caledonian University is a registered Scottish charity, number SC021474
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Squirrel
The owner is varying from distribution to distribution...sometimes it's
tomcat55:nogroup (debian+ubuntu) or if you install tomcat from source,
whatever you have defined...

But Jean-Vincent is right, that could be an issue too.


On Thu, Jun 12, 2008 at 9:18 AM, Jean-Vincent Drean <[EMAIL PROTECTED]> wrote:

> Hi Graeme,
>
> Do you see any error in the container log ?
> Having the DB misconfigured lead to a XWiki exception, getting a 404
> means that the container hasn't deployed the webapp.
> Can it be a right issue ? Is the owner of the xwiki webapp files
> tomcat:tomcat ?
>
> On Thu, Jun 12, 2008 at 2:07 PM, Esbach, Brandon
> <[EMAIL PROTECTED]> wrote:
> > Graeme,
> >
> > If you've just deployed it, you usually need to ensure you've setup the
> > hibernate to point to your database (it's fairly simple to do, just edit
> > the file and uncomment the relative area, adding in account details as
> > needed).
> > AFAIK tomcat won't start the app until it has a valid db connection,
> > which could explain why you're getting a tomcat error (and not an xwiki
> > error)
> >
> > -Original Message-
> > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> > Of Graeme West
> > Sent: 12 June 2008 13:02
> > To: XWiki Users
> > Subject: [xwiki-users] New install problem: 404 from Tomcat
> >
> > Hi all,
> > Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
> > 5.5.20, using PostgreSQL, and I'm getting a 404 error when I try to load
> > the Xwiki main page.
> >
> > I deployed the wiki by dropping the .war file into the webapps
> > directory, and Tomcat subsequently automatically unpacked the WAR into
> > an 'xwiki' directory.
> >
> > But now when I go to my host : http://localhost:8080/xwiki/ , I get an
> > Apache Tomcat 404 error, saying "The requested resource (/xwiki/) is not
> > available.". It's not even an XWiki 404 - it's a default Tomcat one, the
> > same as I'd get if I loaded http://localhost:8080/ThisWebAppDoesNotExist
> > .
> >
> > I'm sure I've installed the Xwiki war incorrectly, but can anyone point
> > me in the right direction - where have I gone wrong?
> >
> > I'm deploying on CentOS 5 using the default Tomcat installation which
> > comes with that OS. The only thing I've changed is the Hibernate
> > configuration to reflect a Postgre database (which is set up).
> >
> > Thanks in advance.
> >
> > Graeme West
> >
> > Glasgow Caledonian University is a registered Scottish charity, number
> > SC021474 ___
> > 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
> >
>
>
>
> --
> Jean-Vincent Drean
> ___
> 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] New install problem: 404 from Tomcat

2008-06-12 Thread Jean-Vincent Drean
Hi Graeme,

Do you see any error in the container log ?
Having the DB misconfigured lead to a XWiki exception, getting a 404
means that the container hasn't deployed the webapp.
Can it be a right issue ? Is the owner of the xwiki webapp files tomcat:tomcat ?

On Thu, Jun 12, 2008 at 2:07 PM, Esbach, Brandon
<[EMAIL PROTECTED]> wrote:
> Graeme,
>
> If you've just deployed it, you usually need to ensure you've setup the
> hibernate to point to your database (it's fairly simple to do, just edit
> the file and uncomment the relative area, adding in account details as
> needed).
> AFAIK tomcat won't start the app until it has a valid db connection,
> which could explain why you're getting a tomcat error (and not an xwiki
> error)
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Graeme West
> Sent: 12 June 2008 13:02
> To: XWiki Users
> Subject: [xwiki-users] New install problem: 404 from Tomcat
>
> Hi all,
> Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
> 5.5.20, using PostgreSQL, and I'm getting a 404 error when I try to load
> the Xwiki main page.
>
> I deployed the wiki by dropping the .war file into the webapps
> directory, and Tomcat subsequently automatically unpacked the WAR into
> an 'xwiki' directory.
>
> But now when I go to my host : http://localhost:8080/xwiki/ , I get an
> Apache Tomcat 404 error, saying "The requested resource (/xwiki/) is not
> available.". It's not even an XWiki 404 - it's a default Tomcat one, the
> same as I'd get if I loaded http://localhost:8080/ThisWebAppDoesNotExist
> .
>
> I'm sure I've installed the Xwiki war incorrectly, but can anyone point
> me in the right direction - where have I gone wrong?
>
> I'm deploying on CentOS 5 using the default Tomcat installation which
> comes with that OS. The only thing I've changed is the Hibernate
> configuration to reflect a Postgre database (which is set up).
>
> Thanks in advance.
>
> Graeme West
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474 ___
> 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
>



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


Re: [xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Squirrel
Have you done this (accordingly)?

cd /var/lib/tomcat5.5/webapps/xwiki/WEB-INF/lib/
> wget http://jdbc.postgresql.org/download/postgresql-8.3-603.jdbc4.jar
>
> chown tomcat55:nogroup
> /var/lib/tomcat5.5/webapps/xwiki/WEB-INF/lib/postgresql-8.3-603.jdbc4.jar
> /etc/init.d/tomcat5.5 restart
>

I'm fighting right now with Ubuntu 8.04 Server. I'm just getting a white
page and I know that other users did get that too, but because I used Debian
Etch before I always thought they are doing something wrong...now I believe
something in Ubuntu is broken...dammit...6 times a complete server
setup...the same steps one time in Debian and voila, it works


On Thu, Jun 12, 2008 at 7:07 AM, Esbach, Brandon <
[EMAIL PROTECTED]> wrote:

> Graeme,
>
> If you've just deployed it, you usually need to ensure you've setup the
> hibernate to point to your database (it's fairly simple to do, just edit
> the file and uncomment the relative area, adding in account details as
> needed).
> AFAIK tomcat won't start the app until it has a valid db connection,
> which could explain why you're getting a tomcat error (and not an xwiki
> error)
>
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
> Of Graeme West
> Sent: 12 June 2008 13:02
> To: XWiki Users
> Subject: [xwiki-users] New install problem: 404 from Tomcat
>
> Hi all,
> Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
> 5.5.20, using PostgreSQL, and I'm getting a 404 error when I try to load
> the Xwiki main page.
>
> I deployed the wiki by dropping the .war file into the webapps
> directory, and Tomcat subsequently automatically unpacked the WAR into
> an 'xwiki' directory.
>
> But now when I go to my host : http://localhost:8080/xwiki/ , I get an
> Apache Tomcat 404 error, saying "The requested resource (/xwiki/) is not
> available.". It's not even an XWiki 404 - it's a default Tomcat one, the
> same as I'd get if I loaded http://localhost:8080/ThisWebAppDoesNotExist
> .
>
> I'm sure I've installed the Xwiki war incorrectly, but can anyone point
> me in the right direction - where have I gone wrong?
>
> I'm deploying on CentOS 5 using the default Tomcat installation which
> comes with that OS. The only thing I've changed is the Hibernate
> configuration to reflect a Postgre database (which is set up).
>
> Thanks in advance.
>
> Graeme West
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474 ___
> 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 Does Not Handle Attachments Efficiently

2008-06-12 Thread Vincent Massol

On Jun 12, 2008, at 2:45 PM, Artem Melentyev wrote:

> Hi, Vincent.
>
> Vincent Massol wrote:
>> Why is it using some much memory? Isn't that a bug? (I don't
>> understand why we would need to load more than 1 attachment version  
>> at
>> a time in memory).
>
> Look at
> http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query 
> :attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
>> Worse, if this is not the first version of the attachment, then the
>> complete attachment history is loaded in memory, so add another
>> 24*versionsize*versions of memory needed during upload.
>
> This is a feature of JRCS :)

I see. So I guess the only solution would be drop JRCS and do our own  
stuff... (or find another library that does it fast).

Thanks
-Vincent

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


Re: [xwiki-users] XWiki Does Not Handle Attachments Efficiently

2008-06-12 Thread Artem Melentyev
Hi, Vincent.

Vincent Massol wrote:
> Why is it using some much memory? Isn't that a bug? (I don't  
> understand why we would need to load more than 1 attachment version at  
> a time in memory).

Look at
http://xwiki.markmail.org/search/?q=attachments+storage+profiling#query:attachments%20storage%20profiling+page:1+mid:5avjhiu2nkg4xtzt+state:results
> Worse, if this is not the first version of the attachment, then the
> complete attachment history is loaded in memory, so add another
> 24*versionsize*versions of memory needed during upload.

This is a feature of JRCS :)

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


Re: [xwiki-users] XWiki Does Not Handle Attachments Efficiently

2008-06-12 Thread Vincent Massol
Hi Artem,

On Jun 12, 2008, at 2:21 PM, Artem Melentyev wrote:

> Hi.
>
> You can set xwiki.store.attachment.versioning=0 in xwiki.cfg
> This will turn off attachment versioning and *very* much reduce memory
> consumption.
> see http://jira.xwiki.org/jira/browse/XWIKI-2275
> and
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOptionalStoreFeatures

Why is it using some much memory? Isn't that a bug? (I don't  
understand why we would need to load more than 1 attachment version at  
a time in memory).

Thanks
-Vincent

> AW wrote:
>> Is there anything I can do to make XWiki 1.4 handle large  
>> attachments? That
>> is, attachments from a few megabytes up to a few dozen megabytes.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki Does Not Handle Attachments Efficiently

2008-06-12 Thread Artem Melentyev
Hi.

You can set xwiki.store.attachment.versioning=0 in xwiki.cfg
This will turn off attachment versioning and *very* much reduce memory
consumption.
see http://jira.xwiki.org/jira/browse/XWIKI-2275
and
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HOptionalStoreFeatures

AW wrote:
> Is there anything I can do to make XWiki 1.4 handle large attachments? That
> is, attachments from a few megabytes up to a few dozen megabytes.
> 
>...

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


Re: [xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Esbach, Brandon
Graeme,

If you've just deployed it, you usually need to ensure you've setup the
hibernate to point to your database (it's fairly simple to do, just edit
the file and uncomment the relative area, adding in account details as
needed).
AFAIK tomcat won't start the app until it has a valid db connection,
which could explain why you're getting a tomcat error (and not an xwiki
error) 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Graeme West
Sent: 12 June 2008 13:02
To: XWiki Users
Subject: [xwiki-users] New install problem: 404 from Tomcat

Hi all,
Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
5.5.20, using PostgreSQL, and I'm getting a 404 error when I try to load
the Xwiki main page.

I deployed the wiki by dropping the .war file into the webapps
directory, and Tomcat subsequently automatically unpacked the WAR into
an 'xwiki' directory.

But now when I go to my host : http://localhost:8080/xwiki/ , I get an
Apache Tomcat 404 error, saying "The requested resource (/xwiki/) is not
available.". It's not even an XWiki 404 - it's a default Tomcat one, the
same as I'd get if I loaded http://localhost:8080/ThisWebAppDoesNotExist
.

I'm sure I've installed the Xwiki war incorrectly, but can anyone point
me in the right direction - where have I gone wrong?

I'm deploying on CentOS 5 using the default Tomcat installation which
comes with that OS. The only thing I've changed is the Hibernate
configuration to reflect a Postgre database (which is set up).

Thanks in advance.

Graeme West

Glasgow Caledonian University is a registered Scottish charity, number
SC021474 ___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] New install problem: 404 from Tomcat

2008-06-12 Thread Graeme West
Hi all,
Just attempted to deploy the XWiki 1.4 .WAR distribution into Tomcat
5.5.20, using PostgreSQL, and I'm getting a 404 error when I try to
load the Xwiki main page.

I deployed the wiki by dropping the .war file into the webapps
directory, and Tomcat subsequently automatically unpacked the WAR into
an 'xwiki' directory.

But now when I go to my host : http://localhost:8080/xwiki/ , I get an
Apache Tomcat 404 error, saying "The requested resource (/xwiki/) is
not available.". It's not even an XWiki 404 - it's a default Tomcat
one, the same as I'd get if I loaded 
http://localhost:8080/ThisWebAppDoesNotExist
.

I'm sure I've installed the Xwiki war incorrectly, but can anyone
point me in the right direction - where have I gone wrong?

I'm deploying on CentOS 5 using the default Tomcat installation which
comes with that OS. The only thing I've changed is the Hibernate
configuration to reflect a Postgre database (which is set up).

Thanks in advance.

Graeme West

Glasgow Caledonian University is a registered Scottish charity, number SC021474
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] toucan and IE?

2008-06-12 Thread Mihails Agafonovs
Joe, have you tried to define a 100% width (or the one you need) to
your table?
because image shows, that there is simple not enough width to display
your header content in a single row.
 Quoting Joe : Considering the issue logged relates to an edit issue
(that's the one
 Jean-Vincent was asking about), and the one I was asked for
screenshots on
 is actually a display issue, shouldn't it be a different issue log?
 Logged a new issue for it in that case :)
 On Thu, Jun 12, 2008 at 12:25 PM, Vincent Massol  wrote:
 >
 > On Jun 12, 2008, at 1:21 PM, Joe wrote:
 >
 > > OK.. apparently images are not accepted.. if you have somewhere
to
 > > attach it
 > > online (wiki page or something) I can attach it there.
 >
 > Like in the created jira issue?
 >
 > -Vincent
 >
 > > 2008/6/12 Joe :
 > >
 > >> Attached for tables.
 > >> Hope JPG's can get through :s
 > >>
 > >> 2008/6/12 Mihails Agafonovs :
 > >>
 > >> Can you show some example, using picture or...? We also has
this
 > >>> stupid thing - IE6, and I also did some fixes for tables to
get them
 > >>> displayed correctly.
 > >>> Quoting Joe : Having a lot of trouble getting this skin to
work
 > >>> right in IE (v6 is
 > >>> standard on all our desktops).
 > >>> Note that the below does not happen for firefox, only for IE:
 > >>> - "Editor" and "Document Information" panels in edit mode
appear in
 > >>> the
 > >>> wrong place (offscreen to the bottom left instead of onscreen
to the
 > >>> top-ish
 > >>> right)
 > >>> - Requires that the server be in "Trusted" domain to use the
 > >>> sort-filter
 > >>> tables, and a few other less essential features.
 > >>> - Tables that worked on 1.1 are now "scrunched up".  By that I
mean,
 > >>> if
 > >>> they were setup to span the screen using % values (setting one
of
 > >>> them to a
 > >>> pixel value to avoid the ie table bug), in 1.4.1 toucan they
take up
 > >>> one
 > >>> word's worth of space per column.  We have probably a few
hundred
 > >>> area's
 > >>> that this affects (listings, document content, edit content,
etc).
 > >>> Sure they're mainly cosmetic, but they end up being
show-stoppers
 > >>> for my
 > >>> users.  Anyone out there got some advice on getting toucan
working
 > >>> on IE?
 > ___
 > 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
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Failed to change the Lucene Index Dir

2008-06-12 Thread Vincent Massol

On Jun 12, 2008, at 1:32 PM, LiDan wrote:

>
> Hi
> What I found is that it usually created index files in
> xwiki.work.dir/lucene. When I changed xwiki.work.dir in xwiki.cfg,  
> the index
> dir changed. The same on windows and linux.

That's normal and correct behavior.
Now the lucene index dir overrides this.

Thanks
-Vincent

> vmassol wrote:
>>
>> Hi,
>>
>> I've just tested this on both Jetty and Tomcat and it worked fine. I
>> only changed the xwiki.cfg by adding:
>> xwiki.plugins.lucene.indexdir=/tmp/lucene
>>
>> So maybe the problem is that you're on windows. Maybe the directory
>> doesn't exist and fails to be created for some reason. What do the
>> tomcat and xwiki logs say?
>>
>> Thanks
>> -vVncent
>>
>> On Jun 11, 2008, at 6:40 AM, lidan wrote:
>>
>>>
>>> I installed XWiki 1.4.1 with tomcat and mysql. I followed
>>> http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin
>>> to change the index directory. For example,
>>> xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved
>>> xwiki.cfg and restarted xwiki. But the index still in the tomcat/
>>> work/lucene. Then I tried first deleted the existing index folder
>>> and files in tomcat/work. Restarted again, XWiki created new lucene
>>> folder and index files in tomcat/work.
>>> I tried several different dirs, but all the results were same.
>>> Anyone could tell me why, am I missing something?

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


Re: [xwiki-users] toucan and IE?

2008-06-12 Thread Joe
Considering the issue logged relates to an edit issue (that's the one
Jean-Vincent was asking about), and the one I was asked for screenshots on
is actually a display issue, shouldn't it be a different issue log?

Logged a new issue for it in that case :)

On Thu, Jun 12, 2008 at 12:25 PM, Vincent Massol <[EMAIL PROTECTED]> wrote:

>
> On Jun 12, 2008, at 1:21 PM, Joe wrote:
>
> > OK.. apparently images are not accepted.. if you have somewhere to
> > attach it
> > online (wiki page or something) I can attach it there.
>
> Like in the created jira issue?
>
> -Vincent
>
> > 2008/6/12 Joe <[EMAIL PROTECTED]>:
> >
> >> Attached for tables.
> >> Hope JPG's can get through :s
> >>
> >> 2008/6/12 Mihails Agafonovs <[EMAIL PROTECTED]>:
> >>
> >> Can you show some example, using picture or...? We also has this
> >>> stupid thing - IE6, and I also did some fixes for tables to get them
> >>> displayed correctly.
> >>> Quoting Joe : Having a lot of trouble getting this skin to work
> >>> right in IE (v6 is
> >>> standard on all our desktops).
> >>> Note that the below does not happen for firefox, only for IE:
> >>> - "Editor" and "Document Information" panels in edit mode appear in
> >>> the
> >>> wrong place (offscreen to the bottom left instead of onscreen to the
> >>> top-ish
> >>> right)
> >>> - Requires that the server be in "Trusted" domain to use the
> >>> sort-filter
> >>> tables, and a few other less essential features.
> >>> - Tables that worked on 1.1 are now "scrunched up".  By that I mean,
> >>> if
> >>> they were setup to span the screen using % values (setting one of
> >>> them to a
> >>> pixel value to avoid the ie table bug), in 1.4.1 toucan they take up
> >>> one
> >>> word's worth of space per column.  We have probably a few hundred
> >>> area's
> >>> that this affects (listings, document content, edit content, etc).
> >>> Sure they're mainly cosmetic, but they end up being show-stoppers
> >>> for my
> >>> users.  Anyone out there got some advice on getting toucan working
> >>> on IE?
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Failed to change the Lucene Index Dir

2008-06-12 Thread LiDan

Hi
What I found is that it usually created index files in
xwiki.work.dir/lucene. When I changed xwiki.work.dir in xwiki.cfg, the index
dir changed. The same on windows and linux.


vmassol wrote:
> 
> Hi,
> 
> I've just tested this on both Jetty and Tomcat and it worked fine. I  
> only changed the xwiki.cfg by adding:
> xwiki.plugins.lucene.indexdir=/tmp/lucene
> 
> So maybe the problem is that you're on windows. Maybe the directory  
> doesn't exist and fails to be created for some reason. What do the  
> tomcat and xwiki logs say?
> 
> Thanks
> -vVncent
> 
> On Jun 11, 2008, at 6:40 AM, lidan wrote:
> 
>>
>> I installed XWiki 1.4.1 with tomcat and mysql. I followed
>> http://code.xwiki.org/xwiki/bin/view/Plugins/LucenePlugin 
>>  to change the index directory. For example,
>> xwiki.plugins.lucene.indexdir=D:/lucene . I changee the dir, saved  
>> xwiki.cfg and restarted xwiki. But the index still in the tomcat/ 
>> work/lucene. Then I tried first deleted the existing index folder  
>> and files in tomcat/work. Restarted again, XWiki created new lucene  
>> folder and index files in tomcat/work.
>> I tried several different dirs, but all the results were same.  
>> Anyone could tell me why, am I missing something?
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Failed-to-change-the-Lucene-Index-Dir-tp17769961p17797659.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] toucan and IE?

2008-06-12 Thread Vincent Massol

On Jun 12, 2008, at 1:21 PM, Joe wrote:

> OK.. apparently images are not accepted.. if you have somewhere to  
> attach it
> online (wiki page or something) I can attach it there.

Like in the created jira issue?

-Vincent

> 2008/6/12 Joe <[EMAIL PROTECTED]>:
>
>> Attached for tables.
>> Hope JPG's can get through :s
>>
>> 2008/6/12 Mihails Agafonovs <[EMAIL PROTECTED]>:
>>
>> Can you show some example, using picture or...? We also has this
>>> stupid thing - IE6, and I also did some fixes for tables to get them
>>> displayed correctly.
>>> Quoting Joe : Having a lot of trouble getting this skin to work
>>> right in IE (v6 is
>>> standard on all our desktops).
>>> Note that the below does not happen for firefox, only for IE:
>>> - "Editor" and "Document Information" panels in edit mode appear in
>>> the
>>> wrong place (offscreen to the bottom left instead of onscreen to the
>>> top-ish
>>> right)
>>> - Requires that the server be in "Trusted" domain to use the
>>> sort-filter
>>> tables, and a few other less essential features.
>>> - Tables that worked on 1.1 are now "scrunched up".  By that I mean,
>>> if
>>> they were setup to span the screen using % values (setting one of
>>> them to a
>>> pixel value to avoid the ie table bug), in 1.4.1 toucan they take up
>>> one
>>> word's worth of space per column.  We have probably a few hundred
>>> area's
>>> that this affects (listings, document content, edit content, etc).
>>> Sure they're mainly cosmetic, but they end up being show-stoppers
>>> for my
>>> users.  Anyone out there got some advice on getting toucan working
>>> on IE?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] toucan and IE?

2008-06-12 Thread Joe
OK.. apparently images are not accepted.. if you have somewhere to attach it
online (wiki page or something) I can attach it there.

2008/6/12 Joe <[EMAIL PROTECTED]>:

> Attached for tables.
> Hope JPG's can get through :s
>
> 2008/6/12 Mihails Agafonovs <[EMAIL PROTECTED]>:
>
> Can you show some example, using picture or...? We also has this
>> stupid thing - IE6, and I also did some fixes for tables to get them
>> displayed correctly.
>>  Quoting Joe : Having a lot of trouble getting this skin to work
>> right in IE (v6 is
>>  standard on all our desktops).
>>  Note that the below does not happen for firefox, only for IE:
>>  - "Editor" and "Document Information" panels in edit mode appear in
>> the
>>  wrong place (offscreen to the bottom left instead of onscreen to the
>> top-ish
>>  right)
>>  - Requires that the server be in "Trusted" domain to use the
>> sort-filter
>>  tables, and a few other less essential features.
>>  - Tables that worked on 1.1 are now "scrunched up".  By that I mean,
>> if
>>  they were setup to span the screen using % values (setting one of
>> them to a
>>  pixel value to avoid the ie table bug), in 1.4.1 toucan they take up
>> one
>>  word's worth of space per column.  We have probably a few hundred
>> area's
>>  that this affects (listings, document content, edit content, etc).
>>  Sure they're mainly cosmetic, but they end up being show-stoppers
>> for my
>>  users.  Anyone out there got some advice on getting toucan working
>> on IE?
>>  ___
>>  users mailing list
>>  users@xwiki.org
>>  http://lists.xwiki.org/mailman/listinfo/users
>>  Ar cieņu, Mihails
>>
>> Links:
>> --
>> [1] mailto:[EMAIL PROTECTED]
>> ___
>> 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] toucan and IE?

2008-06-12 Thread Joe
Attached for tables.
Hope JPG's can get through :s

2008/6/12 Mihails Agafonovs <[EMAIL PROTECTED]>:

> Can you show some example, using picture or...? We also has this
> stupid thing - IE6, and I also did some fixes for tables to get them
> displayed correctly.
>  Quoting Joe : Having a lot of trouble getting this skin to work
> right in IE (v6 is
>  standard on all our desktops).
>  Note that the below does not happen for firefox, only for IE:
>  - "Editor" and "Document Information" panels in edit mode appear in
> the
>  wrong place (offscreen to the bottom left instead of onscreen to the
> top-ish
>  right)
>  - Requires that the server be in "Trusted" domain to use the
> sort-filter
>  tables, and a few other less essential features.
>  - Tables that worked on 1.1 are now "scrunched up".  By that I mean,
> if
>  they were setup to span the screen using % values (setting one of
> them to a
>  pixel value to avoid the ie table bug), in 1.4.1 toucan they take up
> one
>  word's worth of space per column.  We have probably a few hundred
> area's
>  that this affects (listings, document content, edit content, etc).
>  Sure they're mainly cosmetic, but they end up being show-stoppers
> for my
>  users.  Anyone out there got some advice on getting toucan working
> on IE?
>  ___
>  users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
>  Ar cieņu, Mihails
>
> Links:
> --
> [1] mailto:[EMAIL PROTECTED]
> ___
> 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] toucan and IE?

2008-06-12 Thread Joe
Hi,

This happens for any "xwiki" mode edit, not just for pages with includes.

On Thu, Jun 12, 2008 at 11:20 AM, Jean-Vincent Drean <[EMAIL PROTECTED]> wrote:

> On Thu, Jun 12, 2008 at 12:00 PM, Joe <[EMAIL PROTECTED]> wrote:
> > Having a lot of trouble getting this skin to work right in IE (v6 is
> > standard on all our desktops).
> > Note that the below does not happen for firefox, only for IE:
> >
> >   - "Editor" and "Document Information" panels in edit mode appear in the
> >   wrong place (offscreen to the bottom left instead of onscreen to the
> top-ish
> >   right)
>
> Can you confirm this only happens when the page is including other
> pages (via includeInContext or includeForm for example) ?
> http://jira.xwiki.org/jira/browse/XSTOUCAN-35
>
> >   - Requires that the server be in "Trusted" domain to use the
> sort-filter
> >   tables, and a few other less essential features.
> >   - Tables that worked on 1.1 are now "scrunched up".  By that I mean, if
> >   they were setup to span the screen using % values (setting one of them
> to a
> >   pixel value to avoid the ie table bug), in 1.4.1 toucan they take up
> one
> >   word's worth of space per column.  We have probably a few hundred
> area's
> >   that this affects (listings, document content, edit content, etc).
> >
> > Sure they're mainly cosmetic, but they end up being show-stoppers for my
> > users.  Anyone out there got some advice on getting toucan working on IE?
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> --
> Jean-Vincent Drean
> ___
> 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] toucan and IE?

2008-06-12 Thread Mihails Agafonovs
Can you show some example, using picture or...? We also has this
stupid thing - IE6, and I also did some fixes for tables to get them
displayed correctly.
 Quoting Joe : Having a lot of trouble getting this skin to work
right in IE (v6 is
 standard on all our desktops).
 Note that the below does not happen for firefox, only for IE:
 - "Editor" and "Document Information" panels in edit mode appear in
the
 wrong place (offscreen to the bottom left instead of onscreen to the
top-ish
 right)
 - Requires that the server be in "Trusted" domain to use the
sort-filter
 tables, and a few other less essential features.
 - Tables that worked on 1.1 are now "scrunched up".  By that I mean,
if
 they were setup to span the screen using % values (setting one of
them to a
 pixel value to avoid the ie table bug), in 1.4.1 toucan they take up
one
 word's worth of space per column.  We have probably a few hundred
area's
 that this affects (listings, document content, edit content, etc).
 Sure they're mainly cosmetic, but they end up being show-stoppers
for my
 users.  Anyone out there got some advice on getting toucan working
on IE?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] toucan and IE?

2008-06-12 Thread Jean-Vincent Drean
On Thu, Jun 12, 2008 at 12:00 PM, Joe <[EMAIL PROTECTED]> wrote:
> Having a lot of trouble getting this skin to work right in IE (v6 is
> standard on all our desktops).
> Note that the below does not happen for firefox, only for IE:
>
>   - "Editor" and "Document Information" panels in edit mode appear in the
>   wrong place (offscreen to the bottom left instead of onscreen to the top-ish
>   right)

Can you confirm this only happens when the page is including other
pages (via includeInContext or includeForm for example) ?
http://jira.xwiki.org/jira/browse/XSTOUCAN-35

>   - Requires that the server be in "Trusted" domain to use the sort-filter
>   tables, and a few other less essential features.
>   - Tables that worked on 1.1 are now "scrunched up".  By that I mean, if
>   they were setup to span the screen using % values (setting one of them to a
>   pixel value to avoid the ie table bug), in 1.4.1 toucan they take up one
>   word's worth of space per column.  We have probably a few hundred area's
>   that this affects (listings, document content, edit content, etc).
>
> Sure they're mainly cosmetic, but they end up being show-stoppers for my
> users.  Anyone out there got some advice on getting toucan working on IE?
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


[xwiki-users] toucan and IE?

2008-06-12 Thread Joe
Having a lot of trouble getting this skin to work right in IE (v6 is
standard on all our desktops).
Note that the below does not happen for firefox, only for IE:

   - "Editor" and "Document Information" panels in edit mode appear in the
   wrong place (offscreen to the bottom left instead of onscreen to the top-ish
   right)
   - Requires that the server be in "Trusted" domain to use the sort-filter
   tables, and a few other less essential features.
   - Tables that worked on 1.1 are now "scrunched up".  By that I mean, if
   they were setup to span the screen using % values (setting one of them to a
   pixel value to avoid the ie table bug), in 1.4.1 toucan they take up one
   word's worth of space per column.  We have probably a few hundred area's
   that this affects (listings, document content, edit content, etc).

Sure they're mainly cosmetic, but they end up being show-stoppers for my
users.  Anyone out there got some advice on getting toucan working on IE?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XEM : about domain name

2008-06-12 Thread Thomas Mortagne
On Thu, Jun 12, 2008 at 11:34 AM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> Thanks for your quick answer.
> I'll deal with it.
> I've just created a JIRA issue (XEM-115) for improvement.

Thanks, I moved it in http://jira.xwiki.org/jira/browse/XAWM-78 (Wiki
Manager plugin) linked it with with
http://jira.xwiki.org/jira/browse/XWIKI-2460 as it need some XWiki
Platform work.

> Gaëtan
>
> Thomas Mortagne a écrit :
>> On Wed, Jun 11, 2008 at 7:54 PM, guyodo gaetan
>> <[EMAIL PROTECTED]> wrote:
>>> The "domain name" can create for the domain abc.com multiple wikis on the 
>>> schema :
>>>   wiki1.abc.com
>>>   wiki2.abc.com
>>>   wikiX.abc.com
>>> My problem is that I already have a sub-domain name, and it is not easy for 
>>> me to obtain new ones.
>>> Is it possible to use domain names to create wikis on the schema :
>>>   sub.domain.com/wiki1
>>>   sub.domain.com/wiki2
>>>   sub.domain.com/wikiX
>>> If that is supported, that will be perfect for me, but my first tests 
>>> doesn't works, so...
>>
>> No XWiki Platform does not support this kind of URL but it would be
>> good to have it.
>>
>> Feel free to add a issue as "IDEA" or "IMPROVEMENT" in
>> http://jira.xwiki.org/jira/browse/XWIKI if this as not been already
>> done by someone.
>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>
> --
> __
>  Gaëtan GUYODO
>Chargé de mission
> Centre Antipoison - Hôpital Fernand WIDAL
>  200, rue du faubourg St Denis
>  75475 PARIS Cedex 10
> Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
> __
>
> ___
> 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] Lucene search

2008-06-12 Thread Mihails Agafonovs
Yes, I've tried many times to rebuild the index, also checked how many
documents tries to rebuild, and the result was "-2". Definetely, it's
the main problem.
 Quoting Jean-Vincent Drean : 2008/6/11 Mihails Agafonovs
<[EMAIL PROTECTED]>:
 > Hi!
 >
 > 1) I've been expecting problems with Lucene search in XWiki
1.4. To
 > be more precise, it doesn't work at all :(. Seems that
searching or
 > either returning results function is broken.
 Have you tried to rebuild the index ? Are the indexes correctly
 created on the filesystem ?
 > 2) In version 1.3 it worked, but somehow strange. For example,
Lucene
 > returned results, when search criteria was Mihails, and
nothing, if
 > search criteria was Mihail.
 I think the "problem" here is the lucene query syntax
itself, to tell
 lucene that your query term is only a part of a word you have to use
:
 "Mihail*"
 -- 
 Jean-Vincent Drean
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Latvian symbols

2008-06-12 Thread Mihails Agafonovs
Hi!

Setting correct configuration to Tomcat connectors and
hibernate.cfg.xml solved the problem. THANKS!
 Quoting Jean-Vincent Drean : Hi,
 Using 1.4 or 1.4.1 ?
 Have you followed the following guide to switch you install to UTF-8
?
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
 Can you detail your configuration ? Database, Servlet container ?
 If you're using 1.4.1 this seems to could be related to :
 http://jira.xwiki.org/jira/browse/XWIKI-2422
 fix applied : http://tinyurl.com/5ntkjk
 The reason for this filtering comes from the windows CP1252 charset
 which extends the iso-8859-1 charset.
 Since those chars aren't correctly saved in a iso-8859-1 database
 we've decided to transform them (into the corresponding entity) at
the
 highest level.
 On Wed, Jun 11, 2008 at 1:21 PM, Mihails Agafonovs  wrote:
 > Hi!
 >
 > Using XWiki 1.4, I've tried to search something with latvian
symbols,
 > e.g. š ā ķ ļ ē ņ, but the Search just screws all those
 > symbols as a result getting "latvieÅ¡u vÄ rds"
and
 > search failure (nothing found).
 > The charset I'm using is UTF-8, and in preferences defined
languages
 > are: en lv. I can create pages with name and content using latvian
 > symbols, and works fine.
 >
 > P.S. In version 1.3, I couldn't even save the page, when writing
 > something in latvian, getting an exception error.
 >  Ar cieņu, Mihails
 > ___
 > users mailing list
 > users@xwiki.org
 > http://lists.xwiki.org/mailman/listinfo/users
 >
 -- 
 Jean-Vincent Drean
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Latvian symbols

2008-06-12 Thread Mihails Agafonovs
XWiki version is 1.4.9828
 Quoting Jean-Vincent Drean : Hi,
 Using 1.4 or 1.4.1 ?
 Have you followed the following guide to switch you install to UTF-8
?
 http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
 Can you detail your configuration ? Database, Servlet container ?
 If you're using 1.4.1 this seems to could be related to :
 http://jira.xwiki.org/jira/browse/XWIKI-2422
 fix applied : http://tinyurl.com/5ntkjk
 The reason for this filtering comes from the windows CP1252 charset
 which extends the iso-8859-1 charset.
 Since those chars aren't correctly saved in a iso-8859-1 database
 we've decided to transform them (into the corresponding entity) at
the
 highest level.
 On Wed, Jun 11, 2008 at 1:21 PM, Mihails Agafonovs  wrote:
 > Hi!
 >
 > Using XWiki 1.4, I've tried to search something with latvian
symbols,
 > e.g. š ā ķ ļ ē ņ, but the Search just screws all those
 > symbols as a result getting "latvieÅ¡u vÄ rds"
and
 > search failure (nothing found).
 > The charset I'm using is UTF-8, and in preferences defined
languages
 > are: en lv. I can create pages with name and content using latvian
 > symbols, and works fine.
 >
 > P.S. In version 1.3, I couldn't even save the page, when writing
 > something in latvian, getting an exception error.
 >  Ar cieņu, Mihails
 > ___
 > users mailing list
 > users@xwiki.org
 > http://lists.xwiki.org/mailman/listinfo/users
 >
 -- 
 Jean-Vincent Drean
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 Ar cieņu, Mihails

Links:
--
[1] mailto:[EMAIL PROTECTED]
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XEM : about domain name

2008-06-12 Thread Gaëtan GUYODO
Thanks for your quick answer.
I'll deal with it.
I've just created a JIRA issue (XEM-115) for improvement.
Gaëtan

Thomas Mortagne a écrit :
> On Wed, Jun 11, 2008 at 7:54 PM, guyodo gaetan
> <[EMAIL PROTECTED]> wrote:
>> The "domain name" can create for the domain abc.com multiple wikis on the 
>> schema :
>>   wiki1.abc.com
>>   wiki2.abc.com
>>   wikiX.abc.com
>> My problem is that I already have a sub-domain name, and it is not easy for 
>> me to obtain new ones.
>> Is it possible to use domain names to create wikis on the schema :
>>   sub.domain.com/wiki1
>>   sub.domain.com/wiki2
>>   sub.domain.com/wikiX
>> If that is supported, that will be perfect for me, but my first tests 
>> doesn't works, so...
> 
> No XWiki Platform does not support this kind of URL but it would be
> good to have it.
> 
> Feel free to add a issue as "IDEA" or "IMPROVEMENT" in
> http://jira.xwiki.org/jira/browse/XWIKI if this as not been already
> done by someone.
> 
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> 
> 
> 

-- 
__
  Gaëtan GUYODO
Chargé de mission
Centre Antipoison - Hôpital Fernand WIDAL
  200, rue du faubourg St Denis
  75475 PARIS Cedex 10
Tél: 01 40 05 49 63 / Fax: 01 40 05 48 56
__

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


Re: [xwiki-users] Migration 1.2 to 1.4.1 OK ... but warnings

2008-06-12 Thread Jean-Vincent Drean
The dialect we had in the xwiki.org documentation wasn't up to date. Fixed.
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationOracle

On Wed, Jun 11, 2008 at 2:12 PM, Vincent Massol <[EMAIL PROTECTED]> wrote:
> Hi Gaetan,
>
> Have you updated your hibernate.cfg.xml file? Do a diff between your
> version and the default version we provide.
>
> Thanks
> -Vincent
>
> On Jun 11, 2008, at 2:02 PM, Gaëtan GUYODO wrote:
>
>> Hi,
>> Thanks for all your work on xwiki.
>> I had 1.2 on the air, with good results.
>> Migration to 1.4.1 => OK
>> A few things to update LDAP (AD) configuration, but it works now.
>> Only thing, I have on Tomcat startup these lines into stdout.log and
>> xwiki.log (for information, I use java 6u3, tomcat 6.0.14, Oracle
>> 10.2.0.3.0.) :
>>
>> 2008-06-11 13:55:23,953 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.Oracle9Dialect  - The
>> Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect
>> or Oracle10gDialect instead
>> 2008-06-11 13:55:23,968 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.OracleDialect   - The
>> OracleDialect dialect has been deprecated; use Oracle8iDialect instead
>> 2008-06-11 13:55:25,031 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.Oracle9Dialect  - The
>> Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect
>> or Oracle10gDialect instead
>> 2008-06-11 13:55:25,031 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.OracleDialect   - The
>> OracleDialect dialect has been deprecated; use Oracle8iDialect instead
>> 2008-06-11 13:55:27,031 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] INFO  .AbstractXWikiMigrationManager  - No storage
>> migration required since current version is [7351]
>> 2008-06-11 13:55:28,328 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.Oracle9Dialect  - The
>> Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect
>> or Oracle10gDialect instead
>> 2008-06-11 13:55:28,328 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.OracleDialect   - The
>> OracleDialect dialect has been deprecated; use Oracle8iDialect instead
>> 2008-06-11 13:55:28,484 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.Oracle9Dialect  - The
>> Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect
>> or Oracle10gDialect instead
>> 2008-06-11 13:55:28,484 [https://sid-sicap.aphp.fr/xwiki/bin/view/Main/
>> ]
>> [TP-Processor3] WARN  dialect.OracleDialect   - The
>> OracleDialect dialect has been deprecated; use Oracle8iDialect instead
>>
>>
>> Is there anything wrong ?
>> Gaëtan
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] Re : Re: Add Manager application to XE 1.4.1

2008-06-12 Thread Thomas Mortagne
On Thu, Jun 12, 2008 at 11:23 AM, Gaëtan GUYODO
<[EMAIL PROTECTED]> wrote:
> OK, XemManager.Install is 479 ko, seems to be OK with your explanation.
> Anyway, I've just created a JIRA issue (XEM-114).
> Tell me if you need more information.

Thanks it's perfect, I just moved it in
http://jira.xwiki.org/jira/browse/XWIKI-2459 as it's a XWiki platform
bug around Oracle I think.

> Gaëtan
>
> Thomas Mortagne a écrit :
>> On Wed, Jun 11, 2008 at 7:42 PM, guyodo gaetan
>> <[EMAIL PROTECTED]> wrote:
>>> I tried to re-import XemManager.Install and that failed again.
>>> But I don't understand how the page can contain a 500 kB attachment nor the 
>>> xwiki-enterprise-manager-application-xem-1.2.xar file is only 366 kB ?
>>
>> XAR files are ZIP archives. Open it and directly look at
>> /XemManager/Install size.
>>
>>> - Message d'origine -
>>> De: Thomas Mortagne <[EMAIL PROTECTED]>
>>> Date: Mercredi, Juin 11, 2008 5:15 pm
>>> Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1
>>> À: XWiki Users 
>>>
 The only specificity of the page is that it contains a "big"
 attachment (around 500 kB).

> impossible d'insérer NULL dans
 ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
 This remind me an Oracle mapping problem we had in older version that
 should have been fixed  If you try to re-import just
 XemManager.Install, does it fail again ? If so, it would be great that
 you create an issue on http://jira.xwiki.org/jira/browse/XWIKI about
 this importing bug on Oracle.

 Anyway this page is not strongly needed (just contains a script to
 create a default wiki template based on standard XE xar).

 On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO
 <[EMAIL PROTECTED]> wrote:
> Sorry, I made a mistake, I didn't imported the XEM application
 xar...> Now, I imported it, and I get an error on
 XemManager.Install :
> 2008-06-11 16:30:10,125
>
 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
  [TP-Processor8] WARN  util.JDBCExceptionReporter  - SQL Error: 1400,
> SQLState: 23000
> 2008-06-11 16:30:10,125
>
 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
  [TP-Processor8] ERROR util.JDBCExceptionReporter  - ORA-01400:
> impossible d'insérer NULL dans
 ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")>
> 2008-06-11 16:30:10,125
>
 [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
  [TP-Processor8] ERROR .AbstractFlushingEventListener  - Could not
> synchronize database state with session
> org.hibernate.exception.ConstraintViolationException: could not
 insert:> [com.xpn.xwiki.objects.BaseObject]
>at
>
 org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)>
 at
 org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)>
 at
 org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267)>
 at
 org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)>
 at
 org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)>
 at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
>at
 org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)> 
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
>at
>
 org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)>
 at
 org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)>
 at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
>at
 org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)>
  at
 org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)>
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:816)>
 at
 com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787)>
 at
 com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563)>
 at
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)> 
at
 com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)> 
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131)
>at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099)
>at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093)
>at
 com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612)>  
   at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545)
>at
>>>

Re: [xwiki-users] xwiki rendering questions / suggestions

2008-06-12 Thread Jean-Vincent Drean
On Wed, Jun 11, 2008 at 1:37 PM, Ari <[EMAIL PROTECTED]> wrote:
> Hello. My question / suggestion goes with two part.
>
> PART 1
>
> I've tried to figure out why the XWiki renders xwiki-headings as it
> does. E.g "1 Title One" is rendered as 'Title
> One'. I would like to change this to be h1-element instead of
> h2-element.
>
> At first I suspected that this change would require only small
> modification in some velocity template. It seems that I was wrong. My
> current guess is that this rendering is done somewhere in java (from
> xwiki.hbm.xml I tracked the doc.XWikiDocument and with that my guess is
> DefaultXWikiRenderingEngine.java). However, I don't know how/where I
> should change the code.
>
> Is there a flow-chart or something to describe the render-phase?
>
> As the description of this list goes: I would suggest that the xwiki
> rendering should be done in a straightforward way where syntax 1 would
> be h1, 1.1 h2, 1.1.1 h3 and so on.
>

Yes the semantics of our titles aren't correct, if I remember well
those titles are the default titles coming from Radeox (the rendering
components we use which is not part of the XWiki project itself).
BTW we are currently rewriting the whole rendering component so I
think this issue will disappear in a near future, Vincent can you
confirm ?


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


Re: [xwiki-users] pb with installation of XEM

2008-06-12 Thread Thomas Mortagne
Hi,

On Thu, Jun 12, 2008 at 9:12 AM, gecko_ <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> i've followed the instructions for a new installation :
> 1. install and configuration of mysql
> 2. unzip xwiki-enterprise-manager-mysql-1.1.1.zip
> 3. sudo start_xwiki.sh
>
> i have 2 problems (i'm logged as Admin and i access to the administration
> interface)
> XWiki Enterprise Manager installation failed (null

Yes there is a bug in XEM 1.1.1

>
> A. first problem
>  when i try to import
> xwiki-enterprise-manager-wiki-administrator-1.2-rc-1.xar, this message

You should not use XEM xar 1.2 with XEM platform 1.1.1, this will not work.

XEM 1.2 final has just been released you should try it.

> appears :
>
>   5 files with errors
>*  192 Document(s) installed
>* 0 Document(s) skipped
>* 5 Document(s) with error
>
> these 5 files are: import_listoferrorsfiles
>
>* XemManager.Install
>* Photos.NewAlbum
>* Main.LuceneSearch
>* Panels.SyntaxHelp
>* XWiki.XWikiSyntax
>
>
>
> B. second problem
> when i want to Create default XE wiki template in
> http://localhost:8080/xwiki/bin/view/XemManager/Install
>
> it says : XWiki Enterprise Manager installation failed (null).
>
> the trace of execution of start_xwiki.sh tells :
> .
> com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki templatexe does
> not exist
> .
> 2008-06-12 08:11:19,663
> [http://localhost:8080/xwiki/bin/view/XemManager/Install?confirm=1] [P1-19]
> ERROR kimanager.WikiManagerPluginApi  - Wiki
> [XWiki.XWikiServerTemplatexe,templatexe.template.local,XWiki.Admin] creation
> failed
> com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number 50040 in
> 5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install
> package [template-xe.xar]
>
> thanks
> --
> View this message in context: 
> http://www.nabble.com/pb-with-installation-of-XEM-tp17793892p17793892.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] Re : Re: Add Manager application to XE 1.4.1

2008-06-12 Thread Gaëtan GUYODO
OK, XemManager.Install is 479 ko, seems to be OK with your explanation.
Anyway, I've just created a JIRA issue (XEM-114).
Tell me if you need more information.
Gaëtan

Thomas Mortagne a écrit :
> On Wed, Jun 11, 2008 at 7:42 PM, guyodo gaetan
> <[EMAIL PROTECTED]> wrote:
>> I tried to re-import XemManager.Install and that failed again.
>> But I don't understand how the page can contain a 500 kB attachment nor the 
>> xwiki-enterprise-manager-application-xem-1.2.xar file is only 366 kB ?
> 
> XAR files are ZIP archives. Open it and directly look at
> /XemManager/Install size.
> 
>> - Message d'origine -
>> De: Thomas Mortagne <[EMAIL PROTECTED]>
>> Date: Mercredi, Juin 11, 2008 5:15 pm
>> Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1
>> À: XWiki Users 
>>
>>> The only specificity of the page is that it contains a "big"
>>> attachment (around 500 kB).
>>>
 impossible d'insérer NULL dans
>>> ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
>>> This remind me an Oracle mapping problem we had in older version that
>>> should have been fixed  If you try to re-import just
>>> XemManager.Install, does it fail again ? If so, it would be great that
>>> you create an issue on http://jira.xwiki.org/jira/browse/XWIKI about
>>> this importing bug on Oracle.
>>>
>>> Anyway this page is not strongly needed (just contains a script to
>>> create a default wiki template based on standard XE xar).
>>>
>>> On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO
>>> <[EMAIL PROTECTED]> wrote:
 Sorry, I made a mistake, I didn't imported the XEM application
>>> xar...> Now, I imported it, and I get an error on
>>> XemManager.Install :
 2008-06-11 16:30:10,125

>>> [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
>>>  [TP-Processor8] WARN  util.JDBCExceptionReporter  - SQL Error: 1400,
 SQLState: 23000
 2008-06-11 16:30:10,125

>>> [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
>>>  [TP-Processor8] ERROR util.JDBCExceptionReporter  - ORA-01400:
 impossible d'insérer NULL dans
>>> ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")>
 2008-06-11 16:30:10,125

>>> [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
>>>  [TP-Processor8] ERROR .AbstractFlushingEventListener  - Could not
 synchronize database state with session
 org.hibernate.exception.ConstraintViolationException: could not
>>> insert:> [com.xpn.xwiki.objects.BaseObject]
at

>>> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)>
>>> at
>>> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)>
>>> at
>>> org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267)>
>>> at
>>> org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)>
>>> at
>>> org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)>
>>> at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
at
>>> org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)>  
>>>   at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
at

>>> org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)>
>>> at
>>> org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)>
>>> at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at
>>> org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)>
>>>  at
>>> org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)> 
>>>at
>>> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:816)>
>>> at
>>> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787)>
>>> at
>>> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563)>
>>> at
>>> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)>  
>>>   at
>>> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)>  
>>>   at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093)
at
>>> com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612)>   
>>>  at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545)
at
>>> com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:228)> 
>>>at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
at
>>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)>at
>>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProce

Re: [xwiki-users] Lucene search

2008-06-12 Thread Jean-Vincent Drean
2008/6/11 Mihails Agafonovs <[EMAIL PROTECTED]>:
> Hi!
>
> 1) I've been expecting problems with Lucene search in XWiki 1.4. To
> be more precise, it doesn't work at all :(. Seems that searching or
> either returning results function is broken.

Have you tried to rebuild the index ? Are the indexes correctly
created on the filesystem ?

> 2) In version 1.3 it worked, but somehow strange. For example, Lucene
> returned results, when search criteria was Mihails, and nothing, if
> search criteria was Mihail.

I think the "problem" here is the lucene query syntax itself, to tell
lucene that your query term is only a part of a word you have to use :
"Mihail*"

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


Re: [xwiki-users] Latvian symbols

2008-06-12 Thread Jean-Vincent Drean
Hi,

Using 1.4 or 1.4.1 ?

Have you followed the following guide to switch you install to UTF-8 ?
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding

Can you detail your configuration ? Database, Servlet container ?

If you're using 1.4.1 this seems to could be related to :
http://jira.xwiki.org/jira/browse/XWIKI-2422
fix applied : http://tinyurl.com/5ntkjk
The reason for this filtering comes from the windows CP1252 charset
which extends the iso-8859-1 charset.
Since those chars aren't correctly saved in a iso-8859-1 database
we've decided to transform them (into the corresponding entity) at the
highest level.

On Wed, Jun 11, 2008 at 1:21 PM, Mihails Agafonovs <[EMAIL PROTECTED]> wrote:
> Hi!
>
> Using XWiki 1.4, I've tried to search something with latvian symbols,
> e.g. š ā ķ ļ ē ņ, but the Search just screws all those
> symbols as a result getting "latvieÅ¡u vÄ rds" and
> search failure (nothing found).
> The charset I'm using is UTF-8, and in preferences defined languages
> are: en lv. I can create pages with name and content using latvian
> symbols, and works fine.
>
> P.S. In version 1.3, I couldn't even save the page, when writing
> something in latvian, getting an exception error.
>  Ar cieņu, Mihails
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] Login form idea

2008-06-12 Thread Mihails Agafonovs
Hi!  Don't know if it helps, but I've tried to test this using Selenium IDE, 
and figured 
out, that both commands

assertEquals("0", selenium.getCursorPosition("j_username"));
verifyEquals("0", selenium.getCursorPosition("j_username"));

work correct only if the page is "active" (I mean when you click on page in any 
place, 
for example, it becomes focused itself in first palce).

Quoting Vincent Massol <[EMAIL PROTECTED]>:
> Hi Mihail,
> 
> I committed the change, see http://jira.xwiki.org/jira/browse/XWIKI-2458
> However I've not succeeded in writing the selenium test so far.
> Could you please help out? (I've already spent quite some time on your  
> suggestion but I need to finish some other urgent work for now).
> 
> Thanks again
> -Vincent
> 
> On Jun 11, 2008, at 12:06 PM, Mihails Agafonovs wrote:
> 
> > As long as JavaScript is enabled, it must work.
> > Anyway, I've checked it on Firefox, IE6/IE7, Opera 9.2 and Safari
> > 3.1.
> > Quoting Vincent Massol : Hi Mihail,
> > does that work for all browers?
> > Thanks
> > -Vincent
> > On Jun 11, 2008, at 9:15 AM, Mihails Agafonovs wrote:
> >> Hi!
> >>
> >> It's quite good when the login form appears to set the automatic
> >> focus on the username field. Maybe this feature could be
> included
> > in
> >> XWiki as a standart.
> >> All you need is to paste this script after the login form:
> >>
> >> -
> >>
> >>   document.forms.loginForm.j_username.focus();
> >>
> >> -
> >> Ar cieтu, Mihails
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users


Ar cieņu, Mihails

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


Re: [xwiki-users] XEM : about domain name

2008-06-12 Thread Thomas Mortagne
On Wed, Jun 11, 2008 at 7:54 PM, guyodo gaetan
<[EMAIL PROTECTED]> wrote:
> The "domain name" can create for the domain abc.com multiple wikis on the 
> schema :
>   wiki1.abc.com
>   wiki2.abc.com
>   wikiX.abc.com
> My problem is that I already have a sub-domain name, and it is not easy for 
> me to obtain new ones.
> Is it possible to use domain names to create wikis on the schema :
>   sub.domain.com/wiki1
>   sub.domain.com/wiki2
>   sub.domain.com/wikiX
> If that is supported, that will be perfect for me, but my first tests doesn't 
> works, so...

No XWiki Platform does not support this kind of URL but it would be
good to have it.

Feel free to add a issue as "IDEA" or "IMPROVEMENT" in
http://jira.xwiki.org/jira/browse/XWIKI if this as not been already
done by someone.

> ___
> 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] Problem with TaskManager Application

2008-06-12 Thread Guillaume Lerouge
Hi,

> Please, would it be possible to upload the missing files?


Sure, sorry, I had forgotten about it. I've updated the XAR available on
http://code.xwiki.org/xwiki/bin/view/Applications/TaskManagerApplicationDownloads
,
the app should be working fine now, please tell me if it doesn't and I'll
dig it further.

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


Re: [xwiki-users] Re : Re: Add Manager application to XE 1.4.1

2008-06-12 Thread Thomas Mortagne
On Wed, Jun 11, 2008 at 7:42 PM, guyodo gaetan
<[EMAIL PROTECTED]> wrote:
> I tried to re-import XemManager.Install and that failed again.
> But I don't understand how the page can contain a 500 kB attachment nor the 
> xwiki-enterprise-manager-application-xem-1.2.xar file is only 366 kB ?

XAR files are ZIP archives. Open it and directly look at
/XemManager/Install size.

>
> - Message d'origine -
> De: Thomas Mortagne <[EMAIL PROTECTED]>
> Date: Mercredi, Juin 11, 2008 5:15 pm
> Objet: Re: [xwiki-users] Add Manager application to XE 1.4.1
> À: XWiki Users 
>
>> The only specificity of the page is that it contains a "big"
>> attachment (around 500 kB).
>>
>> > impossible d'insérer NULL dans
>> ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")
>> This remind me an Oracle mapping problem we had in older version that
>> should have been fixed  If you try to re-import just
>> XemManager.Install, does it fail again ? If so, it would be great that
>> you create an issue on http://jira.xwiki.org/jira/browse/XWIKI about
>> this importing bug on Oracle.
>>
>> Anyway this page is not strongly needed (just contains a script to
>> create a default wiki template based on standard XE xar).
>>
>> On Wed, Jun 11, 2008 at 4:22 PM, Gaëtan GUYODO
>> <[EMAIL PROTECTED]> wrote:
>> > Sorry, I made a mistake, I didn't imported the XEM application
>> xar...> Now, I imported it, and I get an error on
>> XemManager.Install :
>> >
>> > 2008-06-11 16:30:10,125
>> >
>> [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
>>  [TP-Processor8] WARN  util.JDBCExceptionReporter  - SQL Error: 1400,
>> > SQLState: 23000
>> > 2008-06-11 16:30:10,125
>> >
>> [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
>>  [TP-Processor8] ERROR util.JDBCExceptionReporter  - ORA-01400:
>> > impossible d'insérer NULL dans
>> ("XWIKI"."XWIKIOBJECTS"."XWO_CLASSNAME")>
>> > 2008-06-11 16:30:10,125
>> >
>> [https://164.2.245.3/xwiki/bin/import/XWiki/Import?editor=import&space=XWiki]>
>>  [TP-Processor8] ERROR .AbstractFlushingEventListener  - Could not
>> > synchronize database state with session
>> > org.hibernate.exception.ConstraintViolationException: could not
>> insert:> [com.xpn.xwiki.objects.BaseObject]
>> >at
>> >
>> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:71)>
>> at
>> >
>> org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)>
>> at
>> >
>> org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2267)>
>> at
>> >
>> org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2660)>
>> at
>> >
>> org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:56)> 
>>at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
>> >at
>> org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)>   
>>  at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:141)
>> >at
>> >
>> org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)>
>> at
>> >
>> org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)>
>> at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
>> >at
>> org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)>
>>  at
>> >
>> org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)>  
>>   at
>> >
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:816)>
>> at
>> >
>> com.xpn.xwiki.store.XWikiHibernateBaseStore.endTransaction(XWikiHibernateBaseStore.java:787)>
>> at
>> >
>> com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:563)>
>> at
>> >
>> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97)>   
>>  at
>> >
>> com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91)>   
>>  at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1131)
>> >at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1099)
>> >at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1093)
>> >at
>> com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:612)>
>> at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:545)
>> >at
>> com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:228)>  
>>   at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:89)
>> >at
>> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:215)>at
>> >
>> org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)>
>> at
>> >
>> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)>
>> at 
>> org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
>> 

Re: [xwiki-users] Login form idea

2008-06-12 Thread Vincent Massol
Hi Mihail,

I committed the change, see http://jira.xwiki.org/jira/browse/XWIKI-2458
However I've not succeeded in writing the selenium test so far.
Could you please help out? (I've already spent quite some time on your  
suggestion but I need to finish some other urgent work for now).

Thanks again
-Vincent

On Jun 11, 2008, at 12:06 PM, Mihails Agafonovs wrote:

> As long as JavaScript is enabled, it must work.
> Anyway, I've checked it on Firefox, IE6/IE7, Opera 9.2 and Safari
> 3.1.
> Quoting Vincent Massol : Hi Mihail,
> does that work for all browers?
> Thanks
> -Vincent
> On Jun 11, 2008, at 9:15 AM, Mihails Agafonovs wrote:
>> Hi!
>>
>> It's quite good when the login form appears to set the automatic
>> focus on the username field. Maybe this feature could be included
> in
>> XWiki as a standart.
>> All you need is to paste this script after the login form:
>>
>> -
>>
>>   document.forms.loginForm.j_username.focus();
>>
>> -
>> Ar cieтu, Mihails
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] FW: XWiki source code

2008-06-12 Thread goldring, richard
Vincent,

Thanks for writing this new section - it makes it clearer!
I didn't understand that XE uses the Struts/Velocity MVC architecture
(http://velocity.apache.org/tools/devel/struts/index.html). Now I understand
that (and have read up on it) XWiki seems a lot more understandable!

If you have time more detail on the architecture would help even more
(specifically the wiki specific 'business logic' and page rendering,
plugins, etc), but what you've already written has certainly given me and
others a good start for understanding XE.

Thanks again.

Best Regards,

Richard


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf
Of Vincent Massol
Sent: 10 June 2008 16:41
To: XWiki Users
Subject: Re: [xwiki-users] FW: XWiki source code



On Jun 10, 2008, at 4:48 PM, goldring, richard wrote:

> Hi Anyone,
>
> I'm trying to understand how XWiki works - its a servlet isn't it?

I assume you're talking about XE...

Does this help:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Architecture ?

Thanks
-Vincent

[snip]

> -Original Message-
> From: goldring, richard
> Sent: 09 June 2008 07:52
> To: 'XWiki Users'
> Subject: XWiki source code
>
>
> Hi,
>
> I'm trying to figure out the XWiki source code...
>
> Can someone "in the know" document on xwiki.org the flow of control  
> through
> XWiki from starting up the java server (Jetty, Tomcat, etc) and  
> XWiki, to
> the user logging in, to view a document, navigating to another page,  
> to
> editing and saving a page (HSQL, MySQL, etc), to logging out, to  
> using a
> plugin, to running some embedded code on a page, and finally to  
> shutting
> down XWiki? Some diagrams would be useful as well. Even if it were  
> just a
> brief description it would reallyhelp. It would be useful to know  
> where to
> start to try and understand the code. Some background on the  
> technologies
> used by XWiki would be useful as well.
>
> Thanks.
>
> Regards,
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent.  Attachments to this e-mail
may contain software viruses which could damage your system.  We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Problem with TaskManager Application

2008-06-12 Thread shivshan

Hi Guillaume,
Please, would it be possible to upload the missing files?
Thanks
Shiva


Guillaume Lerouge wrote:
> 
> Hi,
> 
> 
>> Tasks.WebHome:
>> TasksCode.ViewTask:
>> TasksCode.EditTask:
>> TasksCode.IssueClass:
>> TasksCode.IssueClassSheet:
>> TasksCode.IssueClassTemplate:
>> TasksCode.Macros:
>> TasksCode.NewTask:
>> TasksCode.NewTaskGroup:
>> TasksCode.Skin:
>> TasksCode.TasksClassTemplate:
>> TasksCode.TasksNotifications:
>> TasksCode.Translations:
>> TasksCode.WebHome:
>> Panels.MyTasks:
>> Panels.PageTasks:
>>
>> There isn't any page XWiki.GWT+something.
>> Only GWT is #includeMacros("GWT.GWTPropEditor") on page  TasksCode:
>> Macros
>> (but GWTPropEditor page doesn't exist)
> 
> 
> That's the cause of your issue, the #display macro needs stuff from the
> GWT.GWTPropEditor page to work. I'll try to give a look at the
> application's
> package and add the missing page to it ASAP.
> 
> Guillaume
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Problem-with-TaskManager-Application-tp17468637p17794259.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] pb with installation of XEM

2008-06-12 Thread gecko_

hi,

i've followed the instructions for a new installation :
1. install and configuration of mysql
2. unzip xwiki-enterprise-manager-mysql-1.1.1.zip
3. sudo start_xwiki.sh

i have 2 problems (i'm logged as Admin and i access to the administration
interface)
XWiki Enterprise Manager installation failed (null

A. first problem
 when i try to import 
xwiki-enterprise-manager-wiki-administrator-1.2-rc-1.xar, this message
appears :

   5 files with errors
*  192 Document(s) installed
* 0 Document(s) skipped
* 5 Document(s) with error 

these 5 files are: import_listoferrorsfiles

* XemManager.Install
* Photos.NewAlbum
* Main.LuceneSearch
* Panels.SyntaxHelp
* XWiki.XWikiSyntax



B. second problem 
when i want to Create default XE wiki template in
http://localhost:8080/xwiki/bin/view/XemManager/Install

it says : XWiki Enterprise Manager installation failed (null).

the trace of execution of start_xwiki.sh tells :
.
com.xpn.xwiki.XWikiException: Error number 2 in 0: The wiki templatexe does
not exist
.
2008-06-12 08:11:19,663
[http://localhost:8080/xwiki/bin/view/XemManager/Install?confirm=1] [P1-19]
ERROR kimanager.WikiManagerPluginApi  - Wiki
[XWiki.XWikiServerTemplatexe,templatexe.template.local,XWiki.Admin] creation
failed 
com.xpn.xwiki.plugin.wikimanager.WikiManagerException: Error number 50040 in
5: com.xpn.xwiki.plugin.wikimanager.WikiManagerPlugin: Fail to install
package [template-xe.xar]

thanks
-- 
View this message in context: 
http://www.nabble.com/pb-with-installation-of-XEM-tp17793892p17793892.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