How can I turn RSS feed and Tag Application off.
I dont want to see the Tag button on the botton of a page and the TAGS line
in the Document Informations Panel while editing a page.
How this would effect on Livetable. Cause I use:
#set($options = { "topFilters":'<input type="hidden" size="${colprop.size}"
name="doc.space" value="Platform-KnowHow" />',
to show all Docs in the Platform-KnowHow Space.
Thank you for helping me!
--
View this message in context: http://xwiki.475771.n2.nabble.com/How-to-turn-off-RSS-feed-and-Tags-tp53765…
Sent from the XWiki- Users mailing list archive at Nabble.com.
This is a bit of a late reply, but I've implemented this and am
wondering what you would recommend doing about security with this
approach.
On Thu, Jul 15, 2010 at 5:10 PM, Sergiu Dumitriu <sergiu(a)xwiki.com> wrote:
>
> On 07/15/2010 04:55 PM, Carlos Correa wrote:
> > One of the users of the xwiki server (*nix) that I'm helping with has
> > an interesting feature request. He wants a wiki page with a listing of
> > Microsoft Office files that are in a unix directory. He wants to be
> > able to click on one of the file names and have it download.
> >
> > I don't know enough about xwiki to know how to cause a download to
> > occur on the user's side. The only solution I can think of is
> > attaching the files to the page and scripting regular updating (which
> > is very clunky). Is there a more elegant way to cause downloads to
> > occur on the user's end without adding the file as an attachment?
>
> Well, XWiki is a java application, so the easiest thing to do is to
> write a Java component that does this. Assuming you have a recent
> version of XWiki, you should:
> - write a scriptable service which can list the files on the filesystem;
> should be a ScriptService component if you're targeting XWiki 2.3 or
> later, or a VelocityContextInitializer for earlier; see
> http://code.xwiki.org/xwiki/bin/view/Modules/ComponentModule for general
> documentation about components
> - write a servlet or a struts action which can be used to retrieve the
> contents of the file; make sure you're not creating a security hole,
> check the absolute path requested by the user; a good example would be
> http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/…
> - register the above servlet/struts action in web.xml, respectively
> struts-config.xml
>
> --
> Sergiu Dumitriu
> http://purl.org/net/sergiu/
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hey,
Are there snippets or apps out there that allow you to get the stats for single
pages? I've only seen that let you find the stats for a group of pages. I also
can't find the API to allows me to customize stats aggregation from the stats
module. Can anyone help?
Thanks,
Felix
Hello,
I noticed that when including pages with the include tag, the links to eg
images are broken contained in the included pages if not referenced by the
full wiki path (eg space.page(a)image.jpg).
Thus it would be nice for the wysiwyg-editor as well as the XWord plugin to
always make a full reference to the linked object when linking.
Greetings,
Andreas
--
View this message in context: http://xwiki.475771.n2.nabble.com/include-page-tag-breaks-links-tp5367705p5…
Sent from the XWiki- Users mailing list archive at Nabble.com.
When having edited a page with the XWord plugin, it can lead to the section
editing of headers beeing broken. Following example shows the issue:
= Test Topic =
could be some text
(% class="WordSection1" %)
(((
(((
(((
Version 1.1.1
[[image:image002.jpg||width="367" height="350" id="_x0000_i1026"
alt="the_data_so_far.png"]]
Version 1.2M1
[[image:image001.gif||width="640" height="199" alt="96715.strip.gif"]]
= WHOOT =
wow nice one
)))
)))
)))
= Last Topic =
hahaha
This as well leads to problems when exporting this page to a pdf document.
In this pdf the section contained in the word tags is not exported into the
index. Is there already a bugfix in planning for this issue?
Greetings,
Andreas
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWord-tags-break-section-editing-tp536769…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
Is there a smart way to find the error causing a "Failed to execute macro: include"
When I click details of the error it displays a whole page of errorlines ending with
... 91 more
I have the feeling important information is missing.
for experts; the error codes i see;
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.GeneratedMethodAccessor265.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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.GeneratedMethodAccessor142.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:617)
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.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: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.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1937)
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)
At the end I solved problem. For the other users I will write my
explanations.
I am using Glassfish v.3. Initialy I have error when I trying lo upload ANY
xar-file on versions 2.3.2 and 2.4 of XE (also for fresh install I cannot
upload full XE xar-file):
Wrapped Exception: org.apache.commons.codec.binary.Base64.<init>(I[B)V
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: org.apache.commons.codec.binary.Base64.<init>(I[B)V
...
Versions XE before 2.3 (2.2.6, 2.1) didn't generate any errors and upload
working fine on it.
I started to make some investigation and found that -
Glassfish has a problem when different versions of the same library exist
both in a webapp and it its system library. This means that needs to replace
commons codec library in a glassfish modules folder with the same library
from the XE lib folder.
Details - http://jira.xwiki.org/jira/browse/XE-690
--
View this message in context: http://xwiki.475771.n2.nabble.com/Re-Upgrade-from-2-2-to-2-4-RC-1-base64-in…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is there a restriction that the database be named xwiki? I renamed the database to xwiki_old and changed the URL in the database configuration file to :
<property name="connection.url">jdbc:mysql://localhost/xwiki_old?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&sessionVariables=sql_mode=''</property>
XWiki would not start. Here is the stack trace:
javax.servlet.ServletException: com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
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:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
root cause
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main XWiki context
Wrapped Exception: Error number 3202 in 3: Exception while reading document XWiki.XWikiPreferences
Wrapped Exception: Could not create a DBCP pool. There is an error in the hibernate configuration file, please review it.
com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:374)
com.xpn.xwiki.XWiki.getXWiki(XWiki.java:435)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:135)
com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:115)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
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:617)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
Michael Maslak, Jr.
RESPONSE, LLC
Technical Specialist I
407-444-7898
RESPONSESupport(a)national.aaa.com<blocked::mailto:RESPONSESupport@national.aaa.com>
________________________________
This communication (including all attachments) is intended solely for
the use of the person(s) to whom it is addressed and should be treated
as a confidential AAA communication. If you are not the intended
recipient, any use, distribution, printing, or copying of this email is
strictly prohibited. If you received this email in error, please
immediately delete it from your system and notify the originator. Your
cooperation is appreciated.
Hi,
I 'm using XEM 2.3.1 and I discovered that, by default, there is no job task
defined in the subwikis. In the main wiki, the 3 notifiers are present and
notification by email works fine.
So a user in a subwiki can't define a notifier because the listbox is empty.
My questions :
- Is it normal ?
- Do I have to create manually the notifiers in each subwiki ? And how to do
that ?
If someone can help me in this summer period, I will be very happy.
Maxime