Re: [xwiki-users] XE 2.3 new deployment fails...
I have tested a fresh installation with the 2.3 WAR using: mysql Ver 14.12 Distrib 5.0.77, for redhat-linux-gnu (i386) using readline 5.1 using jetty-6.1.3 on: java version 1.6.0_12 Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing) I have not been able repeat your problem. On my installation, I was able to start with an empty database, start 2.3 and install the default XAR. I'm not sure what error you are seeing but there is an error which is normal for MySql It is: Incorrect string value: '\xE9\x80\x99\xE6\x98\xAF...' for column MySql doesn't support some of the characters used in XWiki translations. See: http://forums.mysql.com/read.php?103,359419,359419 Also you may see: Caused by: java.sql.BatchUpdateException: Packet for query is too large (The xar file may have become larger as of 2.3) In which case you have to increase the max allowed packet size. To answer your question about upgrading from 2.2 to 2.3, you can upgrade, XWiki was designed to allow that. Caleb Harald Kapper wrote: Hi I tried to install the V2.3 using the WAR file provided on a new an clean Debian/5.0.4 - everything seems fine until I do call XE the first time - it fails - always - during debugging I realise it doesn't create the database table (in mysql here) during startup. Just to proove my theory V2.3 is broken I did a clean setup on the same box using V2.2.5 WAR - this works straight forward and creates the needed tables. Questions: Anyone else experienced this too? Is the Upgrade from V2.2.2 to V2.3 supported and tested or might the schema-update not work? Regards Harald Kapper / kapper.net ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XE 2.3 new deployment fails...
Hi, Can you give us: 1/ your hibernate configuration file (WEB-INF/hibernate.cfg.xml) ? 2/ the exception you get Thanks, JV. On Wed, Apr 28, 2010 at 4:48 AM, Harald Kapper h...@kapper.net wrote: Hi I tried to install the V2.3 using the WAR file provided on a new an clean Debian/5.0.4 - everything seems fine until I do call XE the first time - it fails - always - during debugging I realise it doesn't create the database table (in mysql here) during startup. Just to proove my theory V2.3 is broken I did a clean setup on the same box using V2.2.5 WAR - this works straight forward and creates the needed tables. Questions: Anyone else experienced this too? Is the Upgrade from V2.2.2 to V2.3 supported and tested or might the schema-update not work? Regards Harald Kapper / kapper.net ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Formula Macro - rendering methods
Hi Arnaud, Thanks for your answer. I tried directly with Google Charts and, indeed, I had the same error. So, the issue is not owing to xwiki but to Google Charts. In fact, I discovered that Google Charts has a maximum formula length of 200 characters. Perhaps someone could add it to the documentation of Formula Macro. Because, when we exceed this maximum with {formula} macro, nothing tells us that we switch on SnuggleTex renderer. Marine. Hello, I known nothing about Tex, but did you try your formula directly with Google Charts with some tools like curl or made a test page based on http://code.google.com/intl/fr/apis/chart/docs/post_requests.html When you are able to made it directly, then you can retry with {formula} macro. -- View this message in context: http://xwiki.475771.n2.nabble.com/Formula-Macro-rendering-methods-tp4906580p4973594.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Snipplet Import users from LDAP failed
Big thanks Sergiu! Now snipplet works! I already imported domain users. Unfortunatly, result is not provide me what I need ... 2 Issues: 1) Not all users were imported and I looking for LDAP tree (ith LDAPExplorerTool) and I cannot understand why and which trees was lost. Other thing - were imported some domain groups as a users. 2) LDAP users, that manualy logged at XWiki, at their page have special object - XWiki.LDAPProfileClass with 2 properties LDAP DN and LDAP user unique identifier. LDAP Users, that imported from LDAP with this snipplet haven't this object and haven't this properties ... -- View this message in context: http://xwiki.475771.n2.nabble.com/Snipplet-Import-users-from-LDAP-failed-tp4971478p4973703.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Snipplet Import users from LDAP failed
On Wed, Apr 28, 2010 at 12:18, Colesnicov Eugen ecolesni...@gmail.com wrote: Big thanks Sergiu! Now snipplet works! I already imported domain users. Unfortunatly, result is not provide me what I need ... 2 Issues: 1) Not all users were imported and I looking for LDAP tree (ith LDAPExplorerTool) and I cannot understand why and which trees was lost. Other thing - were imported some domain groups as a users. 2) LDAP users, that manualy logged at XWiki, at their page have special object - XWiki.LDAPProfileClass with 2 properties LDAP DN and LDAP user unique identifier. LDAP Users, that imported from LDAP with this snipplet haven't this object and haven't this properties ... This snippet is based on very old LDAP authenticator and IMO it's dangerous to use it. -- View this message in context: http://xwiki.475771.n2.nabble.com/Snipplet-Import-users-from-LDAP-failed-tp4971478p4973703.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Snipplet Import users from LDAP failed
On Wed, Apr 28, 2010 at 12:29, Thomas Mortagne thomas.morta...@xwiki.com wrote: On Wed, Apr 28, 2010 at 12:18, Colesnicov Eugen ecolesni...@gmail.com wrote: Big thanks Sergiu! Now snipplet works! I already imported domain users. Unfortunatly, result is not provide me what I need ... 2 Issues: 1) Not all users were imported and I looking for LDAP tree (ith LDAPExplorerTool) and I cannot understand why and which trees was lost. Other thing - were imported some domain groups as a users. 2) LDAP users, that manualy logged at XWiki, at their page have special object - XWiki.LDAPProfileClass with 2 properties LDAP DN and LDAP user unique identifier. LDAP Users, that imported from LDAP with this snipplet haven't this object and haven't this properties ... This snippet is based on very old LDAP authenticator and IMO it's dangerous to use it. See http://jira.xwiki.org/jira/browse/XWIKI-4885 -- View this message in context: http://xwiki.475771.n2.nabble.com/Snipplet-Import-users-from-LDAP-failed-tp4971478p4973703.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Stats Application
Hi, I use the stat application and I would like to show the most active contributors to the user. But I would like to show stats to the user only on the users of the same group. I'm a beginner in XWiki and I thought use directly in a document a query seems like $xwiki.search(select distinct docu.author from XWikiDocument as docu where doc.author != '', 0, 0) Could you help me? Thanks Regards Ben -- View this message in context: http://xwiki.475771.n2.nabble.com/Stats-Application-tp4973836p4973836.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
Hi, mayby the dev-list was the wrong place for this, so again: had my own xwiki where i wrote my diploma thesis. Got server problems and have to move on :) Would like to have a xwiki instance again for my wiki (subject, - semantic web, knowledge management, web 2.0 and some personal stuff) My user name on myxwiki.org is hel. My preffered servername is semantic-web.myxwiki.org Thanks hel. - semantic-web.hel.at h...@hel.at -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp4973884p4973884.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
Hi, Your wiki is available at http://semanticweb.myxwiki.org (no dash, we only accept lowercase alpha-numeric chars). It's the 90th wiki on myxwiki.org. JV. On Wed, Apr 28, 2010 at 1:14 PM, hel-o h...@hel.at wrote: Hi, mayby the dev-list was the wrong place for this, so again: had my own xwiki where i wrote my diploma thesis. Got server problems and have to move on :) Would like to have a xwiki instance again for my wiki (subject, - semantic web, knowledge management, web 2.0 and some personal stuff) My user name on myxwiki.org is hel. My preffered servername is semantic-web.myxwiki.org Thanks hel. - semantic-web.hel.at h...@hel.at -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp4973884p4973884.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.6 Released
The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 2.2.6. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is a bug fix release for the 2.2 branches. Fixes since 2.2.5: * [XWIKI-4378] - Should never deny resources access through skin URL * [XWIKI-5004] - Inactive user should be able to access the same UI than XWikiGuest * [XWIKI-5005] - Form displayed to inactive user after login for account activation does not submit to correct URL * [XWIKI-5064] - Issue escaping [ when located in front of an URL * [XWIKI-5113] - Id block inside header is badly rendered * [XWIKI-5114] - Allow controlling the depth of headers to look for when generating titles from document's content (configuration in xwiki.cfg) * [XWIKI-5126] - Link to force editing a locked user is wrong in new UI * [XWIKI-5127] - #googlecalcustom macro mixup front and background colors, and also use a Test title * [XWIKI-5128] - XWiki doesn't check groups permissions correctly in multiwiki environment * [XWIKI-5131] - PropUpdateAction use wrong XWiki#flushCache method * [XAADMINISTRATION-134] - Users-add new user not using XWiki.Registration with field validation. * [XAADMINISTRATION-131] - Hide color theme setting from space administration (currently unsupported at the level) For more information see the Releases notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise226 and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM226 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.6 Released
First release for Denis, good job ! On Wed, Apr 28, 2010 at 14:33, Denis Gervalle d...@softec.lu wrote: The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 2.2.6. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is a bug fix release for the 2.2 branches. Fixes since 2.2.5: * [XWIKI-4378] - Should never deny resources access through skin URL * [XWIKI-5004] - Inactive user should be able to access the same UI than XWikiGuest * [XWIKI-5005] - Form displayed to inactive user after login for account activation does not submit to correct URL * [XWIKI-5064] - Issue escaping [ when located in front of an URL * [XWIKI-5113] - Id block inside header is badly rendered * [XWIKI-5114] - Allow controlling the depth of headers to look for when generating titles from document's content (configuration in xwiki.cfg) * [XWIKI-5126] - Link to force editing a locked user is wrong in new UI * [XWIKI-5127] - #googlecalcustom macro mixup front and background colors, and also use a Test title * [XWIKI-5128] - XWiki doesn't check groups permissions correctly in multiwiki environment * [XWIKI-5131] - PropUpdateAction use wrong XWiki#flushCache method * [XAADMINISTRATION-134] - Users-add new user not using XWiki.Registration with field validation. * [XAADMINISTRATION-131] - Hide color theme setting from space administration (currently unsupported at the level) For more information see the Releases notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise226 and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM226 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
On Wed, Apr 28, 2010 at 14:20, Jean-Vincent Drean jean-vinc...@drean.org wrote: Hi, Your wiki is available at http://semanticweb.myxwiki.org (no dash, we only accept lowercase alpha-numeric chars). Actually we accept only lowercase alpha-numeric chars for the technical wiki identifier but you can have anything you want for the domain name. So we can't change the wiki name but we can add a http://semantic-web.myxwiki.org access for your wiki if you want. It's the 90th wiki on myxwiki.org. JV. On Wed, Apr 28, 2010 at 1:14 PM, hel-o h...@hel.at wrote: Hi, mayby the dev-list was the wrong place for this, so again: had my own xwiki where i wrote my diploma thesis. Got server problems and have to move on :) Would like to have a xwiki instance again for my wiki (subject, - semantic web, knowledge management, web 2.0 and some personal stuff) My user name on myxwiki.org is hel. My preffered servername is semantic-web.myxwiki.org Thanks hel. - semantic-web.hel.at h...@hel.at -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp4973884p4973884.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.6 Released
Congrats for the release, Denis! On 04/28/2010 03:33 PM, Denis Gervalle wrote: The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 2.2.6. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is a bug fix release for the 2.2 branches. Fixes since 2.2.5: * [XWIKI-4378] - Should never deny resources access through skin URL * [XWIKI-5004] - Inactive user should be able to access the same UI than XWikiGuest * [XWIKI-5005] - Form displayed to inactive user after login for account activation does not submit to correct URL * [XWIKI-5064] - Issue escaping [ when located in front of an URL * [XWIKI-5113] - Id block inside header is badly rendered * [XWIKI-5114] - Allow controlling the depth of headers to look for when generating titles from document's content (configuration in xwiki.cfg) * [XWIKI-5126] - Link to force editing a locked user is wrong in new UI * [XWIKI-5127] - #googlecalcustom macro mixup front and background colors, and also use a Test title * [XWIKI-5128] - XWiki doesn't check groups permissions correctly in multiwiki environment * [XWIKI-5131] - PropUpdateAction use wrong XWiki#flushCache method * [XAADMINISTRATION-134] - Users-add new user not using XWiki.Registration with field validation. * [XAADMINISTRATION-131] - Hide color theme setting from space administration (currently unsupported at the level) For more information see the Releases notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise226 and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM226 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] profile in a pop up
Me again, here is the code of my page: -- View this message in context: http://xwiki.475771.n2.nabble.com/profile-in-a-pop-up-tp4675477p4974250.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.6 Released
Congrats Denis! Thanks, JV. On Wed, Apr 28, 2010 at 2:33 PM, Denis Gervalle d...@softec.lu wrote: The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 2.2.6. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is a bug fix release for the 2.2 branches. Fixes since 2.2.5: * [XWIKI-4378] - Should never deny resources access through skin URL * [XWIKI-5004] - Inactive user should be able to access the same UI than XWikiGuest * [XWIKI-5005] - Form displayed to inactive user after login for account activation does not submit to correct URL * [XWIKI-5064] - Issue escaping [ when located in front of an URL * [XWIKI-5113] - Id block inside header is badly rendered * [XWIKI-5114] - Allow controlling the depth of headers to look for when generating titles from document's content (configuration in xwiki.cfg) * [XWIKI-5126] - Link to force editing a locked user is wrong in new UI * [XWIKI-5127] - #googlecalcustom macro mixup front and background colors, and also use a Test title * [XWIKI-5128] - XWiki doesn't check groups permissions correctly in multiwiki environment * [XWIKI-5131] - PropUpdateAction use wrong XWiki#flushCache method * [XAADMINISTRATION-134] - Users-add new user not using XWiki.Registration with field validation. * [XAADMINISTRATION-131] - Hide color theme setting from space administration (currently unsupported at the level) For more information see the Releases notes at: http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise226 and http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXEM226 Thanks -The XWiki dev team ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWIKI, JNDI datasource and Tomcat 6
Hi all, I have installed XWiki 2.2.3 in a Tomcat 6.0.20 servlet container using Oracle 10g as database. The database connection settings are done on the default way in the WEB-INF/hibernate.cfg.xml file. XWIKI is running without any problems or exceptions. Now I want to replace the database settings in hibernate.cfg.xml by using a Tomcat container managed JNDI data source. The advantage for us is the usage of Tomcat's server.xml as a central place where we can manage all data sources of every webbapp within Tomcat. I have red the articles under http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallandconfigureaRelationalDatabase and http://java.dzone.com/articles/xwiki-installation-jboss-using (it's a JBoss relatet documentation but many information pieces are usefull for Tomcat too). My JNDI configuration is as following: a) definition of the JNDI datasource in Tomcat's server.xml (defining the Oracle JNDI resource can't be the problem because we use other Oracle JNDI data sources without any problems) Resource name=jdbc/XWikiDS auth=Container type=javax.sql.DataSource username=XWIKI password=* driverClassName=oracle.jdbc.driver.OracleDriver url=jdbc:oracle:thin:@myoraserver:1521:MYORAINSTANCE connectionProperties=useUnicode=true;characterEncoding=utf8; maxActive=10 maxIdle=2 maxWait=5000 testOnBorrow=true validationQuery=SELECT 1 FROM DUAL removeAbandoned=true removeAbandonedTimeout=60 logAbandoned=true / b) settings in xwiki/WEB-INF/hibernate.cfg.xml property name=connection.datasourcejava:/comp/env/jdbc/XWikiDS/property property name=dialectorg.hibernate.dialect.Oracle10gDialect/property property name=statement_cache.size2/property property name=hibernate.connection.SetBigStringTryClobtrue/property property name=hibernate.jdbc.batch_size0/property mapping resource=xwiki.oracle.hbm.xml/ mapping resource=feeds.oracle.hbm.xml/ mapping resource=activitystream.hbm.xml/ c) settings in xwiki/WEB-INF/web.xml resource-ref descriptionDB Connection/description res-ref-namejdbc/XWikiDS/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref (using ResourceLink name=jdbc/XWikiDS global=jdbc/XWikiDS type=javax.sql.DataSource / instead wan't help) Using this JNDI configuration causes the following errors: 2010-04-28 12:55:25,071 ERROR [org.hibernate.util.JDBCExceptionReporter] Cannot create JDBC driver of class '' for connect URL 'null' 2010-04-28 12:55:25,072 ERROR [com.xpn.xwiki.store.XWikiHibernateBaseStore] Failed creating schema update script org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:426) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:749) at com.xpn.xwiki.store.XWikiHibernateBaseStore.beginTransaction(XWikiHibernateBaseStore.java:674) at com.xpn.xwiki.store.XWikiHibernateBaseStore.getSchemaUpdateScript(XWikiHibernateBaseStore.java:419) at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:287) at com.xpn.xwiki.store.XWikiHibernateBaseStore.updateSchema(XWikiHibernateBaseStore.java:257) at com.xpn.xwiki.store.XWikiHibernateBaseStore.checkHibernate(XWikiHibernateBaseStore.java:566) at com.xpn.xwiki.store.XWikiHibernateBaseStore.execute(XWikiHibernateBaseStore.java:1057) at com.xpn.xwiki.store.XWikiHibernateBaseStore.executeRead(XWikiHibernateBaseStore.java:1101) at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.getDBVersion(XWikiHibernateMigrationManager.java:68) at com.xpn.xwiki.store.migration.AbstractXWikiMigrationManager.init(AbstractXWikiMigrationManager.java:68) at com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager.init(XWikiHibernateMigrationManager.java:51) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
Re: [xwiki-users] Stats Application
I tryed this query but the velocity macro fail... Any idea? {{velocity}} #set($hql = $xwiki.search(select wod.XWO_ID from XWikiObjects as wod where wod.XWO_NUMBER = (Select MAX(XWO_NUMBER) from XWIKIOBJECTS as wo where XWO_NAME = 'XWiki.TestGroup'))) #foreach ($item in $hql ) * $item #end I tought get the last Group_ID and use it after to obtain users who created documents. {{/velocity}} -- View this message in context: http://xwiki.475771.n2.nabble.com/Stats-Application-tp4973836p4974565.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Why the created and last modified time are wrong?
Hi All, I have installed XWiki Enterprise 2.2.1.27354 on my laptop, and found that after created or modified the document, the created and last modified time are wrong! For example, my local time is 2010/04/28, 22:08, but the date of the document I just created is 2010/04/28, 09:38. My local time zone is Beijing, China, UTC/GMT +8 hours. How could I solve this issue? You comments are welcome! Island ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [Proposal] Selective Export UI
Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. Thanks, Caty ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Why the created and last modified time are wrong?
Please add following code in some page (xwiki 1.0 syntax) $datetool.get('dd.MM. HH:mm') Save and check what date is shown in page. If shown time is wrong, then server simply doesn't have correct time and/or time zone. Valdis Hi All, I have installed XWiki Enterprise 2.2.1.27354 on my laptop, and found that after created or modified the document, the created and last modified time are wrong! For example, my local time is 2010/04/28, 22:08, but the date of the document I just created is 2010/04/28, 09:38. My local time zone is Beijing, China, UTC/GMT +8 hours. How could I solve this issue? You comments are welcome! Island ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Formula Macro - rendering methods
I think is not Google Charts maximum formula length limit but HTTP GET limit. Try in HTTP POST Arnaud. 2010/4/28 Marine JULIAN marine.jul...@gmail.com: Hi Arnaud, Thanks for your answer. I tried directly with Google Charts and, indeed, I had the same error. So, the issue is not owing to xwiki but to Google Charts. In fact, I discovered that Google Charts has a maximum formula length of 200 characters. Perhaps someone could add it to the documentation of Formula Macro. Because, when we exceed this maximum with {formula} macro, nothing tells us that we switch on SnuggleTex renderer. Marine. Hello, I known nothing about Tex, but did you try your formula directly with Google Charts with some tools like curl or made a test page based on http://code.google.com/intl/fr/apis/chart/docs/post_requests.html When you are able to made it directly, then you can retry with {formula} macro. -- View this message in context: http://xwiki.475771.n2.nabble.com/Formula-Macro-rendering-methods-tp4906580p4973594.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valica vali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. Guillaume Thanks, Caty ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
Very nice. I have the same concern as Guillaume about scalability. Also, do we need custom checkboxes ? Can't we use regular ones ? JV. On Wed, Apr 28, 2010 at 4:44 PM, Ecaterina Valica vali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. Thanks, Caty ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
Hi, On Wed, Apr 28, 2010 at 17:23, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. I know, but my questions stands nonetheless - how does the tree accommodate a 1000-pages-big space? Using a scrollbar? Guillaume Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On Wed, Apr 28, 2010 at 18:30, Guillaume Lerouge guilla...@xwiki.comwrote: Hi, On Wed, Apr 28, 2010 at 17:23, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. I know, but my questions stands nonetheless - how does the tree accommodate a 1000-pages-big space? Using a scrollbar? We can use a scrollbar or just accommodate the div for it. Another solutions would be to load just the fist 50/100 pages and have a load more pages link at the bottom, that is gonna load on demand. From a usability point of view, I think the user is gonna use the search in this case and refine that number of pages. Guillaume Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On Wed, Apr 28, 2010 at 18:29, Jean-Vincent Drean jean-vinc...@drean.orgwrote: Very nice. I have the same concern as Guillaume about scalability. Also, do we need custom checkboxes ? Can't we use regular ones ? In the case of regular checkboxes, you need to: - first select the desired pages - then click on the move/delete action In the case of custom checkboxes, on click the page is automatically taken in the other view. Plus you have that nice on hover effect, that lets you know that you can interact with that page. Plus it looks much smoother. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
Hi, On Wed, Apr 28, 2010 at 18:12, Ecaterina Valica vali...@gmail.com wrote: On Wed, Apr 28, 2010 at 18:30, Guillaume Lerouge guilla...@xwiki.com wrote: Hi, On Wed, Apr 28, 2010 at 17:23, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. I know, but my questions stands nonetheless - how does the tree accommodate a 1000-pages-big space? Using a scrollbar? We can use a scrollbar or just accommodate the div for it. Another solutions would be to load just the fist 50/100 pages and have a load more pages link at the bottom, that is gonna load on demand. The load more option for 50+ pages sounds good to me. From a usability point of view, I think the user is gonna use the search in this case and refine that number of pages. Indeed. Guillaume Guillaume Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Why the created and last modified time are wrong?
Hi Valdis, Thank you for your quickly response. The $datetool.get('dd.MM. HH:mm') still returns wrong time -- 11.5 hours behind my laptop's system time. And I'm quite sure that the shown system time and time zone of my laptop is right. what can i do to debug this issue? On Wed, Apr 28, 2010 at 10:55 PM, Valdis Vītoliņš valdis.vitol...@odo.lvwrote: Please add following code in some page (xwiki 1.0 syntax) $datetool.get('dd.MM. HH:mm') Save and check what date is shown in page. If shown time is wrong, then server simply doesn't have correct time and/or time zone. Valdis Hi All, I have installed XWiki Enterprise 2.2.1.27354 on my laptop, and found that after created or modified the document, the created and last modified time are wrong! For example, my local time is 2010/04/28, 22:08, but the date of the document I just created is 2010/04/28, 09:38. My local time zone is Beijing, China, UTC/GMT +8 hours. How could I solve this issue? You comments are welcome! Island ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. In my opinion we should actually aim to replace the treeview with this one (that's why I initially referred to it as a new 'extensible' treeview, in the sense it could be used for navigation in its simplest mode, but could be extended for selection). I'd also like to see how it scale (in terms of UI) to a large number of documents. What about the parent/children relationship? Should we imitate what the current treeview does? If we were to replace the treeview by this new one, should it behave as the old one, or should it display the pages flat ? Jerome. Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On Wed, Apr 28, 2010 at 17:23, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. Very nice ! I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. If the current treeview is not good enough it should be improved instead of having several. Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to create internal link to user-profile?
Hi there, maybe it's just a very simple solutiuon I'm not seeing yet, however, I'm wondering if it's possible to create a short *internal* link to a user-profile? Sure, I can create an externel link incl. protocoll etc., but I'd rather have an internal link. Any hints? TIA Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
Hi, On Wed, Apr 28, 2010 at 18:37, Jerome Velociter jer...@xwiki.com wrote: On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.com wrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. In my opinion we should actually aim to replace the treeview with this one (that's why I initially referred to it as a new 'extensible' treeview, in the sense it could be used for navigation in its simplest mode, but could be extended for selection). I'd also like to see how it scale (in terms of UI) to a large number of documents. What about the parent/children relationship? Should we imitate what the current treeview does? If we were to replace the treeview by this new one, should it behave as the old one, or should it display the pages flat ? I'm strongly against the way the treeview works right now. Nobody understands the mix of space and parent/child relationship. I'd KISS it, keeping only the space/page relationship. Guillaume Jerome. Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On 04/28/2010 06:42 PM, Thomas Mortagne wrote: On Wed, Apr 28, 2010 at 17:23, Sergiu Dumitriuser...@xwiki.com wrote: On 04/28/2010 05:17 PM, Guillaume Lerouge wrote: Hi, On Wed, Apr 28, 2010 at 16:44, Ecaterina Valicavali...@gmail.comwrote: Hi, Please provide feedback for the Selective Export UI: http://incubator.myxwiki.org/xwiki/bin/view/Improvements/MultiExportProposal PS. The HTML+CSS is not final and it's tested only in Firefox. It will be improved if it gets positive feedback. If it doesn't display correctly, please use the IMG to visualize. Very nice ! I like it a lot. I only have one outstanding question: what happens for a space with 1000+ documents in it? How does the UI scale? I'm asking because given the current implementation of our treeview I know that this can be a huge PITA. We're NOT going to use the current treeview, no way. If the current treeview is not good enough it should be improved instead of having several. The current one is the one from SmartGWT, which is an external library, hard to patch locally. Improving it would mean contributing to this huge, very generic library, wait for approval, release, integration. I'd rather write a clean/lean one from scratch, which would support what we need. Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to create internal link to user-profile?
On Wed, Apr 28, 2010 at 18:42, Gregor Schneider rc4...@googlemail.com wrote: Hi there, maybe it's just a very simple solutiuon I'm not seeing yet, however, I'm wondering if it's possible to create a short *internal* link to a user-profile? Sure, I can create an externel link incl. protocoll etc., but I'd rather have an internal link. Any hints? User profile is just a document with user id as name in the space XWiki. So if you want a link to the user with id ThomasMortagne you do [[XWiki.ThomasMortagne]] TIA Gregor -- just because you're paranoid, don't mean they're not after you... gpgp-fp: 79A84FA526807026795E4209D3B3FE028B3170B2 gpgp-key available @ http://pgpkeys.pca.dfn.de:11371 @ http://pgp.mit.edu:11371/ skype:rc46fi ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
On 04/28/2010 06:46 PM, Guillaume Lerouge wrote: I'm strongly against the way the treeview works right now. Nobody understands the mix of space and parent/child relationship. I'd KISS it, keeping only the space/page relationship. One idea: ghost symlinks. [s] Main - [p] WebHome - [p^] /Blog . WebHome/ - [p] Great news! - [p] BigClient contract - [p] BigClient project description - [p] More great news! [s] Blog - [p] WebHome - [p] Meet Joe Dyke, our new CTO - [p^] /Main . Great news!/ - [p^] /Main . More great news!/ [s] is the space icon, [p] is the page icon, [p^] is the page icon with the shortcut overlay. The ghost documents are written in italic with a lighter color, and clicking on such a symlink will show the real document, by expanding the tree to it, scroll it into view (with anymation), and select it. Note that in the Main space the other children of the Blog.WebHome page are not displayed, and in the Blog space the deeper hierarchy of the external documents is not shown WDYT? Of course, this as a better UI for the alldocs/tree view; the export UI should could keep just the space/docs two-level hierarchy. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [Proposal] Selective Export UI
Hi, On Wed, Apr 28, 2010 at 20:15, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/28/2010 06:46 PM, Guillaume Lerouge wrote: I'm strongly against the way the treeview works right now. Nobody understands the mix of space and parent/child relationship. I'd KISS it, keeping only the space/page relationship. http://en.wikipedia.org/wiki/KISS_principle One idea: ghost symlinks. The KISS principle states that simplicityhttp://en.wikipedia.org/wiki/Simplicityshould be a key goal in design http://en.wikipedia.org/wiki/Design, and that unnecessary complexity should be avoided. Ghost symlinks? - how does the treeview thing work? - well, it's easy, just click the ghost symlink below that other page and the whole thing will start scrolling to get you somewhere different from where you were located - oh [s] Main - [p] WebHome - [p^] /Blog . WebHome/ - [p] Great news! - [p] BigClient contract - [p] BigClient project description - [p] More great news! [s] Blog - [p] WebHome - [p] Meet Joe Dyke, our new CTO - [p^] /Main . Great news!/ - [p^] /Main . More great news!/ [s] is the space icon, [p] is the page icon, [p^] is the page icon with the shortcut overlay. The ghost documents are written in italic with a lighter color, and clicking on such a symlink will show the real document, by expanding the tree to it, scroll it into view (with anymation), and select it. Note that in the Main space the other children of the Blog.WebHome page are not displayed, and in the Blog space the deeper hierarchy of the external documents is not shown WDYT? Of course, this as a better UI for the alldocs/tree view; the export UI should could keep just the space/docs two-level hierarchy. I think the same, simple, understandable, Space / Page hierarchy should be used everywhere. An alternative is what we do for WebDAV and provide 2 different interfaces: EITHER space/page OR parents/children but never a mix of both. Guillaume -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ devs mailing list d...@xwiki.org http://lists.xwiki.org/mailman/listinfo/devs -- Guillaume Lerouge Product Manager - XWiki SAS Skype: wikibc Twitter: glerouge http://guillaumelerouge.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Why the created and last modified time are wrong?
On 04/28/2010 06:27 PM, flyisland wrote: Hi Valdis, Thank you for your quickly response. The $datetool.get('dd.MM. HH:mm') still returns wrong time -- 11.5 hours behind my laptop's system time. And I'm quite sure that the shown system time and time zone of my laptop is right. what can i do to debug this issue? On Wed, Apr 28, 2010 at 10:55 PM, Valdis Vītoliņšvaldis.vitol...@odo.lvwrote: Please add following code in some page (xwiki 1.0 syntax) $datetool.get('dd.MM. HH:mm') Save and check what date is shown in page. If shown time is wrong, then server simply doesn't have correct time and/or time zone. Valdis Hi All, I have installed XWiki Enterprise 2.2.1.27354 on my laptop, and found that after created or modified the document, the created and last modified time are wrong! For example, my local time is 2010/04/28, 22:08, but the date of the document I just created is 2010/04/28, 09:38. My local time zone is Beijing, China, UTC/GMT +8 hours. How could I solve this issue? You comments are welcome! Try putting this in a page, see what you get: {{groovy}} print System.getProperty(user.timezone); {{/groovy}} If it's not the one you want, then you should edit start_xwiki.sh (or .bat if you're on Windows) and add this to the JAVA_OPTS variable: -Duser.timezone=Asia/Shanghai -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Why the created and last modified time are wrong?
Hi Sergiu, the System.getProperty(user.timezone) return the correct timezone Asia/Shanghai, then according to your prompt, I check the start_xwiki.bat file and find the following: set LANG=fr_FR.ISO8859-1 after I changed it to set LANG=zh_CN.utf8 the shown time is correct now! Thank you for your hint! btw: I think this should be a *bug* of xwiki, I'm wondering why set the LANG to fr_FR.ISO8859-1 by default? On Thu, Apr 29, 2010 at 8:29 AM, Sergiu Dumitriu ser...@xwiki.com wrote: On 04/28/2010 06:27 PM, flyisland wrote: Hi Valdis, Thank you for your quickly response. The $datetool.get('dd.MM. HH:mm') still returns wrong time -- 11.5 hours behind my laptop's system time. And I'm quite sure that the shown system time and time zone of my laptop is right. what can i do to debug this issue? On Wed, Apr 28, 2010 at 10:55 PM, Valdis Vītoliņšvaldis.vitol...@odo.lv wrote: Please add following code in some page (xwiki 1.0 syntax) $datetool.get('dd.MM. HH:mm') Save and check what date is shown in page. If shown time is wrong, then server simply doesn't have correct time and/or time zone. Valdis Hi All, I have installed XWiki Enterprise 2.2.1.27354 on my laptop, and found that after created or modified the document, the created and last modified time are wrong! For example, my local time is 2010/04/28, 22:08, but the date of the document I just created is 2010/04/28, 09:38. My local time zone is Beijing, China, UTC/GMT +8 hours. How could I solve this issue? You comments are welcome! Try putting this in a page, see what you get: {{groovy}} print System.getProperty(user.timezone); {{/groovy}} If it's not the one you want, then you should edit start_xwiki.sh (or .bat if you're on Windows) and add this to the JAVA_OPTS variable: -Duser.timezone=Asia/Shanghai -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- - 空中的一小块陆地 E-mail: fly.isl...@gmail.com Blog : http://flyisland.blogbus.com/ Twitter : http://twitter.com/flyisland - ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users