Re: [xwiki-users] linking an image thumbnail to the original file

2007-11-21 Thread Your XEN ICT Team - Ricardo Rodriguez

Vincent Massol wrote:


I'd like to find a way to have the help in sync with the official  
syntax guide at http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax


I think there's a jira issue for this already.

If you have any idea...

Thanks
-Vincent
  


Hi Vincent,

Sorry for the delay. Let me see if I've well understood what do you 
would like.


A standard XWiki Enterprise installation doesn't include any help file 
but a link to http://www.xwiki.org/xwiki/bin/view/Main/Documentation in 
the top button bar.


The default set of XWiki pages in the *.xar includes a Panels.SyntaxHelp 
document that is displayed while editing. This same panel includes a 
link to what you call the "official syntax guide" at 
http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax.


In some installations I also found a Panels.XWikiSyntax what I am 
guessing is a deprecated version of the official syntax guide, isn't it?


The point will be to find how to synchronize the contents of 
Panels.SyntaxHelp with the official syntax guide. Is it the objective?



BTW, I don't find any JIRA XE open issue relate with help. I found at 
least two XWIKI related:


http://jira.xwiki.org/jira/browse/XWIKI-206
http://jira.xwiki.org/jira/browse/XWIKI-1500

As XWIKI-206 (add support for live syntax helpers) I think is far beyond 
the scope of the present discussion, I think that only to follow 
XWIKI-1500 could make sense here. Couldn't it?


Please, accept my apologies if I saying some stupid thing, but I am 
still trying to understand how JIRA, the mailing lists and the builds 
integrate the development system. Thanks for your patience.


All the best,

Ricardo

--
Ricardo Rodríguez
Your XEN ICT Team

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


Re: [xwiki-users] Sort error in tags

2007-11-21 Thread Benoit Hug

I have try it : put the classic user in a group authorized in programming
rights, also admin rights ... nothing better.
Only the Admin user shows the tag cloud panel fine.
Maybe i miss something in right managment.
My installation : XE 1.1 - XEM 1.0 M1

r,
Benoit



vmassol wrote:
> 
> 
> On Nov 21, 2007, at 6:33 PM, Benoit Hug wrote:
> 
>>
>> Hi,
>>
>> I have the same trouble.
>> I find out that Documents saved with Admin works fine, Documents  
>> saved with
>> "classic user" makes this problem ...
>>
>> How should i do ?
> 
> It must be using some privileged api which require programming rights.  
> So just save it with a user having programming rights and it should be  
> fine.
> 
> -Vincent
> 
>> vmassol wrote:
>>>
>>> Hi Inge,
>>>
>>> I have no idea what this tagcloud snippet works (it's contributed
>>> code). All I can tell is that the error seems because the snippet is
>>> passing a NULL list to the XWiki sort() method. Actually the
>>> implementation of the sort method cannot be simpler:
>>>
>>> public List sort(List list)
>>> {
>>> Collections.sort(list);
>>> return list;
>>> }
>>>
>>> So you should check the tagcloud code and modify it so that it
>>> doesn't call sort when the list is NULL (and update the script in the
>>> code zone when you've fixed it! :)).
>>>
>>> Thanks
>>> -Vincent
>>>
>>> On Sep 21, 2007, at 8:10 AM, I.T. van den Dobbelsteen-Heemskerk  
>>> wrote:
>>>
 Recently I included the tagcloud snippet in one of my panels. In
 some pages it works fine, but in other pages I get this error
 message in stead of the cloud:

 Error number 4001 in 4: Error while parsing velocity page Main.Tags
 Wrapped Exception: Invocation of method 'sort' in class
 com.xpn.xwiki.api.XWiki threw exception
 java.lang.NullPointerException @ Main.Tags3,25?
 Error number 4001 in 4: Error while parsing velocity page Main.Tags
 Wrapped Exception: Invocation of method 'sort' in  class
 com.xpn.xwiki.api.XWiki threw exception
 java.lang.NullPointerException @ Main.Tags3,25?
 com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
 parsing velocity page Main.Tags
 Wrapped Exception: Invocation of method 'sort' in  class
 com.xpn.xwiki.api.XWiki threw exception
 java.lang.NullPointerException @ Main.Tags3,25?
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate
 (XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render
 (XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText
 (DefaultXWikiRenderingEngine.java:222)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText
 (DefaultXWikiRenderingEngine.java:154)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText
 (DefaultXWikiRenderingEngine.java:125)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent
 (XWikiDocument.java:411)
at com.xpn.xwiki.objects.classes.TextAreaClass.displayView
 (TextAreaClass.java:163)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
at com.xpn.xwiki.api.Document.display(Document.java:866)
at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
 (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.velocity.util.introspection.UberspectImpl
 $VelMethodImpl.invoke(UberspectImpl.java:295)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute
 (ASTMethod.java:245)
at org.apache.velocity.runtime.parser.node.ASTReference.execute
 (ASTReference.java:203)
at org.apache.velocity.runtime.parser.node.ASTReference.render
 (ASTReference.java:294)
at org.apache.velocity.runtime.parser.node.ASTBlock.render
 (ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.SimpleNode.render
 (SimpleNode.java:318)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render
 (ASTIfStatement.java:107)
at org.apache.velocity.runtime.parser.node.ASTBlock.render
 (ASTBlock.java:74)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render
 (ASTIfStatement.java:88)
at org.apache.velocity.runtime.parser.node.SimpleNode.render
 (SimpleNode.java:318)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render
 (VelocimacroProxy.java:194)
at org.apache.velocity.runtime.parser.node.ASTDirective.render
 (ASTDirective.java:170)
at org.apache.velocity.runtime.parser.node.ASTBlock.render
 (ASTBlock.java:74)
at org.apache.velocity.runtime.directive.Foreach.render
 (Foreach.java:448)
at org.apache.velocity.runtime.parser.node.ASTDirective.render
 (ASTDirectiv

Re: [xwiki-users] Why do version numbers increment when nothing has changed in a save?

2007-11-21 Thread Vincent Massol

On Nov 21, 2007, at 8:43 PM, Andreas wrote:

> Hi,
>
> When I click edit on a XWiki page and "Save and View" or "Save and
> Continue", without making any changes, a new version number is
> created.  This is contrary to existing conventions in SVN, which will
> intelligently check whether there are any modifications that would
> warrant a new version number.  Is this a fundamental different view of
> the XWiki development team or is it a technical difficulty or simply
> something that has not been implemented yet?

It's just not implemented yet. I have wanted to fix this for a long  
time but have never actually taken the time to  do it. I'd like this  
too.

> Also, why is the first version of a document 1.1 and not 1.0?

I think that's because that's the way RCS works and we're using RCS  
internally.

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


[xwiki-users] Why do version numbers increment when nothing has changed in a save?

2007-11-21 Thread Andreas
Hi,

When I click edit on a XWiki page and "Save and View" or "Save and
Continue", without making any changes, a new version number is
created.  This is contrary to existing conventions in SVN, which will
intelligently check whether there are any modifications that would
warrant a new version number.  Is this a fundamental different view of
the XWiki development team or is it a technical difficulty or simply
something that has not been implemented yet?


Also, why is the first version of a document 1.1 and not 1.0?

Thanks,


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


Re: [xwiki-users] XWiki scripting for end user (not Groovy)

2007-11-21 Thread William Lesguillier
> about that the simplest thing to do is to put all your development pages in
> a /view/Dev/ space, and then use #includeTopic("Dev.ScriptPage") to display
> them in usual content-only wiki pages while preserving the ability to use
> the WYSIWYG editor for basic users...
>
> Once you do this the WYSIWYG editor starts becoming useful again... be sure
> to use the latest XWiki version too since it usually has had more bugs
> corrected :-)

That's a nice trick used a lot in TWiki, plugins are based on this.
Related to this there's a nice feature in TWiki I'd like to see in
XWiki: section import. You can declare a section in a page and then
only import that section of a page in another one. In this case it's
really useful because you don't have to use multiple pages for each
five lines of code to insert. In your plugin code page you create a
page section for each plugin function. Then you can import those
sections in your user pages. All code in one tidy place.

In XWiki that could bedone with something like this:

The declaration part:

Some text in a page

{section: MyFirstPageSection}
some text in the section
{section: MyFirstPageSection}

Page continues...

The include part:
#includeTopic("Dev.ScriptPage|MyFirstPageSection")

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


Re: [xwiki-users] Sort error in tags

2007-11-21 Thread Vincent Massol

On Nov 21, 2007, at 6:33 PM, Benoit Hug wrote:

>
> Hi,
>
> I have the same trouble.
> I find out that Documents saved with Admin works fine, Documents  
> saved with
> "classic user" makes this problem ...
>
> How should i do ?

It must be using some privileged api which require programming rights.  
So just save it with a user having programming rights and it should be  
fine.

-Vincent

> vmassol wrote:
>>
>> Hi Inge,
>>
>> I have no idea what this tagcloud snippet works (it's contributed
>> code). All I can tell is that the error seems because the snippet is
>> passing a NULL list to the XWiki sort() method. Actually the
>> implementation of the sort method cannot be simpler:
>>
>> public List sort(List list)
>> {
>> Collections.sort(list);
>> return list;
>> }
>>
>> So you should check the tagcloud code and modify it so that it
>> doesn't call sort when the list is NULL (and update the script in the
>> code zone when you've fixed it! :)).
>>
>> Thanks
>> -Vincent
>>
>> On Sep 21, 2007, at 8:10 AM, I.T. van den Dobbelsteen-Heemskerk  
>> wrote:
>>
>>> Recently I included the tagcloud snippet in one of my panels. In
>>> some pages it works fine, but in other pages I get this error
>>> message in stead of the cloud:
>>>
>>> Error number 4001 in 4: Error while parsing velocity page Main.Tags
>>> Wrapped Exception: Invocation of method 'sort' in class
>>> com.xpn.xwiki.api.XWiki threw exception
>>> java.lang.NullPointerException @ Main.Tags3,25?
>>> Error number 4001 in 4: Error while parsing velocity page Main.Tags
>>> Wrapped Exception: Invocation of method 'sort' in  class
>>> com.xpn.xwiki.api.XWiki threw exception
>>> java.lang.NullPointerException @ Main.Tags3,25?
>>> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
>>> parsing velocity page Main.Tags
>>> Wrapped Exception: Invocation of method 'sort' in  class
>>> com.xpn.xwiki.api.XWiki threw exception
>>> java.lang.NullPointerException @ Main.Tags3,25?
>>> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate
>>> (XWikiVelocityRenderer.java:148)
>>> at com.xpn.xwiki.render.XWikiVelocityRenderer.render
>>> (XWikiVelocityRenderer.java:91)
>>> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText
>>> (DefaultXWikiRenderingEngine.java:222)
>>> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText
>>> (DefaultXWikiRenderingEngine.java:154)
>>> at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText
>>> (DefaultXWikiRenderingEngine.java:125)
>>> at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent
>>> (XWikiDocument.java:411)
>>> at com.xpn.xwiki.objects.classes.TextAreaClass.displayView
>>> (TextAreaClass.java:163)
>>> at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
>>> at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
>>> at com.xpn.xwiki.api.Document.display(Document.java:866)
>>> at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
>>> at sun.reflect.DelegatingMethodAccessorImpl.invoke
>>> (DelegatingMethodAccessorImpl.java:25)
>>> at java.lang.reflect.Method.invoke(Method.java:585)
>>> at org.apache.velocity.util.introspection.UberspectImpl
>>> $VelMethodImpl.invoke(UberspectImpl.java:295)
>>> at org.apache.velocity.runtime.parser.node.ASTMethod.execute
>>> (ASTMethod.java:245)
>>> at org.apache.velocity.runtime.parser.node.ASTReference.execute
>>> (ASTReference.java:203)
>>> at org.apache.velocity.runtime.parser.node.ASTReference.render
>>> (ASTReference.java:294)
>>> at org.apache.velocity.runtime.parser.node.ASTBlock.render
>>> (ASTBlock.java:74)
>>> at org.apache.velocity.runtime.parser.node.SimpleNode.render
>>> (SimpleNode.java:318)
>>> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render
>>> (ASTIfStatement.java:107)
>>> at org.apache.velocity.runtime.parser.node.ASTBlock.render
>>> (ASTBlock.java:74)
>>> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render
>>> (ASTIfStatement.java:88)
>>> at org.apache.velocity.runtime.parser.node.SimpleNode.render
>>> (SimpleNode.java:318)
>>> at org.apache.velocity.runtime.directive.VelocimacroProxy.render
>>> (VelocimacroProxy.java:194)
>>> at org.apache.velocity.runtime.parser.node.ASTDirective.render
>>> (ASTDirective.java:170)
>>> at org.apache.velocity.runtime.parser.node.ASTBlock.render
>>> (ASTBlock.java:74)
>>> at org.apache.velocity.runtime.directive.Foreach.render
>>> (Foreach.java:448)
>>> at org.apache.velocity.runtime.parser.node.ASTDirective.render
>>> (ASTDirective.java:170)
>>> at org.apache.velocity.runtime.parser.node.ASTBlock.render
>>> (ASTBlock.java:74)
>>> at org.apache.velocity.runtime.parser.node.ASTIfStatement.render
>>> (ASTIfStatement.java:88)
>>> at org.apache.velocity.runtime.parser.node.SimpleNode.render
>>> (SimpleNode.java:318)
>>> at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate
>>> (XWikiVelocity

Re: [xwiki-users] Sort error in tags

2007-11-21 Thread Benoit Hug

Hi,

I have the same trouble.
I find out that Documents saved with Admin works fine, Documents saved with
"classic user" makes this problem ...

How should i do ?  

Thanks !

Regards,
Benoit



vmassol wrote:
> 
> Hi Inge,
> 
> I have no idea what this tagcloud snippet works (it's contributed  
> code). All I can tell is that the error seems because the snippet is  
> passing a NULL list to the XWiki sort() method. Actually the  
> implementation of the sort method cannot be simpler:
> 
>  public List sort(List list)
>  {
>  Collections.sort(list);
>  return list;
>  }
> 
> So you should check the tagcloud code and modify it so that it  
> doesn't call sort when the list is NULL (and update the script in the  
> code zone when you've fixed it! :)).
> 
> Thanks
> -Vincent
> 
> On Sep 21, 2007, at 8:10 AM, I.T. van den Dobbelsteen-Heemskerk wrote:
> 
>> Recently I included the tagcloud snippet in one of my panels. In  
>> some pages it works fine, but in other pages I get this error  
>> message in stead of the cloud:
>>
>> Error number 4001 in 4: Error while parsing velocity page Main.Tags  
>> Wrapped Exception: Invocation of method 'sort' in class  
>> com.xpn.xwiki.api.XWiki threw exception  
>> java.lang.NullPointerException @ Main.Tags3,25?
>> Error number 4001 in 4: Error while parsing velocity page Main.Tags
>> Wrapped Exception: Invocation of method 'sort' in  class  
>> com.xpn.xwiki.api.XWiki threw exception  
>> java.lang.NullPointerException @ Main.Tags3,25?
>> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while  
>> parsing velocity page Main.Tags
>> Wrapped Exception: Invocation of method 'sort' in  class  
>> com.xpn.xwiki.api.XWiki threw exception  
>> java.lang.NullPointerException @ Main.Tags3,25?
>>  at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate 
>> (XWikiVelocityRenderer.java:148)
>>  at com.xpn.xwiki.render.XWikiVelocityRenderer.render 
>> (XWikiVelocityRenderer.java:91)
>>  at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText 
>> (DefaultXWikiRenderingEngine.java:222)
>>  at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText 
>> (DefaultXWikiRenderingEngine.java:154)
>>  at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText 
>> (DefaultXWikiRenderingEngine.java:125)
>>  at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent 
>> (XWikiDocument.java:411)
>>  at com.xpn.xwiki.objects.classes.TextAreaClass.displayView 
>> (TextAreaClass.java:163)
>>  at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1312)
>>  at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:1292)
>>  at com.xpn.xwiki.api.Document.display(Document.java:866)
>>  at sun.reflect.GeneratedMethodAccessor153.invoke(Unknown Source)
>>  at sun.reflect.DelegatingMethodAccessorImpl.invoke 
>> (DelegatingMethodAccessorImpl.java:25)
>>  at java.lang.reflect.Method.invoke(Method.java:585)
>>  at org.apache.velocity.util.introspection.UberspectImpl 
>> $VelMethodImpl.invoke(UberspectImpl.java:295)
>>  at org.apache.velocity.runtime.parser.node.ASTMethod.execute 
>> (ASTMethod.java:245)
>>  at org.apache.velocity.runtime.parser.node.ASTReference.execute 
>> (ASTReference.java:203)
>>  at org.apache.velocity.runtime.parser.node.ASTReference.render 
>> (ASTReference.java:294)
>>  at org.apache.velocity.runtime.parser.node.ASTBlock.render 
>> (ASTBlock.java:74)
>>  at org.apache.velocity.runtime.parser.node.SimpleNode.render 
>> (SimpleNode.java:318)
>>  at org.apache.velocity.runtime.parser.node.ASTIfStatement.render 
>> (ASTIfStatement.java:107)
>>  at org.apache.velocity.runtime.parser.node.ASTBlock.render 
>> (ASTBlock.java:74)
>>  at org.apache.velocity.runtime.parser.node.ASTIfStatement.render 
>> (ASTIfStatement.java:88)
>>  at org.apache.velocity.runtime.parser.node.SimpleNode.render 
>> (SimpleNode.java:318)
>>  at org.apache.velocity.runtime.directive.VelocimacroProxy.render 
>> (VelocimacroProxy.java:194)
>>  at org.apache.velocity.runtime.parser.node.ASTDirective.render 
>> (ASTDirective.java:170)
>>  at org.apache.velocity.runtime.parser.node.ASTBlock.render 
>> (ASTBlock.java:74)
>>  at org.apache.velocity.runtime.directive.Foreach.render 
>> (Foreach.java:448)
>>  at org.apache.velocity.runtime.parser.node.ASTDirective.render 
>> (ASTDirective.java:170)
>>  at org.apache.velocity.runtime.parser.node.ASTBlock.render 
>> (ASTBlock.java:74)
>>  at org.apache.velocity.runtime.parser.node.ASTIfStatement.render 
>> (ASTIfStatement.java:88)
>>  at org.apache.velocity.runtime.parser.node.SimpleNode.render 
>> (SimpleNode.java:318)
>>  at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate 
>> (XWikiVelocityRenderer.java:240)
>>  at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate 
>> (XWikiVelocityRenderer.java:143)
>>  at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1271)
>>  at com.xpn.xwi

[xwiki-users] $xwiki.calendar.getHTMLCalendar

2007-11-21 Thread Esbach, Brandon
Hi all,
Having trouble finding documentation on this, there is no mention in the
xwiki api documentation (none that I can find at least)

The idea is to add a tootip of the description field to the item's entry
so that a user can look at the calendar, hover over a users' name and
get the description as a tooltip.  
Is there any simple way to add the description (or any field from the
object) to the title?

Something like $xwiki.calendar.calendarParams.put("attribute",
"title=description")

Brandon Esbach
Software Engineer
Wireless Systems Segment 
Tyco Electronics 
4 Eastgate Road 
Eastgate 
Little Island 
Co. Cork 
Ireland 
Tel: +353-21-4808305 
Email: [EMAIL PROTECTED] 

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


Re: [xwiki-users] Export/Import/Backups

2007-11-21 Thread goldring, richard
Vincent,
 
The XAR was exported from the same xwiki-enterprise-1.1-milestone-3 version
of our xwik, so it should be ok, but is unreadable.
 
It's great having the Import/Export facility in XWiki but a separate
Backup/Restore facility based on the code behind the Import/Export facility
would be good ... something like
http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administrat
orsGuide-dataandBackups
  (daily backups, etc) rather than having to backup
via a database backup utility, and if you didn't have to attach an XAR file
to import it as a backup you wouldn't have the constraints of attaching a
file and importing/restoring would be more efficient.
 
Being able to backup and restore data easily is very important to my
organisation ... most organisations.
 
Thanks,
 
Richard
 
 
 -Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Vincent Massol
Sent: 21 November 2007 16:14
To: XWiki Users
Subject: Re: [xwiki-users] Export/Import/Backups



Hi Richard, 

On Nov 21, 2007, at 4:56 PM, goldring, richard wrote:


Hi,

I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3  and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem?

You say you have a XAR that you cannot import in XE 1.1.M3. So the question
is: where did you get this XAR from?

Has it been fixed in the latest releases? Is there anyway to recover the
data in this 'corrupted' XAR?

Let's first understand your problem.

 
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?

Could you describe a bit more what you call a "poper backup". I haven't used
confluence for a while and I don't recall how it does it (I thought it was
generating a zip containing XML files much like what xwiki does).

BTW for large databases we don't recommend using XARs (they should be
reserved for applications import/exports I think) since attaching tens of MB
isn't a good solution. For large DBs we recommend backuping the DB using the
standard DB backup tools.

If you have some ideas for improving backups please let us know. That'd be
cool.

Thanks
-Vincent



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


[xwiki-users] Xwiki install: Websphere 6.1 & SQLserver

2007-11-21 Thread david bessire

Hello,

i've gotten my xwiki install running on Websphere 6.1 & SQLserver & just wanted 
to thank the gentleman that helpfully added his sql server configuration 
instructions to the site.  Seems like the biggest change was converting VARCHAR 
columns> 8000 characters to TEXT columns, if i recall correctly.

i still get two exceptions on startup, but they don't prevent using the wiki:
   a. Websphere still complains that it can't find EnumerateTei class file in 
the struts jar.  (It legitimately doesn't appear to be there.)
   b. Websphere complains about a url mapping clash for three url mappings in 
web.xml.

xwiki is quite nice.  i particularly like the Eclipse integration feature.  
Thanks for getting my boss off my back!

Regards,
david bessire
_
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] HSQLDB

2007-11-21 Thread Vincent Massol


On Nov 21, 2007, at 5:02 PM, goldring, richard wrote:


Hi,

I had my xwiki linux pc crash on me during a powercut and the HSQLDB  
database seemed to revert to content that was on the xwiki several  
weeks ago.
What's happened? Does hsqldb store data in memory and that is why  
the data has got lost when the power went? I thought it stored the  
data in xwiki_db.script? Anyone?


It depends how you configured HSQLDB. AFAIK xwiki configures it by  
default to store to files and not in memory... Now it probably has a  
cache for performance reasons but several weeks of data loss looks  
like another issue. I'd recommend talking to the HSQLDB guys on their  
forums/mailing list. They're the best to know how to fix this I think.


We also recommend making regular backups of your database same as you  
would backup any of your personal files. For HSQLDB it's especially  
easy since you just have to save a directory. I know, it's too late  
now for you but if that can help others...


Thanks
-Vincent


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


Re: [xwiki-users] Export/Import/Backups

2007-11-21 Thread Vincent Massol

Hi Richard,

On Nov 21, 2007, at 4:56 PM, goldring, richard wrote:


Hi,
I had a problem with importing an XAR running xwiki-enterprise-1.1- 
milestone-3  and my WinZip program didn't recognise the XAR as  
zipped file like other XAR files. Is this a known problem?
You say you have a XAR that you cannot import in XE 1.1.M3. So the  
question is: where did you get this XAR from?
Has it been fixed in the latest releases? Is there anyway to recover  
the data in this 'corrupted' XAR?

Let's first understand your problem.


Could the Import/Export facility be develop to provide proper  
backups (as Confluence does) so you don't have to attach an XAR file  
to restore as a backup?
Could you describe a bit more what you call a "poper backup". I  
haven't used confluence for a while and I don't recall how it does it  
(I thought it was generating a zip containing XML files much like what  
xwiki does).


BTW for large databases we don't recommend using XARs (they should be  
reserved for applications import/exports I think) since attaching tens  
of MB isn't a good solution. For large DBs we recommend backuping the  
DB using the standard DB backup tools.


If you have some ideas for improving backups please let us know.  
That'd be cool.


Thanks
-Vincent

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


[xwiki-users] HSQLDB

2007-11-21 Thread goldring, richard
Hi,
 
I had my xwiki linux pc crash on me during a powercut and the HSQLDB
database seemed to revert to content that was on the xwiki several weeks
ago.
What's happened? Does hsqldb store data in memory and that is why the data
has got lost when the power went? I thought it stored the data in
xwiki_db.script? Anyone?
 
Regards,
 
Richard

 


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


[xwiki-users] Export/Import/Backups

2007-11-21 Thread goldring, richard
Hi,

I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3  and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem? Has it
been fixed in the latest releases? Is there anyway to recover the data in
this 'corrupted' XAR?
 
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?
 
Regards,
 
Richard 


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] XWiki scripting for end user (not Groovy)

2007-11-21 Thread Guillaume Lerouge
Yep,
about that the simplest thing to do is to put all your development pages in
a /view/Dev/ space, and then use #includeTopic("Dev.ScriptPage") to display
them in usual content-only wiki pages while preserving the ability to use
the WYSIWYG editor for basic users...

Once you do this the WYSIWYG editor starts becoming useful again... be sure
to use the latest XWiki version too since it usually has had more bugs
corrected :-)

Guillaume

On 21/11/2007, BOUSQUET Jeremie <[EMAIL PROTECTED]> wrote:
>
>   Hello *,
>
>
>
> I quite agree with all that's been said in this topic about usability. I
> must say also as old 0.9 versions user, that usability, user-friendliness,
> have been considerably improved since these old versions, thanks to xwiki
> great team ;-) So I believe this will continue to evolve and be better and
> better with new releases.
>
>
>
> About scripting : in my team we had "basic" end-users (not quite
> participative to start with), and 2 admins (including me). As admins we
> added much dynamic features in many pages, scripting, groovy, HTML, SQL
> requests and so on … Now end-users are much more participative, and problem
> is that :
>
> - we broke possibility of using WYSIWYG editor on these highly
> dynamic pages
>
> - for end-users, editing these kind of pages is an awful
> experience, because it's not human-readable anymore (accepting developers
> are not completely human ;) ).
>
> In my opinion with XWiki architecture it should be strongly advised to
> separate "pure content" pages and dynamic or complex pages, using macros for
> example. It's a good development practice anyway, but you might not think
> about it when you start working on a wiki site.
>
>
>
> Anyway I don't regret using XWiki because it's a great wiki IMO, and I
> really appreciate the way it evolves
>
>
>
> Jeremie
>
>
>  --
>
> *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On
> Behalf Of *Guillaume Lerouge
> *Sent:* mercredi 21 novembre 2007 11:15
> *To:* XWiki Users
> *Subject:* Re: [xwiki-users] XWiki scripting for end user (not Groovy)
>
>
>
>
>
> I'm happy to hear that. I hope I didn't seem to harsh on the feedback.
> I do think xwiki is a nice product!
>
>
>
> > then we hope you'll keep using it :-)
>
> > Feedback isn't too harsh, it's important for us to be aware of how XWiki
> users feel about our software. And hopefully you'll be bringing improvements
> to it on your own soon ;-)
>
>
>
> Guillaume
>
>
>
>
>
> William
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
>
> --
> http://wikibc.blogspot.com/
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>


-- 
http://wikibc.blogspot.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki scripting for end user (not Groovy)

2007-11-21 Thread BOUSQUET Jeremie
Hello *,

 

I quite agree with all that's been said in this topic about usability. I
must say also as old 0.9 versions user, that usability,
user-friendliness, have been considerably improved since these old
versions, thanks to xwiki great team ;-) So I believe this will continue
to evolve and be better and better with new releases.

 

About scripting : in my team we had "basic" end-users (not quite
participative to start with), and 2 admins (including me). As admins we
added much dynamic features in many pages, scripting, groovy, HTML, SQL
requests and so on ... Now end-users are much more participative, and
problem is that :

- we broke possibility of using WYSIWYG editor on these highly
dynamic pages

- for end-users, editing these kind of pages is an awful
experience, because it's not human-readable anymore (accepting
developers are not completely human ;) ).

In my opinion with XWiki architecture it should be strongly advised to
separate "pure content" pages and dynamic or complex pages, using macros
for example. It's a good development practice anyway, but you might not
think about it when you start working on a wiki site.

 

Anyway I don't regret using XWiki because it's a great wiki IMO, and I
really appreciate the way it evolves

 

Jeremie

 



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Guillaume Lerouge
Sent: mercredi 21 novembre 2007 11:15
To: XWiki Users
Subject: Re: [xwiki-users] XWiki scripting for end user (not Groovy)

 



I'm happy to hear that. I hope I didn't seem to harsh on the
feedback.
I do think xwiki is a nice product! 

 

> then we hope you'll keep using it :-)

> Feedback isn't too harsh, it's important for us to be aware of how
XWiki users feel about our software. And hopefully you'll be bringing
improvements to it on your own soon ;-) 

 

Guillaume

 

 

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




-- 
http://wikibc.blogspot.com/ 

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


[xwiki-users] XWiki @ Javapolis

2007-11-21 Thread Guillaume Lerouge
Hi fellow XWikiers,

a quick e-mail to tell you that 3 XWiki team members will be at Javapolis (
http://www.javapolis.com/ ) in Antwerp, Belgium, from the 12/12 to the 14/12
2007. Javapolis is the biggest yearly Java event in Europe.

Vincent Massol, Jean-Vincent Drean and me will be there to answer every
question you may have about XWiki. You'll have the opportunity to meet
people from other OW2 projects such as eXo too.

Please let us know whether you'd be interested to attend the conference on
the dedicated XWiki Facebook Event page at
http://www.facebook.com/event.php?eid=14478490493
.


You can check out XWiki's booth location on the floor plan (available on
XWiki.org at  http://www.xwiki.org/xwiki/bin/view/Blog/XWikiAtJavapolis2007
 )

Looking forward to seeing you there,

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


Re: [xwiki-users] Hosted wiki - sending email

2007-11-21 Thread Esbach, Brandon
Hi Rafaello,

Is there any way to configure this?  I need to let my users know whether
it's likely to work or not. 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Esbach, Brandon
Sent: 20 November 2007 15:43
To: XWiki Users
Subject: Re: [xwiki-users] Hosted wiki - sending email

Hi Raffaello,

It's "tycoelectronics.xwiki.com"

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Raffaello Pelagalli
Sent: 20 November 2007 15:34
To: XWiki Users
Subject: Re: [xwiki-users] Hosted wiki - sending email

"Esbach, Brandon" <[EMAIL PROTECTED]> writes:

> Hi all,
>
> We've recently had a request for notifications on our hosted wiki; 
> from the API documentation this should work (no errors are returned 
> either when I call $xwiki.sendMessage).
>
> Problem is, I suspect either the message sending needs a specific 
> configuration or sending is otherwise blocked (we use javamail on our 
> own internal wiki, this is not possible it seems on hosted solution).
>
> How should this be configured for the hosted wiki farm?

Hi Brandon,

What is the name of your wiki on the farm ?

Best regards,
--
Raffaello Pelagalli
XPertNet - XWiki.com
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki scripting for end user (not Groovy)

2007-11-21 Thread Guillaume Lerouge
>
>
>
> I'm happy to hear that. I hope I didn't seem to harsh on the feedback.
> I do think xwiki is a nice product!


> then we hope you'll keep using it :-)
> Feedback isn't too harsh, it's important for us to be aware of how XWiki
users feel about our software. And hopefully you'll be bringing improvements
to it on your own soon ;-)

Guillaume


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



-- 
http://wikibc.blogspot.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] XWiki scripting for end user (not Groovy)

2007-11-21 Thread William Lesguillier
> A specification is currently written by xwiki developers to refactor
> the use of xwiki forms (objects&classes). I hope we'll be able to
> implement it soon.

I'm happy to hear that. I hope I didn't seem to harsh on the feedback.
I do think xwiki is a nice product!

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