[xwiki-users] Table styles
Hello community, how can I create tables that would have different background colours for odd and even table rows with the new WYSIWYG (like it was in old vers.1.0 Syntax .wiki-table?). Or is there the appropriate macro? Best Regards, Alla - Best Regards, Alla -- View this message in context: http://xwiki.475771.n2.nabble.com/Table-styles-tp5534521p5534521.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] error: xwikiexplorer.js depends on xwiki.js
Riepenhausen, Stefan wrote: After exporting from 2.0.4 and importing die XAR-file to 2.4 file I see the structure and imported pages. So far so good but once I select a page I get the alert box ERROR: xwikiexplorer.js depends on xwiki.js and after selecting OK the page is loading forever. Tested in Firefox 3.6.x. Hi, I experienced exact the same issue with XE 2.4 but for the first time after I imported SpaceExplorerPanelApplication.xar. Otherwise I didn't get this error. Best Regards, Alla - Best Regards, Alla -- View this message in context: http://xwiki.475771.n2.nabble.com/error-xwikiexplorer-js-depends-on-xwiki-js-tp5351952p5354949.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] AllAttachments live table doesn't show anything
adoro wrote: the right comparison for Oracle would be smth like doc.fullName in not NULL or length(doc.fullName) 0 - tested both of them - work OK, the both return the list of attachments. Sorry, have misstyped: it shoud be doc.fullName is not NULL :-) - Best Regards, Alla -- View this message in context: http://n2.nabble.com/AllAttachments-live-table-doesn-t-show-anything-tp4875907p4935583.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] AllAttachments live table doesn't show anything
Hi, we had the same issue with the view “AllAttachments” from the Main.AllDocs. Environment – Oracle 10.2, JDK 1.6, Tomcat.6.0 (used also OC4J). Tested on XE 2.1.2 – 2.1.5. All necessary pages are saved with programming rights. All tabs (views) worked fine but the livetable in the “Attachments”- tab was empty. The table in “Deleted attachments”-view was filled, in the Tree-tab (treeview) all attachments were available as well. Environment – Oracle 10.2, JDK 1.6, Tomcat.6.0 (used also OC4J). Tested on XE 2.1.2 – 2.1.5 I think, I found it. Simple query in XWiki.AllAttachmentsResults #set($sql = select doc.fullName, attach from XWikiDocument as doc, XWikiAttachment as attach where attach.docId=doc.id) $xwiki.search($sql) - works fine The problem is in the clause #if($title) #set($title = $title.trim().toLowerCase()) #set($sql = and lower(doc.fullName) like '%${title}%' ) #else #set($sql = and lower(doc.fullName) '' ) #end, (two single quotes after , i.e. empty string), that generates the next sql statement: select doc.fullName, attach from XWikiDocument as doc, XWikiAttachment as attach where attach.docId=doc.id and lower(doc.fullName) '' order by attach.filename asc This query returns 0 rows (at least against the Oracle DB) – perhaps of well-known Oracle specific issue to treat an empty string as NULL and the right comparison for Oracle would be smth like doc.fullName in not NULL or length(doc.fullName) 0 - tested both of them - work OK, the both return the list of attachments. And if I just use instead of empty string '' blank ' ' or use as escape characters one more set of single quotes (), the problem is solved as well - the livetable is filled with all wiki attachments. Best Regards, Alla - Best Regards, Alla -- View this message in context: http://n2.nabble.com/AllAttachments-live-table-doesn-t-show-anything-tp4875907p4931164.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, 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)) div style=font-size: 70%; margin-top: 2em;Forgot your $xwiki.getURL('XWiki.ForgotUsername') username or $xwiki.getURL('XWiki.ResetPassword') password ?/div #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
[xwiki-users] ERROR lucene.AttachmentData - NullPointerException
Hello, I tried XE 2.2-SNAPSHOT.27143 and have noticed one new error message in xwiki.log, that was not in XE 2.2 stable release. Deploy xwiki-enterprise-web-2.2-20100218.061341-347.war - OK The message appears on importing default .xar Archive (xwiki-enterprise-wiki-2.2-20100218.061341-348.xar). I tried also snapshot 2749 - with the same effect. 2010-02-19 11:43:54,328 [Lucene Index Updater] ERROR lucene.AttachmentData - error getting content of attachment java.lang.NullPointerException at com.xpn.xwiki.plugin.lucene.AttachmentData.getContentAsText(AttachmentData.java:162) at com.xpn.xwiki.plugin.lucene.AttachmentData.getFullText(AttachmentData.java:145) at com.xpn.xwiki.plugin.lucene.IndexData.addDataToLuceneDocument(IndexData.java:145) at com.xpn.xwiki.plugin.lucene.AttachmentData.addDataToLuceneDocument(AttachmentData.java:80) at com.xpn.xwiki.plugin.lucene.IndexUpdater.addToIndex(IndexUpdater.java:296) at com.xpn.xwiki.plugin.lucene.IndexUpdater.updateIndex(IndexUpdater.java:237) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runMainLoop(IndexUpdater.java:171) at com.xpn.xwiki.plugin.lucene.IndexUpdater.runInternal(IndexUpdater.java:153) at com.xpn.xwiki.util.AbstractXWikiRunnable.run(AbstractXWikiRunnable.java:99) at java.lang.Thread.run(Unknown Source) is it critical? It didn't occur before. === One more warning in log - it seems to be not very important... 2010-02-19 11:44:06,515 [http://localhost:8080/xwiki/bin/import/XWiki/XWikiPreferences] WARN interwiki.InterWiki - Unable to read conf/intermap.txt == We are working on XE 2.2 + jdk1.6.0_17 + Tomcat + Oracle 10g Best Regards, Alla http://n2.nabble.com/file/n4597247/xwiki.log xwiki.log -- View this message in context: http://n2.nabble.com/ERROR-lucene-AttachmentData-NullPointerException-tp4597247p4597247.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] ORA-00932 inconsistent datatypes expected got clob
Hi Marius, I've just tested WYSIWYG on XE 2.2-SNAPSHOT.27143 and XE 2.3-SNAPSHOT.27143 Insert link in both tabs (My Recent Changes and Search) works perfect. Yippee! Thanks a lot, Marius! Alla -- View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4556042p4592039.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] ORA-00932 inconsistent datatypes expected got clob
Hi Marius, thanks for your reply. Does your wiki work fine besides this? The sql that produces the exception is pretty basic and I suspect that other features don't work properly because of the same problem. I haven't tested all features yet, but on the first view it looks pretty well - I can administrate Wiki, create new groups and users and edit dokuments. AllDocs works fine too. I'm not sure, but could it be due to the basic problem with our installalation, exactly speaking - with the filling tables while importing .xar archiv. We had some error messages in JBoss and xwiki log files - - Exception while reading document XWiki.XWikiPreferences Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiDocument#104408758] and - ORA-01400: ORA-01400: cannot insert NULL into in (XWIKI.XWIKILARGESTRINGS.XWL_ID) I reproduced this today again (S. attached). Despite of these errors it looked like as all documents from xar archiv were imported and I could open and edit existing pages - except of creating links using new WYSIWYG editor. Best Regards, Alla http://n2.nabble.com/file/n4561415/xwiki.log xwiki.log http://n2.nabble.com/file/n4561415/server.log server.log -- View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4556042p4561415.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] ORA-00932 inconsistent datatypes expected got clob
Hello, I have problem with editing documents with the new WYSIWYG editor (page syntax – XWiki 2.0) - on attempt to create a link to existing documents I get a message “There was an error loading the data” – it looks like the select from the xwikidoc table doesn’t work properly. Log file: “Exception while searching documents with sql select distinct doc from XWikiDocument doc where 1=1 and doc.author='XWiki.Admin' order by doc.date desc” and Oracle error “ORA-00932 inconsistent datatypes”. The full log files attached. Even so, if I switch to tab “All pages”, I can see the list of all existing pages, but cannot select any of them. Links creation with XWiki 1.0 syntax works fine. Are there Oracle-specific workarounds or is it just a bug? Our environment: XE 2.1.1 + JBoss 5 ( jdk 1.6 ) + Oracle 10g. http://n2.nabble.com/file/n4556042/wysiwyg_editor.jpg wysiwyg_editor.jpg http://n2.nabble.com/file/n4556042/server.log server.log http://n2.nabble.com/file/n4556042/xwiki.log xwiki.log Thanks, Alla -- View this message in context: http://n2.nabble.com/ORA-00932-inconsistent-datatypes-expected-got-clob-tp4556042p4556042.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] Problem with getting Xwiki to work with Oracle10g
Hello Oscar, it's really pity you cannot use XWiki for your purposes - I have tried at least 6 - 7 other Wikis before we chosen this one. Sure, there are some bugs, but who's perfect? :-) It's getting better from version to version. Now we have experience with XWiki with different environments - XE 1.2 (Oracle 10g+OC4J), XE 1.5 (MySQL+Tomcat 5.5), XE 2.1.1 (Oracle 10g + Tomcat 6 and Oracle 10g +JBoss 5). For Oracle 10g we are using ojdbc14.jar (in WEB-INF/lib XWiki directory or in the \common\lib directory from Tomcat) - it works perfectly. I'm pretty sure, the problem might be geronimo server - we have no problems without using it :-) I'm not familiar with Apache geronimo but perhaps you need some more plugins (see i.e. http://www.geronimoplugins.com/entry_OracleXADriverforConsole.php) to get works all together? Best Regards, Alla -- View this message in context: http://n2.nabble.com/Problem-with-getting-Xwiki-to-work-with-Oracle10g-tp4418452p4434035.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Error on Attempt to install XE 2.1.
Hi, I just tried to install XE 2.1.1 from the war file. The tables were created, but trying to call the administration section (to download xar-archive) I got the following error: Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Failed to evaluate content with id [] com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Wrapped Exception: Failed to evaluate content with id [] at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:122) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710) at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1622) at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:123) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:224) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) 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(Unknown Source) Wrapped Exception: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getDocument' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3202 in 3: Exception while reading document XWiki.AdminSheet Wrapped Exception: a different object with the same identifier value was already associated with the session: [com.xpn.xwiki.doc.XWikiDocument#-259212042] at unknown template[line 79, column 12] at org.apache.velocity.runtime.parser.node.ASTMethod.handleInvocationException(ASTMethod.java:337) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:284) at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252) at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:332) at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72) at
Re: [xwiki-users] Please, badly need help with HQL...
Hi Sergiu, thank you so much for your help, the wanted pages query works fine if I use it for certain spaces: #set($sql= select link.fullName, link.link.id from XWikiLink link where link.fullName like 'MySpace.%' and not exists (select doc.fullName from XWikiDocument doc where doc.fullName = link.id.link) order by 1) #set($results= $xwiki.search($sql)) #if ($results.size() == 0) #warning('Es gibt keine gewünschte Seiten') #else {table} Space|Document|Link #foreach ($row in $results) #foreach ($col in $row) #if ($velocityCount==1) #set($docFullName=$col) #elseif ($velocityCount==2) #set($emptyLink=$col) #set($el=$emptyLink.getLink()) #set($spaceName=$xwiki.getDocument($docFullName).space) #end #end $spaceName|[$docFullName]|$el #end {table} #end Best Regards, Alla Sergiu Dumitriu-2 wrote: This should work: #set($query = select link.id.link from XWikiLink link where not exists (from XWikiDocument doc where doc.fullName = link.id.link)) #foreach($item in $xwiki.search($query)) * $item #end Note that several bad entries are placed there because the link detection process does not pre-run velocity, so lots of entries actually point to velocity variables or javascript code. Definitely the backlinks need to be revised in the new rendering. Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Please%2C-badly-need-help-with-HQL...-tp1493848p1499075.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Please, badly need help with HQL...
Hi all, Can someone help me? I need urgent two HQL queries: 1. Query for all wanted pages - pages that have been linked to, but are not yet written - new pages (links with the question mark next to them); 2. The version number of the document I restored/rolled back to. Thanks in advance, adoro -- View this message in context: http://n2.nabble.com/Please%2C-badly-need-help-with-HQL...-tp1493848p1493848.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] attach with target
Nohinder wrote: Hello. trying to link to an attach(PDF file) from my page and i don;t know how to add the target = _blank property. i found this thread... but it does not give the sollution, it just sais that it is possible. how weird is that? http://n2.nabble.com/Attachment-link-with-target-td506932.html#a506933 Hi, if you want to display all your attachments in a new window (or in a new tab in FF), you can add target=_blank in attachmentsinline.vm: $doc.getAttachmentURL( #packName($attach.filename) Regards, Alla -- View this message in context: http://n2.nabble.com/attach-with-target-tp1097762p1097795.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] attach with target
Nohinder wrote: no this does not work. :( Once more - the complete line $doc.getAttachmentURL( #packName($attach.filename) It works fine in our XWiki 1.5 and 1.2 either in FF or in IE Regards, Alla -- View this message in context: http://n2.nabble.com/attach-with-target-tp1097762p1097828.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] Updated document are allways major edits in history
Rudolf T. wrote: I'm checking XWiki XE 1.6 (xwiki-enterprise-web-1.6-milestone-2.war [http://forge.objectweb.org/project/download.php?group_id=170amp;file_id=11354]) and realized a problem in document history. No matter if a document is stored with minor edit box checked or not checked, in history the major edit number is allways increased. Hi, I just want to confirm this -we have the same behavior in XE 1.5 and 1.5.1. Click on Hide and show minor edits buttons doesn't help too - minor edits are not displayed. Regards, Alla -- View this message in context: http://n2.nabble.com/Updated-document-are-allways-major-edits-in-history-tp1092531p1092559.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] Export-Import Application
Hi Ludovic, thanks for your reply. Ludovic Dubost-2 wrote: You need to resave the Export pages using an Admin account because they need programming rights for security reasons As you advised, I opened all pages from this package in XWiki edit mode and resaved them. It helped with ExportPage, ImportPage (no XML SyntaxError any more) and ExportFromDate (first after I resaved ExportFromDateGroovy), but Selective export (packages) still doesn't work - no pages are displayed after choosing the certain space. I tried to copy all these documents into another space (one of my assumption was it doesn't work because Admin space in this package doesn't have WebPreferences). Ludovic Dubost-2 wrote: What browser are you using ? I tested it in Firefox 2.0.0.16, Firefox 3.0.1, IE 6.0 xwiki.log has one more error message (org.apache.tomcat.util.http.Parameters processParameters WARNING: Parameters: Invalid chunk ignored. ), but it seems to have no bearing on this application? Regards, Alla -- View this message in context: http://n2.nabble.com/Export-Import-Application-tp1079545p1082569.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Export-Import Application
Hi , I have installed Import-Export application (downloaded and imported as XAR), but it seems not working. Here is what I found out while using this app: • Selective Export: – I can select certain space from a combobox, but no pages from this space appear to choose them. • Export by date: - I cannot select spaces, but if I input one space and click on the export button, it brings only a couple words of code on the page : $exp.export($context,$xwiki,$request,$response) • Export a single page: I can choose a separate page with help of light box, but it comes to XML SyntaxError. Catalina.out: [ERROR] Left side ($action) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Admin.Export [line 2, column 16] [ERROR] Left side ($action) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Admin.Export [line 11, column 20] [ERROR] Left side ($action) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Admin.Export [line 19, column 20] • Import a single page: – it displays the source code (S. screenshots) Is there any step that I’m missing? Our environment: - XE 1.5 ( I have tried with 1.5.1. as well) - Tomcat 6.0.16 - JDK 1.6 Update 7 - MySQL Community Server 5.0.51a - MySQL Java Connector 5.0.8 Thanks in advance, Alla http://n2.nabble.com/file/n1079545/screenshot_export_from_date.png screenshot_export_from_date.png http://n2.nabble.com/file/n1079545/screenshot_export_import_app.png screenshot_export_import_app.png http://n2.nabble.com/file/n1079545/screenshot_export_page.png screenshot_export_page.png http://n2.nabble.com/file/n1079545/screenshot_import_page.png screenshot_import_page.png -- View this message in context: http://n2.nabble.com/Export-Import-Application-tp1079545p1079545.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Additional macros in WYSIWYG?
Hi all, how can I implement additional macros (such as #footnote, #error and #useravatar) in the WYSIWYG editor? Thanks, Alla -- View this message in context: http://n2.nabble.com/Additional-macros-in-WYSIWYG--tp841125p841125.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] Additional macros in WYSIWYG?
Hi Vincent, vmassol wrote: I think you just need to edit the file called macros.txt and located in your WEB-INF/skins/albatross directory (or the one in WEB-INF/ templates) and add your macros there. thanks a lot for your reply, but in this way it doesn't work - I tried it already. Input in macros.txt warning=velocity:warning:text generates {warning:text=Test warning} instead of #warning(Test warning) I tried also warning=wiki:warning:text #footnote seems to be a Radeox macro, messages (#info, #warning, #message) and #useravatars - either velocity or wiki macros (I don't know exactly the difference between them both). There is not example in macros.txt for radeox macros - they have another syntax. There is a comment for footnote in macros.vm as TODO - Make Radeox macros Support in wysiwyg Please note that this is going to change and hugely improved with the new WYSIWYG editor: http://dev.xwiki.org/xwiki/bin/view/Design/NewWysiwygEditorInterface Sure, I would like to test the new WYSIWYG - can I implement it separately in our actual XE 1.5, or I need to upgrade the whole system? Regards, Alla -- View this message in context: http://n2.nabble.com/Additional-macros-in-WYSIWYG--tp841125p841313.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] Move the search box
Hi Edward, do you want the search panel to appear in the top corner or just search input field in the place where normally login link is placed? If so, you can copy the source code from the Search Panel - available in inline edit mode - and put it where you want. You'll find it either from /bin/Panels/ - choose Search [Edit] from the list of Panels or bin/Panels/Search -menu Edit - Inline form I like the panels in XWiki! - it's a very helpful tool to create your own design :-) Edward Laptop wrote: However, I really want to get the search box up in the right of the header. (I have moved the login by taking some code out of global.vm and placing it inside leftpanels.vm) thanks ee-web.co.uk [EMAIL PROTECTED] 07760 392284 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Regards, Alla -- View this message in context: http://n2.nabble.com/Move-the-search-box-tp833988p834158.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] Move the search box
Sure you use only cut-out form action=$xwiki.getURL('Main.WebSearch') div id=globalsearch input id=globalsearchinput type=text name=text value=$msg.get('panels.search.inputText') size=15 onfocus=if (this.value == '$msg.get('panels.search.inputText')') value=''; this.select(); onblur=if (this.value == '') value='$msg.get('panels.search.inputText')'; this.blur()/ nbsp; input class=button value=$msg.get('panels.search.submit') type=image src=$xwiki.getSkinFile(go.png)/ /div /form without panelheader and footer? :-) Edward Laptop wrote: I basically want it to look as is. I have tried copying the code as you desribe into the global.vm but I have been staring at my screen for about 5 hours now and I have begun to do silly things like */ instead of *# So I need a break thanks for reply Edward ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Move-the-search-box-tp833988p834350.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] Moving elements
Hello Edward. 1. You'll find the source for the login / register links - in the global.vm template - in the div id=globallinks 2. To change the page layout and menus position: go in - Administration - XWikiPreferences - PanelWizard - PageLayout Just choose the layout you want. In the PanelList you can also reorder certain Menu Panells as you want. Regards, Alla Edward Laptop wrote: I now need to move the positions of several elements including the login box and menus from the right to the left. Where do I look and how do I do this please? Edward -- View this message in context: http://n2.nabble.com/Moving-elements-tp796954p797016.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Tag search returns no results
Hi community, I have a problem with the page Main.Tags – the tags are displayed in the page, but there are no results in the search table (on click on the certain tag) I.e. the query #set($sql = select distinct elements(prop.list) from BaseObject as obj, DBStringListProperty as prop where obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags') #set ($tags = $xwiki.search($sql)) works, but the next query on the same page #set($sql = , BaseObject as obj, DBStringListProperty as prop where obj.name=doc.fullName and obj.className='XWiki.TagClass' and obj.id=prop.id.id and prop.id.name='tags' and '$request.tag' in elements(prop.list) order by doc.name asc) #set ($list = $xwiki.searchDocuments($sql)) returns no results ($list.size()=0) xwiki.log and catalina.out don’t show any error. Our environment: - XE 1.5 - Tomcat 6.0.16 - JDK 1.6 Update 7 - MySQL Community Server 5.0.51a - MySQL Java Connector 5.0.8 I’m not sure I’m right, but it looks like subselect * '$request.tag' in elements(prop.list) * doesn’t work properly (if I cut it off, I get some results), although subqueries should be supported in MySQL 5. In our other application (Environment XE 1.2 + OC4J + Oracle 10g) the same tag search works absolutely fine. How can I work around to get tagged documents? Thanks in advance, Alla -- View this message in context: http://n2.nabble.com/Tag-search-returns-no-results-tp786999p786999.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] Print all page in space
Hi Michele, you can use as prototype the source code of the Navigation Panel ( /bin/inline/Panels/Navigation) - it lists all pages in all spaces and SpaceDocs Panel (/bin/inline/Panels/SpaceDocs) - all documents from the current Space. Just combine the source :-) and change it to suit you needs. Regards, Alla Michele Manfrin wrote: Hi all Is there a method in xwiki 1.5 to print all pages in a single space? An example: I have one space that contains 10 pages all about a spacific argument that characterizes the space. If I want print all 10 pages in a single click how can i do? thanks in advance! -- Michele ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/Print-all-page-in-space-tp735616p735991.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] XWiki, Lucene and Oracle together
Yes, we use Lucene in the XE 1.2 / OC4J / Oracle 10g environment. It works fine. Tamer Sezgin wrote: Is there anyone, who runs XWiki Search (Lucene) and Oracle together? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/XWiki%2C-Lucene-and-Oracle-together-tp676347p678329.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] Exception on PDF export
Hi, we have problem with PDF Export in XWiki Enterprise 1.5 too. The error message shows access denied on /root/.fop/fop-fonts.cache Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: /root/.fop/fop-fonts.cache (Zugriff verweigert) com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: /root/.fop/fop-fonts.cache (Zugriff verweigert) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) Could the changes, made in pdf.vm since Vers. 1.4 #set($clevel = $util.parseInt($request.includechilds)) vs. #set($clevel = $xwiki.parseInt($request.includechilds)) are causing such behavior? Or are there some preferences we should change? We work with Tomcat 6.0.16, MySQL 5.0. Export in Version 1.4. was absolutely correct . Best Regards, Alla The Matthias Albert-6 wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 After trying to export my start page to PDF, the following exception was thrown. The start page contains an image, but I also tried with several other pages. I am using the new XWiki enterprise 1.5. Any idea, e.g. misconfiguration? Thank you in advance Matthias Albert | Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: /var/www/web4752/./.fop/fop-fonts.cache (No such file or directory) com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: /var/www/web4752/./.fop/fop-fonts.cache (No such file or directory) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:64) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:216) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115) 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:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:287) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112) 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.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690) at java.lang.Thread.run(Thread.java:619) Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: /var/www/web4752/./.fop/fop-fonts.cache (No such file or directory) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:221) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:164)
[xwiki-users] Layout for individual Space in new Admin Panel
Hello Community, Has someone some experience with the new Admin Panel? How can I change the Layout for the individual Space? I.e. I would like to have 3-Columns layout only for the start page, and for the rest pages – 2-Columns layout with menu on the right side. I did the same with XWiki Ent. 1.2, defined the special layout only for one space, but I cannot find how can I do that with the new Admin Panel. Theoretical I know I should just edit WebPreferences-PanelWizard-PageLayout for the certain space, but when I choose the space and then click on the Panel Wizard button to come to the Layout Editor, I am always sent back to the Preferences Page for the whole Wiki. I don't know if it a bug or I missed something? Thanks, Alla -- View this message in context: http://n2.nabble.com/Layout-for-individual-Space-in-new-Admin-Panel-tp587042p587042.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] ApplicationResources_de
Done. I posted separate files for ApplicationResources_de, customized for vers. up to 1.4 http://jira.xwiki.org/jira/browse/XWIKI-2557 and ApplicationResources_de for XWiki Enterprise vers. 1.5, where some new terms for administration application have been translated and old translations were removed. http://jira.xwiki.org/jira/browse/XWIKI-2558 I also attached the corrected version of admingroups.vm in which all hard-coded messages have been replaced with msg.get() and respectively changed ApplicationResources file (added only one new term rightsmanager.groupname). http://jira.xwiki.org/jira/browse/XWIKI-2560 Best Regards, Alla vmassol wrote: Hi Adoro, This is cool. However could you please follow the instructions there: http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HProvidingtranslationforagivenlanguage Specifically you need to create a jira issue and attach your patch to it. Also make sure your translations uses only unicode escapes. Thanks again -Vincent On Jul 11, 2008, at 3:52 PM, adoro wrote: Hello Community, attached is my attempt to translate all terms (english - german) from the ApplicationResources.properties inclusive admin pages. Hope it helps. Best Regards, Alla http://www.nabble.com/file/p18404368/ ApplicationResources_de.properties ApplicationResources_de.properties ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://n2.nabble.com/ApplicationResources_de-tp510422p528806.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] ApplicationResources_de
Hello Community, attached is my attempt to translate all terms (english - german) from the ApplicationResources.properties inclusive admin pages. Hope it helps. Best Regards, Alla http://www.nabble.com/file/p18404368/ApplicationResources_de.properties ApplicationResources_de.properties -- View this message in context: http://www.nabble.com/ApplicationResources_de-tp18404368p18404368.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] Re size main company logo picture
In addition, you should change width and height properties (or just remove them) for logo-image in global.vm #set($logourl = $xwiki.getSkinFile($logoname)) $!logourl #else Regards, Alla muxa wrote: In style.css find the following definition (or define if it's not there): #companylogo a img { width: 200px; height: 100px; } Of course, change the width and height as you wish. Quoting Wright, Philip : I would like to preface this message with the comment: I know about zero on CSS. However I would like to resize the company logo on my xwiki to a large longer size to properly display our logo. Philip Wright Reports Analyst ACS: BPS Affiliated Computer Services, Inc Affiliated Computer Services, Inc (ACS) Proprietary and Confidential Information This document (or any part thereof) may not be disseminated outside of ACS in either electronic or physical form without specific authorization of the office of the ACS Chief Information Security Officer. The information included in this document represents no commitment by ACS to any other party. The policies and standards described do not consider any country law or other directive outside of the United States. P Please consider the environment before printing this email Ar cieņu, Mihails Links: -- [1] mailto:[EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Resize-main-company-logo-picture-tp18343801p18379244.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] Re size main company logo picture
In addition, you should change width and height for the logo-image (hardcoded: width=200 height=70) (or just remove them) in global.vm template Regards, Alla -- View this message in context: http://www.nabble.com/Resize-main-company-logo-picture-tp18343801p18379595.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] Tags
Hi Mihails, You can find them in the table XWIKILISTITEMS (select XWL_VALUE where XWL_NAME='tags'). There are also references to the tables XWIKILISTS, XWIKIPROPERTIES: XWIKILISTITEMS - XWIKILISTS FOREIGN KEY (XWL_ID, XWL_NAME) REFERENCES XWIKILISTS (XWL_ID, XWL_NAME)); XWIKILISTS - XWIKIPROPERTIES (FOREIGN KEY (XWL_ID, XWL_NAME) REFERENCES XWIKIPROPERTIES (XWP_ID, XWP_NAME) Best Regards, Alla muxa wrote: Hi! XWiki has one huge database :), could someone help me on finding, where the document tags are stored? Ar cieņu, Mihails ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- View this message in context: http://www.nabble.com/Tags-tp17865339p17909307.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] PDF and RTF Export under OC4J
So look our exceptions in xwiki.log: 17:37:26,041 [http://test.adler.zivb.net:8080/xwiki/bin/export/Main/WebHome?format=pdf;] [AJPRequestHandler-ApplicationServerThread-10] WARN web.XWikiAction - Uncaught exception: Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: XML-22900: (Fatal Error) An internal error condition occurred. com.xpn.xwiki.XWikiException: Error number 11015 in 11: Exception while exporting Wrapped Exception: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: XML-22900: (Fatal Error) An internal error condition occurred. at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:53) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) 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:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:673) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: com.xpn.xwiki.XWikiException: Error number 12002 in 12: Exception while exporting PDF Wrapped Exception: XML-22900: (Fatal Error) An internal error condition occurred. at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:194) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:134) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:202) at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:220) at com.xpn.xwiki.web.ExportAction.exportPDFOrRTF(ExportAction.java:82) at com.xpn.xwiki.web.ExportAction.render(ExportAction.java:50) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:148) 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:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65) at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:117) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:673) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:340) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:228) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192) at java.lang.Thread.run(Thread.java:595) Wrapped Exception: java.lang.NullPointerException at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185) at oracle.xml.parser.v2.XMLElement.reportStartElement(XMLElement.java:3188) at oracle.xml.parser.v2.XMLElement.reportSAXEvents(XMLElement.java:2164) at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:337) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXMLFO(PdfExportImpl.java:161) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportXHtml(PdfExportImpl.java:134) at com.xpn.xwiki.pdf.impl.PdfExportImpl.exportHtml(PdfExportImpl.java:202) at com.xpn.xwiki.pdf.impl.PdfExportImpl.export(PdfExportImpl.java:220) at
[xwiki-users] PDF and RTF Export under OC4J
Hi everybody, I'm having trouble with PDF and RTF export. I tested it in both IE and Firefox browsers und got the same corrupt PDF file. Firefox generates only one line: %PDF-1.4 %ª«¬ %PDF-1.4 %ª«¬ � We are running XWiki Ent.1.2 on Oracle App Server 10.2.0.3. The problem ist somehow OC4J specific - the similar test on the localhost (Windows XP, Tomcat) with the same Oracle DB was absolut OK. xwiki.log shows XML-22900-error, what is rather typical for using the wrong JDK . I'm sure I have set in OEM the path to JDK 1.5. Could it happen that the path to JDK would be overwritten for some reason? (We have 1.4, 1.5 and 1.6 JDKs installed on this server) . We have replaced Hibernate-3.1.3.jar with the version 3.2.5.ga. Do I need to configure some other files or replace some libraries? Can the character set be the cause of such behavior? XWiki uses ISO-8859-1, but our DB works with Latin 9 - WE8ISO8859P15. On the other side - I also tried to export the empty page (or with only one letter A on it) and the result was the same, i.e. I was getting the corrupt file. Thanks a lot for any help, Alla -- View this message in context: http://www.nabble.com/PDF-and-RTF-Export-under-OC4J-tp15412211p15412211.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