Re: [xwiki-users] Another language question
Sergiu Dumitriu wrote: Unfortunately, attachment and comments are the same for all the languages, using the default XWiki code. I am afraid this is also true for panels. Or am I missing anything? Thanks! -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Another language question
On Mar 7, 2008, at 9:24 AM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Sergiu Dumitriu wrote: Unfortunately, attachment and comments are the same for all the languages, using the default XWiki code. I am afraid this is also true for panels. Or am I missing anything? Yes this is true for objects. There's no translation system for objects and since Panels are objects there are no translations for them. However it's possible to find workaround. One possibility is to have one object per language and write some script to choose the correct panel. -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Another language question
On Mar 7, 2008, at 10:56 AM, Guillaume Lerouge wrote: Hi Ricardo, for panels a much better solution is available: Define a list of messages (such as the one in BBCode.Translations). You'll have : message1=Hello message2=Goodnight and so on... Where you need your name to be printed (typically in a panel) use $msg.message1 , $msg.message2... you will have : [$msg.message1MySpace.MyPage] (will show up as Hello) [$msg.message2MySpace.MyPage2] (will show up as Goodnight) Declare your translation page in the wiki administration console (same as for the BB) For each language you need, write a translation of the page in that language. The result will be something similar to what you see on xwiki.com when you switch languages (look at the menu bar for try, partners and so on) BTW this is all documented here: http://platform.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications -Vincent Hope this helps, Guillaume On 07/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team [EMAIL PROTECTED] wrote: Vincent Massol wrote: I forgot to point to one of our oldest jira issue: http://jira.xwiki.org/jira/browse/XWIKI-69 A workaround is proposed in http://jira.xwiki.org/jira/browse/XWIKI-585 Thanks Vincent. I have adopted the first strategy (better, just a number of if/then structures in the panel code) here: I have to deliver a small sample supporting panels in several languages by Monday. I will then try to catch up with Sergiu proposals. I can't go ahead with XWiki here without a solution to this issue. Of course attachments and comments will be quickly required if we get solved panels... Cheers, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Xwiki crash when uploading files.
Hi all, We have been successfully using Xwiki and started with the 1.2rc1 without this problem. I updated with 1.2 version recently and we are no more able to upload any files. Below the log extract. We are running on a ScientificLinux 5.0 server, with tomcat 5.5.25, and java 1.5. The same thing occurs with xwiki 1.2.2, and java 1.6 (last update). I saw a similar messages posted in december 2006 without answer. Is there any workaround that I could apply or should I do something else ? Cheers. --Vincent 10:35:01,437 [http://myxwiki:9090/xwiki/bin] [http-9090-Processor24] WARN web.XWikiAction - Uncaught exception: Error number 0 in 11: Uncaught exception Wrapped Exception: String index out of range: -1 com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception Wrapped Exception: String index out of range: -1 at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:164) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414) at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1768) at java.lang.String.substring(String.java:1735) at com.xpn.xwiki.XWiki.getDocumentNameFromPath(XWiki.java:1118) at com.xpn.xwiki.XWiki.getDocumentName(XWiki.java:4005) at com.xpn.xwiki.XWiki.prepareDocuments(XWiki.java:4035) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:132) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] BulletinBoard Application - layout issue
Hi, I tried to reproduce the issue locally but I didnt manage to yet. Can you try the page with ?skin=albatross appended at the end to make sure that the issue cannot be related to some custom change you may have made to your skin ? Furthermore can you check the version of XWiki / of the Albaross skin you are using ? There must be a reason why the skin is showing up like this but I cannot identify yet... Thanks, Guillaume On 07/03/2008, [Ricardo Rodriguez] [EMAIL PROTECTED] wrote: Hi, I've finally managed to come back to this issue. Sorry for the delay. Guillaume Lerouge wrote: Hi Ricardo, it used to happen to me but I modified the cell CSS to force a min-width: 100px; upon it. On my local install it does work. Can you check you have : #posttd { border:1px solid #CC; min-width:100px; vertical-align:top; } On your BBCode.Skin page ? Because that's the code that should be keeping the cell wide enough. You might check what happens underneath using Firebug or else to check the page source code ? (It's working fine for me and I'm using FF 2 on Mac OS X too btw) Here what I've done. 1. Environment: Firefox 2.0.0.12 on Mac OS X 10.5.2 Intel. 2. #posttd is in BBCode.Skin. I've cleared the cache, restarted the browser and accessed a Bulletin Board. Same result... http://mire.environmentalchange.net/~webmaster/images/BBLayoutFirefox.png This is what I see in Firebug... http://mire.environmentalchange.net/~webmaster/images/BBLayoutFirebugPb.png But the correct min-width: 100px only works if I edit any of the values in #posttd in Firebug. For instance... http://mire.environmentalchange.net/~webmaster/images/BBLayoutFirebugPbEdited.png If I restart Firefox, the wrong layout is shown. Please, does this make sense for you? Thanks! -- View this message in context: http://www.nabble.com/BulletinBoard-Application--%3E-layout-issue-tp15873117p15892272.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 -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Poll / Surveys?
Vincent mentions surveys/polls at http://platform.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki - are there any examples of code for this? Thanks in advance, -- Jim Dowson CTO, Global Services, EMC Corporation Linx: (617) 598-0505 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Poll / Surveys?
Hi Jim, sure there is :-) The only problem is that the poll application has not yet been packaged. Give me about 1 hour and you should be able to use its Beta version... Guillaume On 07/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Vincent mentions surveys/polls at http://platform.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki - are there any examples of code for this? Thanks in advance, -- *Jim Dowson* CTO, Global Services, EMC Corporation Linx: (617) 598-0505 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- http://wikibc.blogspot.com/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Poll / Surveys?
You can also check the PollDaddy integration: http://mytarantula.wordpress.com/2008/02/20/polldaddy-create-polls-and-surveys-for-your-websites-blogs/ http://participation.netcipia.net/xwiki/bin/view/Widgets/PollDaddy Thanks -Vincent On Mar 7, 2008, at 5:03 PM, Guillaume Lerouge wrote: Hi Jim, sure there is :-) The only problem is that the poll application has not yet been packaged. Give me about 1 hour and you should be able to use its Beta version... Guillaume On 07/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Vincent mentions surveys/polls at http://platform.xwiki.org/xwiki/bin/view/Main/SecondGenerationWiki - are there any examples of code for this? Thanks in advance, -- Jim Dowson CTO, Global Services, EMC Corporation Linx: (617) 598-0505 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Another language question
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Sergiu Dumitriu wrote: Unfortunately, attachment and comments are the same for all the languages, using the default XWiki code. I am afraid this is also true for panels. Or am I missing anything? Thanks! Yes, but panels can be localized using bundles. -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] collapsed panels (continued)
I want to maintain the expanded/collapsed-status of my panels when surfing my xwiki. I've seen the post http://lists.xwiki.org/pipermail/users/2008-March/010746.html : On Mar 2, 2008, at 12:01 PM, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: Hi all, After googling for a while, I realize that the collapsing/expanding trick is a quite vaste issue! Please, is it possible to force XWiki to deliver collapsed panels? Or even better: is it possible to set a panels to be delivered , by default, collapsed or expanded? Yes, that's what we do now :) Check in edit mode for example, there are panels that are collapsed. Edit those panels and you'll see how it's done. Moreover we even remember when a user has collapsed/expanded a panel in a cookie... :) -Vincent However, I can't see the code used for XWiki panels since I can't enter edit mode. I really want to see how to implement those cookies, so if I'm looking in the wrong place, where can I search it? rgds, Joao ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] collapsed panels (continued)
Hi João, Joao Henrique Silva Santos wrote: I want to maintain the expanded/collapsed-status of my panels when surfing my xwiki. I've seen the post http://lists.xwiki.org/pipermail/users/2008-March/010746.html : I think it would be ok to follow the original thread ;-) To maintain the status while surfing the wiki is the default behavior. Do you get a different thing? Does your browser accept cookies? However, I can't see the code used for XWiki panels since I can't enter edit mode. I really want to see how to implement those cookies, so if I'm looking in the wrong place, where can I search it? I read your wiki, thus if you have installed it I don't understand why can you not enter edit mode? Even tough you have installed the default .xar, you can gain access by using Admin as username and admin as pasword. See this... http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HInstallingtheDefaultWikiXAR The code controlling status cookies is in macro.vm template. Look for it in the /templates folder under /xwiki. You must want to find macros panelheader and largepaneheader. Hope this helps, Ricardo -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] null pointer exception for preferences
Folks: I've been trying to install Xwiki on a Suse 10.2 linux distribution with apache-tomcat-6.0.16 and MySQL 5.0.26 (the jdbc driver is mysql-connector-java-5.0.8.jar). With either Xwiki 1.2.2 or 1.3.rc1 i get a null pointer exception when I get to the XWikiPreferences page i.e. http://localhost:8080/xwiki/bin/objectadd/XWiki/XWikiPreferences?classname=XWiki.XWikiPreferencesXWiki.XWikiPreferences_upload_maxsize=33554432xredirect=http://scrum:8080/xwiki/bin/admin/XWiki/XWikiPreferences for 1.2.2. Using 1.3 the error is terminal (no way to recover). Using 1.2.2 if I click on the XWikiPreferences header then I see a normal page, instead of the exception trace. Except, if I try, say, to save a comment, I get another trace. This is my JRE: java -version $java version 1.5.0_08 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_08-b03, mixed mode) this is the second trace: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiPreferences Wrapped Exception: Error number 3212 in 3: Exception while loading archive 104,408,758 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff com.xpn.xwiki.XWikiException: Error number 3201 in 3: Exception while saving document XWiki.XWikiPreferences Wrapped Exception: Error number 3211 in 3: Exception while updating archive XWiki.XWikiPreferences Wrapped Exception: Error number 3212 in 3: Exception while loading archive 104,408,758 Wrapped Exception: Error number 0 in 3: Exception while hibernate execute Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=false for more info) setter of com.xpn.xwiki.doc.rcs.XWikiRCSNodeInfo.setDiff at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateStore.java:384) at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:97) [ ... very long omission ... ] at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java:91) at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:1018) at com.xpn.xwiki.web.CommentAddAction.action(CommentAddAction.java:61) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException I browsed the various resources, but the only null pointer I found was wrt a totally unrelated circumstances. Any kind soul can please tell me what is the gripe about? Cheers, Al Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Anyone working on the XWiki farm? can't login...
OK. It is back on service again. -- Original message from [EMAIL PROTECTED]: -- Anyone working on the XWiki farm? I can't log in suddenlyI hope XWiki farm is not attacked by. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users