Is there a way to get the full URL and not just the URI i.e. including the
host address ?
The doc.getURL() only returns the URI part and does not include the address.
Thanks.
Duke
I am having some major issues with xwiki. I am adding content to it and
press the save button and it sometimes will save and sometimes won't.
Also, intermittently, I am forced to log in again to make changes. This
isn't after any extended time. Also, using the admin user, it will
sometimes let me log in with the changed password, but also, I have to
use the default password sometimes. Anyone else have this issue?
Not using tomcat or a local MySQL db. Using MySQL on a remote server,
and also xwiki is running on SunOne iPlanet WebServer.
Tim
Thanks for this. A funny things happened when I tried to use this on my site.
I checked out your sample page first, minmap looked good.
Followed the instructions and got the following error on my page:
A problem occured while trying to service your request. Please contact the
support if this happens again.
Detailed information:
Error number 11003 in 11: Attachment Sitemap not found
com.xpn.xwiki.XWikiException: Error number 11003 in 11: Attachment Sitemap not
found
at com.xpn.xwiki.XWikiService.renderDownload(XWikiService.java:678)
at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:186)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.
java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
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(ApplicationFilt
erChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter
.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
14)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
78)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107
)
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.processConnectio
n(Http11Protocol.java:738)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:52
6)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorker
Thread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:68
4)
at java.lang.Thread.run(Unknown Source)
Then, when I looked at the sample page again, I saw the same error on the
runners site!
Nothing was downloaded to my computer ass far as I know (although, this being a
networked computer some unscheduled updates may have been sent to it without my
knowledge).
Anyone have any ideas?
Thanks,
Mark
-----Original Message-----
From: jeremi joslin [mailto:jeremi23@gmail.com]
Sent: Saturday, September 03, 2005 4:08 PM
To: xwiki-users(a)objectweb.org
Subject: Re: [xwiki-users] sitemap
On 9/3/05, Cody Burleson <cburleso(a)us.ibm.com> wrote:
>
> Could you also try to document how to use the code your posted for the benefit
of all? An ideal format would be:
>
> 1. How to use the code
> 2. The code (snippet)
> 3. A working example (preview) of the results
>
Done
--
portable : 06.73.20.11.49
http://www.jeremi.infohttp://www.xwiki.com - http://www.moovement.com
skype: jeremi23
I would like to modify the search form in the default Toolbar to include a
checkbox "Search this space only." I think I can figure out how to do this
if someone could provide the Velocity code to obtain the name of the current
space.
Any suggestions would be appreciated!
Stephen
Francois Constant posted some nice-looking skins on this page:
http://www.xwiki.org/xwiki/bin/view/Dev/Skins
However, I wasn't able to figure out how to install them.
There is a link to a topic on HowToCreateASkin, but it isn't clear to me how
to apply the information on that page to install a pre-packaged skin.
If someone could provide some pointers, I would be glad to edit the page and
add the necessary info.
Regards,
Stephen
Is there a sitemap function of a particular space?
Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
I seem to recall seeing some sample code somewhere on the xwiki.org site
that demonstrated how to export a space to a zip file, and import it. I
think it may have even handled attachments. I think it worked with the
current version of XWiki (didn't require SVN access).
While searching today, I found this page:
http://www.xwiki.org/xwiki/bin/view/Dev/ZipExportExample
But it doesn't handle attachments, or show how to import the resulting
zipfile.
Maybe I just imagined it ... but if someone knows what I'm talking about and
can point me to it, I would be very grateful.
Stephen
Is it possible to define a different menu (the left-most column in the
standard XWiki layout) for each space in an XWiki installation?
For example, the shortcut menu bar across the top is configured for each
space in the Space Preferences section. However, the left-column menu
appears to be globally configured.
Stephen
Hi Ludovic!
> Please let's start with mysql first .. It does not make sense to
debug both things at a time.
sure :) Now I have installed two instances of xwiki - one for mysql,
second for pgsql. both look and act identically.
> The "cannot execute query" is not enough.. It should show a
wrapped exception but for some reason it doesn't.
> Can you try with the What's New or WebSearch page ?
Sure! I have attached both exceptions along with full server log...
(btw. hale to bzip2 that packed all this from ~3MB to only 46kB! I
hope nobody will kill me for this attachment)
> Can you also turn on debugging in log4j.properties so that you see
if hibernate generates a query..
### Hibernate logging options ###
log4j.logger.org.hibernate.SQL=debug
log4j.logger.org.hibernate=debug
log4j.logger.org.hibernate.type=debug
log4j.logger.org.hibernate.ps.PreparedStatementCache=warn
is it ok?
Thank You!
Tomek