Hi all,
I’ve installed a XWiki farm (milestone 2) in a Trifalk environment.
Running the pages created by the template works fine.
Opening an imported page (task manager application) leads to a popup / download within Firefox to open / save a page called xwiki com.xpn.xwiki.gwt.api.Api.nocache.
The content is nearly empty: “This script is part of module com.xpn.xwiki.gwt.api.Api “
IE shows:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Wed, 9 Sep 2009 10:13:22 UTC
Message: Object doesn't support this property or method
Line: 834
Char: 77
Code: 0
URI: http://.....
Thanks for your help in advance.
mb
Hi I'm wondering if there are any other Danish users out there.
I have been considering translating XWiki to Danish, but a joint effort
always yield a better result.
If you are interested you can contact me at rune(a)dpu.dk
-Rune
I would like to grep some data from a file upload, but can't find a way
to do it.
Here are a simple example
{{velocity}}
#foreach($prop in $request.getParameterNames())
request.$prop
#end
{{html}}
<form action="" enctype="multipart/form-data" method="post">
<div>
<fieldset>
<legend>Attach files to this document</legend>
<div>
<input name="a" value="" size="40" type="text">
<input name="b" value="" size="40" type="file">
<input name="c" value="" size="40" type="text">
</div>
<div>
<input value="Attach" class="button" type="submit">
<input value="Cancel" class="button" type="reset">
</div>
</fieldset>
</div>
</form>
{{/html}}
{{/velocity}}
It returns
request.a
request.c
What happened to 'b', is et a bug or a feature? Are there any way to
access the value of 'b'?
I've been looking at the java code but haven't found anything claiming
it should be gone.
-Rune
Hi!
We are thinking about a possible use-case-scenario using xWiki to access
Oracle-Tables:
Read data from a oracle-table and render it as a xWiki-document
(xWiki-table), change the content of a column and save the changes into
the oracle table
Oracle-Table: ---> xWiki-Document (Table) ---> change column
'Comment' --->write changed info back in Oracle-Table
ID
Name
Comment
Is such a scenario possible to implement ?
In what way could something like that be realised ?
Thanks in advance
Matthias
Hello everybody.
Because of a java memory problem when exporting my wiki, I want to do selective space exports. The problem is that there is no easy snippet to do it. I found some code to export one space, and would be great to hace something with chekboxes or similiar to quickly select wich space to export. I am not good at the scripting language yet, so some help would be great.
I attach the code for one space exporting
#if(!$request.space)
#set($space = "All")
#else
#set($space = $request.space)
#end
#set($spacesText = {})
#set($spaces = $xwiki.spaces)
#set($ok = $spacesText.put("All","All"))
#foreach($space in $spaces)
#set($ok = $spacesText.put($space,$space))
#end
#macro(spaceoption $space $selectspace $spacesText)
<option value="$spacesText.get($space)" #if($selectspace == $spacesText.get($space))selected="selected"#end>$space</option>
#end
#macro(spaceselect $selectspace $spaces $spacesText)
<select name="space">
#spaceoption("All" $selectspace $spacesText)
#foreach($space in $spaces)
#spaceoption($space $selectspace $spacesText)
#end
</select>
#end
<form action="">
{pre}
<div class="centered">
Space #spaceselect($space $spaces $spacesText) <input type="submit" value="Ver"/>
</div>
{/pre}
</form>
#if ($request.space)
1.1 List of docs that will be Exported
#set($parametros = "?format=xar&history=false&name="+$space)
#foreach ($item in $xwiki.getSpaceDocsName($request.space))
* $item
#set( $parametros = $parametros + "&pages=" + $space + "." + $item )
#end
#set( $parametros=$doc.getURL("export")+$parametros )
#set( $parametros=$parametro.toString.replace("/view/","/export/"))
<a href="$parametros">Exportar</a>
#end
--
Francisco Hernández CuchÃ
Jefe de Servicios Sistemas de Información
OFICINA ESPAÑOLA DE PATENTES Y MARCAS
**********************************************************************************************
IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente
para el destinatario/s.
Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el
emisor immediatamente y no difunda su contenido a nadie ni haga copias.
*** Este correo ha sido escaneado de virus y contenido malicioso ***
**********************************************************************************************
Hi all,
I am looking for a way to display in the current document the browsable list
of others documents linking to it.
Example :
- Doc A has a link to doc C
- Doc B has a link to doc C
In doc C, I want to have two generated links "Doc A" and "Doc B" that a user
can click.
Is the solution a velocity or groovy script ?
Many thanks,
Olivier
I have changed a bit the displayDocumentList macro in
xwiki/templates/macros.vm and now it work for me:
#foreach($docName in $docNames)
#set($document = $xwiki.getDocument($docName).getTranslatedDocument())
#if($xwiki.hasAccessLevel("view", $context.user, $document.fullName))
#if(!$blacklistedSpaces.contains($document.getSpace()))
#set($discard = $documentList.add($document))
#end
#end
#end
Try it and tell me if it works for you
thank you very much for the new wiki
i will put it to good use :)
On 6-Sep-09, at 3:00 AM, users-request(a)xwiki.org wrote:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Re: [psiu] new wiki request (Vincent Massol)
> 2. Re: iclei-eval new wiki request (Vincent Massol)
> 3. Re: iclei-eval new wiki request (Nick Fahey)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 5 Sep 2009 13:17:57 +0200
> From: Vincent Massol <vincent(a)massol.net>
> Subject: Re: [xwiki-users] [psiu] new wiki request
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <C1D14604-A9CB-4A8C-869C-DA2224ED58AE(a)massol.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Hi Jason,
>
> On Sep 3, 2009, at 12:38 PM, Jason Binstock wrote:
>
>> I'd like to start a new wiki for my fraternity to keep us better
>> organized and so I can learn more about the administration of XWiki
>>
>> ideally the server name would be: psiu.myxwiki.org
>>
>> my username for myxwiki.org is jason53
>
> Your wiki has been created:
> http://psiu.myxwiki.org/xwiki/bin/view/Main/
>
> Enjoy it
>
> Thanks
> -Vincent
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 5 Sep 2009 13:33:50 +0200
> From: Vincent Massol <vincent(a)massol.net>
> Subject: Re: [xwiki-users] iclei-eval new wiki request
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4DBC926A-4904-4BB7-9D17-F247C71BB93B(a)massol.net>
> Content-Type: text/plain; charset=US-ASCII; format=flowed
>
> Hi Nick,
>
> On Sep 5, 2009, at 11:05 AM, Nick Fahey wrote:
>
>> Hi,
>>
>> I'm itching to get an evaluation xwiki instance in place for our
>> not-for-profit organisation. I'm reasonably certain that xwiki will
>> become our intranet platform and I'd like to dress up a dummy site to
>> demonstrate to others in my organisation.
>>
>> For an outline of who ICLEI is and what we do, please see:
>> http://www.iclei.org/index.php?id=global-about-iclei
>>
>> In short, we are a global not-for-profit membership organisation of
>> local governments working on environmental sustainability. We have
>> 250
>> staff across 13 offices, worldwide.
>>
>> My MyXWiki.org username is: NickFahey
>
> Created
> http://iclei.myxwiki.org/xwiki/bin/view/Main/
>
> Enjoy!
> -Vincent
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 06 Sep 2009 08:58:40 +1000
> From: Nick Fahey <nick.fahey(a)iclei.org>
> Subject: Re: [xwiki-users] iclei-eval new wiki request
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4AA2ED20.4040504(a)iclei.org>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Dear Vincent,
>
> Thanks very much. I'm looking forward to exploring.
>
> Regards,
> Nick
>
> Vincent Massol wrote:
>> Hi Nick,
>>
>> On Sep 5, 2009, at 11:05 AM, Nick Fahey wrote:
>>
>>
>>> Hi,
>>>
>>> I'm itching to get an evaluation xwiki instance in place for our
>>> not-for-profit organisation. I'm reasonably certain that xwiki will
>>> become our intranet platform and I'd like to dress up a dummy site
>>> to
>>> demonstrate to others in my organisation.
>>>
>>> For an outline of who ICLEI is and what we do, please see:
>>> http://www.iclei.org/index.php?id=global-about-iclei
>>>
>>> In short, we are a global not-for-profit membership organisation of
>>> local governments working on environmental sustainability. We have
>>> 250
>>> staff across 13 offices, worldwide.
>>>
>>> My MyXWiki.org username is: NickFahey
>>>
>>
>> Created
>> http://iclei.myxwiki.org/xwiki/bin/view/Main/
>>
>> Enjoy!
>> -Vincent
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 26, Issue 12
> *************************************
Hello,
I've got some problems with setting securities on my farm (1.7.2). The
idea is, that I want to grant access to a certain group to only a
certain space in a xwiki on the farm, but not the main one. Let's name
the space ProjectA, and the group ClientA. I want members of group
ClientA to read (View), write (Edit) and Comment all of the ProjectA's
pages, but the home page, witch I want they only read.
What I do is:
in a global rights panel bloc all Unregistered User rights
create local group ClientA,
create user Jim Foobarsky,
add Jim to ClientA group
remove Jim from XAllWikiGroup, because he's assigned there by default,
in a global rights panel disable all ClientA rights
in a space ProjectA rights panel explicitly grant view, comment and edit
rights to group ClientA,
in a ProjectA.WebHome rights panel disable ClientA group edit and
comment rights,
Everything seems to be all right, but Jim Foobarsky cannot access
comment and attachment panels on ProjectA space pages. Those panes are
not disabled, as it should be if comment right is revoked. They are not
displayed at all, probably because of lack of responsible javascript
code, which is not loaded.
Does anyone have some suggestions how to set up proper rights to achieve
mentioned goal.
Robert
----------------------------------------------------
Wygraj bilety do kina na PRZEDPREMIEROWY pokaz filmu
"Bękarty Wojny" Quentina Tarantino!
http://klik.wp.pl/?adr=www.bekartywojny.bloog.pl&sid=848