> How would a pom-file look for the hello world plugin (from
> the devGuide) for building it with maven?
>
Since Vincent, our maven expert, is on vacation, I'll try to write this
pom tonight and send it to you.
Thanks. I haven't recieved it yet. Is there an e-mail problem again?
> Is there a plug-in (or snippet or script or something, anything) to
> import web pages from elsewhere and show them in the xwiki?
>
It depends on what do you mean by "elsewhere". Please give an example of
such a place, a use case.
A colleague of mine is developing a search engine and the search results are presented on a web page. The idea is to connect his search engine to my xwiki and I would like to be able to import the web pages where the results are presented and show them in the xwiki environement (with the xwiki layout).
>
> Thanks,
> //Karin
Sergiu
Thanks,
//Karin
Hi,
I downloaded xwiki 1.0. Imported xwiki-1.0.xar. While importing the following error appears. (Second error after this error listed below.)
{
20:48:05,234 WARN P1-18 http://localhost:8080/xwiki/bin/import/XWiki/Import?edi
tor=import&space=XWiki InterWiki:<init>:73 - Unable to read conf/intermap.txt
20:48:11,843 WARN P1-18 http://localhost:8080/xwiki/bin/import/XWiki/Import?edi
tor=import&space=XWiki RegexTokenFilter:filter:97 - <span class="error">Exceptio
n</span>: com.xpn.xwiki.render.filter.MacroFilter@df88d2
java.lang.NullPointerException
at org.radeox.macro.parameter.BaseMacroParameter.insertValue(BaseMacroPa
rameter.java:142)
at org.radeox.macro.parameter.BaseMacroParameter.split(BaseMacroParamete
r.java:127)
at org.radeox.macro.parameter.BaseMacroParameter.setParams(BaseMacroPara
meter.java:58)
at org.radeox.filter.MacroFilter.handleMatch(MacroFilter.java:100)
at org.radeox.filter.regex.RegexTokenFilter$1.handleMatch(RegexTokenFilt
er.java:91)
at org.radeox.regex.JdkMatcher.substitute(JdkMatcher.java:48)
at org.radeox.filter.regex.RegexTokenFilter.filter(RegexTokenFilter.java
:89)
at org.radeox.filter.FilterPipe.filter(FilterPipe.java:169)
at org.radeox.engine.BaseRenderEngine.render(BaseRenderEngine.java:108)
at com.xpn.xwiki.render.XWikiRadeoxRenderer.render(XWikiRadeoxRenderer.j
ava:70)
at com.xpn.xwiki.store.XWikiHibernateStore.saveLinks(XWikiHibernateStore
.java:1466)
at com.xpn.xwiki.store.XWikiHibernateStore.saveXWikiDoc(XWikiHibernateSt
ore.java:305)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:100)
at com.xpn.xwiki.store.XWikiCacheStore.saveXWikiDoc(XWikiCacheStore.java
:94)
at com.xpn.xwiki.XWiki.saveDocument(XWiki.java:895)
at com.xpn.xwiki.plugin.packaging.Package.installDocument(Package.java:5
49)
at com.xpn.xwiki.plugin.packaging.Package.install(Package.java:490)
at com.xpn.xwiki.plugin.packaging.PackageAPI.install(PackageAPI.java:192
)
at com.xpn.xwiki.web.ImportAction.render(ImportAction.java:90)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:150)
at org.apache.struts.action.RequestProcessor.processActionPerform(Reques
tProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:119
6)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:616)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428
)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:830)
at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEnc
odingFilter.java:118)
at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(
WebApplicationHandler.java:821)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:471)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:633)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
at org.mortbay.http.HttpServer.service(HttpServer.java:954)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
20:48:11,843 WARN P1-18 http://localhost:8080/xwiki/bin/import/XWiki/Import?edi
tor=import&space=XWiki RegexTokenFilter:filter:97 - <span class="error">Exceptio
n</span>: com.xpn.xwiki.render.filter.MacroFilter@b65a68
java.lang.NullPointerException
at org.radeox.macro.parameter.BaseMacroParameter.insertValue(BaseMacroPa
rameter.java:142)
at org.radeox.macro.parameter.BaseMacroParameter.split(BaseMacroParamete
r.java:127)
}
Now if I access any page, then the following Stack overflow error comes
{
02:37:30,538 WARN P1-17 http://localhost:8080/xwiki/bin/view/Main/WebSearch
RegexTokenFilter:filter:99 - <span class="error">Error</span>:
com.xpn.xwiki.render.filter.XWikiListFilter@ada795:
java.lang.StackOverflowError
java.lang.StackOverflowError
at java.util.regex.Pattern$BitClass.match(Pattern.java:2873)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4218)
at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4634)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4240)
at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4575)
}
This error keeps on coming and finally kills the xwiki.
Can anyone tell me how I can solve this.
Regards
Roopesh
I am having a lot of problems using the raw wiki format to print lists.
The examples don't seem to work as documented. Any ideas?
TIA
John
---
1 Links
A list of useful reference material for build tools.
1. [Maven2>http://maven.apache.org/]
a.[Introduction to
Repositories>http://maven.apache.org/guides/introduction/introduction-to
-repositories.html]
a. [Available Plugins>http://maven.apache.org/plugins/index.html]
a. [maven-jetty-plugin>http://www.mortbay.org/maven-plugin/index.html]
1. [Continuum>http://maven.apache.org/continuum/]
Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail.
Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail.
Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.
Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.
Hi,
I am getting the following stack overflow error "every" time I access xwiki. I am using xwiki 1.0. Can anyone please tell me what can be the reason.
{
02:37:30,538 WARN P1-17 http://localhost:8080/xwiki/bin/view/Main/WebSearch RegexTokenFilter:filter:99 - <span class="error">Error</span>: com.xpn.xwiki.render.filter.XWikiListFilter@ada795: java.lang.StackOverflowError
java.lang.StackOverflowError
at java.util.regex.Pattern$BitClass.match(Pattern.java:2873)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4218)
at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
at java.util.regex.Pattern$GroupTail.match(Pattern.java:4634)
at java.util.regex.Pattern$Curly.match0(Pattern.java:4240)
at java.util.regex.Pattern$Curly.match(Pattern.java:4202)
at java.util.regex.Pattern$GroupHead.match(Pattern.java:4575)
}
Thanks
Roopesh
Hi,
I have modify my navigation panel so that a user will see only space he has access rights. Now I have this error :
Error number 4001 in 4: Error while parsing velocity page Panels.Navigation Wrapped Exception: Invocation of method 'getSpaces' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with sql select distinct doc.web from XWikiDocument doc Wrapped Exception: could not execute query @ Panels.Navigation6,23?
Error number 4001 in 4: Error while parsing velocity page Panels.Navigation
Wrapped Exception: Invocation of method 'getSpaces' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with sql select distinct doc.web from XWikiDocument doc
Wrapped Exception: could not execute query @ Panels.Navigation6,23?
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Panels.Navigation
Wrapped Exception: Invocation of method 'getSpaces' in class com.xpn.xwiki.api.XWiki threw exception com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while searching documents with sql select distinct doc.web from XWikiDocument doc
Wrapped Exception: could not execute query @ Panels.Navigation6,23?
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:148)
at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:91)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:229)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:161)
at com.xpn.xwiki.render.DefaultXWikiRenderingEngine.renderText(DefaultXWikiRenderingEngine.java:132)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:362)......
Do you know what is the problem?
Bye
-----Ursprungligt meddelande-----
Från: Karin Wiklund
Skickat: den 17 juli 2007 09:55
Till: 'xwiki-users(a)objectweb.org'
Ämne: SV: [xwiki-users] Backlinks in administration/editing mode
Hi Vincent,
Hi Karin,
On Jul 16, 2007, at 5:08 PM, Karin Wiklund wrote:
> Hi,
>
> First; thanks to everyone who helped me make more blogs in my
> xwiki, it works beautifully! (though it's not the most beautiful
> code ever written...)
>
> Second;
> As far as I can tell there are no links from anywhere in the
> administration or editing modes to get back to the rest of the
> wiki. (there are save and cancel options, but that's not the same
> thing as 'Back') Have I missed something? If not; any hints on how
> and where to add such links?
> For usability purposes- to make life easier for the future admins
> of the xwiki I'm setting up...
* Then I guess you have the same issue when editing pages since the
navigation on the right disappears? How do you want to solve that?
Yes, it's a problem there too. I want to solve it by constantly showing the same menu, wherever the user goes
* I've noticed that on the Admin page there's a big blank space on
the right. We shouldn't have that. Either we should put the normal
navigation there or use the full space for the admin screens. I think
we should use the full space.
I think showing the menu at all times is better. Giving users the same way to do stuff (such as navigate) wherever they are in the system is good usability practice. I'd say it's preferable that the desicions on what panels to show, and where, should apply on every single page in the wiki. In whatever kind of mode you're in.
Back to your question, you can click on the Space in the breadcrumbs
or on the logo to go to the home page or cancel/save. What more would
you like and where?
Ah, but see the breadcrumbs aren't always showing the directory I took to get to a certain page. Example: I'm at "Main: Welcome > All Documents of this Wiki" when
I realize I should change the rights for a certain user group, so I press Administration and the breadcrumbs are "XWiki: Administration > Preferences" and I can't use them to get back to "All Documents of this Wiki".
The logo takes me to "Main: Welcome" which is also not the place I wanted to go.
Say I change the rights a bit and press Save, I get directed to "XWiki: Administration". If i hit Cancel instead I end up at "Main: Welcome"
Not what I'm looking for when I want to get back to "Main: Welcome > All Documents of this Wiki".
What more would I like? A set of panels (navigation or otherwise) always showing on the side of my choice.
Hopefully I'll have enough time to perform a proper usability test. If my boss lets me I'd love to share the results with you.
Regards,
//Karin
Thanks
-Vincent
Hi,
Two quick questions:
How would a pom-file look for the hello world plugin (from the devGuide) for building it with maven?
Is there a plug-in (or snippet or script or something, anything) to import web pages from elsewhere and show them in the xwiki?
Thanks,
//Karin
Hi,
I successfully swapped the xwiki logo for our company logo in the
albatross skin, but is there a very quick way to get rid of the birds in
the banner please (or even replace them)? Swapping the black-birds.png
doesn't seem to work?
TIA
John
Eurobase International Limited and its subsidiaries (Eurobase) are unable to exercise control over the content of information in E-Mails. Any views and opinions expressed may be personal to the sender and are not necessarily those of Eurobase. Eurobase will not enter into any contractual obligations in respect of any part of its business in any E-mail.
Privileged / confidential information may be contained in this message and /or any attachments. This E-mail is intended for the use of the addressee(s) only and may contain confidential information. If you are not the / an intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you receive this transmission in error, please notify us immediately, and then delete this E-mail.
Neither the sender nor Eurobase accepts any liability whatsoever for any defects of any kind either in or arising from this E-mail transmission. E-Mail transmission cannot be guaranteed to be secure or error-free, as messages can be intercepted, lost, corrupted, destroyed, contain viruses, or arrive late or incomplete. Eurobase does not accept any responsibility for viruses and it is your responsibility to scan any attachments.
Eurobase Systems Limited is the main trading company in the Eurobase International Group; registered in England and Wales as company number 02251162; registered address: Essex House, 2 County Place, Chelmsford, Essex CM2 0RE, UK.