[xwiki-users] Registration mails sources ?

2007-12-21 Thread Paul Libbrecht
Hello list, I now finally did a very clean installation of Xwiki Entreprise 1.1 latest and still get the scripts for the invitation and validation mails empty... this is annoying since I do not know what should be the velocity variables there for the activation code etc... I

Re: [xwiki-users] [xwiki] Clean URLs - Anyone knows why we have /bin/ in XWiki URLs?

2007-12-21 Thread Paul Libbrecht
Hello List, has there been any progress on that ? I can attest that, at least out of the box, expanding the XWiki webapp into the ROOT directory gives rather disatrous effects (i.e. still loads of paths that are /xwiki/). It would be nice to have a rewrite engine but this has to work

Re: [xwiki-users] [xwiki] Clean URLs - Anyone knows why we have /bin/ in XWiki URLs?

2007-12-21 Thread Paul Libbrecht
A single attempt was pretty catastrophic with me (on 1.1)... was this working for your Karim-Pierre ? Which version ? thanks paul Le 21 déc. 07 à 14:49, Karim-Pierre Maalej a écrit : This is very valuable information, il should be posted on the xwiki.org :-) If you deploy XWiki

Re: [xwiki-users] [xwiki] Clean URLs - Anyone knows why we have /bin/ in XWiki URLs?

2007-12-21 Thread Paul Libbrecht
Le 21 déc. 07 à 15:30, Sergiu Dumitriu a écrit : Paul Libbrecht wrote: A single attempt was pretty catastrophic with me (on 1.1)... was this working for your Karim-Pierre ? Which version ? It should work fine for 1.1, too. What exactly failed? Actually, at the time, superadmin login failed

Re: [xwiki-users] Registration mails sources ?

2007-12-21 Thread Paul Libbrecht
Le 21 déc. 07 à 15:27, Sergiu Dumitriu a écrit : But I need a bunch of variable names... Any good way to hack the current velocity context to list available variables and properties for each ? #foreach($prop in $context.vcontext.getKeys()) $prop #end #foreach($prop in

Re: [xwiki-users] Registration mails sources ?

2007-12-21 Thread Paul Libbrecht
Le 21 déc. 07 à 17:49, Sergiu Dumitriu a écrit : You need to have programming rights to execute this code. So if $context.hasProgrammingRights() returns false, try to do this in a local install with the Admin user. Sure, and programming worked as the toString of context works but the

Re: [xwiki-users] [xwiki] Clean URLs - Anyone knows why we have /bin/ in XWiki URLs?

2007-12-22 Thread Paul Libbrecht
Le 21 déc. 07 à 17:43, Sergiu Dumitriu a écrit : Actually, at the time, superadmin login failed... but after trying again and a browser restart it worked as ROOT context... I'll use that for now. Sorry for the wrong info. That's good news. As can see below, I have now managed to get as

Re: [xwiki-users] [xwiki] Clean URLs - Anyone knows why we have /bin/ in XWiki URLs?

2007-12-22 Thread Paul Libbrecht
Le 22 déc. 07 à 22:51, Paul Armstrong a écrit : The other thing that can be done is to put a reverse proxy in front of xwiki and have it re-write that part of the URL out. The only reverse proxy I know of is Apache mod_proxy, which we are using, and that only rewrites HTTP headers and does

Re: [xwiki-users] [xwiki] Clean URLs - Anyone knows why we have /bin/ in XWiki URLs?

2007-12-23 Thread Paul Libbrecht
Le 23 déc. 07 à 03:49, Paul Armstrong a écrit : The only reverse proxy I know of is Apache mod_proxy, which we are using, and that only rewrites HTTP headers and does not change the content... e.g. relative links cannot be changed, really, you need a tuned URL-factory. ProxyPass and

Re: [xwiki-users] Registration mails sources ?

2007-12-23 Thread Paul Libbrecht
Ping ! I'd be greatly helped if someone could send me example content for the validation, confirmation, and invitation mail velocity scripts. thanks! paul You need to have programming rights to execute this code. So if $context.hasProgrammingRights() returns false, try to do this in a

[xwiki-users] Ways to protect from visual-editing ?

2008-01-01 Thread Paul Libbrecht
Hello List, is there a way to prevent some document (or document-classes or...) from being edited with the visual editor ? Clearly some source-freaks will not like it if others carelessly replace their careful source layout! thanks in advance paul smime.p7s Description: S/MIME

Re: [xwiki-users] wiki to latex

2008-01-04 Thread Paul Libbrecht
Hello, I would be looking forward for advice to plug such a converter (which architecture, which classes etc). I am mostly interested into the second part... math-in-xwiki although wiki-to-latex-and-to-pdf is a nice direction to take in any case. Within intergeo we intend to enrich Curriki

[xwiki-users] property of type document ?

2008-01-11 Thread Paul Libbrecht
Hello XWikiers, while editing my class, I felt at least two places where the database type appeared too convoluted to me (and I needed sample code) and where the only thing I'd need is the reference to a document in some space of the same XWiki. Does this exist ? Should I file a feature

Re: [xwiki-users] (no subject)

2008-01-14 Thread Paul Libbrecht
Le 14 janv. 08 à 14:23, Vincent Massol a écrit : On Jan 14, 2008, at 2:15 PM, Paul Libbrecht wrote: May way there was simply to read the config and see that there's an admin password (for username superadmin) that needs to be set there by removing the comment in front of the config line

Re: [xwiki-users] getting xwiki and bringing it to production state (was: (no subject) )

2008-01-14 Thread Paul Libbrecht
Le 14 janv. 08 à 15:18, Vincent Massol a écrit : But the database gets filled right way, doesn't it ? Ok I wasn't precise enough. Since XWiki doesn't see security classes (like XWiki.XWikiRights) it sets itself into no security mode. it's only when you import those classes that suddenly

Re: [xwiki-users] Database List Class

2008-01-14 Thread Paul Libbrecht
It was Jan Kodera who posted Nov 25, 2007; 06:34pm: Hi All, i want use database list class as property in my class. I tried hibernate query to fill in values of property. After this, the select box was empty. I think there is no problem in query (Select doc from XWikiDocument as doc)

[xwiki-users] Selecting names and titles of documents in a space ?

2008-01-15 Thread Paul Libbrecht
Hello, what could be the hibernate query to list all documents in a given space? thanks in advance paul smime.p7s Description: S/MIME cryptographic signature ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

Re: [xwiki-users] Selecting names and titles of documents in a space ?

2008-01-15 Thread Paul Libbrecht
, 2008, at 4:46 PM, Paul Libbrecht wrote: what could be the hibernate query to list all documents in a given space? What have you tried? Try searching the web with google, searching your local install, etc. You should be able to get the answer. smime.p7s Description: S/MIME cryptographic

Re: [xwiki-users] [ANN] Multiwiki search is now working on www.xwiki.org

2008-01-15 Thread Paul Libbrecht
Allow me to believe that there's still the FAQ content that is missing. Would that be normal because this not in the body of the content but in some fields ? In all cases, searching for title gives a single result whereas there are many in the fAQ Also, it should be ideal that on this

[xwiki-users] how to access the title of a document ?

2008-01-16 Thread Paul Libbrecht
I've been looking for a while but I can't seem to find this. It looks like all documents not only have a name but also a title, which is a more human-readable version (e.g. could contain colons). But how can I access this from velocity ? I will certainly post an FAQ answer as result as

Re: [xwiki-users] how to access the title of a document ?

2008-01-16 Thread Paul Libbrecht
://platform.xwiki.org/xwiki/bin/view/DevGuide/API Hope it helps, -Vincent PS: Of course the javadoc has too little comments so we need to improve this too On Jan 16, 2008, at 9:56 AM, Paul Libbrecht wrote: I've been looking for a while but I can't seem to find this. It looks like all

[xwiki-users] mod_jk config ? mod_proxy ?

2008-01-16 Thread Paul Libbrecht
Hello, searching for mod_jk wasn't very rich on xwiki.org. I am convinced may are using an apache httpd in front of the jetty or tomcat hosting xwiki. Now the question comes as to whether some static paths are or should be configured. Currently we have none, on the back of mod_proxy, and

Re: [xwiki-users] mod_jk config ? mod_proxy ?

2008-01-17 Thread Paul Libbrecht
?). paul Le 16 janv. 08 à 23:05, [EMAIL PROTECTED] a écrit : On Jan 16, 2008 5:00 PM, Paul Libbrecht [EMAIL PROTECTED] wrote: Hello, searching for mod_jk wasn't very rich on xwiki.org. Hi Not that I would have any clue, but: http://en.wikipedia.org/wiki/Mod_jk http://getahead.org/blog/joe/2006/02

Re: [xwiki-users] mod_jk config ? mod_proxy ?

2008-01-17 Thread Paul Libbrecht
Le 18 janv. 08 à 00:27, Sergiu Dumitriu a écrit : Jerome Velociter wrote: AFAIK, xwiki .js files aren't parsed by the velocity renderer. You might find JS mixed with velocity only in templates inside script tags. That's how much I could see with less and grep in albatross and would be

Re: [xwiki-users] document name including /

2008-01-18 Thread Paul Libbrecht
Le 18 janv. 08 à 00:05, Your XEN ICT Team - Ricardo Rodriguez a écrit : 1 - I already have a good load of content, can I switch to UTF-8 without wrecking the wiki ? As far as I understand, all involved actors must run the same encoding. It is just a guess, but if your database and your

Re: [xwiki-users] property of type document ?

2008-01-19 Thread Paul Libbrecht
Le 11 janv. 08 à 23:42, Paul Libbrecht a écrit : while editing my class, I felt at least two places where the database type appeared too convoluted to me (and I needed sample code) and where the only thing I'd need is the reference to a document in some space of the same XWiki. Does

[xwiki-users] List-documents property has duplicates

2008-01-23 Thread Paul Libbrecht
Hello list, when using list-documents as database-list property as described in: http://code.xwiki.org/xwiki/bin/view/Snippets/ListDocumentsSnippet I seem to get duplicates for each language. Then I tried: select doc.name, doc.title from com.xpn.xwiki.doc.XWikiDocument as doc grouped by

[xwiki-users] multilingual included file?

2008-01-25 Thread Paul Libbrecht
Hello, a good practice is to import the markup-intensive pages from shared pages which, typically, make their internationalization, using property-bundles. Now, however, these imported pages should be multilingual. Thus far, they seem not to be so because the usage of

Re: [xwiki-users] multilingual included file?

2008-01-25 Thread Paul Libbrecht
Sorry, I wrongly experimented and, as expected, the language is inherited. Very nice. paul Le 25 janv. 08 à 11:48, Paul Libbrecht a écrit : Hello, a good practice is to import the markup-intensive pages from shared pages which, typically, make their internationalization, using

Re: [xwiki-users] XWiki Vs. MediaWiki

2008-01-26 Thread Paul Libbrecht
Le 26 janv. 08 à 22:30, ossi petz a écrit : also mediawiki is not the ultimate solution. the acl capabilities are rudimentary. its very unstructured. categories dont help. but it is the perfect solution for wikipedia and a lot of other sites. but it is not perfect for manuals for software or

[xwiki-users] addressbar autocompletion and alphabetic order

2008-01-28 Thread Paul Libbrecht
Hello XWikiers, one feature of my beloved OmniWeb browser is that the addressbar autocompletion can be input with several words. So a classical search for me is, e.g., xwiki api or xwiki faq, i2geo tasklist. Unfortunately, the first results in all of these are always in actions

Re: [xwiki-users] New product proposal and request for volunteers

2008-02-11 Thread Paul Libbrecht
Dear Sergiu, Not far from now we'll give a shot at least at using MathTran (http:// www.mathtran.org/) for LaTeX equations integration. Estimate 2-6 months. This uses a real TeX process to actually doing the whole rendering. The nice bit is that this means it's full LaTeX so there's

Re: [xwiki-users] searching/replacing within the xwiki edition window

2008-02-14 Thread Paul Libbrecht
Ricardo, that's browser dependent... Opera gives you this service (at least searching). On Macs OmniWeb gives you it if you open the external text window. For such intensive changes, using XEclipse application (or plugin) really helps. It lacks a goto-line but has a search-and-replace. I

Re: [xwiki-users] searching/replacing within the xwiki edition window

2008-02-15 Thread Paul Libbrecht
But I think it is not an option for most of our users still reluctant to use the XWiki environment. And most of them are Internet Explorer, Firefox and/or Safari users! So Opera or OmniWeb are not an option so far. As long as you rely on the default textarea there's nothing you can do

[xwiki-users] Displaying a panel in inline editing?

2008-02-18 Thread Paul Libbrecht
Hello, I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it. The syntax help panel should be displayed there... and I can only see

Re: [xwiki-users] Displaying a panel in inline editing?

2008-02-18 Thread Paul Libbrecht
Le 18 févr. 08 à 16:42, Sergiu Dumitriu a écrit : I was searching for how to activate the display of a panel when in inline editing (actually when in inline editing of some classes or when the inline edit actually contains a textarea) but I could not find it. The syntax help panel should be

Re: [xwiki-users] Latex html in editor for math formulas?

2008-02-20 Thread Paul Libbrecht
Alan, Ricardo, what's on i2geo.net will be published soon. It's just a macro and a javascript embedding and uses the MathTran server. The syntax? real LaTeX, which is indeed running at mathtran.org. No own macros though. That also means it's full LaTeX contrary to most latex-imitators (but

Re: [xwiki-users] Latex html in editor for math formulas?

2008-02-23 Thread Paul Libbrecht
Le 21 févr. 08 à 05:07, Sergiu Dumitriu a écrit : We're currently using FOP to generate PDFs. FOP cannot use DVIs (at least not currently, with the available external resource plugins). It does support some EPS. Therefore I asked if drawing on some Graphics2D was doable as part of that (I

[xwiki-users] XWiki for OWL editing ?

2008-02-26 Thread Paul Libbrecht
Hello XWikiers, there seems to be a fairly big potential for XWiki to, collaboratively, edit an OWL ontology (or parts of it, e.g. at least individuals). Now... has someone actually done that ? I know Concerto has some binds to semantic-desktop... does it do such? thanks for hints. paul

Re: [xwiki-users] Latex html in editor for math formulas?

2008-02-27 Thread Paul Libbrecht
Le 25 févr. 08 à 11:48, Sergiu Dumitriu a écrit : That is exactly one of the problems with MathTran: It is on a remote host. This means that: - it might not be usable in some strict intranets, where there's no or restricted access to the internet - If the MathTran server is down, then no images

Re: [xwiki-users] Cache optimization

2008-03-05 Thread Paul Libbrecht
Hassan, My quick and best solution was to use the proxy for that. And I know mod_jk can also be used for that. Anything that bears the URL approot/skins can be statically served. I'm still bitten by one image which indeed shows me this behaviour and I find it very irritating. (just do several

[xwiki-users] hibernate query explorer?

2008-03-16 Thread Paul Libbrecht
Hello XWikiers, I'd be in need of a little tool to help me fine-tune HQL queries for our XWiki before I can insert them in pages. Is there already such a tool? It could be as simple as a textarea and a tabular result. paul smime.p7s Description: S/MIME cryptographic signature

[xwiki-users] X11 needed on the server?

2009-03-11 Thread Paul Libbrecht
Hello users, we are fighting with a spurious error occurring in our system: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getWidth' in class com.xpn.xwiki.plugin.image.ImagePluginAPI threw exception java.lang.NoClassDefFoundError: Could not initialize class

Re: [xwiki-users] Tomcat-Xwiki

2009-05-20 Thread Paul Libbrecht
Geritjan, there's another error behind this one. Paul Le 20-mai-09 à 21:05, Gerritjan Koekkoek gerritjankoekk...@gmail.com a écrit : My Configuration MAC OS X 10.5.7 Tomcat 5.5 MySQL XWIKI 1.8.3 I'm trying to import a XAR file of approx 6.2 MB I had a heap-size error, but changed

[xwiki-users] xpage=xml with versions?

2009-08-28 Thread Paul Libbrecht
Hello Wikiers, There is, within XWiki 1.5.4, a possibility to export as XML the content of a page, with attachments and everything: curl -O 'http://user:passw...@draft.i2geo.net/xwiki/bin/view/Main/WebHome?xpage=xml' how can I do the same with all the existing version and authors? Adding

Re: [xwiki-users] [xwiki-devs] Can XWiki benefit from Google AJAX Libraries API ?

2009-12-01 Thread Paul Libbrecht
In i2geo we decided to drop this dependency on google-APIs-server for prototype and friends. We decided this based on my observation that connections are often opened to such servers, even just for checking that it is not modified even though it is in cache. It's an easy adjustment. paul

Re: [xwiki-users] Bad HQL queries

2010-01-17 Thread Paul Libbrecht
Caleb, Very interesting but... The last release is of 2004, are you using this with a contemporary mysql? paul Le 17-janv.-10 à 16:49, Caleb James DeLisle a écrit : I think at the database level you can tell it to cease if there is a query which goes on for more than x milliseconds.

Re: [xwiki-users] Bad HQL queries

2010-01-19 Thread Paul Libbrecht
Shouldn't there be a setting in DBCP configs? paul Le 18-janv.-10 à 13:44, Anca Luca a écrit : Hi Sergiu, On 01/18/2010 02:06 PM, Sergiu Dumitriu wrote: On 01/18/2010 10:15 AM, Anca Luca wrote: Hi Flavius, On 01/17/2010 05:23 PM, Flavius Olaru wrote: Hi, I've done a installation on

[xwiki-users] little issues with 2.2m2

2010-02-05 Thread Paul Libbrecht
Hello list, I thought I'd report the few issues I met with 2.2m2 which seems to be otherwise very nice to run. If you create a new document by triggering edit then try to switch to source... It does nothing and shows the following in the server console: SEVERE: gwtrpc:

Re: [xwiki-users] little issues with 2.2m2

2010-02-07 Thread Paul Libbrecht
On 07-févr.-10, at 08:50, Marius Dumitru Florea wrote: I just did the same, but on Jetty. Additionally I cleared my browser's cache. The source tab works fine. Note that most of the Selenium WYSIWYG editor tests rely on the source tab and they all were passing before the 2.2M2 release,

Re: [xwiki-users] little issues with 2.2m2

2010-02-07 Thread Paul Libbrecht
Gotcha. gwt-servlet-1.5.3 was hanging around in tomcat/lib. Removing it and restarting it solved it. It's not the first time I have such a mismatch, I wonder if it would not be good to write a little sanity test for it and warn the user in case. Also, the fact that my error created a zero

Re: [xwiki-users] XWord Server URL ?

2010-02-14 Thread Paul Libbrecht
Simon, my tomcats always defaulted to 8080 but server.xml and the log-line with HTTP/1.1 Connector should tell you the truth. Can it be, however, that you have nothing in the root webapp? Normal tomcats I've setup don't have anything. To look for |oaded contexts, you should at either

[xwiki-users] Pool-exhausted, what to do?

2010-02-22 Thread Paul Libbrecht
Hello XWikiers, Today I met a short hang of our platform (also noticed by a nagios) which seemed to say in the log: org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool exhausted Is it right to raise the property

[xwiki-users] No FormBeanConfig

2010-03-01 Thread Paul Libbrecht
Hello XWiki experts, what can mean the following error which I now have by tons in my log: 2010-03-01 23:32:19,458 WARN util.RequestUtils - No FormBeanConfig found under 'view' thanks in advance paul ___ users mailing list users@xwiki.org

[xwiki-users] row was deleted by another transaction

2010-03-05 Thread Paul Libbrecht
Hello XWiki experts, with our XWiki 1.5 I encounter the following complaint at trying to save the document of a user, even after a restart of the servlet container: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was

Re: [xwiki-users] row was deleted by another transaction

2010-03-15 Thread Paul Libbrecht
Does it mean that any transaction might actually live in the DB for a long long time, beyond restarts of xwiki or the DB, and that a global rollback? paul Le 06-mars-10 à 00:21, Sergiu Dumitriu a écrit : org.hibernate.StaleObjectStateException: Row was updated or deleted by another

[xwiki-users] table-sum in xwiki 2.2?

2010-03-23 Thread Paul Libbrecht
Hello xwikiers, is there a way in the syntax 2.0 to invoke a table-sum? I found this feature particularly nice in the earlier version. thanks in advance paul ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users

[xwiki-users] migrating from xwiki to xws easy?

2010-03-26 Thread Paul Libbrecht
Hello xwiki experts, I've been enjoy an xwiki 2.2m2 for a while but the collaborative features are some rudimentary and I've been considering xwiki workspaces. Do I have chance to migrate one to the other by simply uploading the xar? The xws pages don't state a compatibility chart and

Re: [xwiki-users] Modifying the e-mail in a user profile.

2010-04-08 Thread Paul Libbrecht
Le 08-avr.-10 à 18:46, Guillaume Lerouge a écrit : I would like to consult and above all to modify the e-mails of some users profiles that I have created a long time ago. I try to change them via the Users menu in XWiki Administration menu, however the e-mail is not available among the

Re: [xwiki-users] Bad HQL queries

2010-07-22 Thread Paul Libbrecht
I'm back with this subject, it's really a haunting subject. When at this stage, I can only wait that a graceful person restarts the MySQL thus killing the bad query. I would wish a DBCP or hibernate configuration for a maximum time (which I'd put around 30 seconds because indeed, overload

[xwiki-users] how to debug ObjectNotFoundException?

2010-08-21 Thread Paul Libbrecht
I recently turned log4j's root category of my xwiki to info and I get floods of the following exceptions: 2010-08-21 22:21:00,381 INFO def.DefaultLoadEventListener - Error performing load command org.hibernate.ObjectNotFoundException: No row with the given identifier exists:

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-16 Thread Paul Libbrecht
Erica, try the following, its' really not too hard: applet code=geogebra.GeoGebraApplet archive=/files/GeoGebra/geogebra.jar width=97% height=90% name=main-player param name=filename value=$url

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-16 Thread Paul Libbrecht
2010/9/16 Paul Libbrecht p...@activemath.org Erica, try the following, its' really not too hard: applet code=geogebra.GeoGebraApplet archive=/files/GeoGebra/geogebra.jar width=97% height=90% name=main-player param

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-17 Thread Paul Libbrecht
That tastes like a traditional applet issue. What does about:plugins say? paul Le 16 sept. 2010 à 23:50, Erica Usui a écrit : it actually works, your code, but it doesn't work on linux. Even on Geo Gebra Website... if i'm on linux environment, it doesn't work.

Re: [xwiki-users] Bad HQL queries

2010-09-18 Thread Paul Libbrecht
to wonder which XWiki code has created it. I wonder if this is not something that XWiki could support as a tool to debug such issues, ideally with location bound to queries. paul Le 23 juil. 2010 à 00:40, Paul Libbrecht a écrit : I'm back with this subject, it's really a haunting subject

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
Le 20 sept. 2010 à 08:44, Raluca Stavro a écrit : If you're looking for the user's common name instead of the user name, you might want to look at $xwiki.getUserName

Re: [xwiki-users] GeoGebra Applet is not working

2010-09-20 Thread Paul Libbrecht
the online geogebra doesn't work: http://www.geogebra.org/webstart/geogebra.html http://www.geogebra.org/webstart/geogebra.htmlSo i guess there isn't much i can do to make it work on xwiki when using linux. =\ 2010/9/17 Paul Libbrecht p...@activemath.org That tastes like a traditional applet

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
I think XEclipse does it pretty well. But what I prefer to use is my favourite IDE IntelliJ IDEA. For this, it depends if velocity or groovy. - if groovy, I use imports and give types to my variables... this way... there's a way to add variables from context but I was never fully satisfied

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
Le 20 sept. 2010 à 20:33, [Ricardo Rodriguez] eBioTIC. a écrit : Of course, this relies on the fact that my IntelliJ has all the necessary dependencies (I import the right pom.xml for this). I believe it should be possible to get this in Eclipse using the velocity mode but a friend of

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-20 Thread Paul Libbrecht
Le 21 sept. 2010 à 00:32, [Ricardo Rodriguez] eBioTIC. a écrit : For velocity support you need the Ultimate edition unfortunately. But the licenses for open-source projects are still being granted. For groovy, the Community edition is enough I believe. I don't see XWiki among the projects

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-21 Thread Paul Libbrecht
, Paul Libbrecht a écrit : Let's go back to the initial question: what I was looking for was how to read all available properties of a given object with a piece of code within a XWiki page. I think I'm not able yet to use the right concepts and the right words when taking about, in general

Re: [xwiki-users] How do I for divide one string I need only the part of the user name (Admin) instead of XWiki.Admin

2010-09-21 Thread Paul Libbrecht
. a écrit : Thanks! Paul Libbrecht wrote: Ricardo, If you agree to work with outdated projects, why not consider the project: http://svn.activemath.org/intergeo/Platform/Vignettes/ It's referencing old xwiki things because that's where curriki holds me but is otherwise giving me

Re: [xwiki-users] [Announcement] XWiki Enterprise 2.5 Milestone 2 Released

2010-10-04 Thread Paul Libbrecht
is there a candidate already installed we can play with? thanks in advance paul Le 4 oct. 2010 à 13:37, Sergiu Dumitriu a écrit : The XWiki development team is pleased to announce the release of XWiki Enterprise 2.5 Milestone 2. Go grab it at

Re: [xwiki-users] [Announcement] XWiki Enterprise 2.5 Milestone 2 Released

2010-10-04 Thread Paul Libbrecht
Le 4 oct. 2010 à 13:55, Sergiu Dumitriu a écrit : On 10/04/2010 01:47 PM, Paul Libbrecht wrote: is there a candidate already installed we can play with? No, but we should upgrade myxwiki.org soon. Cool, works. At least the If-Modified-Since is well present on my profile picture, a dumb

Re: [xwiki-users] Using Scheduler issues (groovy questions)

2010-10-23 Thread Paul Libbrecht
My first hint would be to consider groovy as java. It's not exactly the same but it shares most. The other idea is to simply call the web page from groovy? new java.net.URL(blablalba).getContent() paul On 23 oct. 2010, at 23:26, Eugen Colesnicov wrote: Hi colleagues! I need some help

Re: [xwiki-users] Using Scheduler issues (groovy questions)

2010-10-24 Thread Paul Libbrecht
On 24 oct. 2010, at 13:54, Sergiu Dumitriu wrote: call the web page from groovy new java.net.URL(blablalba).getContent() Thanks beforehand! Eugen Yes, but note that the URL will be fetched without any session information, so if the requested page is private (not visible for

Re: [xwiki-users] Using Scheduler issues (groovy questions)

2010-10-24 Thread Paul Libbrecht
On 24 oct. 2010, at 16:29, [Ricardo Rodriguez] eBioTIC. wrote: or call http://user:passw...@host:port/xwiki/bin/view/Space/Name paul _ It doesn't work for me here. Please, any particular requirement/setting on the server side? I don't think so. But I note that I'm using an older

Re: [xwiki-users] Using Scheduler issues (groovy questions)

2010-10-24 Thread Paul Libbrecht
Eugen, you said you have a velocity page, say accessible at http://server/xwiki/bin/iview/MyScheduler/Velo what I was telling is that you should be able to get its execution from groovy with new URL(http://server/xwiki/bin/iview/MyScheduler/Velo;).getContent() and, if you needed secure

Re: [xwiki-users] Display current date on page

2010-11-29 Thread Paul Libbrecht
Le 29 nov. 2010 à 07:50, Ricardo Rodriguez [eBioTIC.] a écrit : Use (XWiki 2.0 Syntax) {{velocity}} $datetool.get('Md') {{/velocity}} This has always shocked me as being inefficient since it reparses and re-allocates. I planned to write a little plugin where that would be cared for but

Re: [xwiki-users] Display current date on page

2010-12-09 Thread Paul Libbrecht
you use it! paul Le 9 déc. 2010 à 19:19, Erica Usui a écrit : I'm using #set($data=$datetool.get('Md')) successfully, but i can't compare dates with $data, because it is not a date, i think it is a string. How can i convert it to a date? 2010/11/29 Paul Libbrecht p...@hoplahup.net

[xwiki-users] documentation about xar format?

2010-12-09 Thread Paul Libbrecht
Hello group, I'm trying to understand the options of xar import/export. Given a set of pages, one has the following options to export: - with history (ie. with previous version?) - backup pack (with author-names?) And to import: - with history (i.e. ignore or not the fact that history is

Re: [xwiki-users] Tomcat BSD Nginx

2010-12-10 Thread Paul Libbrecht
Le 10 déc. 2010 à 21:54, Eric Tse a écrit : How can I change Tomcat to use port 80 instead of 8180? I tried changing the connector port in the xml file then restarted but with no avail.. That's a tomcat question. As far as I know you did the right thing. Do restart tomcat and don't forget to

Re: [xwiki-users] Tomcat BSD Nginx

2010-12-10 Thread Paul Libbrecht
encountered, however, a few issues while trying to get some applications based on xwiki in active use. The generated SQL was incompatible with PostgreSQL. As a rule of the thumb, I think workability with MySQL is considerably more tested. paul On Dec 10, 2010 1:33 PM, Paul Libbrecht p

Re: [xwiki-users] Tomcat BSD Nginx

2010-12-11 Thread Paul Libbrecht
Le 11 déc. 2010 à 04:52, Eric Tse a écrit : So based on your experiences, or anyone else's is MySQL better, persay vs PostgresSQL? Tasteful speaking I always preferred Postgres (more strict open-source, more sys-admin-oriented) but I know MySQL is more widespread and sometimes faster. So

Re: [xwiki-users] Lucene and log4j

2010-12-12 Thread Paul Libbrecht
Ricardo, do you have a log4.properties already existing? I have mine (probably extracted from some xwiki-core-xx.jar, in WEB-INF/classes so I can modify it (it needs to be in the root package). Then I added: log4j.logger.com.xpn.xwiki.plugin.lucene=debug This was for xwiki-1.5 but I think the

Re: [xwiki-users] Tomcat BSD Nginx

2010-12-12 Thread Paul Libbrecht
Eric, Java has a slow start. Yes that's known. But once warmed it often performs better than many other things. Maybe it helps. paul Le 11 déc. 2010 à 18:59, Eric Tse a écrit : I have now installed Nginx and done a proxy through to tomcat, its.. quite.. slow.. IMO, probably cause its Java?

Re: [xwiki-users] documentation about xar format?

2010-12-13 Thread Paul Libbrecht
Ping oh ping! currently, we're planning to also upgrade one class object. And we're shivering that it may trigger re-indexing of all our 150'000 asset-documents. Please, please, please give a bit more hint. thanks in advance paul Le 9 déc. 2010 à 22:08, Paul Libbrecht a écrit : I'm trying

[xwiki-users] Document.save but no change saved?

2010-12-26 Thread Paul Libbrecht
Hello XWikiers, I am troubled with XWiki's objects and documents save operations by a programme, groovy or velocity. The following doesn't seem to work for me: // % import com.xpn.xwiki.api.Document; import com.xpn.xwiki.api.Object; import com.xpn.xwiki.api.XWiki; //XWiki xwiki; Document

Re: [xwiki-users] java.security.NoSuchAlgorithmException: Cannot find any provider supporting DES/ECB/PKCS5Padding

2011-01-05 Thread Paul Libbrecht
I won't be able to answer your question but it would help to indicate which JVM and which OS your are using. paul Le 6 janv. 2011 à 01:21, Mike a écrit : I've deployed Xwiki enterprise 2.7 on my Glassfish 2.1.1 server with MySQL as the back-end. I can create a user, but when I try to

[xwiki-users] how to rename of page with a trailing space?

2011-01-19 Thread Paul Libbrecht
Hello XWikiers, I am a bit stuck with a page whose URL ends with %20 because of some earlier automated population process. The problem is that using Document.rename doesn't work, that using the GUi also doesn't. Deleting also fails. My best bet is to go into the SQL and I did this but that

Re: [xwiki-users] how to rename of page with a trailing space?

2011-01-20 Thread Paul Libbrecht
Le 20 janv. 2011 à 19:01, Sergiu Dumitriu a écrit : On 01/19/2011 09:42 PM, Paul Libbrecht wrote: Hello XWikiers, I am a bit stuck with a page whose URL ends with %20 because of some earlier automated population process. Works for me on the 3.0 trunk. What version of the core are you

Re: [xwiki-users] Doing a File Exchange App

2011-01-24 Thread Paul Libbrecht
Outside of XWiki? I doubt it's as intuitive as XWiki but jFM did a good job for us. http://jfm.dev.java.net/ paul Le 24 janv. 2011 à 23:10, Scardino, Leonard R Jr ERDC-ITL-MS Contractor a écrit : I'm being asked to do a File Exchange application in XWiki. Basically giving the users

Re: [xwiki-users] Doing a File Exchange App

2011-01-26 Thread Paul Libbrecht
When are you willing to release? The file-system-storage would avoid the 20 Mb limit I think but it'll only be in beta or alpha at next release. paul Le 26 janv. 2011 à 20:22, Scardino, Leonard R Jr ERDC-ITL-MS Contractor a écrit : Ok, so I've talked to my people, and a limit of 20

Re: [xwiki-users] Searching help

2011-02-24 Thread Paul Libbrecht
Wouldn't it be natural for an application developer based on xwiki to tune the way the Lucene query is submitted to the plugin giving, thus, preference to a match in the title? A simple string replace in velocity would be to replace query text $query with title:($query)^2.0 ft:($query) It's

Re: [xwiki-users] Can XWiki receive mail ?

2011-03-01 Thread Paul Libbrecht
I would be very interested to such a feature but I note that it is not a simple thing. The biggest importance of receiving mails is to respond to some notifications of actions that were originally created on the XWiki, to my feelings. This requires, for example, that a table is properly made

Re: [xwiki-users] Can XWiki receive mail ?

2011-03-05 Thread Paul Libbrecht
I agree that XWiki remains a mail client. I agree that XWiki should define listeners and default behaviours to such listeners (such as create a page, add a comment, or update a page). I misread Sergiu's post in a funny manner: fire events when new mails are deleted in the mailbox (as

Re: [xwiki-users] Drop mailing lists in favor of a forum software

2011-03-08 Thread Paul Libbrecht
Here are my counter arguments: -1) you have to go to the web-page to read the forum posts -2) replying needs a web-connection and a functioning web-browser, this means that slowly written drafts have to be written somewhere else -3) it is much easier and more flexible to re-adjust the layout of a

Re: [xwiki-users] Drop mailing lists in favor of a forum software

2011-03-10 Thread Paul Libbrecht
Andreas, I am aware that web-forums may scale better in some ways. All the complaints I and others have formulated about moving to web-forum relate to the ease of use of email-based traffic: - receive all the forum posts per email - respond to them by email If it is possible to get at least

[xwiki-users] outputting cache-related headers from XWiki

2011-03-14 Thread Paul Libbrecht
Hello list, as I am slowly realizing, there's no way to prevent the output of the following headers which basically say that no client or proxy caching should be done. I agree that the default policy should be to not cache but it should be possible to allow to cache. Even changing the header

Re: [xwiki-users] outputting cache-related headers from XWiki

2011-03-14 Thread Paul Libbrecht
mars 2011 à 14:47, Paul Libbrecht a écrit : as I am slowly realizing, there's no way to prevent the output of the following headers which basically say that no client or proxy caching should be done. I agree that the default policy should be to not cache but it should be possible to allow

  1   2   3   >