I'd like to show different links in panel depending on Xwiki user's
Company field.
Following code does this
#set($myCompany='')
#set($obj=$xcontext.getUser())
#set($objdoc = $xwiki.getDocument($obj))
#set($myCompany = $objdoc.company)
$myCompany
Though when wiki document is opened in inline editing mode,
variable is shown in input text field.
To test this, put code in document then open it in inline mode.
This seems related to standard xwiki behavior.
How it could be solved in different way?
Valdis
Hi,
I was wondering if xwiki had right-to-left (for languages like arabic)
support, and if not, where it was on the roadmap.
I've search around, only found a reference to a jira ticket that doesn't
seem to exist anymore..
Thanks,
Patrick
Hello,
I have added the blog catagories widgit on the sidebar of my site. When I click on one of the blog catagories as an administrator, I can see the list perfectly fine.
However, If I try as an unregistered user, I get the following error. I have given unregistered users permissions to view Blog.CatagorySheet. Almost seems like there is an error parsing the permissions.
Any help would be greatly appreciated.
Thanks,
org.xwiki.rendering.macro.MacroExecutionException: Failed to get content for Document [CategorySheet]
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:143)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:49)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transformOnce(MacroTransformation.java:175)
at org.xwiki.rendering.internal.transformation.MacroTransformation.transform(MacroTransformation.java:120)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:72)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5696)
at com.xpn.xwiki.doc.XWikiDocument.performSyntaxConversion(XWikiDocument.java:5671)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:569)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:583)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:475)
at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:252)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:493)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:657)
at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
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 org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:212)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:247)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:175)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:336)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:191)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:156)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:116)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1710)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1631)
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:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1949)
at com.xpn.xwiki.util.Util.getWeb(Util.java:231)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.isSuperUser(XWikiRightServiceImpl.java:869)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:626)
at com.xpn.xwiki.user.impl.xwiki.XWikiRightServiceImpl.hasAccessLevel(XWikiRightServiceImpl.java:308)
at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.hasRight(DefaultDocumentAccessBridge.java:571)
at com.xpn.xwiki.doc.DefaultDocumentAccessBridge.isDocumentViewable(DefaultDocumentAccessBridge.java:491)
at org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:135)
... 89 more
_________________________________________________________________
Check your Hotmail from your phone.
http://go.microsoft.com/?linkid=9708121
Hello list,
I thought I'd report the few issues I met with 2.2m2 which seems to be
otherwise very nice to run.
If you create a new document by triggering edit then try to switch to
source... It does nothing and shows the following in the server console:
> SEVERE: gwtrpc: IncompatibleRemoteServiceException in the
> processCall(String) method.
> com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException:
> Parameter 0 of is of an unknown type 'java.lang.String/2004016611'
> at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:
> 277)
> at
> com
> .xpn
> .xwiki
> .wysiwyg
> .server
> .XWikiRemoteServiceServlet
> .processCall(XWikiRemoteServiceServlet.java:52)
> at
> com
> .google
> .gwt
> .user
> .server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:86)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 637)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:
> 717)
> 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
> .XWikiContextInitializationFilter
> .doFilter(XWikiContextInitializationFilter.java:87)
> 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:
> 118)
> 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:
> 191)
> at
> org
> .apache
> .catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
> at
> org
> .apache
> .catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
> 567)
> at
> org
> .apache
> .catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:
> 109)
> at
> org
> .apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:
> 293)
> at
> org
> .apache.coyote.http11.Http11Processor.process(Http11Processor.java:
> 849)
> at org.apache.coyote.http11.Http11Protocol
> $Http11ConnectionHandler.process(Http11Protocol.java:583)
> at org.apache.tomcat.util.net.JIoEndpoint
> $Worker.run(JIoEndpoint.java:454)
> at java.lang.Thread.run(Thread.java:619)
> Caused by: java.lang.ClassNotFoundException: java.lang.String/
> 2004016611
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:247)
> at
> com
> .google.gwt.user.server.rpc.RPC.getClassFromSerializedName(RPC.java:
> 657)
> at com.google.gwt.user.server.rpc.RPC.decodeRequest(RPC.java:
> 274)
> ... 32 more
>
I get the same exception anytime I try to edit in Safari
(the above one was in Camino)
paul
1) Is there a way to search/create objects using XMLRPC? I can get and update pages and attachments, but I want to be able to create or query objects of classes that I have created. I'm using perl if anyone has code samples. I saw there is a search function on the confluence API but I couldn't get the syntax correct and it wasn't clear if it can access objects: http://confluence.atlassian.com/display/CONFDEV/Remote+API+Specification#Re…
2) Is there a way to remotely access a sql 2005 database from an xwiki script? A groovy wrapper for java jdbc or something. I want to query the database and put the results in a livetable, but the db lives on a completely separate server.
Thanks!
-Mike
_________________________________________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
http://clk.atdmt.com/GBL/go/201469229/direct/01/
See attached. A user is receiving this error every time they are pasting text. Any ideas?
Jared Parrish
Network Administrator
Travelhost, Inc.
972-556-0541 ext 152
See attached. A user is receiving this error every time they are pasting text. Any ideas?
Jared Parrish
Network Administrator
Travelhost, Inc.
972-556-0541 ext 152
For Xwiki custom objects there is no need to add XWiki.TagClass object
for wiki document.
How easy it could be adjusted to not add XWiki.TagClass object for these
documents,
or it isn't worth to investigate/do that?
Valdis
Hello all,
I saw in the xwiki.org documentation that to have auto numbered sections, i have to modify xwikivars.vm.
Is there a way to do the same but from the browser by editing the skin for example ?
Else do i have to add this code in each document ?
#set ($context.tocNumbered = true)
#set ($context.tocData = $tdoc.getTOC(2, 6, true))
Regards,
Christophe Périnaud
Windows Server 2003 SP2 in a VMWare instance
Oracle 10g
Java 1.6.0_12
Xwiki 2.0.3 from the pack Jetty/HSQL
--------------------------------------------------------------------------------
This e-mail is intended only for the addressee named above. It does not bind the sender, except in the case of an existing written convention with the addressee. This e-mail may contain material that is confidential and privileged for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender and delete all copies.
While reasonable precautions have been taken to ensure that this e-mail and any attachments are free from any computer virus or similar defect, no liability will be accepted in that respect. Anyone accessing this e-mail must take their own precautions as to security and virus protection.
KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. Luxembourg B 6395, T (352) 47 97 1
Hello everyone,
I've been facing issues importing .xar packages into the new XWiki 2.2 rc 1.
The original XWiki was XWiki 2.1.1 stable. The upgrade to XWiki 2.2 rc 1
went fine.
However, when I import, all the .xar files attached to the import page
disappear.
Refresh, log out & log in does not help at all.
Only, a tomcat restart helps in getting back the "Available Packages" list
on the import page.
Then the import works just fine.
Has this been reported already.Thank you all.
I'm investigating issue http://jira.xwiki.org/jira/browse/XWIKI-4724
Now I can generate right PDF using separate FOP with additional
configuration files and invocation parameters.
Though I don't know, how to invoke it in such way from Xwiki.
Do you have any suggestions/ideas?
Valdis
For custom application I need to add more properties
for ../xwiki/bin/edit/XWiki/XWikiUsers?editor=class
Is it acceptable/recommended way or other (more complicated?) approach
would be better?
Do you have any experience?
Thanks in advance,
Valdis
I noticed that if I create a new blog entry with the same title as an
existing entry in that same category the old one will be wiped out. Is this
expected behavior or a bug? Using xwiki 2.04.
daniel
--
View this message in context: http://n2.nabble.com/New-blog-entry-overwrites-old-tp4475221p4475221.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Has anyone used this extension? If so, how do you implement it. There is no
documentation on how to implement this extension and I would like to try it
out.
--
View this message in context: http://n2.nabble.com/JSPwiki-2-Xwiki-extension-tp4514844p4514844.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
After migrating our XWiki from 1.8.3 --> 2.1.1 we notices that the "Jump
to page"-feature is only working with pages made with the old xwiki/1.0
syntax.
When I create a new page with syntax to 2.0, the "Jump to Page" is not
displayed anymore in the Quick Links panel.
As soon as I change the page syntax back to 1.0, the "Jump to page" is
displayed again.
It should work also with xwiki/2.0 syntax, shouldn't it?
I don't know if this is from importance but we use a fully customized
skin based on toucan. So maybe we have missed something in the migration.
Any help or hint is very much appreciated.
Thanks.
Reto
If I embed a nabble forum in the xwiki....
The users registered in xwiki, do they have automatic access to the nabble forum,
I do not want anonymous forum members, but rather a 0ne:One relationship and preferably single signon
Hi,
I'm trying to use the panelheader() and panelfooter() macros inside my htmlheader.vm file however the boxes that get displayed do not have the skin's colour scheme applied to them. They appear correctly but in plain white instead of the blue tint that has been setup for the toucan skin.
I have dug through the panel application and through the css files however I haven't been able to find what tints the panel backgrounds.
Can anyone point me in the right direction on either how to apply the blue tint to the background or what files to look at?
Thanks,
Radek
Hi all,
I use method parseGroovyFromPage() to instantiate an object from a Groovy
class stored in a page.
It works well, but now I would like to forbid multiple executions of this
class. To do so, I changed it to be a singleton, setting the constructor as
private.
Of course, now, parseGroovyFromPage() returns that the object can't be
instantiated ... As the call to the constructor is inside this method, I
can't change it to just call getInstance().
Are there any workarounds, or other ways to achieve this ?
Thanks,
Jeremie
The XWiki development team is pleased to announce the release of XWiki
Enterprise 2.2 Release Candidate 1.
Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download
This is the first and hopefully last release candidate for the 2.2
version. This release is mostly a bugfix and stabilization release.
Changes from XWiki Enterprise 2.2 Milestone 2:
* Bug fixes and improvements on new XAR Import UI and User Profile UI
* UI improvements on tag applications
* WYSIWYG and Rendering bugfixes and improvements
* Fixed files handlers leak on Lucne plugin
* Many other bugfixes and improvements
For more information see the Release notes at:
http://www.xwiki.org/xwiki/bin/view/Main/ReleaseNotesXWikiEnterprise22RC1
Thanks
-The XWiki dev team
Hi,
I'd like to know if there is a way to delete a document (in velocity or
groovy) without putting in in recycle bin ? (equivalent of "shift-delete").
I have to regularly delete (for tests) documents with heavy attachments, and
it's quite long ... And I don't care about retrieving them later.
Thanks,
Jeremie
Hi All
I am trying to set up XE to use an Oracle 10 XE database using a
Tomcat but I seem to be missing some important point I downloaded the
war file to set it up followed the instructions in the setup pages,
have had issues with getting it to parse files and have now got to
here where I seem to be connecting to my database but not getting it
to function
I am an Oracle DBA and do work with Oracle Middleware, so am familiar
with much of the concepts, not so much with Hibernate and Tomcat
This is the error I am seeing
javax.servlet.ServletException: Error number 3 in 0: Could not
initialize main XWiki context
Wrapped Exception: Error number 3001 in 3: Cannot load class
com.xpn.xwiki.store.migration.hibernate.XWikiHibernateMigrationManager
from param xwiki.store.migration.manager.class
Wrapped Exception: Error number 0 in 3: Exception while hibernate execute
Wrapped Exception: could not execute query
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:117)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:295)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter
Server details are
Centos 5.4 32bit
Apache Tomcat/5.5.23
Oracle 10 database
Xe xwiki-core-2.1.1.jar
OpenJDK Runtime Environment (build 1.6.0-b09)
I have a IBM Java 1.6 jre installed that I could use, should I use
that instead or will this work with OpenJDK
Any help appreciated
Hibernate.cfg.xml
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN"
"http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Please refer to the installation guide on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation for
configuring your
database. You'll need to do 2 things:
1) Copy your database driver JAR in WEB-INF/lib or in some
shared lib directory
2) Uncomment the properties below for your specific DB (and
comment the default
database configuration if it doesn't match your DB)
-->
<!-- Generic parameters common to all Databases -->
<property name="show_sql">false</property>
<property name="use_outer_join">true</property>
<property name="dbcp.defaultAutoCommit">false</property>
<property name="dbcp.maxActive">50</property>
<property name="dbcp.maxIdle">5</property>
<property name="dbcp.maxWait">30000</property>
<property name="dbcp.whenExhaustedAction">1</property>
<property name="dbcp.ps.whenExhaustedAction">1</property>
<property name="dbcp.ps.maxActive">20</property>
<property name="dbcp.ps.maxWait">120000</property>
<property name="dbcp.ps.maxIdle">20</property>
<!-- Oracle configuration.
Uncomment if you want to use Oracle and comment out other
database configurations.
Note: the 2 properties named
"hibernate.connection.SetBigStringTryClob" and
"hibernate.jdbc.batch_size". They are required to tell
Oracle to allow CLOBs larger than
32K. -->
<property
name="connection.url">jdbc:oracle:thin:@websrv01:1521:XE</property>
<property name="connection.username">SomeUser</property>
<property name="connection.password">SomePassword</property>
<property
name="connection.driver_class">oracle.jdbc.driver.OracleDriver</property>
<property name="dialect">org.hibernate.dialect.Oracle10gDialect</property>
<property
name="connection.provider_class">com.xpn.xwiki.store.DBCPConnectionProvider</property>
<property name="connection.pool_size">2</property>
<property name="statement_cache.size">2</property>
<property name="hibernate.connection.SetBigStringTryClob">true</property>
<property name="hibernate.jdbc.batch_size">0</property>
<mapping resource="xwiki.oracle.hbm.xml"/>
<mapping resource="feeds.oracle.hbm.xml"/>
<mapping resource="activitystream.hbm.xml"/>
</session-factory>
</hibernate-configuration>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
Hi,
I'm using XWiki Enterprise 2.1.1 which is fully configured in UTF-8. I
noticed that when creating a page from an Office presentation, the
resulting page incorrectly displays the accented characters in the
french version of the presentation's navigation bar.
The main page has a correct content type with a UTF-8 charset but the
Iframe displaying the preso
(/xwiki/bin/download/SPACE/PAGE/presentation.zip/output.html) has an
incorrect charset of ISO-8859-1 even though the content of output.html
is in UTF-8.
Is this a known issue? Any way to correct it?
Mathias.
All,
Is there a way to hide content by group within XWiki? For example, if I
wanted a panel to show a link that only group "foo" has access to, how
could I make it so only users with group "foo" see the link in the panel
(because only group "foo" has access to the page/space that the link
ponits to)?
Rick