Re: [xwiki-users] How to use the ajaxSuggest

2009-06-18 Thread PERINAUD Christophe
Hello,

The problem was that a "&" was missing at the end of the build URL

-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
PERINAUD Christophe
Envoyé : vendredi 12 juin 2009 15:44
À : XWiki Users
Objet : [xwiki-users] How to use the ajaxSuggest

Hello all

I would like to use the ajaxSuggest feature to help users inputting data in an 
input field of a form.
I checked in the tagedit.vm how it works but i can't have a result.
I create that :
---
#set($script=$xwiki.getURL("Main.TestXML")+"?xpage=plain")

---

The page Main.TestXML is like that :
---
$response.setContentType("text/xml")


  valeur1
  valeur2
  valeur3

---

So when the user inputs something like "al", i would like to see the popup with 
the three values.
I just got a javascript error saying "Object required" on the line with the 
input field

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




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

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

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


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

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

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


[xwiki-users] Help for File Upload

2009-06-18 Thread RoxanaM

Hi,

I want to upload a file to my web server and i've read some topics on this
forum,but it didn't help.

Can somebody help me with this problem, with a little example of how I can
do this. I'll appreciate a lot!!


Thanks in advance!!
-- 
View this message in context: 
http://n2.nabble.com/Help--for-File-Upload-tp3115743p3115743.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] Import/Export application

2009-06-18 Thread PERINAUD Christophe
Hello,

I answer my own question.
The problem is that the URL used in the ajaxRequest is based on the URL of the 
main Wiki. But in my case i tried to use it from a virtual Wiki
For those who would like to use it in virtual mode, in the page called "Export" 
you have to replace :
this.baseUrl = "/xwiki/bin/" + this.action;

With

#if($xwiki.isVirtualMode() && !$context.isMainWiki())
this.baseUrl = "/xwiki/wiki/${context.getDatabase()}/" + this.action;
#else
this.baseUrl = "/xwiki/bin/" + this.action;
#end

Then the pages list should be displayed

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


-Message d'origine-
De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] De la part de 
PERINAUD Christophe
Envoyé : jeudi 26 mars 2009 14:39
À : XWiki Users
Objet : [xwiki-users] Import/Export application

Hello,

I download the ImportExport Application (1.3) in one of my virtual wiki. When i 
go in the export page and select a space nothing happens (only the message 
"Start by choosing a space to list documents" in the lower cell disepears)

I tried to look at the code but with no success. I added an instruction 
"alert(res.transport.responseText);" in showDocs function and the content is 
only set to the xml header. The readyStatus is set to 4 and the status is set 
to 200 so everything seems to be ok.
If i call the page in another windows with right parameters 
(action=getdocs&spacename=Blog&xpage=rdf), IE 6.0 displays a nice XML file with 
all pages in the space in a "value" tag
I can't find out why the XML flow is empty (and so makes the export page not 
working)

Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 1.8-rc2 from the pack Jetty/HSQL




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

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

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


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

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

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


Re: [xwiki-users] Error creating wiki using template

2009-06-18 Thread Thomas Mortagne
Hi,

This looks like a specific Oracle issue. Could you create a bug ticket
on http://jira.xwiki.org ?

On Mon, Jun 15, 2009 at 14:38, Henk Schouten wrote:
> Hello,
>
> I have recently started using the XWiki Manager to manage 2 separate
> xwiki instances. While playing around and creating a new wiki I noticed
> that I cannot create a new wiki using a template wiki. If I create a new
> wiki using exactly the same settings but without a template it works
> just fine. I have tried this with XEM  1.6.4 and XEM 1.7. Both have the
> same problem. I am using tomcat 5.5.27 and an Oracle 10G database. The
> problem apparently has to do with a sequence in the database.
>
> Anyone got an idea what may be causing this?
>
> Thanks,
> Henk
>
> Error number 4001 in 4: Error while parsing velocity page
> WikiManager.CreateNewWiki Wrapped Exception: Failed to evaluate content
> with id
> Create
> New Wiki 
>
> Error number 4001 in 4: Error while parsing velocity page 
> WikiManager.CreateNewWiki
> Wrapped Exception: Failed to evaluate content with id Create New Wiki 
> 
> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing 
> velocity page WikiManager.CreateNewWiki
> Wrapped Exception: Failed to evaluate content with id Create New Wiki 
> 
>        at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:114)
>        at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:85)
>        at 
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:272)
>        at 
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:202)
>        at 
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:170)
>        at 
> com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderDocument(DefaultXWikiRenderingEngine.java:159)
>        at 
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:533)
>        at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:450)
>        at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>        at 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>        at 
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>        at 
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>        at 
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
>        at 
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
>        at 
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:178)
>        at 
> org.xwiki.velocity.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:143)
>        at 
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
>        at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1611)
>        at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:655)
>        at sun.reflect.GeneratedMethodAccessor184.invoke(Unknown Source)
>        at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:597)
>        at 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
>        at 
> org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
>        at 
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
>        at 
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
>        at 
> org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332)
>        at 
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
>