Re: [xwiki-users] Scheduler not executing job correctly (or at all)
On Wed, Feb 24, 2010 at 22:00, Caleb James DeLisle wrote: > I don't know much about the scheduler but I know that your script > should be inclosed in {{groovy}} and {{/groovy}} macro tags, it > should be saved in syntax 2.0, The user who saves the script must > have programming rights for it to execute and eventLog.save() may > not work if the scheduler doesn't have edit right on the eventLog > page. Try eventLog.saveWithProgrammingRights() to override that > possible problem. No actually scheduler is older than xwiki/2.0 syntax and in a scheduler object you put pure groovy code without {{groovy}} macro. > > > Caleb James DeLisle > > > > Rieken, Joshua wrote: >> >>> -Original Message- >>> From: users-boun...@xwiki.org >>> [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne >>> Sent: Wednesday, February 24, 2010 2:24 PM >>> To: XWiki Users >>> Subject: Re: [xwiki-users] Scheduler not executing job >>> correctly (or at all) >>> >>> Hi, >>> >>> I think when you create a job it's not enabled by default. >>> You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. >> >> I scheduled it, but it didn't run. I also tried triggering it manually, but >> that didn't work either. >> >> -Joshua >> >>> On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua >>> wrote: Hello, I'm attempting to run the following Groovy script with the >>> Scheduler app: def eventLog = xwiki.getDocument("CodeTest.TestEventLog") eventLog.setContent(eventLog.getContent() + "This is a test.") eventLog.save() However, this does nothing. I have scheduled the job (which >>> is supposed to run every 5 minutes) and triggered it >>> manually, but it still doesn't do anything. I also tried surrounding the code with {{groovy}}{{/groovy}}. My cron expression is the following: 0 0/5 * * * ? Running on XWiki Enterprise 2.1.1. Thanks in advance. -Joshua ___ 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 >>> >> ___ >> 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] Scheduler not executing job correctly (or at all)
On Wed, Feb 24, 2010 at 22:00, Caleb James DeLisle wrote: > I don't know much about the scheduler but I know that your script > should be inclosed in {{groovy}} and {{/groovy}} macro tags, it > should be saved in syntax 2.0, The user who saves the script must > have programming rights for it to execute and eventLog.save() may > not work if the scheduler doesn't have edit right on the eventLog > page. Try eventLog.saveWithProgrammingRights() to override that > possible problem. Ca > > > Caleb James DeLisle > > > > Rieken, Joshua wrote: >> >>> -Original Message- >>> From: users-boun...@xwiki.org >>> [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne >>> Sent: Wednesday, February 24, 2010 2:24 PM >>> To: XWiki Users >>> Subject: Re: [xwiki-users] Scheduler not executing job >>> correctly (or at all) >>> >>> Hi, >>> >>> I think when you create a job it's not enabled by default. >>> You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. >> >> I scheduled it, but it didn't run. I also tried triggering it manually, but >> that didn't work either. >> >> -Joshua >> >>> On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua >>> wrote: Hello, I'm attempting to run the following Groovy script with the >>> Scheduler app: def eventLog = xwiki.getDocument("CodeTest.TestEventLog") eventLog.setContent(eventLog.getContent() + "This is a test.") eventLog.save() However, this does nothing. I have scheduled the job (which >>> is supposed to run every 5 minutes) and triggered it >>> manually, but it still doesn't do anything. I also tried surrounding the code with {{groovy}}{{/groovy}}. My cron expression is the following: 0 0/5 * * * ? Running on XWiki Enterprise 2.1.1. Thanks in advance. -Joshua ___ 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 >>> >> ___ >> 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] macros and lists
If I can give my opinion, I think it would be more coherent if macro parameters were defined like class properties are (lists, strings, numbers, Dates, list of users or groups, and so on...). But it would not be a requirement for me, just an interesting improvement. And I'm not sure about how this could be done ... Maybe having a XWikiMacroParameterXxxClass for each property type Xxx ? At the end it's more the way data is entered by user that's interesting. Having a macro {{avatar}} in wich user can choose from a list of wiki users would definitely make macros even more extraordinary :) Of course the macros would have to accept the possible java types of the various properties types (strings, lists, integers...) so it would be a change in syntax. 2010/2/23 Sergiu Dumitriu > > If you think that this is an important requirement, you can propose it > as an improvement of the upcoming xwiki/2.1 syntax. > > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] No Watch List ?
Hi, How do you display the watchlist ? In 2.2 it's in your user profile, in a specific tab. Did you add elements to watch previously ? (page/space/wiki) I think the scheduler jobs read the users watchlists and send notifications at defined intervals of time... They should be active of course. Jeremie 2010/2/24 Simon Glet > Hi, > > I am currently testing the "Watch" feature and I can't display the > Watch List. I noticed that the Scheduler has some Watch List jobs, > could it be related ? I mean that the watch list could be populated by > one of the Watch list notifier jobs. > > I am missing something ? > > The setup is XE 2.2, Tomcat 6.0, PostgreSQL, Windows XP SP3. > > Thanks > Simon glet > ___ > 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] Scheduler not executing job correctly (or at all)
You could try this script in another page or in the groovy console to see if it works, out of the Scheduler ? 2010/2/24 Caleb James DeLisle > I don't know much about the scheduler but I know that your script > should be inclosed in {{groovy}} and {{/groovy}} macro tags, it > should be saved in syntax 2.0, The user who saves the script must > have programming rights for it to execute and eventLog.save() may > not work if the scheduler doesn't have edit right on the eventLog > page. Try eventLog.saveWithProgrammingRights() to override that > possible problem. > > > Caleb James DeLisle > > > > Rieken, Joshua wrote: > > > >> -Original Message- > >> From: users-boun...@xwiki.org > >> [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne > >> Sent: Wednesday, February 24, 2010 2:24 PM > >> To: XWiki Users > >> Subject: Re: [xwiki-users] Scheduler not executing job > >> correctly (or at all) > >> > >> Hi, > >> > >> I think when you create a job it's not enabled by default. > >> You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. > > > > I scheduled it, but it didn't run. I also tried triggering it manually, > but that didn't work either. > > > > -Joshua > > > >> On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua > >> wrote: > >>> Hello, > >>> > >>> I'm attempting to run the following Groovy script with the > >> Scheduler app: > >>> def eventLog = xwiki.getDocument("CodeTest.TestEventLog") > >>> eventLog.setContent(eventLog.getContent() + "This is a test.") > >>> eventLog.save() > >>> > >>> However, this does nothing. I have scheduled the job (which > >> is supposed to run every 5 minutes) and triggered it > >> manually, but it still doesn't do anything. > >>> I also tried surrounding the code with {{groovy}}{{/groovy}}. > >>> > >>> My cron expression is the following: > >>> 0 0/5 * * * ? > >>> > >>> Running on XWiki Enterprise 2.1.1. > >>> > >>> Thanks in advance. > >>> > >>> -Joshua > >>> > >>> ___ > >>> 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 > >> > > ___ > > 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
[xwiki-users] No Watch List ?
Hi, I am currently testing the "Watch" feature and I can't display the Watch List. I noticed that the Scheduler has some Watch List jobs, could it be related ? I mean that the watch list could be populated by one of the Watch list notifier jobs. I am missing something ? The setup is XE 2.2, Tomcat 6.0, PostgreSQL, Windows XP SP3. Thanks Simon glet ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Scheduler not executing job correctly (or at all)
I don't know much about the scheduler but I know that your script should be inclosed in {{groovy}} and {{/groovy}} macro tags, it should be saved in syntax 2.0, The user who saves the script must have programming rights for it to execute and eventLog.save() may not work if the scheduler doesn't have edit right on the eventLog page. Try eventLog.saveWithProgrammingRights() to override that possible problem. Caleb James DeLisle Rieken, Joshua wrote: > >> -Original Message- >> From: users-boun...@xwiki.org >> [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne >> Sent: Wednesday, February 24, 2010 2:24 PM >> To: XWiki Users >> Subject: Re: [xwiki-users] Scheduler not executing job >> correctly (or at all) >> >> Hi, >> >> I think when you create a job it's not enabled by default. >> You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. > > I scheduled it, but it didn't run. I also tried triggering it manually, but > that didn't work either. > > -Joshua > >> On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua >> wrote: >>> Hello, >>> >>> I'm attempting to run the following Groovy script with the >> Scheduler app: >>> def eventLog = xwiki.getDocument("CodeTest.TestEventLog") >>> eventLog.setContent(eventLog.getContent() + "This is a test.") >>> eventLog.save() >>> >>> However, this does nothing. I have scheduled the job (which >> is supposed to run every 5 minutes) and triggered it >> manually, but it still doesn't do anything. >>> I also tried surrounding the code with {{groovy}}{{/groovy}}. >>> >>> My cron expression is the following: >>> 0 0/5 * * * ? >>> >>> Running on XWiki Enterprise 2.1.1. >>> >>> Thanks in advance. >>> >>> -Joshua >>> >>> ___ >>> 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 >> > ___ > 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] Scheduler not executing job correctly (or at all)
On Wed, Feb 24, 2010 at 21:35, Rieken, Joshua wrote: > > >> -Original Message- >> From: users-boun...@xwiki.org >> [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne >> Sent: Wednesday, February 24, 2010 2:24 PM >> To: XWiki Users >> Subject: Re: [xwiki-users] Scheduler not executing job >> correctly (or at all) >> >> Hi, >> >> I think when you create a job it's not enabled by default. >> You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. > > I scheduled it, but it didn't run. I also tried triggering it manually, but > that didn't work either. Do you have anything in the log ? Maybe there is an error in your script. > > -Joshua > >> >> On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua >> wrote: >> > Hello, >> > >> > I'm attempting to run the following Groovy script with the >> Scheduler app: >> > >> > def eventLog = xwiki.getDocument("CodeTest.TestEventLog") >> > eventLog.setContent(eventLog.getContent() + "This is a test.") >> > eventLog.save() >> > >> > However, this does nothing. I have scheduled the job (which >> is supposed to run every 5 minutes) and triggered it >> manually, but it still doesn't do anything. >> > >> > I also tried surrounding the code with {{groovy}}{{/groovy}}. >> > >> > My cron expression is the following: >> > 0 0/5 * * * ? >> > >> > Running on XWiki Enterprise 2.1.1. >> > >> > Thanks in advance. >> > >> > -Joshua >> > >> > ___ >> > 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 >> > ___ > 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] Scheduler not executing job correctly (or at all)
> -Original Message- > From: users-boun...@xwiki.org > [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne > Sent: Wednesday, February 24, 2010 2:24 PM > To: XWiki Users > Subject: Re: [xwiki-users] Scheduler not executing job > correctly (or at all) > > Hi, > > I think when you create a job it's not enabled by default. > You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. I scheduled it, but it didn't run. I also tried triggering it manually, but that didn't work either. -Joshua > > On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua > wrote: > > Hello, > > > > I'm attempting to run the following Groovy script with the > Scheduler app: > > > > def eventLog = xwiki.getDocument("CodeTest.TestEventLog") > > eventLog.setContent(eventLog.getContent() + "This is a test.") > > eventLog.save() > > > > However, this does nothing. I have scheduled the job (which > is supposed to run every 5 minutes) and triggered it > manually, but it still doesn't do anything. > > > > I also tried surrounding the code with {{groovy}}{{/groovy}}. > > > > My cron expression is the following: > > 0 0/5 * * * ? > > > > Running on XWiki Enterprise 2.1.1. > > > > Thanks in advance. > > > > -Joshua > > > > ___ > > 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 > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Scheduler not executing job correctly (or at all)
Hi, I think when you create a job it's not enabled by default. You have to "schedule" on http://host/xwiki/bin/view/Scheduler/ UI. On Wed, Feb 24, 2010 at 20:44, Rieken, Joshua wrote: > Hello, > > I'm attempting to run the following Groovy script with the Scheduler app: > > def eventLog = xwiki.getDocument("CodeTest.TestEventLog") > eventLog.setContent(eventLog.getContent() + "This is a test.") > eventLog.save() > > However, this does nothing. I have scheduled the job (which is supposed to > run every 5 minutes) and triggered it manually, but it still doesn't do > anything. > > I also tried surrounding the code with {{groovy}}{{/groovy}}. > > My cron expression is the following: > 0 0/5 * * * ? > > Running on XWiki Enterprise 2.1.1. > > Thanks in advance. > > -Joshua > > ___ > 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] How to implement our own SSO in xwiki??
Hi, On Wed, Feb 24, 2010 at 18:55, Nithya Vembu wrote: > > Hi All, > > I am struggling with the implementation of SSO in xwiki. I have few doubts > to ask.. > > I am using my own SSO which use the OpenSSO and its OpenDS for > authentication. There is a authenticator that is doing just that on http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-authenticator-sunsso/ you should reuse it. > > My application, plugin to many application and the base is jboss portal. I > have successfully implemented the jforum inside jboss portal and implemented > my own custom SSO jforum, as the instructions given in jforum. > > But in xwiki i am not seeing any guide lines to implement my own SSO. > Eventhough googling i didnt get the clear idea. I am using pure java and i > cant go for keberos and OpenID concept. > > 1. Whether i can implement my own SSO in xwiki?? When i login in my > application the same user should login in xwiki and the browser session n > cookie should get maintain for the user session..Is it possible? > 2. If so What all are the files i have touch? Where i have to make the > changes for SSO? What is the name of the cookie which is used for sso in > xiwiki now? > 3. What all the changes for SSO? > > Thanks in advance. > > Regards, > Nithya. > -- > View this message in context: > http://n2.nabble.com/How-to-implement-our-own-SSO-in-xwiki-tp4627411p4627411.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
[xwiki-users] Scheduler not executing job correctly (or at all)
Hello, I'm attempting to run the following Groovy script with the Scheduler app: def eventLog = xwiki.getDocument("CodeTest.TestEventLog") eventLog.setContent(eventLog.getContent() + "This is a test.") eventLog.save() However, this does nothing. I have scheduled the job (which is supposed to run every 5 minutes) and triggered it manually, but it still doesn't do anything. I also tried surrounding the code with {{groovy}}{{/groovy}}. My cron expression is the following: 0 0/5 * * * ? Running on XWiki Enterprise 2.1.1. Thanks in advance. -Joshua ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to implement our own SSO in xwiki??
Hi All, I am struggling with the implementation of SSO in xwiki. I have few doubts to ask.. I am using my own SSO which use the OpenSSO and its OpenDS for authentication. My application, plugin to many application and the base is jboss portal. I have successfully implemented the jforum inside jboss portal and implemented my own custom SSO jforum, as the instructions given in jforum. But in xwiki i am not seeing any guide lines to implement my own SSO. Eventhough googling i didnt get the clear idea. I am using pure java and i cant go for keberos and OpenID concept. 1. Whether i can implement my own SSO in xwiki?? When i login in my application the same user should login in xwiki and the browser session n cookie should get maintain for the user session..Is it possible? 2. If so What all are the files i have touch? Where i have to make the changes for SSO? What is the name of the cookie which is used for sso in xiwiki now? 3. What all the changes for SSO? Thanks in advance. Regards, Nithya. -- View this message in context: http://n2.nabble.com/How-to-implement-our-own-SSO-in-xwiki-tp4627411p4627411.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] Registering an event listener automatically
Thanks for the responses, everyone. I really like this idea, Jerome. I see the JIRA issue here: http://jira.xwiki.org/jira/browse/XWIKI-4936 I'll make time to look into implementing it myself. I may need some help, however, so I'll probably be asking some questions. :-) -Joshua > -Original Message- > From: users-boun...@xwiki.org > [mailto:users-boun...@xwiki.org] On Behalf Of Jerome Velociter > Sent: Wednesday, February 24, 2010 10:31 AM > To: users@xwiki.org > Subject: Re: [xwiki-users] Registering an event listener automatically > > On 2/24/10 5:24 PM, Caleb James DeLisle wrote: > > If you're talking about an eventListener in a groovy > script, I think > > it's done with a scheduler. You can look at Vincent's IRC bot which > > does that very thing. > > > http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/i > > rcbot/src/main/resources/IRC/ > > We should probably think about "initializable scripts" to > avoid having to perform this scheduler trick. > > An object of class "XWiki.InitializableScript" with a script > text area? > > Jerome. > > > > > > > Caleb James DeLisle > > > > > > Rieken, Joshua wrote: > >> Hello, > >> > >> I need to find the best way of registering an event > listener automatically on wiki startup. Right now I have to > manually register the listener in a manner similar to the one > illustrated in the Groovy Notification Tutorial > (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotif > icationTutorial). > >> > >> Thanks in advance for any help. > >> > >> - Joshua > >> > >> ___ > >> 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 > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Registering an event listener automatically
On 2/24/10 5:49 PM, Vincent Massol wrote: > > On Feb 24, 2010, at 5:30 PM, Jerome Velociter wrote: > >> On 2/24/10 5:24 PM, Caleb James DeLisle wrote: >>> If you're talking about an eventListener in a groovy script, I think >>> it's done with a scheduler. You can look at Vincent's IRC bot which >>> does that very thing. >>> http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/ >> >> We should probably think about "initializable scripts" to avoid having >> to perform this scheduler trick. >> >> An object of class "XWiki.InitializableScript" with a script text area? > > Yes we have this need that we've discussed with Thomas in the past. I don't > think we have a jira issue if you want to create one. http://jira.xwiki.org/jira/browse/XWIKI-4936 Jerome. > > Thanks > -Vincent > >> Jerome. >> >>> >>> >>> Caleb James DeLisle >>> >>> >>> Rieken, Joshua wrote: Hello, I need to find the best way of registering an event listener automatically on wiki startup. Right now I have to manually register the listener in a manner similar to the one illustrated in the Groovy Notification Tutorial (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial). Thanks in advance for any help. - Joshua > ___ > 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] Translations discussion
Hi, >> Will the new page >> http://l10n.xwiki.org/xwiki/bin/view/Discussions/German >> be ok? Yes thats great. Also i too think that the proposal thomas made would be a better solution in a long term. Thanks hel. - semantic-web.hel.at h...@hel.at -- View this message in context: http://n2.nabble.com/Translations-tp4620146p4627040.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] Registering an event listener automatically
On Feb 24, 2010, at 5:30 PM, Jerome Velociter wrote: > On 2/24/10 5:24 PM, Caleb James DeLisle wrote: >> If you're talking about an eventListener in a groovy script, I think >> it's done with a scheduler. You can look at Vincent's IRC bot which >> does that very thing. >> http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/ > > We should probably think about "initializable scripts" to avoid having > to perform this scheduler trick. > > An object of class "XWiki.InitializableScript" with a script text area? Yes we have this need that we've discussed with Thomas in the past. I don't think we have a jira issue if you want to create one. Thanks -Vincent > Jerome. > >> >> >> Caleb James DeLisle >> >> >> Rieken, Joshua wrote: >>> Hello, >>> >>> I need to find the best way of registering an event listener automatically >>> on wiki startup. Right now I have to manually register the listener in a >>> manner similar to the one illustrated in the Groovy Notification Tutorial >>> (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial). >>> >>> Thanks in advance for any help. >>> >>> - Joshua ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Registering an event listener automatically
On 2/24/10 5:24 PM, Caleb James DeLisle wrote: > If you're talking about an eventListener in a groovy script, I think > it's done with a scheduler. You can look at Vincent's IRC bot which > does that very thing. > http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/ We should probably think about "initializable scripts" to avoid having to perform this scheduler trick. An object of class "XWiki.InitializableScript" with a script text area? Jerome. > > > Caleb James DeLisle > > > Rieken, Joshua wrote: >> Hello, >> >> I need to find the best way of registering an event listener automatically >> on wiki startup. Right now I have to manually register the listener in a >> manner similar to the one illustrated in the Groovy Notification Tutorial >> (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial). >> >> Thanks in advance for any help. >> >> - Joshua >> >> ___ >> 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] Registering an event listener automatically
Hi Joshua, If your listener is located in a jar in WEB-INF/lib then it'll get registered automatically. Make sure it's registered properly as a component. If you're talking about registering some event listener defined in a page using the groovy macro then it's harder. You could have a scheduler job that regularly checks if it's started and if not start it. You could also have a page that remember to call after each xwiki restart (you'd do a wget on it in your start/restart script). Thanks -Vincent On Feb 24, 2010, at 4:52 PM, Rieken, Joshua wrote: > Hello, > > I need to find the best way of registering an event listener automatically on > wiki startup. Right now I have to manually register the listener in a manner > similar to the one illustrated in the Groovy Notification Tutorial > (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial). > > Thanks in advance for any help. > > - Joshua ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Registering an event listener automatically
If you're talking about an eventListener in a groovy script, I think it's done with a scheduler. You can look at Vincent's IRC bot which does that very thing. http://svn.xwiki.org/svnroot/xwiki/platform/xwiki-applications/trunk/ircbot/src/main/resources/IRC/ Caleb James DeLisle Rieken, Joshua wrote: > Hello, > > I need to find the best way of registering an event listener automatically on > wiki startup. Right now I have to manually register the listener in a manner > similar to the one illustrated in the Groovy Notification Tutorial > (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial). > > Thanks in advance for any help. > > - Joshua > > ___ > 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] Registering an event listener automatically
Hello, I need to find the best way of registering an event listener automatically on wiki startup. Right now I have to manually register the listener in a manner similar to the one illustrated in the Groovy Notification Tutorial (http://platform.xwiki.org/xwiki/bin/view/DevGuide/GroovyNotificationTutorial). Thanks in advance for any help. - Joshua ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XOffice : Which (how) .Net version ?
Yeah, I jumped to gun during my evaluation. Sorry about that. Best Regards Simon Glet On Wed, Feb 24, 2010 at 9:33 AM, Guillaume Lerouge wrote: > Hi Simon, > > On Wed, Feb 24, 2010 at 3:23 PM, Simon Glet wrote: > >> Hi Florin, >> >> The installation went perfectly. >> > > See... Give us a little time and eventually all your XWiki gripes get fixed > ;-) > > Guillaume > > >> Thanks >> Simon Glet >> >> On Wed, Feb 24, 2010 at 4:03 AM, Florin Ciubotaru >> wrote: >> > >> > Hi, >> > >> > Republished XOffice versions 1.0 and 1.1 M2. Please let me know how it >> goes. >> > >> > Florin Ciubotaru >> > -- >> > View this message in context: >> http://n2.nabble.com/XOffice-Which-how-Net-version-tp4619189p4624501.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 >> > > > > -- > 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
[xwiki-users] XOffice : login problem
Hi, In order to track my XOffice login problem I installed a HTTP forwarder,logger TcpTrace V0.8.1.717. The tool forwards everything from 8088 to 8090 and back. With the following configuration in XOffice: Server URL : http://localhost:8088/xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin User Name : glets Password : glets The POST is : POST /xwiki-enterprise-web-2.2/bin/login/XWiki/XWikiLogin/xwiki/xmlrpc HTTP/1.1 Content-Type: text/xml User-Agent: XML-RPC.NET Host: localhost:8088 Content-Length: 301 Connection: Keep-Alive confluence1.login glets glets And the reply is : HTTP/1.1 401 Unauthorized Server: Apache-Coyote/1.1 Set-Cookie: JSESSIONID=ADA423739BC3AEC52BBDE47074073A15; Path=/xwiki-enterprise-web-2.2 Pragma: no-cache Cache-Control: no-cache Expires: Wed, 31 Dec 1969 23:59:59 GMT Content-Type: text/html;charset=UTF-8 Content-Language: fr Content-Length: 9329 Date: Wed, 24 Feb 2010 14:57:18 GMT http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; lang="fr" xml:lang="fr"> XWikiLogin (XWiki.XWikiLogin) - XWiki // Actions générales : Inscription xwiki XWiki Recherche default Identification Nom d'Utilisateur: Mot de Passe: Retenez mes identifiants Forgot your username or password? // This wiki is licensed under a http://creativecommons.org/licenses/by/2.0/";>Creative Commons 2.0 license XWiki Enterprise 2.2.27100 - http://enterprise.xwiki.org/xwiki/bin/view/Main/Documentation', '_blank'); return false;" href="http://www.xwiki.org/xwiki/bin/view/Main/Documentation";>Documentation The reply is the login window ... What could be wrong with my setup ? Thanks Simon Glet P.S. : Windows XP SP3, Tomcat 6.0, Office 2007, XOffice 1.1.0.107 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XOffice : Which (how) .Net version ?
Hi Simon, On Wed, Feb 24, 2010 at 3:23 PM, Simon Glet wrote: > Hi Florin, > > The installation went perfectly. > See... Give us a little time and eventually all your XWiki gripes get fixed ;-) Guillaume > Thanks > Simon Glet > > On Wed, Feb 24, 2010 at 4:03 AM, Florin Ciubotaru > wrote: > > > > Hi, > > > > Republished XOffice versions 1.0 and 1.1 M2. Please let me know how it > goes. > > > > Florin Ciubotaru > > -- > > View this message in context: > http://n2.nabble.com/XOffice-Which-how-Net-version-tp4619189p4624501.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 > -- 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] XOffice : Which (how) .Net version ?
Hi Florin, The installation went perfectly. Thanks Simon Glet On Wed, Feb 24, 2010 at 4:03 AM, Florin Ciubotaru wrote: > > Hi, > > Republished XOffice versions 1.0 and 1.1 M2. Please let me know how it goes. > > Florin Ciubotaru > -- > View this message in context: > http://n2.nabble.com/XOffice-Which-how-Net-version-tp4619189p4624501.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] Translations
On Feb 24, 2010, at 12:47 PM, Vincent Massol wrote: > Hi Stefan, > > On Feb 24, 2010, at 9:59 AM, Vincent Massol wrote: > >> Hi Stefan, >> >> On Feb 24, 2010, at 9:46 AM, stefan bachert wrote: >> >>> Hi, >>> >>> some texts used in the login dialog are neither in >>> ApplicationResources_de.properties nor in ApplicationResources.properties >>> nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and >>> inefficient. >> >> This is not very polite. I'd suggest you refrain yourself from criticizing >> too strongly the work of others unless you can prove you can do better. It's >> also not the way you're going to get more of the free support you've been >> getting for the past several days here. > > Ok I was told that you probably didn't really mean "ugly". Words are powerful > so they need to be chosen carefully... > > Sergiu pointed to me that on small resolutions the table is overflowing on > the main page. It used to work fine so someone must have changed the CSS. > This can be fixed easily. I've pinged Caty (she's done the theme/CSS for > l10n) to see if she can fix it. ok I think I've fixed it. Let me know if it's good for you now. Thanks -Vincent > > Criticism is good and really needed to improve so please continue reporting > shortfalls but please try to say them in a nice manner, that helps a lot. And > if you have suggestions we'd love to hear them too. > >> Now on a positive thought: >> Why don't you improve it? Just send patches and xwiki committers will review >> them and commit them if they're good. > > That still stands! All help is most welcome. Nobody is "responsible" for l10n > and everyone tries to help in his free time. > > Thanks > -Vincent (speaking for myself here of course, I'm not representing the xwiki > project or anything like that) > >> >>> You can drink a cup of coffee after sending a request >> >> Thanks >> -Vincent >> >>> The following text is part of the login dialog >>> key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) >>> Text:Auf diesem Computer angemeldet bleiben >>> >>> However, there are translated texts like "Forgot your username?". Obviously >>> they are not used at this place. >>> >>> it seems on the long run I have to check the code directly. >>> >>> >>> Stefan Bachert >>> >>> >>> >>> >>> >>> >>> >>> Von: Thomas Mortagne >>> An: XWiki Users >>> Gesendet: Dienstag, den 23. Februar 2010, 22:59:31 Uhr >>> Betreff: Re: [xwiki-users] Translations >>> >>> On Tue, Feb 23, 2010 at 17:30, stefan bachert >>> wrote: Hi, to translate texts into a more correct german I extracted ApplicationResources_de.properties to WEB_INF/lib. This seems to work. I am willing to share this with others, however, it would took days when I am using the i10n.xwiki.org facility. However, some translation I did not found. One of them comes up when trying to login. In the last line of the dialog the texts are still in english "Forgot your username or password". This text is NOT part of the property file. Where is the place to translate this texts? >>> >>> You don't have it in the ApplicationResources_de.properties because no >>> translation has been provided for it. The place to translate any text >>> in always http://l10n.xwiki.org, i doubt you can't find the right keys >>> in it. >>> Stefan Bachert > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations discussion
On Wed, Feb 24, 2010 at 14:35, Vincent Massol wrote: > > On Feb 24, 2010, at 2:33 PM, Thomas Mortagne wrote: > >> On Wed, Feb 24, 2010 at 13:18, Valdis Vītoliņš >> wrote: >>> Will the new page >>> http://l10n.xwiki.org/xwiki/bin/view/Discussions/German >>> be ok? >> >> Could you look at my general proposal on the original mail thread. I >> think it's better than creating wild discussion pages on l10n wiki. > > I probably missed this proposal. Thomas would you have a link? that's on the "[xwiki-users] Translations" thread started by stefan bachert where hel-o asked for the same thing: a place to discuss translations rules > > Thanks > -Vincent > >>> Valdis >>> Hi, id also like to suggest, that we come to some form of cooperation in doing the german translation since i did most part of it till yet (and hope that not all of it is incorrect german :). One question to the developers is there a possibility to have a editable page or space in the translation wiki wher translators could share their thougts and keep a terminology for their language. Thanks hel. > > ___ > 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] Translations discussion
On Feb 24, 2010, at 2:33 PM, Thomas Mortagne wrote: > On Wed, Feb 24, 2010 at 13:18, Valdis Vītoliņš wrote: >> Will the new page >> http://l10n.xwiki.org/xwiki/bin/view/Discussions/German >> be ok? > > Could you look at my general proposal on the original mail thread. I > think it's better than creating wild discussion pages on l10n wiki. I probably missed this proposal. Thomas would you have a link? Thanks -Vincent >> Valdis >> >>> Hi, >>> >>> id also like to suggest, that we come to some form of cooperation in doing >>> the german translation since i did most part of it till yet (and hope that >>> not all of it is incorrect german :). >>> >>> One question to the developers is there a possibility to have a editable >>> page or space in the translation wiki wher translators could share their >>> thougts and keep a terminology for their language. >>> >>> Thanks >>> hel. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations discussion
On Feb 24, 2010, at 2:30 PM, Vincent Massol wrote: > > On Feb 24, 2010, at 1:18 PM, Valdis Vītoliņš wrote: > >> Will the new page >> http://l10n.xwiki.org/xwiki/bin/view/Discussions/German >> be ok? > > This sounds like a very good idea to me! For now I've added a link from the Quick Links panel. Thanks -Vincent >> Valdis >> >>> Hi, >>> >>> id also like to suggest, that we come to some form of cooperation in doing >>> the german translation since i did most part of it till yet (and hope that >>> not all of it is incorrect german :). >>> >>> One question to the developers is there a possibility to have a editable >>> page or space in the translation wiki wher translators could share their >>> thougts and keep a terminology for their language. >>> >>> Thanks >>> hel. > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations discussion
On Wed, Feb 24, 2010 at 13:18, Valdis Vītoliņš wrote: > Will the new page > http://l10n.xwiki.org/xwiki/bin/view/Discussions/German > be ok? Could you look at my general proposal on the original mail thread. I think it's better than creating wild discussion pages on l10n wiki. > > Valdis > >> Hi, >> >> id also like to suggest, that we come to some form of cooperation in doing >> the german translation since i did most part of it till yet (and hope that >> not all of it is incorrect german :). >> >> One question to the developers is there a possibility to have a editable >> page or space in the translation wiki wher translators could share their >> thougts and keep a terminology for their language. >> >> Thanks >> hel. >> >> >> >> - >> semantic-web.hel.at >> h...@hel.at >> > > > ___ > 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] Translations discussion
On Feb 24, 2010, at 1:18 PM, Valdis Vītoliņš wrote: > Will the new page > http://l10n.xwiki.org/xwiki/bin/view/Discussions/German > be ok? This sounds like a very good idea to me! Thanks -Vincent > > Valdis > >> Hi, >> >> id also like to suggest, that we come to some form of cooperation in doing >> the german translation since i did most part of it till yet (and hope that >> not all of it is incorrect german :). >> >> One question to the developers is there a possibility to have a editable >> page or space in the translation wiki wher translators could share their >> thougts and keep a terminology for their language. >> >> Thanks >> hel. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations
On Wed, Feb 24, 2010 at 11:55, hel-o wrote: > > Hi, > > id also like to suggest, that we come to some form of cooperation in doing > the german translation since i did most part of it till yet (and hope that > not all of it is incorrect german :). > > One question to the developers is there a possibility to have a editable > page or space in the translation wiki wher translators could share their > thougts and keep a terminology for their language. Sounds a good idea indeed. We could have a page by language you access by clicking on the flags on the right for example. When you are in the main page it goes to a page related to the whole wiki and then you can also create a page related to each application that has the global page as parent (the flag panel would change the link based on the context). Lets say /L10N/TranslationRules: general rules whatever the application or language /L10N/TranslationRules_: general rules about the language "language" whatever the application //TranslationRules : any specific about the application "APP" whatever the language //TranslationRules_: any specific about the application "APP" in language "language" For a specific translation key you can directly comment on the translation page like http://l10n.xwiki.org/xwiki/bin/view/Wysiwyg/WysiwygStringsproperties_-541814232_imageTooltip_zh_TW What don't you think ? > > Thanks > hel. > > > > - > semantic-web.hel.at > h...@hel.at > > -- > View this message in context: > http://n2.nabble.com/Translations-tp4620146p4624988.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] Translations discussion
Will the new page http://l10n.xwiki.org/xwiki/bin/view/Discussions/German be ok? Valdis > Hi, > > id also like to suggest, that we come to some form of cooperation in doing > the german translation since i did most part of it till yet (and hope that > not all of it is incorrect german :). > > One question to the developers is there a possibility to have a editable > page or space in the translation wiki wher translators could share their > thougts and keep a terminology for their language. > > Thanks > hel. > > > > - > semantic-web.hel.at > h...@hel.at > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations
Hi Stefan, bitte nicht schimpfen, lieber mitmachen und helfen … Please don't rant on how bad is XWiki internationalized - better help to improve translations. XWiki it open source peoduct, that means: You have always free choice: - not to use XWiki, if you find it bad - to consume XWiki and be satisfied with the work of other people, which you get for free - participate in the development if you will have it better. It was a great work of many contributors to get XWiki running in different languages. This work is not finished yet and any help is appreciated. E.g. there are some missing translations and hard coded messages in English – partially in javascript files from third party developers, partially in xml files from a default set of XWiki pages (.xar-Archiv), partially in templates. As to your question: >> In the last line of the dialog the texts are still in english "Forgot >> your username or password". This message comes from /templates/login.vm #if($xwiki.exists("XWiki.ResetPassword")) Forgot your $xwiki.getURL('XWiki.ForgotUsername') username or $xwiki.getURL('XWiki.ResetPassword') password ? #end - just translate english words in German. Or better – create one new keyword for this message and replace it with $msg.get (‘keyword’). If you are not satisfied or don't agree with the meaning of some translations in ApplicationResources_de file, you can also create your own local page with translations inside your wiki – in this case values from ApplicationRecourses_de will be overwritten - see “Using properties located in XWiki pages“) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications - Best Regards, Alla -- View this message in context: http://n2.nabble.com/Translations-tp4620146p4625326.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] Translations
Hi Stefan, On Feb 24, 2010, at 9:59 AM, Vincent Massol wrote: > Hi Stefan, > > On Feb 24, 2010, at 9:46 AM, stefan bachert wrote: > >> Hi, >> >> some texts used in the login dialog are neither in >> ApplicationResources_de.properties nor in ApplicationResources.properties >> nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and inefficient. > > This is not very polite. I'd suggest you refrain yourself from criticizing > too strongly the work of others unless you can prove you can do better. It's > also not the way you're going to get more of the free support you've been > getting for the past several days here. Ok I was told that you probably didn't really mean "ugly". Words are powerful so they need to be chosen carefully... Sergiu pointed to me that on small resolutions the table is overflowing on the main page. It used to work fine so someone must have changed the CSS. This can be fixed easily. I've pinged Caty (she's done the theme/CSS for l10n) to see if she can fix it. Criticism is good and really needed to improve so please continue reporting shortfalls but please try to say them in a nice manner, that helps a lot. And if you have suggestions we'd love to hear them too. > Now on a positive thought: > Why don't you improve it? Just send patches and xwiki committers will review > them and commit them if they're good. That still stands! All help is most welcome. Nobody is "responsible" for l10n and everyone tries to help in his free time. Thanks -Vincent (speaking for myself here of course, I'm not representing the xwiki project or anything like that) > >> You can drink a cup of coffee after sending a request > > Thanks > -Vincent > >> The following text is part of the login dialog >> key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) >> Text:Auf diesem Computer angemeldet bleiben >> >> However, there are translated texts like "Forgot your username?". Obviously >> they are not used at this place. >> >> it seems on the long run I have to check the code directly. >> >> >> Stefan Bachert >> >> >> >> >> >> >> >> Von: Thomas Mortagne >> An: XWiki Users >> Gesendet: Dienstag, den 23. Februar 2010, 22:59:31 Uhr >> Betreff: Re: [xwiki-users] Translations >> >> On Tue, Feb 23, 2010 at 17:30, stefan bachert wrote: >>> Hi, >>> >>> to translate texts into a more correct german I extracted >>> ApplicationResources_de.properties to WEB_INF/lib. >>> This seems to work. I am willing to share this with others, however, it >>> would took days when I am using the i10n.xwiki.org facility. >>> >>> >>> However, some translation I did not found. One of them comes up when trying >>> to login. >>> In the last line of the dialog the texts are still in english "Forgot your >>> username or password". >>> This text is NOT part of the property file. >>> Where is the place to translate this texts? >> >> You don't have it in the ApplicationResources_de.properties because no >> translation has been provided for it. The place to translate any text >> in always http://l10n.xwiki.org, i doubt you can't find the right keys >> in it. >> >>> >>> Stefan Bachert ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations
On 02/24/2010 11:55 AM, hel-o wrote: > > Hi, > > id also like to suggest, that we come to some form of cooperation in doing > the german translation since i did most part of it till yet (and hope that > not all of it is incorrect german :). > > One question to the developers is there a possibility to have a editable > page or space in the translation wiki wher translators could share their > thougts and keep a terminology for their language. Yes, we did this for .ro at http://l10n.xwiki.org/xwiki/bin/view/Discussion/XE_Ro You can google-translate it to see what kind of discussion we had. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problems with links
I opened http://jira.xwiki.org/jira/browse/XWIKI-4931 . I'm looking for a clean fix. Thanks, Marius Marius Dumitru Florea wrote: > Hi Claudio, > > ccoreggioli wrote: >> Hi Marius, >> >> i prepared a test environment where i can always reproduce the problem, if >> you want to try it. >> >> You can edit this page: >> >> https://www.gidi.it/xwiki/bin/view/Claudio/ProvaLink > > I managed to reproduce the issue on a virtual machine with IE7. Sorry > for not letting you know. I've been busy all day debugging. It seems > IE7's implementation of cloneNode and removeAttribute is buggy. For > instance the following code crashes the browser: > > {{html}} > > function testRemoveAttribute(element, attributeName) { >var clone = element.cloneNode(); >clone.removeAttribute(attributeName); >var attrNode = element.getAttributeNode(attributeName); >return !!attrNode ? attrNode.specified : 'missing'; > } > function action(hook) { >var attrName = 'foobar'; >var element = document.createElement('span'); >element.setAttribute(attrName, 'xwiki'); >alert(testRemoveAttribute(element, attrName)); >alert(testRemoveAttribute(element, attrName)); >alert(testRemoveAttribute(element, attrName)); > } > > Action > {{/html}} > > The behavior is really strange. I'm just cloning an element and removing > an attribute from the clone. The first time the original element still > has the attribute, the second time the attribute appears as unspecified, > and the third time the browser crashes. > > I rely on cloneNode and removeAttribute for "serializing" the content > before submitting it. I still don't understand why the "serialization" > doesn't fail all the time but just when you edit the text around the > link. I'm still investigating. I'll try to fix this issue asap. > >> since i made you admin of "Claudio" space. The site is quite slow, due to a >> couple of "bounces" before the real server (proxying & mod_jk), but i assure >> you that i face the same behaviour going directly to it. Site is in https, >> but after logon you'll be redirected to the http version, that doesn't work >> from outside my company (public site cannot be touched). Simply change the >> protocol back to https and you'll be in again. >> >> You can use marius for both username and password. > > Thanks again for your support. I hope to have a fix asap. I'll continue > debugging on my virtual machine. > > Thanks, > Marius > >> As said, the issue is with IE7. I got version 7.0.5730.13 running on XP sp3. >> Every other browsers work fine. >> >> Thanks again, >> claudio >> > ___ > 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] [myxwiki] new wiki request
On 02/24/2010 08:28 AM, Vincent Massol wrote: > > On Feb 24, 2010, at 2:06 AM, Sergiu Dumitriu wrote: > >> On 02/23/2010 10:43 PM, david laure wrote: >>> Hi ! >>> >>> I am working for www.planetemer.org as a webmaster and I would like to >>> present my coleagues the tool. >>> We are often working on projects documents, and 'several-hands-writting' >>> tool would be useful. >>> Is it possible in this npo version to have different profiles and co-edit a >>> dozen of documents ? >> >> This wiki is fully functional, there are no limits, but it doesn't have >> an uptime guarantee. > > The rules are defined on this page: > http://myxwiki.org/ >> >> It is possible to co-edit, but only by taking turns, there is no >> realtime synchronization like in Google Docs yet (but it will come soon). > > I wouldn't say "soon", especially since we promised it "soon" already about > 1.5 years ago... Let's be prudent this time and if it comes soon then we'll > exceed people's expectations :) Yeah, OK, I admit that my definition of "soon" doesn't exactly correspond to what people normally understand by "soon". It should be ready in less than 2 years. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Search for translations
> >> Actually I'd like to change it once more because for me searching by > >> (poorly) translated text, not the key is more usual. What do you think? > > > > Yes good idea. I could easily do a extended search form I guess like: > > > > o search in translated > > o search in original > > o search in key It is already implemented in http://l10n.xwiki.org/xwiki/bin/view/L10N/Search I propose to change "Search translation" field shown in home page from key to translated text in panel http://l10n.xwiki.org/xwiki/bin/view/L10NCode/SearchPanel (I have no edit rights to do it myself). > Hmm i never tried the search before now and indeed it's very slow i > will see if i can do something to improve it. Good luck in your investigation! Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations
On Wed, Feb 24, 2010 at 11:56, Thomas Mortagne wrote: > On Wed, Feb 24, 2010 at 11:55, Thomas Mortagne > wrote: >> On Wed, Feb 24, 2010 at 11:52, Thomas Mortagne >> wrote: >>> On Wed, Feb 24, 2010 at 10:38, Valdis Vītoliņš >>> wrote: I can share my experience as localizer for Xwiki in Latvian. > Hi, > some texts used in the login dialog are neither in > ApplicationResources_de.properties nor in ApplicationResources.properties > nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and > inefficient. You can drink a cup of coffee after sending a request First few thousand of lines I translated offline using resource file and it was imported by Ludovic Dubost. >>> >>> Yes that's what is explained on >>> http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage >>> Further improvements/additions I do online. Provided search was not good enough for me, so I helped to improve it. Actually I'd like to change it once more because for me searching by (poorly) translated text, not the key is more usual. What do you think? >>> >>> Yes good idea. I could easily do a extended search form I guess like: >>> >>> o search in translated >>> o search in original >>> o search in key >>> To solve issue that site is quite slow, it should be investigated about caching possibilities, or import/export tool would be nice, but somebody >>> >>> There is a lot of caching, if you load a page once then it's >>> refreshing instantly after. Now when you modify something the caches >>> that can be changed by the modification made are cleaned and so take >>> so time to reconstruct the stats tables. We could improve that by >>> modifying the cache instead of cleaning it but it's more work. >> >> Hmm i never tried the search before now and indeed it's very slow i >> will see if i can do something to improve it. > > And by the way after searching something you go to > http://l10n.xwiki.org/xwiki/bin/view/L10N/Search and here you have an > extended search already. (If you use the search panel or the left, and not the standard XWiki search) > >> >>> needs to develop it. Though, if so many people can live with Windows, i10n.xwiki.org is not the worst one, which teaches us to manage our time with computer accordingly ;-) > The following text is part of the login dialog > key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) > Text:Auf diesem Computer angemeldet bleiben > > However, there are translated texts like "Forgot your username?". > Obviously they are not used at this place. > it seems on the long run I have to check the code directly. Currently not all labels are made to use external resources, but it is changing incrementally. Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users >>> >>> >>> >>> -- >>> Thomas Mortagne >>> >> >> >> >> -- >> Thomas Mortagne >> > > > > -- > Thomas Mortagne > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Translations
On Wed, Feb 24, 2010 at 11:52, Thomas Mortagne wrote: > On Wed, Feb 24, 2010 at 10:38, Valdis Vītoliņš wrote: >> I can share my experience as localizer for Xwiki in Latvian. >> >>> Hi, >>> some texts used in the login dialog are neither in >>> ApplicationResources_de.properties nor in ApplicationResources.properties >>> nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and >>> inefficient. You can drink a cup of coffee after sending a request >> >> First few thousand of lines I translated offline using resource file and >> it was imported by Ludovic Dubost. > > Yes that's what is explained on > http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage > >> Further improvements/additions I do online. Provided search was not good >> enough for me, so I helped to improve it. >> Actually I'd like to change it once more because for me searching by >> (poorly) translated text, not the key is more usual. What do you think? > > Yes good idea. I could easily do a extended search form I guess like: > > o search in translated > o search in original > o search in key > >> >> To solve issue that site is quite slow, it should be investigated about >> caching possibilities, or import/export tool would be nice, but somebody > > There is a lot of caching, if you load a page once then it's > refreshing instantly after. Now when you modify something the caches > that can be changed by the modification made are cleaned and so take > so time to reconstruct the stats tables. We could improve that by > modifying the cache instead of cleaning it but it's more work. Hmm i never tried the search before now and indeed it's very slow i will see if i can do something to improve it. > >> needs to develop it. >> Though, if so many people can live with Windows, i10n.xwiki.org is not >> the worst one, which teaches us to manage our time with computer >> accordingly ;-) >> >>> The following text is part of the login dialog >>> key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) >>> Text:Auf diesem Computer angemeldet bleiben >>> >>> However, there are translated texts like "Forgot your username?". Obviously >>> they are not used at this place. >>> it seems on the long run I have to check the code directly. >> >> Currently not all labels are made to use external resources, but it is >> changing incrementally. >> >> Valdis >> >> ___ >> 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
Re: [xwiki-users] Translations
On Wed, Feb 24, 2010 at 11:55, Thomas Mortagne wrote: > On Wed, Feb 24, 2010 at 11:52, Thomas Mortagne > wrote: >> On Wed, Feb 24, 2010 at 10:38, Valdis Vītoliņš >> wrote: >>> I can share my experience as localizer for Xwiki in Latvian. >>> Hi, some texts used in the login dialog are neither in ApplicationResources_de.properties nor in ApplicationResources.properties nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and inefficient. You can drink a cup of coffee after sending a request >>> >>> First few thousand of lines I translated offline using resource file and >>> it was imported by Ludovic Dubost. >> >> Yes that's what is explained on >> http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage >> >>> Further improvements/additions I do online. Provided search was not good >>> enough for me, so I helped to improve it. >>> Actually I'd like to change it once more because for me searching by >>> (poorly) translated text, not the key is more usual. What do you think? >> >> Yes good idea. I could easily do a extended search form I guess like: >> >> o search in translated >> o search in original >> o search in key >> >>> >>> To solve issue that site is quite slow, it should be investigated about >>> caching possibilities, or import/export tool would be nice, but somebody >> >> There is a lot of caching, if you load a page once then it's >> refreshing instantly after. Now when you modify something the caches >> that can be changed by the modification made are cleaned and so take >> so time to reconstruct the stats tables. We could improve that by >> modifying the cache instead of cleaning it but it's more work. > > Hmm i never tried the search before now and indeed it's very slow i > will see if i can do something to improve it. And by the way after searching something you go to http://l10n.xwiki.org/xwiki/bin/view/L10N/Search and here you have an extended search already. > >> >>> needs to develop it. >>> Though, if so many people can live with Windows, i10n.xwiki.org is not >>> the worst one, which teaches us to manage our time with computer >>> accordingly ;-) >>> The following text is part of the login dialog key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) Text:Auf diesem Computer angemeldet bleiben However, there are translated texts like "Forgot your username?". Obviously they are not used at this place. it seems on the long run I have to check the code directly. >>> >>> Currently not all labels are made to use external resources, but it is >>> changing incrementally. >>> >>> Valdis >>> >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >>> >> >> >> >> -- >> Thomas Mortagne >> > > > > -- > Thomas Mortagne > -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Autoincrement value in class
Thanks. -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Jeremie BOUSQUET Enviado el: miércoles, 24 de febrero de 2010 11:16 Para: XWiki Users Asunto: Re: [xwiki-users] Autoincrement value in class Well, You can't execute code directly in a class property, you have to manage this code at object creation time. I see another possibility, if your matter is only that the Id should be unique, you can directly use the Id of the object as Id of your bug. In a HQL request it would be merely a "select obj.id from BaseObject obj where ..." to retrieve the ids of the bugs, and you would not have to manage this id at all. If you really need the bugs ids to be consecutive, and you have a property "bugid" in your class, you can use something like the following to retrieve last id before creating a new bug : {{velocity}} #set($sql="select max(ints.value) from IntegerProperty ints where ints.name ='bugid'") #set($max=$xwiki.search($sql)[0]) {{/velocity}} Then increment and use it to set value for 'bugid' in object to create. You could also imagine adding all bug objects to the same xwiki documents, and Ids will directly be the number of the object. But this might not be very efficient if you have a large number of bugs in the system. Of course I admit you programmatically create the new bugs in a page using $doc.newObject(...). And it could be a good idea to check the range of possible ids and check the max is not reached ;) Jeremie 2010/2/24 Hernández Cuchí, Francisco Ricardo > I need it because I am using the xwiki for tracking bugs and errors for a > external development. I goes quite good. And to get a unique identifier for > every "bug" created. > > How can I get some code executed in one of the properties of the class, so > the property get's the value you mentioned? > > Regards > > Francisco > > > -Mensaje original- > De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de > Jeremie BOUSQUET > Enviado el: miércoles, 24 de febrero de 2010 9:54 > Para: XWiki Users > Asunto: Re: [xwiki-users] Autoincrement value in class > > Hi, > > Do you mean, a property value that autoincrements each time you create an > object of this class ? > I don't think there is "built-in" ... But if you manage the process of > creation of objects, you can code the autoincrement yourself (for example > searching last value from most recent object then incrementing for new > object). > > What do you need this for ? > > Jeremie > > 2010/2/23 Hernández Cuchí, Francisco Ricardo > > > Hello, > > > > > > > > I would like to create a class, with a number property that will be > > autoincrement. Is it posible? How can I do it? > > > > > > > > Thanks > > > > > > > > Francisco > > > > > > > > -- > > > > Francisco Hernández Cuchí > > > > Jefe de Servicios Sistemas de Información > > > > OFICINA ESPAÑOLA DE PATENTES Y MARCAS > > > > > > > > > > > ** > > IMPORTANTE: El contenido de este correo y ficheros adjuntos es > confidencial > > y está dirigido únicamente > > para el destinatario/s. > > Si Ud recibe este correo por error, por favor póngase en contacto con su > > administrador de correo o con el > > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > > *** Este correo ha sido escaneado de virus y contenido malicioso *** > > > > > ** > > ___ > > 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 > > ** > IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial > y está dirigido únicamente > para el destinatario/s. > Si Ud recibe este correo por error, por favor póngase en contacto con su > administrador de correo o con el > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > *** Este correo ha sido escaneado de virus y contenido malicioso *** > > ** > > ___ > 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 ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administr
Re: [xwiki-users] Translations
Hi, id also like to suggest, that we come to some form of cooperation in doing the german translation since i did most part of it till yet (and hope that not all of it is incorrect german :). One question to the developers is there a possibility to have a editable page or space in the translation wiki wher translators could share their thougts and keep a terminology for their language. Thanks hel. - semantic-web.hel.at h...@hel.at -- View this message in context: http://n2.nabble.com/Translations-tp4620146p4624988.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] Translations
On Wed, Feb 24, 2010 at 10:38, Valdis Vītoliņš wrote: > I can share my experience as localizer for Xwiki in Latvian. > >> Hi, >> some texts used in the login dialog are neither in >> ApplicationResources_de.properties nor in ApplicationResources.properties >> nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and >> inefficient. You can drink a cup of coffee after sending a request > > First few thousand of lines I translated offline using resource file and > it was imported by Ludovic Dubost. Yes that's what is explained on http://l10n.xwiki.org/xwiki/bin/view/L10N/AddALanguage > Further improvements/additions I do online. Provided search was not good > enough for me, so I helped to improve it. > Actually I'd like to change it once more because for me searching by > (poorly) translated text, not the key is more usual. What do you think? Yes good idea. I could easily do a extended search form I guess like: o search in translated o search in original o search in key > > To solve issue that site is quite slow, it should be investigated about > caching possibilities, or import/export tool would be nice, but somebody There is a lot of caching, if you load a page once then it's refreshing instantly after. Now when you modify something the caches that can be changed by the modification made are cleaned and so take so time to reconstruct the stats tables. We could improve that by modifying the cache instead of cleaning it but it's more work. > needs to develop it. > Though, if so many people can live with Windows, i10n.xwiki.org is not > the worst one, which teaches us to manage our time with computer > accordingly ;-) > >> The following text is part of the login dialog >> key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) >> Text:Auf diesem Computer angemeldet bleiben >> >> However, there are translated texts like "Forgot your username?". Obviously >> they are not used at this place. >> it seems on the long run I have to check the code directly. > > Currently not all labels are made to use external resources, but it is > changing incrementally. > > Valdis > > ___ > 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] Translations
On Wed, Feb 24, 2010 at 09:46, stefan bachert wrote: > Hi, > > some texts used in the login dialog are neither in > ApplicationResources_de.properties nor in ApplicationResources.properties > nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and inefficient. > You can drink a cup of coffee after sending a request If the key you are searching is not in ApplicationResources.properties then that's the bug and the text you are trying to translate is probably hardcoded and does not use l10n system. You should report it on http://jira.xwiki.org > > The following text is part of the login dialog > key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) > Text:Auf diesem Computer angemeldet bleiben > > However, there are translated texts like "Forgot your username?". Obviously > they are not used at this place. > > it seems on the long run I have to check the code directly. > > > Stefan Bachert > > > > > > > > Von: Thomas Mortagne > An: XWiki Users > Gesendet: Dienstag, den 23. Februar 2010, 22:59:31 Uhr > Betreff: Re: [xwiki-users] Translations > > On Tue, Feb 23, 2010 at 17:30, stefan bachert wrote: >> Hi, >> >> to translate texts into a more correct german I extracted >> ApplicationResources_de.properties to WEB_INF/lib. >> This seems to work. I am willing to share this with others, however, it >> would took days when I am using the i10n.xwiki.org facility. >> >> >> However, some translation I did not found. One of them comes up when trying >> to login. >> In the last line of the dialog the texts are still in english "Forgot your >> username or password". >> This text is NOT part of the property file. >> Where is the place to translate this texts? > > You don't have it in the ApplicationResources_de.properties because no > translation has been provided for it. The place to translate any text > in always http://l10n.xwiki.org, i doubt you can't find the right keys > in it. > >> >> Stefan Bachert >> >> >> __ >> Do You Yahoo!? >> Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz >> gegen Massenmails. >> http://mail.yahoo.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 > > > __ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.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] Autoincrement value in class
Well, You can't execute code directly in a class property, you have to manage this code at object creation time. I see another possibility, if your matter is only that the Id should be unique, you can directly use the Id of the object as Id of your bug. In a HQL request it would be merely a "select obj.id from BaseObject obj where ..." to retrieve the ids of the bugs, and you would not have to manage this id at all. If you really need the bugs ids to be consecutive, and you have a property "bugid" in your class, you can use something like the following to retrieve last id before creating a new bug : {{velocity}} #set($sql="select max(ints.value) from IntegerProperty ints where ints.name ='bugid'") #set($max=$xwiki.search($sql)[0]) {{/velocity}} Then increment and use it to set value for 'bugid' in object to create. You could also imagine adding all bug objects to the same xwiki documents, and Ids will directly be the number of the object. But this might not be very efficient if you have a large number of bugs in the system. Of course I admit you programmatically create the new bugs in a page using $doc.newObject(...). And it could be a good idea to check the range of possible ids and check the max is not reached ;) Jeremie 2010/2/24 Hernández Cuchí, Francisco Ricardo > I need it because I am using the xwiki for tracking bugs and errors for a > external development. I goes quite good. And to get a unique identifier for > every "bug" created. > > How can I get some code executed in one of the properties of the class, so > the property get's the value you mentioned? > > Regards > > Francisco > > > -Mensaje original- > De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de > Jeremie BOUSQUET > Enviado el: miércoles, 24 de febrero de 2010 9:54 > Para: XWiki Users > Asunto: Re: [xwiki-users] Autoincrement value in class > > Hi, > > Do you mean, a property value that autoincrements each time you create an > object of this class ? > I don't think there is "built-in" ... But if you manage the process of > creation of objects, you can code the autoincrement yourself (for example > searching last value from most recent object then incrementing for new > object). > > What do you need this for ? > > Jeremie > > 2010/2/23 Hernández Cuchí, Francisco Ricardo > > > Hello, > > > > > > > > I would like to create a class, with a number property that will be > > autoincrement. Is it posible? How can I do it? > > > > > > > > Thanks > > > > > > > > Francisco > > > > > > > > -- > > > > Francisco Hernández Cuchí > > > > Jefe de Servicios Sistemas de Información > > > > OFICINA ESPAÑOLA DE PATENTES Y MARCAS > > > > > > > > > > > ** > > IMPORTANTE: El contenido de este correo y ficheros adjuntos es > confidencial > > y está dirigido únicamente > > para el destinatario/s. > > Si Ud recibe este correo por error, por favor póngase en contacto con su > > administrador de correo o con el > > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > > *** Este correo ha sido escaneado de virus y contenido malicioso *** > > > > > ** > > ___ > > 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 > > ** > IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial > y está dirigido únicamente > para el destinatario/s. > Si Ud recibe este correo por error, por favor póngase en contacto con su > administrador de correo o con el > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > *** Este correo ha sido escaneado de virus y contenido malicioso *** > > ** > > ___ > 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] Translations
I can share my experience as localizer for Xwiki in Latvian. > Hi, > some texts used in the login dialog are neither in > ApplicationResources_de.properties nor in ApplicationResources.properties > nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and inefficient. > You can drink a cup of coffee after sending a request First few thousand of lines I translated offline using resource file and it was imported by Ludovic Dubost. Further improvements/additions I do online. Provided search was not good enough for me, so I helped to improve it. Actually I'd like to change it once more because for me searching by (poorly) translated text, not the key is more usual. What do you think? To solve issue that site is quite slow, it should be investigated about caching possibilities, or import/export tool would be nice, but somebody needs to develop it. Though, if so many people can live with Windows, i10n.xwiki.org is not the worst one, which teaches us to manage our time with computer accordingly ;-) > The following text is part of the login dialog > key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) > Text:Auf diesem Computer angemeldet bleiben > > However, there are translated texts like "Forgot your username?". Obviously > they are not used at this place. > it seems on the long run I have to check the code directly. Currently not all labels are made to use external resources, but it is changing incrementally. Valdis ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] GWT based Wiki editor
Hi Bogdan, Bogdan Flueras wrote: > Hy all, > If i correctly understood, there is a GWT based wiki editor. It is wright? > It is on the svn so i can check it out ? We have a GWT based WYSIWYG editor that can be used along with XWiki's Rendering Engine to generate wiki syntax. We also have a pure wiki editor but it's nothing fancy, just a plain text area with some helper buttons to insert common wiki syntax. If you're interested in the WYSIWYG editor then you can check out the sources from http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/ Hope this helps, Marius > > > Thanks. > ___ > 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] GWT based Wiki editor
Hy all, If i correctly understood, there is a GWT based wiki editor. It is wright? It is on the svn so i can check it out ? Thanks. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Autoincrement value in class
I need it because I am using the xwiki for tracking bugs and errors for a external development. I goes quite good. And to get a unique identifier for every "bug" created. How can I get some code executed in one of the properties of the class, so the property get's the value you mentioned? Regards Francisco -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Jeremie BOUSQUET Enviado el: miércoles, 24 de febrero de 2010 9:54 Para: XWiki Users Asunto: Re: [xwiki-users] Autoincrement value in class Hi, Do you mean, a property value that autoincrements each time you create an object of this class ? I don't think there is "built-in" ... But if you manage the process of creation of objects, you can code the autoincrement yourself (for example searching last value from most recent object then incrementing for new object). What do you need this for ? Jeremie 2010/2/23 Hernández Cuchí, Francisco Ricardo > Hello, > > > > I would like to create a class, with a number property that will be > autoincrement. Is it posible? How can I do it? > > > > Thanks > > > > Francisco > > > > -- > > Francisco Hernández Cuchí > > Jefe de Servicios Sistemas de Información > > OFICINA ESPAÑOLA DE PATENTES Y MARCAS > > > > > ** > IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial > y está dirigido únicamente > para el destinatario/s. > Si Ud recibe este correo por error, por favor póngase en contacto con su > administrador de correo o con el > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > *** Este correo ha sido escaneado de virus y contenido malicioso *** > > ** > ___ > 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 ** IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial y está dirigido únicamente para el destinatario/s. Si Ud recibe este correo por error, por favor póngase en contacto con su administrador de correo o con el emisor immediatamente y no difunda su contenido a nadie ni haga copias. *** Este correo ha sido escaneado de virus y contenido malicioso *** ** ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XOffice : Which (how) .Net version ?
Hi, Republished XOffice versions 1.0 and 1.1 M2. Please let me know how it goes. Florin Ciubotaru -- View this message in context: http://n2.nabble.com/XOffice-Which-how-Net-version-tp4619189p4624501.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] Translations
Hi Stefan, On Feb 24, 2010, at 9:46 AM, stefan bachert wrote: > Hi, > > some texts used in the login dialog are neither in > ApplicationResources_de.properties nor in ApplicationResources.properties > nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and inefficient. This is not very polite. I'd suggest you refrain yourself from criticizing too strongly the work of others unless you can prove you can do better. It's also not the way you're going to get more of the free support you've been getting for the past several days here. Now on a positive thought: Why don't you improve it? Just send patches and xwiki committers will review them and commit them if they're good. > You can drink a cup of coffee after sending a request Thanks -Vincent > The following text is part of the login dialog > key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) > Text:Auf diesem Computer angemeldet bleiben > > However, there are translated texts like "Forgot your username?". Obviously > they are not used at this place. > > it seems on the long run I have to check the code directly. > > > Stefan Bachert > > > > > > > > Von: Thomas Mortagne > An: XWiki Users > Gesendet: Dienstag, den 23. Februar 2010, 22:59:31 Uhr > Betreff: Re: [xwiki-users] Translations > > On Tue, Feb 23, 2010 at 17:30, stefan bachert wrote: >> Hi, >> >> to translate texts into a more correct german I extracted >> ApplicationResources_de.properties to WEB_INF/lib. >> This seems to work. I am willing to share this with others, however, it >> would took days when I am using the i10n.xwiki.org facility. >> >> >> However, some translation I did not found. One of them comes up when trying >> to login. >> In the last line of the dialog the texts are still in english "Forgot your >> username or password". >> This text is NOT part of the property file. >> Where is the place to translate this texts? > > You don't have it in the ApplicationResources_de.properties because no > translation has been provided for it. The place to translate any text > in always http://l10n.xwiki.org, i doubt you can't find the right keys > in it. > >> >> Stefan Bachert ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Autoincrement value in class
Hi, Do you mean, a property value that autoincrements each time you create an object of this class ? I don't think there is "built-in" ... But if you manage the process of creation of objects, you can code the autoincrement yourself (for example searching last value from most recent object then incrementing for new object). What do you need this for ? Jeremie 2010/2/23 Hernández Cuchí, Francisco Ricardo > Hello, > > > > I would like to create a class, with a number property that will be > autoincrement. Is it posible? How can I do it? > > > > Thanks > > > > Francisco > > > > -- > > Francisco Hernández Cuchí > > Jefe de Servicios Sistemas de Información > > OFICINA ESPAÑOLA DE PATENTES Y MARCAS > > > > > ** > IMPORTANTE: El contenido de este correo y ficheros adjuntos es confidencial > y está dirigido únicamente > para el destinatario/s. > Si Ud recibe este correo por error, por favor póngase en contacto con su > administrador de correo o con el > emisor immediatamente y no difunda su contenido a nadie ni haga copias. > *** Este correo ha sido escaneado de virus y contenido malicioso *** > > ** > ___ > 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] Translations
Hi, some texts used in the login dialog are neither in ApplicationResources_de.properties nor in ApplicationResources.properties nor in i10n.xwiki.org. And using i10n.xwiki.org is very ugly and inefficient. You can drink a cup of coffee after sending a request The following text is part of the login dialog key:remembermeonthiscomp found in i10n, ApplicationResources(de,default) Text:Auf diesem Computer angemeldet bleiben However, there are translated texts like "Forgot your username?". Obviously they are not used at this place. it seems on the long run I have to check the code directly. Stefan Bachert Von: Thomas Mortagne An: XWiki Users Gesendet: Dienstag, den 23. Februar 2010, 22:59:31 Uhr Betreff: Re: [xwiki-users] Translations On Tue, Feb 23, 2010 at 17:30, stefan bachert wrote: > Hi, > > to translate texts into a more correct german I extracted > ApplicationResources_de.properties to WEB_INF/lib. > This seems to work. I am willing to share this with others, however, it would > took days when I am using the i10n.xwiki.org facility. > > > However, some translation I did not found. One of them comes up when trying > to login. > In the last line of the dialog the texts are still in english "Forgot your > username or password". > This text is NOT part of the property file. > Where is the place to translate this texts? You don't have it in the ApplicationResources_de.properties because no translation has been provided for it. The place to translate any text in always http://l10n.xwiki.org, i doubt you can't find the right keys in it. > > Stefan Bachert > > > __ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.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 __ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users