Re: [xwiki-users] WYSIWYG editor language in user interface
Marius Dumitru Florea wrote: Hi Marius, thanks for your reply. I think I'll wait next release... in fact I'm still using 2.1. The wiki is still under construction so I'll move to that rel when ready. Meantime I think I'm going to post also other pieces of resources translated in Italian so next one will be an almost localized version ! bye Angelo AngeloG wrote: Hallo I made the translation in Italian of the same string.properties file and updated l10n.xwiki.org/.../Wysiwyg I hope the file will be included in one of the next release. Definitely. It will be included in 2.3M1 and 2.2.3 releases. I would like to update my xwiki but the link provided seems dead. platform/web/wysiwyg module has been refactored on trunk (2.3). I suppose you're using a 2.2.x release, is that right? Then you have to checkout the editor sources from svn.xwiki.org (e.g. http://svn.xwiki.org/svnroot/xwiki/platform/web/tags/xwiki-web-2.2.2/wysiwyg/ for XE 2.2.2) and change src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml as indicated below. Is there any other way? (I don't want to break my installation) Unfortunately, the only options are: * wait for the next release * build the editor yourself (I can give you all the details you need) This limitation is due to the fact that translations are included in the generated JavaScript code when the editor is compiled. This is how GWT works. Hope this helps, Marius (3) Build the editor yourself. For this you have to follow this steps: i) Edit http://svn.xwiki.org/svnroot/xwiki/platform/web/trunk/wysiwyg/src/main/resources/com/xpn/xwiki/wysiwyg/Wysiwyg.gwt.xml and change: extend-property name=locale values=fr,de/ to extend-property name=locale values=fr,de,sk/ If you don't need the French and the German translations then keep just yours, but note that the build time increases with the number of languages. ii) build the editor (mvn clean install) iii) update the editor in your XWiki Enterprise instance. Delete the resources/js/xwiki/wysiwyg/xwe directory from your XE instance and copy the same directory from the war generated by the build. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/WYSIWYG-editor-language-in-user-interface-tp4440246p4714957.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] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.2 Released
Hi Thomas, I followed your advice and tried to install these new relaese, but unfortuantely I can't, the only error messages I get are in file stdout.log, and I don't understand them? 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.internal.DefaultCoreConfiguration] is being overwritten by component [com.xpn.xwiki.internal.DefaultCoreConfiguration] for Role/Hint [role = [com.xpn.xwiki.CoreConfiguration] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.render.DefaultVelocityManager] is being overwritten by component [com.xpn.xwiki.render.DefaultVelocityManager] for Role/Hint [role = [org.xwiki.velocity.VelocityManager] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.render.XWikiVelocityContextInitializer] is being overwritten by component [com.xpn.xwiki.render.XWikiVelocityContextInitializer] for Role/Hint [role = [org.xwiki.velocity.VelocityContextInitializer] hint = [xwiki]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.render.XWikiScriptContextInitializer] is being overwritten by component [com.xpn.xwiki.render.XWikiScriptContextInitializer] for Role/Hint [role = [org.xwiki.script.ScriptContextInitializer] hint = [xwiki]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.doc.DefaultDocumentAccessBridge] is being overwritten by component [com.xpn.xwiki.doc.DefaultDocumentAccessBridge] for Role/Hint [role = [org.xwiki.bridge.DocumentAccessBridge] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.doc.DefaultDocumentNameFactory] is being overwritten by component [com.xpn.xwiki.doc.DefaultDocumentNameFactory] for Role/Hint [role = [org.xwiki.bridge.DocumentNameFactory] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.doc.CurrentDocumentNameFactory] is being overwritten by component [com.xpn.xwiki.doc.CurrentDocumentNameFactory] for Role/Hint [role = [org.xwiki.bridge.DocumentNameFactory] hint = [current]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.doc.DefaultDocumentNameSerializer] is being overwritten by component [com.xpn.xwiki.doc.DefaultDocumentNameSerializer] for Role/Hint [role = [org.xwiki.bridge.DocumentNameSerializer] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.doc.CompactDocumentNameSerializer] is being overwritten by component [com.xpn.xwiki.doc.CompactDocumentNameSerializer] for Role/Hint [role = [org.xwiki.bridge.DocumentNameSerializer] hint = [compact]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.DefaultSkinAccessBridge] is being overwritten by component [com.xpn.xwiki.DefaultSkinAccessBridge] for Role/Hint [role = [org.xwiki.bridge.SkinAccessBridge] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,896 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory] is being overwritten by component [com.xpn.xwiki.store.hibernate.DefaultHibernateSessionFactory] for Role/Hint [role = [com.xpn.xwiki.store.hibernate.HibernateSessionFactory] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,911 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor] is being overwritten by component [com.xpn.xwiki.store.hibernate.query.HqlQueryExecutor] for Role/Hint [role = [org.xwiki.query.QueryExecutor] hint = [hql]]. It will not be possible to look it up. 2010-03-09 14:28:36,911 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.store.XWikiHibernateStore] is being overwritten by component [com.xpn.xwiki.store.XWikiHibernateStore] for Role/Hint [role = [com.xpn.xwiki.store.XWikiStoreInterface] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,911 [Thread-1] WARN tion.ComponentAnnotationLoader - Component [com.xpn.xwiki.store.XWikiHibernateVersioningStore] is being overwritten by component [com.xpn.xwiki.store.XWikiHibernateVersioningStore] for Role/Hint [role = [com.xpn.xwiki.store.XWikiVersioningStoreInterface] hint = [default]]. It will not be possible to look it up. 2010-03-09 14:28:36,911 [Thread-1] WARN
Re: [xwiki-users] WYSIWYG editor language in user interface
Hi Marius, sorry for bad quoting previous message. By the way, is there any way I can send somewhere the entire resource file of XE core ApplicationResources_it.properties (more than 2000 lines) rather than modifying one by one each item in I10n.xwiki.org site? bye Angelo -- View this message in context: http://n2.nabble.com/WYSIWYG-editor-language-in-user-interface-tp4440246p4715231.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] WYSIWYG editor language in user interface
Hi Angelo, First of all, thanks a lot for your contribution! AngeloG wrote: Hi Marius, sorry for bad quoting previous message. By the way, is there any way I can send somewhere the entire resource file of XE core ApplicationResources_it.properties (more than 2000 lines) rather than modifying one by one each item in I10n.xwiki.org site? I think you can open a http://jira.xwiki.org/ issue and attach the resource file, but you have to merge your changes with changes from l10n.xwiki.org because otherwise translations made manually on l10n.xwiki.org since the last release will be lost when we import your resource file. Thomas, WDYT? Thanks, Marius bye Angelo ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [myxwiki] new wiki request
greetings i need wiki as collaboration space for small group of individuals to gather information and discuss concrete projects in eco-settlements and corresponding fields. i will think about more robust hosting, but for now we need something to start and play with. username: Spawn wanted domain name: mirozdanie.myxwiki.org thank you in advance Anton ___ 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://slussen.myxwiki.org/ Enjoy! JV. On Tue, Mar 9, 2010 at 12:44 PM, Kafpauzo kafpa...@fastmail.fm wrote: Hello I'd like to create a wiki at myxwiki.org. It will be used for debating certain strange decisions in local government, and for collecting and organizing information about the background to these decisions, and discussing what can be done about them. Desired subdomain: slussen.myxwiki.org My username: Kafpauzo Should I give some more background? At a place in our city that is now fabulously beautiful they intend to erect horribly ugly buildings that will block a breathtaking view over lake and islands. A charming waterfront will be converted into an ugly mess. We need to explore why they're making such strange decisions, and try to get them to change them. This happens in Sweden, so the wiki will be in Swedish. You can see a half-finished version at http://slussen.wikispaces.com (prettiest in Firefox = 3.5). I started to build my wiki there, but then found that Wikispaces is not ideal for this particular kind of wiki (although it's great for many other kinds). It looks like myxwiki is better for this. Best regards Kafpauzo ___ 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
Hi, Your wiki is available at http://mirozdanie.myxwiki.org Enjoy! JV. On Thu, Mar 11, 2010 at 3:37 PM, Anton for_sp...@pisem.net wrote: greetings i need wiki as collaboration space for small group of individuals to gather information and discuss concrete projects in eco-settlements and corresponding fields. i will think about more robust hosting, but for now we need something to start and play with. username: Spawn wanted domain name: mirozdanie.myxwiki.org thank you in advance Anton ___ 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] How to create a skin/ theme in xwiki through xml rpc?
Hi All, I want to create a skin/ theme in xwiki. Or else is it possible to apply the existing skin of xwiki like nightfall, nature through program in xwiki? My requirement i have to create a theme and apply the theme to xwiki through some xml rpc? Is it possible? is there any code snippets? Kindly help me. Thanks, Nithya. -- View this message in context: http://n2.nabble.com/How-to-create-a-skin-theme-in-xwiki-through-xml-rpc-tp4717384p4717384.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] Problems logigging in
On Wed, Mar 10, 2010 at 7:06 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: I cannot repeat your trouble either, verified with 2.1.2 2.2.1 2.2.2 and 2.3 trunk My process is start xwiki, mouse over upper left corner where it says xwiki, observe dropdown menu click administration, follow steps to import package. My installation is jetty with postgres and mysql Maybe you changed something in xwiki, or have javascript turned off in your browser? either? you're aware that Vincent confirmed the behaviour / bug for 2.2.1? On Mon, Mar 8, 2010 at 3:30 PM, Vincent Massol vinc...@massol.net wrote: The Admin user is imported when you import the default XE XAR. When you install a wiki with an empty database the security system is not in place and the user not logged in can perform an import. Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3). Thanks and sorry about the problem -Vincent Don't know if it's fixed in the latest stable release 2.2.2, maybe there's a Jira-entry for this? Cheers 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] Problems logigging in
On Thu, Mar 11, 2010 at 6:46 PM, 2smart4u rc4...@googlemail.com wrote: On Wed, Mar 10, 2010 at 7:06 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: I cannot repeat your trouble either, verified with 2.1.2 2.2.1 2.2.2 and 2.3 trunk My process is start xwiki, mouse over upper left corner where it says xwiki, observe dropdown menu click administration, follow steps to import package. My installation is jetty with postgres and mysql Maybe you changed something in xwiki, or have javascript turned off in your browser? either? you're aware that Vincent confirmed the behaviour / bug for 2.2.1? Nope, what is below is different and is not related to logging in (it's only related to importing docs that require programming rights). Thanks -Vincent On Mon, Mar 8, 2010 at 3:30 PM, Vincent Massol vinc...@massol.net wrote: The Admin user is imported when you import the default XE XAR. When you install a wiki with an empty database the security system is not in place and the user not logged in can perform an import. Just talked to Thomas Mortagne who confirmed we have a regression and it's not working any more. So this will get fixed ASAP (I guess in XE 2.2.3). Thanks and sorry about the problem -Vincent Don't know if it's fixed in the latest stable release 2.2.2, maybe there's a Jira-entry for this? Cheers 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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Is there a way to modify the values of the options in the select element (html) associated with a Static List?
Thanks, I try Jean-Vincent suggestion and it works. By the way Caleb I am writing a module that create jira issues from xwiki. Abel On Wed, Mar 10, 2010 at 12:39 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: Jean-Vincent Drean wrote: You can use the following notation in the static list values definition: 1=Value 1|2=Value 2|3=Value 3 The generated HTML will look like: option value=1 label=Value 1Value 1/option option value=2 label=Value 2Value 2/option option value=3 label=Value 3Value 3/option JV. On Wed, Mar 10, 2010 at 6:24 PM, Abel Solórzano Astorga abelsolorz...@gmail.com wrote: Hi, Is there a way to modify the values of the options in the select element (html) associated with a Static List? I noticed that the values are the same as the text that is shown on the list. I have: *select id=SSI-Internal.CreateIssue_0_priority name=SSI-Internal.CreateIssue_0_priority size=1* * option label=Show Stopper value=Show StopperShow Stopper/option* * option label=Must Have value=Must HaveMust Have/option* * option label=Should Have value=Should HaveShould Have/option* * option label=Could Have value=Could HaveCould Have/option* * option label=Not In Roadmap value=Not In RoadmapNot In Roadmap/option* */select* I want something like: *select id=SSI-Internal.CreateIssue_0_priority name=SSI-Internal.CreateIssue_0_priority size=1* * option value=1Show Stopper/option* * option value=2Must Have/option* * option value=3Should Have/option* * option value=4Could Have/option* * option value=5Not In Roadmap/option* */select* I am using the following code to modify the values: *valdoc = xwiki.getDocument(SSI-Internal.CreateIssue)* *ok = valdoc.updateObjectFromRequest(SSI-Internal.CreateIssue)* * valdoc.getxWikiClass().get(priority).getPropertyClass().setValues(“a|b|c”) It looks like you are writing a bug tracker which I think is very cool! I think you will need to use valdoc.getDocument().getxWikiClass() again get(priority) will return a PropertyInterface which has no setValues function so you will have to cast it to StaticListClass like so. ((StaticListClass) valdoc.getDocument().getxWikiClass().get(priority)).setValues(a|b|c); It appears that this will work although I haven't tested it. Caleb * Thanks, Abel ___ 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] Is there a way to modify the values of the options in the select element (html) associated with a Static List?
Hi Abel, On Mar 11, 2010, at 11:51 PM, Abel Solórzano Astorga wrote: Thanks, I try Jean-Vincent suggestion and it works. By the way Caleb I am writing a module that create jira issues from xwiki. cool. I hope you've checked our swizzle plugin too: http://code.xwiki.org/xwiki/bin/view/Plugins/SwizzlePlugin Thanks -Vincent Abel On Wed, Mar 10, 2010 at 12:39 PM, Caleb James DeLisle calebdeli...@lavabit.com wrote: Jean-Vincent Drean wrote: You can use the following notation in the static list values definition: 1=Value 1|2=Value 2|3=Value 3 The generated HTML will look like: option value=1 label=Value 1Value 1/option option value=2 label=Value 2Value 2/option option value=3 label=Value 3Value 3/option JV. On Wed, Mar 10, 2010 at 6:24 PM, Abel Solórzano Astorga abelsolorz...@gmail.com wrote: Hi, Is there a way to modify the values of the options in the select element (html) associated with a Static List? I noticed that the values are the same as the text that is shown on the list. I have: *select id=SSI-Internal.CreateIssue_0_priority name=SSI-Internal.CreateIssue_0_priority size=1* * option label=Show Stopper value=Show StopperShow Stopper/option* * option label=Must Have value=Must HaveMust Have/option* * option label=Should Have value=Should HaveShould Have/option* * option label=Could Have value=Could HaveCould Have/option* * option label=Not In Roadmap value=Not In RoadmapNot In Roadmap/option* */select* I want something like: *select id=SSI-Internal.CreateIssue_0_priority name=SSI-Internal.CreateIssue_0_priority size=1* * option value=1Show Stopper/option* * option value=2Must Have/option* * option value=3Should Have/option* * option value=4Could Have/option* * option value=5Not In Roadmap/option* */select* I am using the following code to modify the values: *valdoc = xwiki.getDocument(SSI-Internal.CreateIssue)* *ok = valdoc.updateObjectFromRequest(SSI-Internal.CreateIssue)* * valdoc.getxWikiClass().get(priority).getPropertyClass().setValues(“a|b|c”) It looks like you are writing a bug tracker which I think is very cool! I think you will need to use valdoc.getDocument().getxWikiClass() again get(priority) will return a PropertyInterface which has no setValues function so you will have to cast it to StaticListClass like so. ((StaticListClass) valdoc.getDocument().getxWikiClass().get(priority)).setValues(a|b|c); It appears that this will work although I haven't tested it. Caleb ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users