Hi everyone, having a small problem on an HQL query (and hope someone's
managed to get this working before)
NOTE: $dtDateToCompare is yesturdays date, generated with groovy
select obj.name
from
BaseObject obj,
XWikiDocument doc,
StringProperty propnrd
where
obj.className='XWiki.clickClass' and
obj.name<>'XWiki.clickClassTemplate' and
obj.name not like('%/%') and
doc.fullName=obj.name and
propnrd.id.id=obj.id and
propnrd.id.name='clickDateAssign' and
propnrd.value < '${dtDateToCompare}'
order by
obj.name asc
This works if I use the modified date property of the document (as a test);
but not for a custom date property (propnrd.id.name='clickDateAssign' is a
date property of the class).
Anybody do something similar and can share some pointers? Using MySQL if
that makes any difference
Hi all,
I'm going to upgrade a wiki-farm from the version 1.1RC1 to 1.2.2. Does
anyone have tried to upgrade a wiki-farm? Any suggestion?
I know there are explanation on how to do this on xwiki.org, I want just
to know if someone has done it already.
Thanks!
Vito
I have a document with a input type="file" and a submit button. After I
click submit button, the following action is performed:
- attach the file to the document
- do something with the file content...
- deattach the file out of the document
Can I reuse the action /xwiki/bin/upload/.. to write my action ?
not really an XWiki bug, but try this;
http://kb.mozillazine.org/Links_to_local_pages_don't_work#Firefox_1.5.2C
_SeaMonkey_1.0_and_newer
Dean Sellers
Applications Engineer
Rinstrum Pty. Ltd
P: +61 7 3216 7166
F: +61 7 3216 6211
mailto:<remove>dean.sellers(a)rinstrum.com
<mailto:<remove>dean.sellers(a)rinstrum.com>
Products, support and applications at www.rinstrum.com
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
On Behalf Of Arin Morfopoulos
Sent: Friday, 22 February 2008 3:50 PM
To: users(a)xwiki.org
Subject: [xwiki-users] Firefox and IE file link problem
Hi All,
Although the documentation states that [file
link>file:///C:/test.txt] should provide a file link, when you click on
such a link in IE or firefox nothing happens. No error, no response.
With IE you can at least right click the link and "Save Target As", but
not in Firefox.
I can verify that the link to test.txt is correct by writing a
simple html file that contains only "<a href="file:///C:/test.txt">Click
here for text.txt</a>". That simple html file works fine- click the
link and you get a test.txt.
Has anyone else seen this behavior?
I am using Firefox 2.0.0.12, and IE 6.0, and Xwiki 1.2.2 on
windows.
________________________________
Connect and share in new ways with Windows Live. Get it now!
<http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_01
2008>
--
This message has been scanned for viruses and
dangerous content by MailScanner <http://www.mailscanner.info/>
, and is
believed to be clean.
Hi All,
Although the documentation states that [file link>file:///C:/test.txt] should provide a file link, when you click on such a link in IE or firefox nothing happens. No error, no response. With IE you can at least right click the link and "Save Target As", but not in Firefox.
I can verify that the link to test.txt is correct by writing a simple html
file that contains only "<a href="file:///C:/test.txt">Click here
for text.txt</a>". That simple html file works fine- click
the link and you get a test.txt.
Has anyone else seen this behavior?
I am using Firefox 2.0.0.12, and IE 6.0, and Xwiki 1.2.2 on windows.
_________________________________________________________________
Connect and share in new ways with Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008
Hi,
The Bulletin Board application is looking good - I'll certainly try it when
I have a chance - will it be include with the lastest version of XWiki?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of
Guillaume Lerouge
Sent: 21 February 2008 08:55
To: XWiki Users
Subject: Re: [xwiki-users] Bulletin Board cannot display topic title and
first post !?
Hi there,
The last version of the Bulletin Board Application is now available for
download at
http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplicationDo
wnloads
<http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplicationD
ownloads> .
Description of the application available here :
http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplication
<http://code.xwiki.org/xwiki/bin/view/Applications/BulletinBoardApplication>
This version adds a few layout changes and introduces a new panel that lists
the bulletin boards an user has access to in a given wiki, available at
[Panels.BulletinBoardList]
Hope you will like it,
Guillaume
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Hello,
we get this error in xwiki top menu after importing from 0.9. Can someone explain me how to solve this? thanks!
org.apache.velocity.exception.ParseErrorException: Encountered
">Blog<.a><span> | <.span> <a
href=\"......view.Main.KnowledgeBase\",\"view\")\">Knowledge
Base</a><span> | </span> \r\n-->\r\n<a href=\"" at line 3, column 38 of
view.Main
Was expecting one of:
"," ...
")" ...
<WHITESPACE> ...
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:212)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:95)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.interpret(XWikiVelocityRenderer.java:60)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:247)
at
com.xpn.xwiki.render.DefaultXWikiRenderingEngine.interpretText(DefaultXWikiRenderingEngine.java:150)
at com.xpn.xwiki.XWiki.parseContent(XWiki.java:1313)
at com.xpn.xwiki.api.XWiki.parseContent(XWiki.java:554)
at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1354)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:607)
at sun.reflect.GeneratedMethodAccessor59.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:295)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:245)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:203)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:294)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:194)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:170)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:318)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:238)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:152)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1354)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:105)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:158)
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:689)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:673)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:399)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:362)
at
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:283)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:136)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:526)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
thanks for suggestions and regards,
David Delbecq
Something odd with this..
I've got different schedules setup per virtual wiki. One of the
notifications it sends includes links to documents - this works fine
most times, but every so often it seems to get mixed up (using
getExternalURL from the document object to get the url to send).
For example, on virtual wiki "private.xwiki.host.com", the link
sometimes goes to the user as "public.xwiki.host.com".
I can use string replacement to fix it up, so I can work around the link
- but this raises an important question (for me anyway):
If it's getting confused at getExternalURL, is it possible that the
scheduler is going to get confused about where to look for documents (so
if the scheduler is setup on wiki "public", would it potentially look at
"private" instead)?