Hi all,
is it possible to fill an array in groovy, return it to velocity and
manipulate the array in velocity ?
e.g.:
filling a groovy_array with results from sql.eachRow
Now, when I'm trying to access it with velocity, the whole array is just
one string and I can't loop through it using #foreach.
Do you have any ideas what I can do ?
thanks in advance
Matthias
Hi,
if I'm logged in at dev.xwiki.org and call
http://playground.xwiki.org/xwiki/bin/view/Main/WebHome
the following error occurs:
"You are not allowed to view this document or perform this
action."
If I log out, the error doesn't occur and I can see the Playground Main
page.
If I I create (register) an extra user for playground.xwiki.org (with
the same user id), it woks well.
It's a little bit confusing...
Regards,
Roman
Hello,
I have added two drafts for User and Administrator Cookbooks:
- http://dev.xwiki.org/xwiki/bin/view/Drafts/XEDocUserCookbook
- http://dev.xwiki.org/xwiki/bin/view/Drafts/XEDocAdminCookbook
both are linked from the Documentation Main Page draft:
http://dev.xwiki.org/xwiki/bin/view/Drafts/XEDocMain
I have seen some interesting recipes at the user mailing list. If you
like this approach, please add your recipes in the cookbooks :)
As soon as the draft for the Documentation Main Page is ready, the
cookbook drafts could be "activated" as well.
Any help/feedback would be apreciated.
P.S. as I have edited this pages from Ubuntu and Windows, some things
are broken, such as info boxes, line breaks...
Thanks,
Roman
Hi,
we got links to the Filesystem like
[file://server/sharepoint_layouts$>file://///server/sharepoint_layouts$]
they are converted correctly to syntax 2.0 and are working there too
[[file://svivm01/sharepoint_layouts$>>file://///svivm01/sharepoint_layouts$]]
But when we edit those pages in the new WYSIWYG the Links just
disappear!!!???
Why?
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/xwiki-2-0-GWT-WYSIWYG-file-links-tp3793057p3793057.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
currently the xwiki documentation runs on several wiki instances and
spaces. Unfortunately it's not structured well too, so it's really very
hard to find required information. It's my experience.
I think something like a Table of Content could help indeed. Probably it
would be fix & dirty solution, but nevertheless a solution.
Please look at the current draft for that page:
http://dev.xwiki.org/xwiki/bin/view/Drafts/XEDocMain
Any feedback/help would be appreciated.
Regards,
Roman
Hello,
we've started using XWiki in our company. For evaluation we've used XWiki on Tomcat with a MYSQL DB and everything worked fine. But after we've set up our future environment also on Tomcat but using MS SQL Server as DB we've getting the following error messages in the blog space:
Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
Wrapped Exception: Failed to evaluate content with id Web Home<http://adewki00.de.festo.net/xwiki/bin/view/Blog/>
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Blog.WebHome
...
Doing further examinations we've found that the embedded SQL is causing the exception. In the conditional part there test to inequality (<>) is replaced by entities (<>). The exception is thrown in Xwiki 1.9.3 as also in Xwiki 2.0 and can't be reproduced on local installation so that our assumption is that the issue has something to do with the usage of MS SQL Server.
For this case our questions are:
1.) Is there anybody using also MS SQL Server with Xwiki? If yes are there the same exceptions thrown?
2.) Is there a possibility to fix the error by ourselves in modifying the respective template? Where or how do we find the template?
Thanks in advance and best regards
Lars
Festo AG & Co. KG
Lars Hermes
Abteilung IS-PB
Manager BSP Development + User Services
Plieninger Straße 50
73760 Ostfildern-Scharnhausen
Deutschland
Telefon ++49 (0) 711-347-4510
Telefax ++49 (0) 711-34754-4510
http://www.festo.com
Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das Material von Ihrem Computer zu loeschen.
This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this e-mail, please delete it and immediately notify the sender.
Rechtsform: Kommanditgesellschaft
Sitz: Esslingen a.N., Registergericht Stuttgart HRA 211583, Umsatzsteuerident-Nummer: DE 145339206
Persoenlich haftende Gesellschafterin: Festo Management Aktiengesellschaft
Sitz: Wien/Oesterreich, Firmenbuchgericht: Handelsgericht Wien, Firmenbuch Nr. FN 303027 d
Vorstand:
Dr. Ekkehard Gericke
Dipl.-Kfm. Alfred Goll
Dr. Ansgar Kriwet
Dr. Thomas Rubbe
Dr. Eberhard Veit (Vorsitzender)
Dr. Ulrich Walker
Aufsichtsratsvorsitzender:
Dr. Wilfried Stoll
Hi XWikiers,
XWiki has been selected among a set of other candidates to create a video
describing what the product does. Winners get a chance to present on stage
at the Enterprise 2.0 Conference in San Francisco next November. Please vote
for the video at:
*http://launchpad.e2conf.com/vote-now/* (XWiki is the last video, at the
bottom of the list)
and help give XWiki a chance to present on stage at the Enterprise 2.0
Conference !
RT appreciated ;-)
Many thanks in advance,
Guillaume
--
Guillaume Lerouge
Product Manager - XWiki SAS
Skype: wikibc
Twitter: glerouge
http://guillaumelerouge.com/
Dear all (Bonjour à tous),
We would like to migrate our JSPWiki installation to Xwiki 2.0. The deployment of the war file, the configuration with our Oracle database and the uploading of the content XAR file went smoothly.
For this migration to succeed, we need to migrate our JSPwiki content to xwiki. The best information I found on that was that page:
http://code.xwiki.org/xwiki/bin/view/Extensions/JSPWikiToXWikiExtension
Unfortunately after following all the instructions, this piece of code failed in the following sections:
1) Invoking the 2 argument constructor below was throwing an exception
this.xwiki = new com.xpn.xwiki.XWiki(config, this.context);
2) After changing this to invoke the default constructor, the code threw an exception when setting up WikiEngine.
Is this still the way to migrate JSWiki content to Xwiki? If yes could someone help us to investigate the errors?
Best regards, Adelino
Information and Communications Technology
Office: G098
Tel: 0207 523 7187
________________________________________________________________________
This e-mail has been scanned for all known viruses by EMEA.
________________________________________________________________________
Dear list,
I have seen on the site that it'd be possible to get a free hosting or
xwiki.
I am doing an e-learning program in a French University and having a wiki
for project sharing within the school groups i'll be working with would be
perfect.
I unfortunately don't know of any specific hosting for xwiki other than this
one (or any wiki for that matter, and I have to say, I have been seduced by
the richness of xwiki). Moreover, I don't think I would be able to run a
computer permanently to have the wiki running days & nights - my computer
performance would not allow it.
I have found affordable java hosting, but then I have no clue on how to
install xwiki on an ftp or even if that's possible at all.
Please let me know if my request is realistic enough to be eligible for free
xwiki hosting.
Thanks in advance,
--
Emrys
Hi,
I'd like to use this macro. I imported the xar but couldn't find any other
instructions for installation or use.
Is this macro ready for use in 2.0?
Thanks
hel.
-----
semantic-web.hel.at
hel(a)hel.at
--
View this message in context: http://n2.nabble.com/Doc-Viewer-Macro-tp3753919p3753919.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi all,
Local wikis doesn't allow macros; therefore they have to be placed in the main wiki. However how do I call such macros?
I am still trying to get the xwiki task manager application up and running. It might be necessary to move the query below to the main wiki, isn't it?
Thanks
mb
#set($sql = "select max(prop.value)+1 from BaseObject as obj, IntegerProperty as prop where obj.className='ITSClasses.IssueClass' and obj.id=prop.id.id and prop.id.name='id'")
$xwiki.search($sql)
see the discussion on
[xwiki-users] FW: xwiki 2.0, task manager application, Error number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
I am out of the office until 10/13/2009.
I will not have access to email. For wiki assistance, please contact Kim
Dillon.
Note: This is an automated response to your message "users Digest, Vol 27,
Issue 25" sent on 10/10/09 6:00:07.
This is the only notification you will receive while this person is away.
Hello list,
I'm using a XWiki 2.0 instance where users are authenticated against an Active
Directory through LDAP.
But I want to use AD only for authentication and want to administer my group
memberships within XWiki.
The problem is, that I only have XWikiAdminGroup and XWikiAllGroup. I want to
have a third group EditGroup where I put users who are allowed to edit pages. On
the XWikiPreferences page I try to add a group and a modal dialog pops up. But
after giving the group name and pushing the Create-button, nothing happens. The
dialog does not close and it seems that actually no HTTP Request is sent to the
server. Pushing the cancel button closes the dialog but - of course - no group
is created.
Hope somebody can give me any hints.
Thanks in advance
Jan
Hi anyone!
Here is my transcript of trying to find out something about XWikis quaility.
1. I started at the home page.
Hey looks quite good. Not too much info, main "Products" presented well,
good navigation.
Looks promising.
2. So take a look at the Products presented so prominent.
Well done. Good overview about the products.
3. So what problems do people have with XWiki, lets take a look at the FAQ.
What the ****?
We want to use Wiki for structuring Information and XWiki itself does
not get a simple FAQ right?
(Compare thet to http://ant.apache.org/faq.html)
Hmm... maybe they got overwhelmed lately?
No, latest changes date back to March of 2009.
1. The "F" in FAQ stands for "frequently", so a split betwenn FAQ and
QA may be useful.
2. 204 Questions without any structuring? (compare to e.g. the ant
link above)
3. 73 unanwered FAQs?
OK, so the XWiki don't care much for questions and usability?
Hmmm can't believe that, lets try more.
3. So what does it feel to use xwiki? Any sandbox or demo available?
Hey great, main navigation contains a "Playground", lets give it a try.
Reading ... "second generation" (sounds promising) and "how to start"
(they guide me, good!).
So lets start.
"Configuring your wiki by clicking on the 'Administration' link at the
top right."
Hmm, no "Administration link", only "Log-In" and "Register".
Any info on the Log-In-Page? No.
Does "demo"/"demo" work? No.
Any info on the Playground-Startpage? No.
Hey there is a "sandbox"-Space, lets dig. Hmm, no way to edit, just
Menus "Show" and "Print".
Maybe problems due to a brand new update? Hmm.
Need to register? Lets try.
"This will allow you to edit pages, once the admin gives you appropriate
rights." OK, lets try nevertheless.
4. While waiting for the mail, lets explore the playground via "Quick
Links".
Index - Hmmm, velocity errors and endless "Loading" ...
What's New - RSS Included and my Registration is in, too. Looks good.
Hmm Adminstrator changed XWikiPreferences, maybe the cause of my problems?
Taking a look at the page.
"To edit preferences, please use the Administration page. " - If I only
could ...
Blog - Lets add an Article - OK, needs Log-in. No Registration-EMail yet :-/
Calendar - just some velocity code on the page, no calendar. :-(
Photo-Album - Yeah someone managed to upload a photo.
Tags - "To tag a document, edit it and enter the tags". OK, later. (No
Registration-EMail yet)
2 of 6 give errors right awy, hmmm gets disappointing.
5. While waiting for the mail, lets explore the playground via "What's New".
Mail - Error number 4001 in 4: Error while parsing velocity page
XWiki.Mail Wrapped Exception: Failed to evaluate content with id Mail
JavaScriptExtension - Hmmm looks pretty empty the page, can't figure out
what it is good for.
StyleSheetExtension - Same here. Maybe thats part of the extensability,
but where would I find Information about the Extension and how to use it?
(The Information-Tab on he page does not help me.)
AllDocs - Hmms same as "Index", yeah it's the same page, so does not work.
TreeView - even more empty than the Extension-Pages
TableView - some endless loading, got bored after 2 minutes waiting for
"loading" to complete.
Hmmm, not much Information for a "wiki".
My question to the xwiki users mailing list and the xwiki team.
Does that represent typical xwiki experience?
Does that represent the quality of care of the xwiki developers?
Is it worth downloading xwiki and spending more time digging into it?
Somewhat disappointed but not totally scared (yet :-),
Carsten Heyl
Hello,
my name ist Lutz Griesbach and i'd like to participate in the myxwiki
Farm project.
I'm an IT-consultant implementing several wiki installations at
customers (confluence, mediawiki, dokuwiki and even Tiddly...) and
would like to evaluate xwiki, and see, if it can extend my portfolio.
At first sight, it looks promising, but i'd like to get in touch
without having to initially install it myself.
The admin user should named 'elgonzo' as well as the the URL prefix,
if that is possible.
Thank you very much!
Lutz Griesbach
Hi,
i maked a copy of an html page into an xwiki page but i have this problem
with tables that appears with blue border around the text but the <table
border = 0> and no way to make this border invisible
what should i do
thanks for helping me on this one :)
--
View this message in context: http://n2.nabble.com/table-border-in-xwiki-tp3789220p3789220.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
Two issues with PDF export. Might be similar to already reported issue
(http://n2.nabble.com/Page-convert-PDF-error-occurs-tc3261515.html#a3261
515)
But there is no advice on this issue.
1.
I've tried to export all documents from my space (Scenarios) to PDF
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/export/Scenarios/Web
Home?format=pdf&includechilds=1&pagebreak=1
This didn't work as expected. Crated PDF did not contain any document
content, just class property names.
When exporting individually each document things seam OK, but I would
like all documents from Scenario space in one PDF.
2.
In a different space called Patterns even export of individual documents
fails
http://patternlanguagenetwork.myxwiki.org/xwiki/bin/export/Patterns/Pape
r20?format=pdf
"Notice
Wrong password"
Error
Error number 11015 in 11: Exception while exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting
PDF
Wrapped Exception: java.lang.IllegalArgumentException
com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while
exporting
Wrapped Exception: Error number 12002 in 12: Exception while exporting
PDF
Wrapped Exception: java.lang.IllegalArgumentException
at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:214)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
ocessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
......
Any way of exporting a space content to PDF??
Do I need to create a PDF template?
Ajdin
--------------------------------------------------------
NOTICE
This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly prohibited. If you are not the addressee, you should not read, copy, disclose or otherwise use this message, except for the purpose of delivery to the addressee.
Any views or opinions expressed within this e-mail are those of the author and do not necessarily represent those of Coventry University.
Hi xwiki-users,
Just wondering - does the "jars" parameter work for the groovy macro?
Tried executing something simple with no luck:
{{groovy jars="attach:Main.WebHome@blah.jar"}}
import blahblah...
println(Blah.class.getName())
{{/groovy}}
Always throws a ClassNotFoundException (even tho the class exists in
the JAR file) :-( Any idea what I could be doing wrong? Thanks in
advance!
-- Lewis
Hi again,
Is there a way to programmatically get a list of all arguments in an HTTP request?
I know you can access each argument if you know its name (e.g., request.confirm), but
is there a way to get a container of all provided arguments?
Thanks,
-Joshua-
Hi,
I am interested in having a wiki hosted at myxwiki.org for personal purpose,
like daily blogging regarding my discoveries using XWiki, velocity etc.,
some testing using the XWiki platform.
The username for administration should be FlaviusOlaru.
The domain should be flavius. (flavius.myxwiki.org).
PS: I am currently employed at XWiki Offices in Iasi.
--
Regards,
Flavius Olaru
Hi Jean-Vincent and Roman,
First of all, thanks for your fast replies!! Sandbox works great but I would
need admin rights and I installed the windows installer but here I don't
have a servlet container :( .
I will explain my case. I have to develop or integrate a wiki in a whole
university but I have too many technical restrictions. I have seen many
wikis and I think xWiki fits us perfectly but I need to know if it lets me:
- Store pages in File System.
We have a large amount of data in database, and we need to save pages in
filesystem. I have read about JcrStore, is that up to me?
- Integrate Authentification with CAS Server (SSO)
I have read about possible ways to do this, but I would like to know if
someone has done it, because we have to take a decision soon.
Maybe this mail fits better in the developers mailing list, sorry!!
Thanks
2009/10/6 <users-request(a)xwiki.org>
> 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: [myxwiki] new wiki request (Jean-Vincent Drean)
> 2. Re: [myxwiki] new wiki request (roman.friesen(a)ropardo.de)
> 3. Re: how to mask those elements (Bodin Gr?gory)
> 4. Migrate SysWiki To xwiki (Maria Carolina Ramirez)
> 5. Re: how to mask those elements (Caleb James DeLisle)
> 6. Re: FW: xwiki 2.0, task manager application, Error number
> 4001 in 4: Error while parsing velocity page TasksCode.NewTask
> (Michael Beetz)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 5 Oct 2009 12:02:57 +0200
> From: Jean-Vincent Drean <jean-vincent(a)drean.org>
> Subject: Re: [xwiki-users] [myxwiki] new wiki request
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <c58832290910050302k57da85bidd88dd412c8160e(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Luis,
>
> What about using the existing sandbox wiki to try it stuff out instead ?
> http://playground.xwiki.org/
>
> PS: We don't create wikis on myxwiki.org just to try stuff out.
>
> Thanks,
> JV.
>
> On Mon, Oct 5, 2009 at 10:34 AM, Luis Ruiz <roco65(a)gmail.com> wrote:
> > Hi,
> >
> > I'm working on a non-profit organization and I want to install xwiki, but
> > first I need to test all features in order to see if it fits to us.
> >
> > Admin username: LuisLuis
> > Domain name prefix: prueba
> >
> >
> > Thanks!!!
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 5 Oct 2009 12:28:53 +0200
> From: <roman.friesen(a)ropardo.de>
> Subject: Re: [xwiki-users] [myxwiki] new wiki request
> To: "XWiki Users" <users(a)xwiki.org>
> Message-ID:
> <C5CC98F5CB127D40A4E61E666602629402807D7A(a)rpseads01.ropardo.local>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi Luis,
>
> for extensive testing, including administration etc. you could use a
> standalone installer:
> - Windows: xwiki-enterprise-installer-windows-2.0.exe
> - other platforms: xwiki-enterprise-installer-generic-2.0-standard.jar
> http://www.xwiki.org/xwiki/bin/view/Main/Download
>
> XWiki is runnable directly after installation. User: Admin/admin
>
> Instructions:
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallin…
>
> Regards,
> Roman
>
> -----Urspr?ngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] Im Auftrag
> von Jean-Vincent Drean
> Gesendet: Montag, 5. Oktober 2009 12:03
> An: XWiki Users
> Betreff: Re: [xwiki-users] [myxwiki] new wiki request
>
> Hi Luis,
>
> What about using the existing sandbox wiki to try it stuff out instead ?
> http://playground.xwiki.org/
>
> PS: We don't create wikis on myxwiki.org just to try stuff out.
>
> Thanks,
> JV.
>
> On Mon, Oct 5, 2009 at 10:34 AM, Luis Ruiz <roco65(a)gmail.com> wrote:
> > Hi,
> >
> > I'm working on a non-profit organization and I want to install xwiki, but
> > first I need to test all features in order to see if it fits to us.
> >
> > Admin username: LuisLuis
> > Domain name prefix: prueba
> >
> >
> > Thanks!!!
> > _______________________________________________
> > 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
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 5 Oct 2009 21:28:03 +0200
> From: Bodin Gr?gory <hendack(a)hotmail.com>
> Subject: Re: [xwiki-users] how to mask those elements
> To: <users(a)xwiki.org>
> Message-ID: <SNT110-W18B61D214F734A2847D0ECA1CF0(a)phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
>
>
>
> Re- hello !
>
> > > I want to hide some elements of wiki users (but accessible for
> > > administrator) :
> > >
> > > -> The history tab, information and attachments to pages. Only tab
> > > comment must be accessible.
> >
> > See http://bit.ly/3c8O3f
>
> i manage to do it hidden for all groups except for administrators with this
> :
>
> #if ($xwiki.hasAdminRights())#set ($showcomments = "yes")
> #set ($showattachments = "yes")
> #set ($showhistory = "yes")
> #set ($showinformation = "yes")#else#set ($showcomments = "no")
> #set ($showattachments = "no")
> #set ($showhistory = "no")
> #set ($showinformation = "no")#endNow i want this to be automatic on every
> pages of the wiki, or every page i will create.How could i do ? Is there a
> way to choose for every page, without having to manually enter the code ?
> Thanks !
> _________________________________________________________________
> Un avatar ? votre image ? Cr?ez votre mini-moi !
> http://www.ilovemessenger.fr/minimize-me/
>
> ------------------------------
>
> Message: 4
> Date: Mon, 5 Oct 2009 13:40:34 -0700
> From: "Maria Carolina Ramirez" <Maria.CarolinaRamirez(a)emida.net>
> Subject: [xwiki-users] Migrate SysWiki To xwiki
> To: <users(a)xwiki.org>
> Message-ID:
> <08C7B5E0D6C7C446BE93595598516FD60227E7BB(a)EMIDASUNSET.emida.net>
> Content-Type: text/plain; charset="US-ASCII"
>
> Hi All ,
>
>
>
> Could someone explain me if exists any possibility to migrate a mysql
> database in syswiki to a mysql database in xwiki?
>
>
>
> Thanks in advance,
>
>
>
> Carolina Ramirez
>
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 05 Oct 2009 18:12:50 -0400
> From: Caleb James DeLisle <calebdelisle(a)lavabit.com>
> Subject: Re: [xwiki-users] how to mask those elements
> To: XWiki Users <users(a)xwiki.org>
> Message-ID: <4ACA6F62.30207(a)lavabit.com>
> Content-Type: text/plain; charset=UTF-8
>
> You could add that code to the view.vm file.
> If you are running your xwiki instance locally, this is very easy, you
> simply put it in the file
> xwiki/skins/colibri/view.vm
>
> If you are running a virtual wiki on a wiki farm, you will have to define a
> custom skin object and put that
> in the view.vm field in the skin.
> You may find this helpful.
> http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiNewSkin
>
> Caleb James DeLisle
>
> Bodin Gr?gory wrote:
> >
> > Re- hello !
> >
> >>> I want to hide some elements of wiki users (but accessible for
> >>> administrator) :
> >>>
> >>> -> The history tab, information and attachments to pages. Only tab
> >>> comment must be accessible.
> >> See http://bit.ly/3c8O3f
> >
> > i manage to do it hidden for all groups except for administrators with
> this :
> >
> > #if ($xwiki.hasAdminRights())#set ($showcomments = "yes")
> > #set ($showattachments = "yes")
> > #set ($showhistory = "yes")
> > #set ($showinformation = "yes")#else#set ($showcomments = "no")
> > #set ($showattachments = "no")
> > #set ($showhistory = "no")
> > #set ($showinformation = "no")#endNow i want this to be automatic on
> every pages of the wiki, or every page i will create.How could i do ? Is
> there a way to choose for every page, without having to manually enter the
> code ? Thanks !
> > _________________________________________________________________
> > Un avatar ? votre image ? Cr?ez votre mini-moi !
> > http://www.ilovemessenger.fr/minimize-me/
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> ------------------------------
>
> Message: 6
> Date: Tue, 6 Oct 2009 10:46:57 +0200
> From: Michael Beetz <michael.beetz(a)infor.com>
> Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application,
> Error number 4001 in 4: Error while parsing velocity page
> TasksCode.NewTask
> To: XWiki Users <users(a)xwiki.org>
> Message-ID:
> <716E21D45C95194E92FB0CA45B5E538717DABEAFB1(a)DEDAWEXMB2.infor.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all,
>
> I am wondering whether it is an authorisation problem .. Are there any
> other examples using "xwiki.search" instead of "xwiki. searchDocuments"?
>
> Thanks and kind regards
> mb
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Michael Beetz
> Sent: Saturday, October 03, 2009 10:00 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error
> number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
>
> Thanks Ludivic,
>
> I am running it on two systems based on MySQL Server 5.4.1 (my playground)
> and 5.1.39 the production system.
> However the point should be somewhere on the wiki farm: It's running well
> on the single wikis on the same configuration.
>
> Now I've taken the query into a new page - using the group by or not:
>
> #set($sql = "select max(prop.value)+1 from BaseObject as obj,
> IntegerProperty as prop where obj.className='TasksCode.IssueClass' and
> obj.id=prop.id.id and prop.id.name='id' group by obj.className")
> #set($id = $xwiki.search($sql))
> * $id
>
> The result:
> [] (two square brackets)
>
> Running it like
>
> #set($id = $xwiki.search($sql).get(0))
>
> leads to error 4001.
>
> Thanks
> mb
>
> -----Original Message-----
> From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Ludovic Dubost
> Sent: Saturday, October 03, 2009 9:11 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error
> number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
>
>
> However the query is going to get slower and slower.
>
> Wasn't it just because you had no tasks at all that it returns empty ?
> (I suppose you have check that but it's just to be sure)
>
> Could you try the query with a group by..
>
> Now if your DB does not accept this query it's not so good. Which
> database and version are you using ?
>
> Ludovic
>
>
> Michael Beetz wrote:
> > Hi Ludovic,
> >
> > I seems to work using
> >
> > #set($id = 1)
> > #set ($list = $xwiki.searchDocuments(",BaseObject as obj, IntegerProperty
> as prop
> > where
> > doc.fullName=obj.name
> > and obj.className='TasksCode.IssueClass'
> > and obj.id=prop.id.id
> > and prop.id.name='id'
> > and prop.id.value > 0
> > order by prop.id.value desc
> > ", 0, 0))
> > #foreach ($item in $list)
> > #set($id = $id + 1)
> > #end
> >
> > Thanks & Kind regards
> > mb
> >
> > -----Original Message-----
> > From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Michael Beetz
> > Sent: Saturday, October 03, 2009 12:04 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error
> number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
> >
> > Hi Ludovic,
> >
> > It's the query ...
> > #set($sql = "select max(prop.value)+1 from BaseObject as obj,
> > IntegerProperty as prop where obj.className='ITSClasses.IssueClass' and
> > obj.id=prop.id.id and prop.id.name='id'")
> >
> > $xwiki.search($sql)
> >
> > It returns always an empty string. Even there are tasks already defined.
> >
> > I've spend some time using $xwiki.searchDocuments(...) to count the task
> pages ... but I couldn't fix it (It returns either no or all pages)
> >
> > Thanks
> > mb
> >
> > -----Original Message-----
> > From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
> Of Ludovic Dubost
> > Sent: Friday, October 02, 2009 9:44 AM
> > To: XWiki Users
> > Subject: Re: [xwiki-users] FW: xwiki 2.0, task manager application, Error
> number 4001 in 4: Error while parsing velocity page TasksCode.NewTask
> >
> >
> > Hi Michael,
> >
> >
> > I suspect it is the counter that retrieves the lastest task number. It
> > is running a "search" query with a "select max() and we have seen some
> > differences based on the MySQL/hibernate combination on the way this
> > unique result is returned (as a number directly or as a 1 item list). It
> > could be also because in your case it does not return anything (your
> > need a first task)
> >
> > You should look at this call to "search" and check what it returns
> > exactly and how to retrieve this max number
> >
> > This is the code
> > #set($sql = "select max(prop.value)+1 from BaseObject as obj,
> > IntegerProperty as prop where obj.className='ITSClasses.IssueClass' and
> > obj.id=prop.id.id and prop.id.name='id'")
> > #set($id = $xwiki.search($sql).get(0))
> >
> > Maybe in your case
> >
> > #set($id = $xwiki.search($sql))
> >
> > or
> >
> > #set($res = $xwiki.search($sql))
> > #if($res && $res.size()>0)
> > #set($id = $xwiki.search($sql).get(0))
> > #else
> > #set($id = 0)
> > #end
> >
> > will work.
> >
> > Ludovic
> >
> > Michael Beetz wrote:
> >
> >> Hi Community,
> >>
> >> I am sorry bothering you. However I am using the task manager
> application in a production environment, therefore I have to decide about
> staying on several single wikis or consolidating them in a farm.
> >>
> >> Is there anybody available instructing me to find that bug?
> >>
> >> I am quite familiar writing code in general; however I haven't done
> something in Java, eclipse or xwiki yet. Therefore I would appreciate a
> link to some useful code snippet as well.
> >>
> >> Thanks for now and in advance
> >> mb
> >>
> >>
> >>
> >> ________________________________
> >> From: Michael Beetz
> >> Sent: Wednesday, September 30, 2009 10:06 PM
> >> To: 'XWiki Users'
> >> Subject: xwiki 2.0, task manager application,Error number 4001 in 4:
> Error while parsing velocity page TasksCode.NewTask
> >>
> >> Hi all,
> >>
> >> I am running xwiki 2.0 in a farm. The Task Manager Application fails
> creating a new task. Any hints?
> >>
> >> Thanks
> >> mb
> >>
> >> Error number 4001 in 4: Error while parsing velocity page
> TasksCode.NewTask Wrapped Exception: Failed to evaluate content with id New
> Task
> >>
> >> Error number 4001 in 4: Error while parsing velocity page
> TasksCode.NewTask
> >> Wrapped Exception: Failed to evaluate content with id New Task
> >> com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while
> parsing velocity page TasksCode.NewTask
> >> Wrapped Exception: Failed to evaluate content with id New Task
> >> 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:547)
> >> at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:564)
> >> at
> com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> >> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
> Source)
> >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> >> at java.lang.reflect.Method.invoke(Unknown Source)
> >> 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.value(ASTReference.java:493)
> >> at
> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
> >> at
> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
> >> at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> >> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> >> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> >> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> >> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
> >> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
> >> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
> >> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
> >> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
> >> at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
> >> at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown
> Source)
> >> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
> Source)
> >> at java.lang.reflect.Method.invoke(Unknown Source)
> >> 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)
> >> at
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
> >> at
> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
> >> at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
> >> at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> >> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
> >> at
> org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> >> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> >> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> >> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> >> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
> >> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
> >> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
> >> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694)
> >> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615)
> >> at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124)
> >> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224)
> >> at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
> >> 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)
> >> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> >> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
> >> at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> >> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> >> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> >> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> >> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> >> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> >> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> >> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> >> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
> >> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)
> >> at
> org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
> >> at java.lang.Thread.run(Unknown Source)
> >>
> >> Wrapped Exception:
> >>
> >> org.apache.velocity.exception.MethodInvocationException: Invocation of
> method 'get' in class java.util.Collections$EmptyList threw exception
> java.lang.IndexOutOfBoundsException: Index: 0 at TasksCode.NewTaskline 2,
> column 32? at
> org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337)
> at
> org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
> at
> org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
> at
> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
> at
> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
> 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:547)
> at
> com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:564)
> at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
> java.lang.reflect.Method.invoke(Unknown Source) 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.value(ASTReference.java:493)
> at
> org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
> at
> org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694) at
> com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615) at
> com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657) at
> sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
> java.lang.reflect.Method.invoke(Unknown Source) 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)
> at
> org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
> at
> org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
> at
> org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
> at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> at
> org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
> at
> org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
> at
> org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
> at
> com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:108)
> at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1694) at
> com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1615) at
> com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:124) at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224) at
> com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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)
> at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:155)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
> at
> org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859)
> at
> org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574)
> at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1527)
> at java.lang.Thread.run(Unknown Source) Caused by:
> java.lang.IndexOutOfBoundsException: Index: 0 at
> java.util.Collections$EmptyList.get(Unknown Source) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
> sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
> java.lang.reflect.Method.invoke(Unknown Source) 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)
> ... 96 more
> >>
> >>
> >> _______________________________________________
> >> users mailing list
> >> users(a)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(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> > _______________________________________________
> > 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
> >
> >
>
>
> --
> Ludovic Dubost
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>
>
> _______________________________________________
> 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
>
>
> ------------------------------
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> End of users Digest, Vol 27, Issue 15
> *************************************
>
Hi all,
I am running XWiki 2.0 on a path based farm. Using it for a while with a local admin user the pull down menus disappears, i.e. I am able to click the "edit, create ..." menus but there are now pull down menus available.
I am following a strength procedure after that:
- login to the main XEM wiki (user Admin) - the menus are back
- navigate to the farm wiki
- logout and login again using the local admin
Now the menus are available again.
Thanks
mb
Hi xwiki-users,
One small quirck with the 2.0 release - when I try something like this:
{{box title="{{info}}test{{/info}}"}}this is a test{{/box}}
the output becomes a bit screwey... Parts of the {{info}} tag gets added to
the content of the box instead of into the title. It does work when the
{{info}} is escaped properly:
{{box title="~{~{info~}~}test~{~{/info~}~}"}}this is a test{{/box}}
but the WYSIWYG editor doesn't escape these (and it would make things look a
bit nicer if we didn't have to escape on properly-quoted parameters.. with
the obvious exception of a double-quote inside a quoted-parameter :-)).
So... what should the right behavior be?
-- Lewis
The XWiki development team is pleased to announce the release of XWiki
Enterprise 1.9.4 and XWiki Enterprise Manager 1.7.4.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This release is targeted to users who are not yet ready to upgrade to
the more recent 2.0.x releases, but who still need some of the more
important recent fixes and improvements.
Improvements since XWiki Enterprise 1.9.3:
* XWIKI-4139 : New {{formula}} macro for displaying mathematical expressions
Important fixes:
* XWIKI-4309 : Links fail to open in a new window
* XWIKI-4249 : . key acts like the delete key at the end of the list items
* XWIKI-4349 : Livetable "avatar", "photos" and "attachments"
columns do not work
* XWIKI-4385 : NPE in XWikiDocument.CopyDocument() introduced by
the patch of XWIKI-4283
* XWIKI-4314 : Switching the editor tabs without focusing the rich
text area can lead to HTML in the source editor
* XWIKI-4170 : Wrong encoding in ApplicationResources_pt.properties
* XWIKI-4283 : XWikiDocument.copyDocument duplicate the object's uniques ids
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise194
and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM174
Thanks,
JV.
Hello,
I'm building a migration to LDAP page for my company on one XWiki 2.0
RC1 instance.
For this I need to list all users registered in.
I used the following code to list users:
for(u in xwiki.wrapDocs(xwiki.searchDocuments(", BaseObject obj where
obj.name = doc.fullName and obj.className = 'XWiki.XWikiUsers' and
doc.fullName <> 'XWiki.Admin' and doc.fullName <> 'XWiki.TEST' and
doc.fullName <> 'XWiki.dummy'"))) {
...
}
That looks good, most of my users are listed.
But at least one user is missing: one user register as JDOE one time
and one other time as jdoe
So there are two John Doe users: XWiki.jdoe and XWiki.JDOE but my loop
only find JDOE and not jdoe
What it is wrong in my request?
Arnaud.